forked from SolidCode/SolidPython
-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
WHAT
I'd like to create dimensioned drawings for shop work.
WHY
For me, solidypython and openscad are tools for generating shop drawings, not for sending to a 3D printer.
HOW
I see that OpenSCAD has a library for creating dimensioned lines:
- https://cannymachines.com/entries/9/openscad_dimensioned_drawings
- https://github.com/sidorof/dimlines/tree/master
How can I use this openscad library in SolidPython?
For instance, here's one of the examples:
cube.py
#! /usr/bin/env python
from solid2 import cube, sphere, difference, set_global_fn
from solid2 import import_scad
import_scad("dimlines.scad")
set_global_fn(72)
difference()(
cube([100, 20, 30]),
sphere(5)
).save_as_scad()
I have downloaded the dimlines.scad file to the same directory as the "cube.py" file above. How do I use the dimlines scad utilities to generate technical drawing lines etc?
Metadata
Metadata
Assignees
Labels
No labels