7BIndustries / Semblage

Semblage is an open source CAD GUI backed by a programmatic CAD API named CadQuery.
https://semblage.7bindustries.com/en/latest/
GNU Lesser General Public License v2.1
48 stars 3 forks source link

2D Sketch Control Crashes When Drawing a Horizontal Line #44

Closed jmwright closed 3 years ago

jmwright commented 3 years ago

This was due to the SVG generator finding a max dimension of 0 in one direction for scaling because a line and only has length and no height. Using SVG for the 2D preview was a work-around anyway, and now that the CadQuery subsystem does line discretization, a proper 2D preview with the line segments drawn manually can be created.

jmwright commented 3 years ago

Fixed in commit c36ffbcc2e4268e5b2ce56264d0c1101f82edf6a