Re:Code CAD – Use code to create CAD models
by majormajor on Monday October 18, 2021 @08:14PM
(#28913495)
Complete newb to the space, but I’ve been playing with SketchUp lately for some hobbyist projects, and the inability to just TELL IT what to do instead of having to drag and drop constantly has been shocking to me. Like “attach this object to this other object at this offset” or “make a rectangle of these dimensions at these starting coordinates.” So this seems very exciting.
[ Parent
| on HN ]
Re:Code CAD – Use code to create CAD models
by cjdaly on Tuesday October 19, 2021 @02:57AM
(#28915519)
Sketchup has a Ruby API. This book is good if you can find a copy:
https://www.amazon.com/Automatic-SketchUp-Creating-Models-Ru...
Re:Code CAD – Use code to create CAD models
by jessaustin on Monday October 18, 2021 @11:08PM
(#28914451)
IME, positioning in SketchUp requires fiddly d'n'd. Sizing, however, can be done by typing in numbers as soon as you start drawing a line or rectangle, start pulling a face into a volume, or any action that involves one or more offsets.
Re:Code CAD – Use code to create CAD models
by jml7c5 on Tuesday October 19, 2021 @03:07AM
(#28915573)
It's worth noting that SketchUp is a simple, non-parametric CAD package. What you want is available in most other, more advanced CAD software.
Re:Code CAD – Use code to create CAD models
by benhurmarcel on Tuesday October 19, 2021 @07:37AM
(#28917005)
Try a decent parametric CAD package like Fusion360 or Onshape.