Property angle of axes doesn't work
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Property angle of axes doesn't work
Hello,
when I create an axes and try to set the angle to 90° the axes is displayed with an undefined length.
See attached picture....To rotate the axis I have to set the placements properties.
Somebody find out the same problem?
The problem is in FC18 and in FC19.
Thanks,
Marco
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16824 (Git)
Build type: Release
Branch: master
Hash: 81ae5688d48fe9037f431b5cb8e1c9cee07f22b9
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
when I create an axes and try to set the angle to 90° the axes is displayed with an undefined length.
See attached picture....To rotate the axis I have to set the placements properties.
Somebody find out the same problem?
The problem is in FC18 and in FC19.
Thanks,
Marco
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16824 (Git)
Build type: Release
Branch: master
Hash: 81ae5688d48fe9037f431b5cb8e1c9cee07f22b9
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
- Attachments
-
- Angle_Axes.png (99.86 KiB) Viewed 1952 times
Re: Property angle of axes doesn't work
Please try the following steps:
1) Create an axes
2) Set the length to 3000mm
3) Set the angle to 45 degrees
4) Draw the dimension of the axis and you see 4242.64mm
The angle changes the length of the axes. With an angle of 90° the length became endless.
I found out another problem. If the angle is 90 or 270 degrees and you change the Bubble Size and the Font Size they aren't updated/displayed correctly in the model....Or maybe the length of the axes is endless and the bubble isn't visible on the screen...
Can you confirm this?
Thanks, Marco
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
1) Create an axes
2) Set the length to 3000mm
3) Set the angle to 45 degrees
4) Draw the dimension of the axis and you see 4242.64mm
The angle changes the length of the axes. With an angle of 90° the length became endless.
I found out another problem. If the angle is 90 or 270 degrees and you change the Bubble Size and the Font Size they aren't updated/displayed correctly in the model....Or maybe the length of the axes is endless and the bubble isn't visible on the screen...
Can you confirm this?
Thanks, Marco
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
Re: Property angle of axes doesn't work
hi
comportment normal ; base height 3m
if the angle change the end line go up to height 3m and may seem infinite if the angle is small
mario
comportment normal ; base height 3m
if the angle change the end line go up to height 3m and may seem infinite if the angle is small
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.
My macros on Gist.github here complete macros Wiki and forum.
Re: Property angle of axes doesn't work
Hi @mario52,
Thanks for your test,
which version of FreeCAD are you using?
Marco
Thanks for your test,
which version of FreeCAD are you using?
Marco
-
- Posts: 71
- Joined: Sun Jul 09, 2017 7:38 pm
- Contact:
Re: Property angle of axes doesn't work
hello
i faced this problem too ,the problem is the equation that used to draw the axis and i fixed it for my self ,here is the correct equation
p2 = Vector(dist+l*math.sin(ang),l*math.cos(ang),0)
so now how can you fix it your self:
go to the FreeCAD file /Mod/Arch and open the ArchAxis.py (python file)and look for Class _Axis/def excute() and compare your equation with this one ,and now it's your's ,correct it if want ,leave it if you don't
thank you
i faced this problem too ,the problem is the equation that used to draw the axis and i fixed it for my self ,here is the correct equation
p2 = Vector(dist+l*math.sin(ang),l*math.cos(ang),0)
so now how can you fix it your self:
go to the FreeCAD file /Mod/Arch and open the ArchAxis.py (python file)and look for Class _Axis/def excute() and compare your equation with this one ,and now it's your's ,correct it if want ,leave it if you don't
thank you
Last edited by FATHI RAMMAH on Thu Jun 13, 2019 12:07 pm, edited 1 time in total.
Re: Property angle of axes doesn't work
You may fix it on Github and make a pull request!
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 71
- Joined: Sun Jul 09, 2017 7:38 pm
- Contact:
Re: Property angle of axes doesn't work
The community would be happy to help you learn how to use Github. It is worth it and facilitates faster reviewing/testing. There is a a page on the wiki dedicated to this: Github. There is also a thread dedicated to this, I can't seem to recall where... but open a new thread and ask for assistance.FATHI RAMMAH wrote: ↑Thu Jun 13, 2019 12:23 pmi really like to do that but i'm not familiar with gethub yet ,so if you can fix it on gethub so that would be great .
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Property angle of axes doesn't work
You can also "propose file change" online by clicking on the pencil on the upper right part of github file viewer on the webpage. That's really simple and you don't have to fork or clone the project on your machine. Be careful, it's easy to get addicted!
follow my experiments on BIM modelling for architecture design
Re: Property angle of axes doesn't work
One point to make here, is always create a new branch, and not save to exisiting master branch. This is typical newbie mistake.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs