Problem Sweep

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
mario52
Veteran
Posts: 4690
Joined: Wed May 16, 2012 2:13 pm

Problem Sweep

Post by mario52 »

hi
I would like to know if this is normal behavior
A = with a tilted rectangle rotated 30 degrees in the X-axis
B = with a tilted rectangle rotated 90 degrees in the X-axis
the behavior is different
Sweep00.png
Sweep00.png (49.41 KiB) Viewed 775 times
Sweep00.FCStd
(80.65 KiB) Downloaded 36 times
thanks
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Problem Sweep

Post by shoogen »

mario52
Veteran
Posts: 4690
Joined: Wed May 16, 2012 2:13 pm

Re: Problem Sweep

Post by mario52 »

hi
thank you for the answer
I use the method of wmayer viewtopic.php?f=3&t=3186&p=25040&hilit=Spine#p25040 ,
how can I adapt the macro ?

Code: Select all

                ###create sweep
                # http://forum.freecadweb.org/viewtopic.php?f=3&t=3186&p=25040&hilit=Spine#p25040
                sweepKnurlingD            = App.activeDocument().addObject('Part::Sweep','SweepKnurlingD')
                sweepKnurlingD.Sections   = [dentKnurling]           # object
                sweepKnurlingD.Spine      = HelixG                   # trajectory
                sweepKnurlingD.Solid      = True
                sweepKnurlingD.Frenet     = True
                sweepKnurlingD.Transition = 2                        # number objects
                sweepKnurlingD.Label = "SweepKnurlingD"

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
Post Reply