Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guy,
Recenly, Im trying create a plastic flange. In this have two componet I need make with array feature.
This is number 1 and 2. You can see snapshot below. Howerver, both number 1 and 2 in the same place or created unequal angle
Here is piecs of code to make them. Somone can help me fix that.
Thank you !
phi1=360/N
FirstAngle1= phi1/2
InAngle1= FirstAngle1
phi2=360/N
FirstAngle2= phi2/4
InAngle2= FirstAngle2
No = 0
while (No<N😞
number1 = CYLINDER(s, R=D2/2, H=T, O=0.0).rotateY(90).translate((0,D1/2,0)).rotateX(InAngle1)
number2 = CYLINDER(s, R=D2/2, H=T, O=0.0).rotateY(90).translate((0,D1/2,0)).rotateX(InAngle2)
InAngle= InAngle+ phi
InAngle2= InAngle2+ phi2
No= No+1
Solved! Go to Solution.