Macro FCSpring Helix Variable: Difference between revisions

From FreeCAD Documentation
(2022/03/16 Version 0.18)
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:1-->
<!--T:1-->
{{Macro
{{Macro
|Name=Macro FCSpring Helix Variable
|Name=Macro FCSpring Helix Variable
|Icon=FCSpring Helix Variable.png
|Icon=FCSpring Helix Variable.png
|Description=This macro creates a spring with customizable, any turn may change the spring configuration can be saved in a file with the extension '''.FCSpring''' or coordinates '''.FCSpringCoor'''.<br />Are detected: Surface (Face direction), Cylinder (Radius), Ellipse (MinorRadius), Sphere (Radius), Toroid (Radius1), Plane (Direction), Line (follow the Direction ), Point (XYZ vertex position)<br />If no object is detected (not selection) the spring is created at the point XYZ 0., 0., 0.<br/>See the [https://www.freecadweb.org/wiki/Macro_FCSpring_Helix_Variable#Examples examples]
|Description=This macro creates a spring with customizable, any turn may change the spring configuration can be saved in a file with the extension '''.FCSpring''' or coordinates '''.FCSpringCoor'''.<br />Are detected: Surface (Face direction), Cylinder (Radius), Ellipse (MinorRadius), Sphere (Radius), Toroid (Radius1), Plane (Direction), Line (follow the Direction ), Point (XYZ vertex position)<br />If no object is detected (not selection) the spring is created at the point XYZ 0., 0., 0.<br/>See the [https://www.freecadweb.org/wiki/Macro_FCSpring_Helix_Variable#Examples examples]<br/>
<br/>
Download [https://forum.freecadweb.org/download/file.php?id=80844 the Icons] in .zip file
|Author=Mario52
|Author=Mario52
|Download=[https://wiki.freecad.org/images/6/69/FCSpring_Helix_Variable.png ToolBar Icon]
|Version=01.18
|Version=01.18c
|Date=2022/03/16
|Date=2023/09/01
|Download=Download the [https://forum.freecadweb.org/download/file.php?id=80844 the Icons] in .zip file
|FCVersion=0.19
|FCVersion=0.19
}}
}}


==Description== <!--T:2-->
==Description== <!--T:63-->
This macro creates a spring highly customizable. Any modification changing the spring configuration can be saved in a file with the extension .FCSpring or coordinates .FCSpringCoor<br />Are detected: Surface (Face direction), Cylinder (Radius), Ellipse (MinorRadius), Sphere (Radius), Toroid (Radius1), Plane (Direction), Line (follow the Direction ), Point (XYZ vertex position)<br />If no object is detected (not selection) the spring is created at the point XYZ 0., 0., 0.


<!--T:2-->
This macro creates a spring highly customizable. Any modification changing the spring configuration can be saved in a file with the extension .FCSpring or coordinates .FCSpringCoor<br />Are detected: Surface (Face direction), Cylinder (Radius), Ellipse (MinorRadius), Sphere (Radius), Toroid (Radius1), Plane (Direction), Line (follow the Direction ), Point (XYZ vertex position)<br />If no object is detected (not selection) the spring is created at the point XYZ 0., 0., 0.


</translate>
</translate>
{{Codeextralink|https://gist.githubusercontent.com/mario52a/68c81c32a0727a693d3a/raw/8b0b60336a62f22c0730e6fb88687ffd1b1dd502/Macro_FCSpring_Helix_Variable.FCMacro}}
{{Codeextralink|https://gist.githubusercontent.com/mario52a/68c81c32a0727a693d3a/raw/3f6e4df2768f36e88af4f56af669206ff0d33e0c/Macro_FCSpring_Helix_Variable.FCMacro}}
<translate>
<translate>


Line 27: Line 31:
{{Caption|FCSpring Helix Variable}}
{{Caption|FCSpring Helix Variable}}


==Usage== <!--T:3-->
==Usage== <!--T:64-->

<!--T:3-->
This section is used to configuration the spring
This section is used to configuration the spring


Line 37: Line 43:
{{clear}}
{{clear}}
<translate>
<translate>

==== '''Gui''' ==== <!--T:5-->
==== Gui ==== <!--T:5-->


</translate>
</translate>
Line 44: Line 51:
<translate>
<translate>


====Configuration==== <!--T:6-->
====Configuration==== <!--T:65-->

<!--T:6-->
* {{SpinBox|10 coils}} '''Number of coil''' : Total of coil to spring. Default = 10
* {{SpinBox|10 coils}} '''Number of coil''' : Total of coil to spring. Default = 10
* {{SpinBox|20,000 mm}} '''Radius of spring''' : Radius of spring. Default = 20.0
* {{SpinBox|20,000 mm}} '''Radius of spring''' : Radius of spring. Default = 20.0
Line 60: Line 69:
<translate>
<translate>


====Type line==== <!--T:7-->
====Type line==== <!--T:66-->

<!--T:7-->
* {{RadioButton|TRUE|[[Image:Draft_BSpline.svg|24px]] Bspline}} '''BSpline''' : Type line BSpline.
* {{RadioButton|TRUE|[[Image:Draft_BSpline.svg|24px]] Bspline}} '''BSpline''' : Type line BSpline.
* {{RadioButton|[[Image:Draft_Wire.svg|24px]] Wire}} '''Wire''' : Type line Wire.
* {{RadioButton|[[Image:Draft_Wire.svg|24px]] Wire}} '''Wire''' : Type line Wire.
Line 71: Line 82:
<translate>
<translate>


====Options==== <!--T:41-->
====Options==== <!--T:67-->

<!--T:41-->
This section is displayed if on object is selected. The type object is displayed in the Text Editor
This section is displayed if on object is selected. The type object is displayed in the Text Editor


Line 93: Line 106:
<translate>
<translate>


====Position (0)(xx)==== <!--T:45-->
====Position (0)(xx)==== <!--T:68-->

<!--T:45-->
(0)(xx) : Number selection(s), length in mm of axis created x 10, equal number of points for shifting the spring of the axis
(0)(xx) : Number selection(s), length in mm of axis created x 10, equal number of points for shifting the spring of the axis


Line 108: Line 123:
<translate>
<translate>


====Coil special dimension==== <!--T:8-->
====Coil special dimension==== <!--T:69-->

<!--T:8-->
* {{SpinBox|Num: 2}} '''Numbering of coil''' : Numbering of coil to modify. (Default : none)
* {{SpinBox|Num: 2}} '''Numbering of coil''' : Numbering of coil to modify. (Default : none)
* {{CheckBox|Smoothing}} '''Smoothing''' This checkBox discover one spinBox for determine the grade of smoothing the maximum value is the precision value -1 (this option is still at the prototype stage and the result can be satisfying or completely wrong)
* {{CheckBox|Smoothing}} '''Smoothing''' This checkBox discover one spinBox for determine the grade of smoothing the maximum value is the precision value -1 (this option is still at the prototype stage and the result can be satisfying or completely wrong)
Line 125: Line 142:
<translate>
<translate>


==== Command ==== <!--T:9-->
==== Command ==== <!--T:70-->

<!--T:9-->
* {{Button|[[Image:FCSpring_Helix_Variable_Icon_02.png|16px]] Load}} : The Lead button open a dialogue box to read a file '''.FCSpring'''.
* {{Button|[[Image:FCSpring_Helix_Variable_Icon_02.png|16px]] Load}} : The Lead button open a dialogue box to read a file '''.FCSpring'''.
* {{Button|[[Image:FCSpring_Helix_Variable_Icon_03.png|16px]] Save}} : The Save button open a dialogue box to save a file '''.FCSpring''' with configuration spring modify or not.
* {{Button|[[Image:FCSpring_Helix_Variable_Icon_03.png|16px]] Save}} : The Save button open a dialogue box to save a file '''.FCSpring''' with configuration spring modify or not.
Line 140: Line 159:
<translate>
<translate>


== Report view == <!--T:10-->
== Report view == <!--T:71-->

<!--T:10-->
The window report view displayed all value modified.
The window report view displayed all value modified.


Line 148: Line 169:
<translate>
<translate>


== Example spring == <!--T:11-->
== Example spring == <!--T:72-->

<!--T:11-->
Example to spring modified
Example to spring modified


Line 155: Line 178:
{{clear}}
{{clear}}
<translate>
<translate>

== Example Report view == <!--T:12-->
== Example Report view == <!--T:73-->

<!--T:12-->
When the macro is launched full list of turns is displayed in tabular form.
When the macro is launched full list of turns is displayed in tabular form.


Line 161: Line 187:
Here the data of the spring above and displayed in the Report view
Here the data of the spring above and displayed in the Report view
[[File:Macro FCSpring Helix Variable 08.png]]
[[File:Macro FCSpring Helix Variable 08.png]]

</translate>
</translate>
{{clear}}
{{clear}}
<translate>
<translate>

==Icon== <!--T:14-->
==Icon== <!--T:74-->

<!--T:14-->
Download the file image and copy in your macro repertory.
Download the file image and copy in your macro repertory.


Line 173: Line 203:
ToolBar button [[File:FCSpring Helix Variable.png|left|Button]]
ToolBar button [[File:FCSpring Helix Variable.png|left|Button]]
{{clear}}
{{clear}}

<!--T:75-->
Macro icons
Macro icons


<!--T:16-->
[[File:FCSpring_Helix_Variable_Icon_01.png]] [[File:FCSpring_Helix_Variable_Icon_02.png]] [[File:FCSpring_Helix_Variable_Icon_02b.png]] [[File:FCSpring_Helix_Variable_Icon_03.png]] [[File:FCSpring_Helix_Variable_Icon_03b.png]] [[File:FCSpring_Helix_Variable_Icon_04.png]] [[File:FCSpring_Helix_Variable_Icon_05.png]] [[File:FCSpring_Helix_Variable_Icon_06.png]]
[[File:FCSpring_Helix_Variable_Icon_01.png]] [[File:FCSpring_Helix_Variable_Icon_02.png]] [[File:FCSpring_Helix_Variable_Icon_02b.png]] [[File:FCSpring_Helix_Variable_Icon_03.png]] [[File:FCSpring_Helix_Variable_Icon_03b.png]] [[File:FCSpring_Helix_Variable_Icon_04.png]] [[File:FCSpring_Helix_Variable_Icon_05.png]] [[File:FCSpring_Helix_Variable_Icon_06.png]]
{{clear}}
{{clear}}

==Script== <!--T:16-->
==Script== <!--T:76-->


<!--T:17-->
<!--T:17-->
Line 185: Line 219:
Download the macro to Gist [https://gist.github.com/mario52a/68c81c32a0727a693d3a Macro_FCSpring_Helix_Variable]
Download the macro to Gist [https://gist.github.com/mario52a/68c81c32a0727a693d3a Macro_FCSpring_Helix_Variable]


==Installation== <!--T:52-->
==Installation== <!--T:77-->

<!--T:52-->
The above file is a macro in the form of GitHub code. Download the Zip on GitHub, and then follow the macros installation instructions for dummies shown at [https://wiki.opensourceecology.org/wiki/Installing_Macros_in_FreeCAD installing FreeCAD macros in Ubuntu].
The above file is a macro in the form of GitHub code. Download the Zip on GitHub, and then follow the macros installation instructions for dummies shown at [https://wiki.opensourceecology.org/wiki/Installing_Macros_in_FreeCAD installing FreeCAD macros in Ubuntu].


Line 221: Line 257:
<gallery widths="300" heights="200">
<gallery widths="300" heights="200">
File:Macro FCSpring Helix Variable 18.png|
File:Macro FCSpring Helix Variable 18.png|
</gallery>
</center>
<br />
<center>
<gallery widths="300" heights="200">
File:Macro FCSpring Helix Variable polygonalSpiral00.png|Example polygonal Spiral by 3 points
File:Macro FCSpring Helix Variable polygonalSpiral01.png|Example polygonal Spiral by 4 points
</gallery>
</gallery>
</center>
</center>
Line 253: Line 296:
<br />
<br />


==Links== <!--T:78-->


==Links== <!--T:20-->
<!--T:20-->
The forum discussion [http://forum.freecadweb.org/viewtopic.php?f=3&t=8313&p=68161#p68161 Try to do a Spring]
The forum discussion [http://forum.freecadweb.org/viewtopic.php?f=3&t=8313&p=68161#p68161 Try to do a Spring]


Line 270: Line 314:
==Version== <!--T:23-->
==Version== <!--T:23-->


<!--T:61-->
2023/09/01 Version 0.18c adding '''FreeCAD.activeDocument().recompute(None,True,True)'''''Texte en italique'' "bug" fixed by '''Syres''' thanks
[https://forum.freecad.org/viewtopic.php?p=703568#p703568 How to draw polygonal spirals in Freecad?]

<!--T:62-->
2023/09/01 Version 0.18b correct (adapt) the code :

</translate>
{{Code|code=
self.PB_Adapt_Radius.setStyleSheet("background-color: QPalette.Base")
}}
to
{{Code|code=
self.PB_Adapt_Radius.setStyleSheet("QPushButton {background-color: QPalette.Base}")
}}
<translate>

<!--T:60-->
2022/03/16 Version 0.18 : adding scrollBar, possibility docking Left or Right, restore the chrono ''(time.time())'', memorise the last FilePath
2022/03/16 Version 0.18 : adding scrollBar, possibility docking Left or Right, restore the chrono ''(time.time())'', memorise the last FilePath


Line 373: Line 435:
6/11/2014 : adding "makeBSpline" and configuration
6/11/2014 : adding "makeBSpline" and configuration


==Limitations== <!--T:32-->
<!--T:32-->
==Limitations==
During sweep tests here are the mistakes I have obtained !
During sweep tests here are the mistakes I have obtained !



Latest revision as of 11:52, 29 December 2023

Other languages:

Macro FCSpring Helix Variable

Description
This macro creates a spring with customizable, any turn may change the spring configuration can be saved in a file with the extension .FCSpring or coordinates .FCSpringCoor.
Are detected: Surface (Face direction), Cylinder (Radius), Ellipse (MinorRadius), Sphere (Radius), Toroid (Radius1), Plane (Direction), Line (follow the Direction ), Point (XYZ vertex position)
If no object is detected (not selection) the spring is created at the point XYZ 0., 0., 0.
See the examples


Download the Icons in .zip file

Macro version: 01.18c
Last modified: 2023/09/01
FreeCAD version: 0.19
Download: ToolBar Icon
Author: Mario52

Author
Mario52
Download
ToolBar Icon
Links
Macro Version
01.18c
Date last modified
2023/09/01
FreeCAD Version(s)
0.19
Default shortcut
None
See also
None

Description

This macro creates a spring highly customizable. Any modification changing the spring configuration can be saved in a file with the extension .FCSpring or coordinates .FCSpringCoor
Are detected: Surface (Face direction), Cylinder (Radius), Ellipse (MinorRadius), Sphere (Radius), Toroid (Radius1), Plane (Direction), Line (follow the Direction ), Point (XYZ vertex position)
If no object is detected (not selection) the spring is created at the point XYZ 0., 0., 0.

Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro


# This code is copied instead of the original macro code
# to guide the user to the online download page.
# Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki
# or if the RAW code URL is somewhere else in the wiki.

from PySide import QtGui, QtCore

diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://gist.githubusercontent.com/mario52a/68c81c32a0727a693d3a/raw/3f6e4df2768f36e88af4f56af669206ff0d33e0c/Macro_FCSpring_Helix_Variable.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()

import webbrowser 
webbrowser.open("https://gist.githubusercontent.com/mario52a/68c81c32a0727a693d3a/raw/3f6e4df2768f36e88af4f56af669206ff0d33e0c/Macro_FCSpring_Helix_Variable.FCMacro")


FCSpring Helix Variable

Usage

This section is used to configuration the spring

Schematic detail of spring configuration

Gui

Configuration

  • 10 coils Number of coil : Total of coil to spring. Default = 10
  • 20,000 mm Radius of spring : Radius of spring. Default = 20.0
  • 15,000 mm Pitch of spring : Pitch of spring general. Default = 15.0
  • 5 ( 72 points ) Precision of turn : Precision of turn the precision correspond the number of point for 1 turn the coil and is calculate : precision (number points) = (pitch / (360/precision)). Default = 5 (72 points)
  • 20,000 mm  : Radius of large circle of the cone (check the Spring conical for use)
  • Spring conical : Give the large diameter of the cone that dimension will always be greater than the radius
  • Angles : Check box choice for activate the function Begin and End angle of the coil unchecked by default.
    If the function is checked. The accuracy is automatically set "precision" is ordered 1 ( 360 points ) to 1 (360 points per turn 1 point = 1 degrees)
  • 0 deg Begin : Begin angle of the spring first coil.
  • 360 deg End : End angle of the spring last coil.

Type line

  • Bspline BSpline : Type line BSpline.
  • Wire Wire : Type line Wire.
  • Points Points : Check box point if the check box is activate one point is create of on each point.
  • Reverse Reverse : Check box reverse if the check box is activate the spring changes direction

Options

This section is displayed if on object is selected. The type object is displayed in the Text Editor

The object can be line, 2 points, circle, wire ... one axis the length of the spring is automatically created

Detection : Cylinder (radius), Sphere (radius), Toroid (radius) , Cone (little radius), Circle (radius), Arc (radius), Ellipse (little radius)

  • Normal : If one circle is selected Normal not modify the radius of circle (Default)
    • Adapt Rad. : If the button Normal' is pressed, the button change to Adapt Rad. the spring is adapted to the detected radius (If a radius is detected )
  • Point Mouse : If the click mouse is on one face the spring is created on this point (Default)
    • Center Face : If the button Point Mouse is pressed, the button change to Center Face, the spring is created on the center face selected
  • Position Position : If two object are selected (First axis, Second the spring (or other object)), this checkBox is enabled and you can modify the placement object 2 (spring) along the on object 1 (axis), if this Position is checked the "Position" option is enabled for use
  • Circle : If three points click mouse are selected the Circle button is enabled and it possible to create a circle which can serve as a base for a spring

Position (0)(xx)

(0)(xx) : Number selection(s), length in mm of axis created x 10, equal number of points for shifting the spring of the axis

  • Begin/End : Position the spring on begin, middle, end axis
  • Reverse Spr. : Reverse the spring of the axis
  • 0,1 mm  : Shifting the spring with precision (0.1 mm) along its axis
  • Reverse Count. : Reverse the counter ex: Begin 0 to 10.. or End 0 to 10..
  • Slider : Position the spring on its axis

Coil special dimension

  • Num: 2 Numbering of coil : Numbering of coil to modify. (Default : none)
  • Smoothing Smoothing This checkBox discover one spinBox for determine the grade of smoothing the maximum value is the precision value -1 (this option is still at the prototype stage and the result can be satisfying or completely wrong)
  • 0,000 mm Pitch of coil : Pitch of coil to modify. (Default : none)
  • 15.0 mm : If the button is pressed the value of the "Pitch of string" is affected of the "Pitch of coil" (This value is automatically aligned of the value Pitch of string)
  • 0,000 mm Radius of coil : Radius of coil to modify. (Default : none)
  • 20.0 mm : If the button is pressed the value of the "Radius of string" is affected of the "Radius of coil" (This value is automatically aligned of the value Radius of string)
  • Accept the value modified : Button to accept the modification after select the numbering of coil and modify the pitch of coil.
  • Text edit : This window displayed all coil modified.
  • Clear : Clean the text editor
  • Zoom : Button "Zoom" enlarge the text-edit window

Command

  • Load : The Lead button open a dialogue box to read a file .FCSpring.
  • Save : The Save button open a dialogue box to save a file .FCSpring with configuration spring modify or not.
  • Load Coordinates : Open a dialogue box to read a file .FCSpringCoor (all coordinates of points of the spring).
  • Save Coordinates : Open a dialogue box to save a file .FCSpringCoor (all coordinates of points of the spring).
  • Quit : Quit the macro.
  • Reset : Reset the macro to default configuration.
  • Launch : Launch the macro and create the spring configured.
  • Help : This button display the wiki page int the FreeCAD browser.

Report view

The window report view displayed all value modified.

Example spring

Example to spring modified

Example Report view

When the macro is launched full list of turns is displayed in tabular form.

Here the data of the spring above and displayed in the Report view

Icon

Download the file image and copy in your macro repertory.

Click the image, in the new window position the mouse over the image, click the right mouse and do "Save target as ..."

ToolBar button

Button
Button

Macro icons

Script

Macro_FCSpring_Helix_Variable.FCMacro

Download the macro to Gist Macro_FCSpring_Helix_Variable

Installation

The above file is a macro in the form of GitHub code. Download the Zip on GitHub, and then follow the macros installation instructions for dummies shown at installing FreeCAD macros in Ubuntu.

Examples












Links

The forum discussion Try to do a Spring

Project

spring solid truncated

soften fittings :done

modify diameter to any coil :done

Version

2023/09/01 Version 0.18c adding FreeCAD.activeDocument().recompute(None,True,True)Texte en italique "bug" fixed by Syres thanks How to draw polygonal spirals in Freecad?

2023/09/01 Version 0.18b correct (adapt) the code :

self.PB_Adapt_Radius.setStyleSheet("background-color: QPalette.Base")

to

self.PB_Adapt_Radius.setStyleSheet("QPushButton {background-color: QPalette.Base}")

2022/03/16 Version 0.18 : adding scrollBar, possibility docking Left or Right, restore the chrono (time.time()), memorise the last FilePath

####chrono################
import time
global depart ; depart  = 0.0
global arrivee; arrivee = 0.0
def chrono(switch):    # 0=depart autre=stop
#time.strftime('%X %x %Z')#'15:44:07 12/14/19 Paris, Madrid'
    global depart
    global arrivee
    try:
        if switch == 0:
            depart = time.time()#time.clock()
            App.Console.PrintMessage("Chrono begin   : "+str(time.strftime('%X'))+"\n")
        else:
            arrivee = time.time()#time.clock()
            App.Console.PrintMessage("Chrono end     : "+str(time.strftime('%X'))+"\n")
            parcouru = ((arrivee - depart)/60.0)
            App.Console.PrintError("Time execution : "+str("%.3f" % parcouru)+" min"+"\n\n")
        return parcouru
        FreeCADGui.updateGui()    
    except Exception: None
####chrono################

2020/11/12 Version=01.17 : suppress the timer chrono !!

2020/10/18 Ver 00.16b : i suppress the test on FC 18 line 56, i suppress the timer chrono and i wait one little

2020/05/01 Ver 00.16: correction error file (save and load) cause "label_11_Name" suppressed...

2020/04/11 Ver 01.15: layout and little presentation

2019/05/03 Ver 01.14: compatible FreeCAD 0.19.16523 (Git)

2019/04/08 Ver 01.13: compatible FreeCAD 0.18.16093 (Git) /Python version: 3.6.6 /Qt version: 5.6.2

03/04/2017: ver 01.12: correction bug line 2314 add "global ui"

11/12/2016: ver 01.11: Adding Position of the spring on a selected object

10/09/2016: ver 01.10: Adding Button "Zoom" enlarge the textedit window

04/09/2016: ver 01.09: add smoothing

16/03/2016: ver 01.08 : correct and add "int()" to debutAngle and finAngle (read file)

02/03/2016: ver 01.07 : add option reverse spring

08/02/2016: ver 01.06 : correct bug angle cause "modifyAngle = int(file.readline().rstrip('\n\r')) # 9" modifyAngle is int() not char

07/01/2015: ver 01.05 : adding "Try ...Except" (data cone) for compatibility with old version

07/01/2015: ver 01.04 : adding spring conical and modify the path to "UserAppData" and adding the icone.

07/12/2014: ver 01.03 : new version with radius coil adjustable

17/11/2014: ver 1.02 : new version with GUI and modification any coil and save or load the data to disk.

10/11/2014: (23h20) correction of the modification

ligne.Placement = App.Placement(App.Vector(0.0,0.0,0.0), App.Rotation(App.Vector(0,0,1),angleTr), App.Vector(0,0,0))

10/11/2014: modify line 44 :

a = FreeCAD.ActiveDocument.Line.Placement=App.Placement(App.Vector(0.0,0.0,0.0), App.Rotation(App.Vector(0,0,1),angleTr), App.Vector(0,0,0))

to

ligne = FreeCAD.ActiveDocument.Line.Placement=App.Placement(App.Vector(0.0,0.0,0.0), App.Rotation(App.Vector(0,0,1),angleTr), App.Vector(0,0,0))

6/11/2014 : adding "makeBSpline" and configuration

Limitations

During sweep tests here are the mistakes I have obtained !