[0.17] Align plane to cone wall
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!
Re: [0.17] Align plane to cone wall
Mario, your macro does not seem to be compatible with 0.17-dev, which this topic is about. The Body tree is destroyed in your file.
Re: [0.17] Align plane to cone wall
hi
the macro run with 0.15, 0.16, 0.17 maybe the file .fcstd
here with
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10958 (Git)
Build type: Release
Branch: master
Hash: df1e2642d0f1b7e43f2f0e0f66159804bea58681
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
the macro run with 0.15, 0.16, 0.17 maybe the file .fcstd
here with
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10958 (Git)
Build type: Release
Branch: master
Hash: df1e2642d0f1b7e43f2f0e0f66159804bea58681
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
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.
My macros on Gist.github here complete macros Wiki and forum.
Re: [0.17] Align plane to cone wall
I tried the approach given by NormandC but in freecad 0.18 there is no option of map path parameter under property window. Please could you suggest how can I move the datum point by an angle.
Thanks for any hint!
Thanks for any hint!
- Attachments
-
- prac9.FCStd
- (107.08 KiB) Downloaded 11 times
Re: [0.17] Align plane to cone wall
Right click on properties, select "show all", then it will appear for DatumPoints, at least it does in FreeCAD 0.19, I haven't checked 0.18
Re: [0.17] Align plane to cone wall
No I tried but map path parameter isn't there. Can you suggest how to use yaw,pitch ,roll in case of datum point?
Re: [0.17] Align plane to cone wall
0.18.4 is now very old, most of us have been using 0.19 dev snapshots for a very long time. If you persist with 0.18 you will have to tolleralte the lack of 6 thousand bug fix and new feature updates. It seems this is perhaps one of those bug fixes.
Just update to 0.19, then you can right click and "select all" to get access to extra properties including the one you are looking for.
You have two topics now that seem to be asking about the same thing. Although the other topic is not clear but I have answered it.
Re: [0.17] Align plane to cone wall
I have the MapPath parameter here for DatumPlanes, but it doesn't work as hoped.
What works here is this:
- add a DatumPoint to the lower edge
- make all properties visible (see above)
- change MapPath between 0 and 1
- add DatumPlane, attach it to the wall and the DatumPoint with mode tangent.
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22960 (Git)
Build type: Release
Branch: master
Hash: c5a4b01d2e4218bcc0eb6650337650a6c65ef0e4
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
What works here is this:
- add a DatumPoint to the lower edge
- make all properties visible (see above)
- change MapPath between 0 and 1
- add DatumPlane, attach it to the wall and the DatumPoint with mode tangent.
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22960 (Git)
Build type: Release
Branch: master
Hash: c5a4b01d2e4218bcc0eb6650337650a6c65ef0e4
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: [0.17] Align plane to cone wall
Hi Chris, it's working perfectly for me here. I wonder, since you have not explicitly stated above, did you select "OnEdge" or the default "Centre of edge"? If the first then it should work but if you just accepted the default then it would not work as the Datum point is created at the centre of the circular edge. The other thought is did you actually select the edge or is there any chance you accidentally selected only the end point of the edge?chrisb wrote: ↑Mon Jan 25, 2021 8:41 am I have the MapPath parameter here for DatumPlanes, but it doesn't work as hoped.
What works here is this:
- add a DatumPoint to the lower edge
- make all properties visible (see above)
- change MapPath between 0 and 1
- add DatumPlane, attach it to the wall and the DatumPoint with mode tangent.
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22960 (Git)
Build type: Release
Branch: master
Hash: c5a4b01d2e4218bcc0eb6650337650a6c65ef0e4
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
Jim
OS: Ubuntu 18.04.5 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.today's daily PPA
Build type: Release
Branch: unknown
Hash: 078790268f8b989a9d56816513b99c19c8b46743
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
Re: [0.17] Align plane to cone wall
I had selected the surface and switching to tangent, asked for an additional point. So I had selected only the endpoint, because it seemed to be natural to move this via MapPath. I will retry with the edge later.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: [0.17] Align plane to cone wall
Do you mind uploading your working example or can you tell me what's wrong with mine? After attaching with TangentToPlane I cannot select an edge, only a point. And that doesn't react to MapPath.
- Attachments
-
- DatumPlaneOnCone.FCStd
- (6.55 KiB) Downloaded 10 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.