You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following example creates an arc, then dimensions it twice with ExtensionLine - once “above” the arc, and once “below”.
Expected behavior: both dimensions should be identical.
Actual behavior: the dimensions are different. The dimension “outside” the arc is longer than the dimension “inside” the arc, making it seem that ExtensionLine is displaying the length of the actual dimension line, rather than the length of the target path.
Python 3.12.2 and build123d 0.7.0.
from build123d import *
draft = Draft()
with BuildSketch() as sketch:
with BuildLine() as line:
RadiusArc(start_point=(0, 0, 0), end_point=(100, 0, 0), radius=120)
trace(line_width=1)
ExtensionLine(border=line.edges()[0], offset=-10, draft=draft)
ExtensionLine(border=line.edges()[0], offset=10, draft=draft)
sketch
The text was updated successfully, but these errors were encountered:
@gumyr: nice to have a quick response, thanks. I’ve never actually needed an arc length dimension, but I stumbled on this while experimenting with the various dimension-related APIs.
The following example creates an arc, then dimensions it twice with ExtensionLine - once “above” the arc, and once “below”.
Expected behavior: both dimensions should be identical.
Actual behavior: the dimensions are different. The dimension “outside” the arc is longer than the dimension “inside” the arc, making it seem that ExtensionLine is displaying the length of the actual dimension line, rather than the length of the target path.
Python 3.12.2 and build123d 0.7.0.
The text was updated successfully, but these errors were encountered: