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
This is either a bug for project.toml or the front end is not displaying the correct units. When using cmd+k to switch units, nothing happens.
Version
0.37.0
Recording
Screenshare.-.2025-01-27.10_16_54.AM.mp4
KCL
// Generated by Text-to-CAD: design a rectangular plate that is 200mm x 100 mm and put a 50 mm diameter hole in the center. Fillet the corners by 12.5 mm. place four mounting holes that are 20mm near the corners// Define constantsplateLength=250// Updated plate lengthplateWidth=100plateThickness=5centerHoleDiameter=50cornerFilletRadius=12.5mountingHoleDiameter=5mountingHoleOffset=20// Create a function that defines the body width and length of the plate. Tag the corners so they can be passed through the fillet function.fnrectShape(pos,w,l){rr=startSketchOn('XY')|>startProfileAt([pos[0]-(w/2),pos[1]-(l/2)],%)|>lineTo([pos[0]+w/2,pos[1]-(l/2)],%,$edge1)|>lineTo([pos[0]+w/2,pos[1]+l/2],%,$edge2)|>lineTo([pos[0]-(w/2),pos[1]+l/2],%,$edge3)|>close(%,$edge4)returnrr}// Create the plate extrusion, center hole, and filletsrs=rectShape([0,0],plateWidth,plateLength)plate=rs|>hole(circle({
center =[0,0],
radius =centerHoleDiameter/2},%),%)|>hole(circle({
center =[-plateWidth/2+mountingHoleOffset,plateLength/2-mountingHoleOffset],
radius =mountingHoleDiameter/2},%),%)|>hole(circle({
center =[plateWidth/2-mountingHoleOffset,plateLength/2-mountingHoleOffset],
radius =mountingHoleDiameter/2},%),%)|>hole(circle({
center =[-plateWidth/2+mountingHoleOffset,-plateLength/2+mountingHoleOffset],
radius =mountingHoleDiameter/2},%),%)|>hole(circle({
center =[plateWidth/2-mountingHoleOffset,-plateLength/2+mountingHoleOffset],
radius =mountingHoleDiameter/2},%),%)|>extrude(plateThickness,%)|>fillet({
radius =cornerFilletRadius,
tags =[getPreviousAdjacentEdge(rs.tags.edge1),getPreviousAdjacentEdge(rs.tags.edge2),getPreviousAdjacentEdge(rs.tags.edge3),getPreviousAdjacentEdge(rs.tags.edge4)]},%)
The text was updated successfully, but these errors were encountered:
Description
This is either a bug for project.toml or the front end is not displaying the correct units. When using
cmd+k
to switch units, nothing happens.Version
0.37.0
Recording
Screenshare.-.2025-01-27.10_16_54.AM.mp4
KCL
The text was updated successfully, but these errors were encountered: