关于Sketchup的模型实心与掏空
对于掏空
- 新建的区域(矩形或者圆形),在其上面新建一个孔(方、圆孔)
- 直接推拉到底部
- 掏空成功
对于实心
- 油漆桶填充材质,自然会变成实心
- 镶嵌进去一个图形中,两边的颜色与中间不同,掏空后可删去中间
记得使用dillinger
以下内容为用法,暂存
Development
Want to contribute? Great!
Dillinger uses Gulp + Webpack for fast developing.
Make a change in your file and instantaneously see your updates!
Open your favorite Terminal and run these commands.
First Tab:
1 | $ node app |
Second Tab:
1 | $ gulp watch |
(optional) Third:
1 | $ karma test |
Building for source
For production release:
1 | $ gulp build --prod |
Generating pre-built zip archives for distribution:
1 | $ gulp build dist --prod |
Docker
Dillinger is very easy to install and deploy in a Docker container.
By default, the Docker will expose port 8080, so change this within the Dockerfile if necessary. When ready, simply use the Dockerfile to build the image.
1 | cd dillinger |
This will create the dillinger image and pull in the necessary dependencies. Be sure to swap out ${package.json.version} with the actual version of Dillinger.
Once done, run the Docker image and map the port to whatever you wish on your host. In this example, we simply map port 8000 of the host to port 8080 of the Docker (or whatever port was exposed in the Dockerfile):
1 | docker run -d -p 8000:8080 --restart="always" <youruser>/dillinger:${package.json.version} |
Verify the deployment by navigating to your server address in your preferred browser.
1 | 127.0.0.1:8000 |
Kubernetes + Google Cloud
See KUBERNETES.md
Free Software, Hell Yeah!
