Map Mode, Map Parameter unexpected behavior
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Map Mode, Map Parameter unexpected behavior
Not sure I understand why this happens. Adjusting Map Parameter in in the following video. At 0.0 it is as expected, at 0.25 as expected. At 0.5 it changes the side of the path it is following. I'm guessing it has to do with the normal vector changing along the curve? But, is this the correct behaviour? If yes is there a way it can be made to follow the path at the defined offset?
- Attachments
-
- Example-1.FCStd
- (13.43 KiB) Downloaded 16 times
-
- Peek 2023-02-04 10-28.gif (129.76 KiB) Viewed 581 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Map Mode, Map Parameter unexpected behavior
the mapping is flipping along the curvature.
here 0,7.
here 0,7.
- Attachments
-
- Capture.JPG (52.18 KiB) Viewed 509 times
Re: Map Mode, Map Parameter unexpected behavior
To follow the surface, mapping could be like this, but Z offset should be different.
I used a datumpoint because it has not orientation.
I used a datumpoint because it has not orientation.
- Attachments
-
- Example-1_vb.FCStd
- (18.44 KiB) Downloaded 9 times
-
- Capture.JPG (67.46 KiB) Viewed 482 times
Re: Map Mode, Map Parameter unexpected behavior
If I understand what you propose, it does not do what I intended. (I apologize, I didn't state the intention.)
The intent is to have the cylindrical Extrude001 to follow the normal of the curve, but in the center of the surface of Extrude.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
-
- Veteran
- Posts: 3108
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: Map Mode, Map Parameter unexpected behavior
Could make the cylinder extrusion symmetric and cut away any excess that pokes out the bottom.
I don't see any Frenet modes otherwise working because the normal flips.
I don't see any Frenet modes otherwise working because the normal flips.
- Attachments
-
- Example-1_EW.FCStd
- (8.33 KiB) Downloaded 5 times
Re: Map Mode, Map Parameter unexpected behavior
Thanks for the idea.edwilliams16 wrote: ↑Sat Feb 04, 2023 11:59 pm Could make the cylinder extrusion symmetric and cut away any excess that pokes out the bottom.
I don't see any Frenet modes otherwise working because the normal flips.
Using the Frenet mode was just first WAG. I wanted to make a parametric example of using Map Mode to change the location of the cylinder sketch so it would move normal to the surface.
Probably needs some more thought.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
-
- Veteran
- Posts: 3108
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: Map Mode, Map Parameter unexpected behavior
@drmacro
Normal to edge works - it only references the tangent direction.
Normal to edge works - it only references the tangent direction.
- Attachments
-
- Example-1_EW2.FCStd
- (8.25 KiB) Downloaded 9 times
Re: Map Mode, Map Parameter unexpected behavior
That does indeed work. I had done that initially, but, tried the Frenet, saw the issue, and wanted to see if it was expected behaviour...so I could adjust my expectations.edwilliams16 wrote: ↑Sun Feb 05, 2023 1:10 am @drmacro
Normal to edge works - it only references the tangent direction.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."