Create std::units module (#6528)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -25,7 +25,7 @@ extrude006 = extrude(sketch006, length = 1)
|
||||
sketch007 = startSketchOn(extrude006, face = END)
|
||||
|> circle(
|
||||
center = [
|
||||
1.75 * cos(toRadians(axisJ1)) / abs(cos(toRadians(axisJ1))),
|
||||
1.75 * cos(units::toRadians(axisJ1)) / abs(cos(units::toRadians(axisJ1))),
|
||||
8
|
||||
],
|
||||
radius = 2.75,
|
||||
@ -38,14 +38,14 @@ extrude007 = extrude(sketch007, length = 1.5)
|
||||
sketch008 = startSketchOn(extrude007, face = END)
|
||||
|> circle(
|
||||
center = [
|
||||
1.75 * cos(toRadians(axisJ1)) / abs(cos(toRadians(axisJ1))),
|
||||
1.75 * cos(units::toRadians(axisJ1)) / abs(cos(units::toRadians(axisJ1))),
|
||||
6.75
|
||||
],
|
||||
radius = 0.2,
|
||||
)
|
||||
|> patternCircular2d(
|
||||
center = [
|
||||
1.75 * cos(toRadians(axisJ1)) / abs(cos(toRadians(axisJ1))),
|
||||
1.75 * cos(units::toRadians(axisJ1)) / abs(cos(units::toRadians(axisJ1))),
|
||||
8
|
||||
],
|
||||
instances = 4,
|
||||
@ -57,7 +57,7 @@ extrude008 = extrude(sketch008, length = 0.2)
|
||||
sketch009 = startSketchOn(extrude007, face = END)
|
||||
|> circle(
|
||||
center = [
|
||||
1.75 * cos(toRadians(axisJ1)) / abs(cos(toRadians(axisJ1))),
|
||||
1.75 * cos(units::toRadians(axisJ1)) / abs(cos(units::toRadians(axisJ1))),
|
||||
8
|
||||
],
|
||||
radius = 0.5,
|
||||
|
Reference in New Issue
Block a user