Sketch dimension in increments based on the number of increments in a driven dimension
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am attempting to create a sketch that the length of a line is specified in increments, based on how many of those increments are in another driven sketch dimension. The first attachment shows the fully constrained sketch.
The 3.2" vertical line is the line which is intended to be at least 0.25" longer (in increments of 0.1") than the driven dimension d5 (1.7506) where the 60 deg angled line, intersects the vertical line.
A user parameter "incr" was created ceil(( d5 + 0.25 in ) / 0.1) to determine how many 0.1 increments exists within the driven dimension d5. In this case the value of incr is 21.
The length dimension of the vertical line is then changed to incr*.1 as shown in the second attachment.
Upon entering the length dimension, the value is updated to 2.1 as expected, however, the sketch becomes unconstrained, and the actual length of the vertical line itself does not change to 2.1 as can be seen from inspection in the third attachment.
Is there a way to get the actual length to the computed value of the expression automatically and the sketch stay constrained? Any help would be greatly appreciated.
Thank you
