Skip to content

Commit

Permalink
Add comment and change Increment angle
Browse files Browse the repository at this point in the history
Increase from 2° to 10° to reduce the weight of each support
  • Loading branch information
5axes committed Jun 2, 2022
1 parent 1a2078a commit cd80d95
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CustomSupportsCylinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# V2.6.2 19-05-2022 Scale Also in Main direction
# V2.6.3 25-05-2022 Temporary ? solution for the Toolbar height in QT6
# V2.6.4 31-05-2022 Add Button Remove All
# Increase the Increment angle for Cylinder and Tube from 2° to 10°
#
#--------------------------------------------------------------------------------------------

Expand Down Expand Up @@ -275,13 +276,13 @@ def _createSupportMesh(self, parent: CuraSceneNode, position: Vector , position2


if self._SType == 'cylinder':
# Cylinder creation Diameter , Increment angle 2°, length
mesh = self._createCylinder(self._UseSize,self._MaxSize,2,self._long,self._UseAngle)
# Cylinder creation Diameter , Maximum diameter , Increment angle 10°, length , Angle of the support
mesh = self._createCylinder(self._UseSize,self._MaxSize,10,self._long,self._UseAngle)
elif self._SType == 'tube':
# Tube creation Diameter , Diameter Int, Increment angle 2°, length
mesh = self._createTube(self._UseSize,self._MaxSize,self._UseISize,2,self._long,self._UseAngle)
# Tube creation Diameter ,Maximum diameter , Diameter Int, Increment angle 10°, length , Angle of the support
mesh = self._createTube(self._UseSize,self._MaxSize,self._UseISize,10,self._long,self._UseAngle)
elif self._SType == 'cube':
# Cube creation Size , length
# Cube creation Size,Maximum Size , length , Angle of the support
mesh = self._createCube(self._UseSize,self._MaxSize,self._long,self._UseAngle)
elif self._SType == 'freeform':
# Cube creation Size , length
Expand Down

0 comments on commit cd80d95

Please sign in to comment.