mirror of
https://github.com/Theaninova/Brick-Monorail.git
synced 2026-07-28 15:54:41 +00:00
feat: better options
This commit is contained in:
+12
-3
@@ -1,12 +1,21 @@
|
||||
from presets import presets
|
||||
from parts.rail import rail
|
||||
from parts.rail import rail, rail_support
|
||||
from parts.straight_joint import straight_joint_standoff_insert
|
||||
from parts.switch import switch
|
||||
from parts.teeth import compliant_teeth
|
||||
import units as u
|
||||
import cadquery as cq
|
||||
|
||||
target = "solid/C7"
|
||||
target = "solid_support/C7"
|
||||
|
||||
params = [params for name, params in presets if name == target][0]
|
||||
|
||||
# standoff_joint = straight_joint_standoff_insert(params, cq.Plane(cq.Vector(0, 0, 0)))
|
||||
# show_object(standoff_joint)
|
||||
show_object(rail(params))
|
||||
# show_object(switch(params))
|
||||
# teeth = compliant_teeth(params, u.studs(10))
|
||||
# cq.exporters.export(teeth, f"STEPs/compliant_teeth.step")
|
||||
# show_object(teeth)
|
||||
|
||||
|
||||
show_object(rail(params).add(rail_support(params)))
|
||||
|
||||
Reference in New Issue
Block a user