SlopedPlanesMacro
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: SlopedPlanesMacro
Hi:
I'm doing a few videos for demonstration. I'm using the development version and these are not the definitive documentation, a trial.
Later on.
Thank
I'm doing a few videos for demonstration. I'm using the development version and these are not the definitive documentation, a trial.
Later on.
Thank
Re: SlopedPlanesMacro
The first video (less than a minute) explains the slope control
Edit: uhmm!!! It needs improvements !!! I don't see anything
Well. With full screen and HD is good!
Edit: uhmm!!! It needs improvements !!! I don't see anything
Well. With full screen and HD is good!
Re: SlopedPlanesMacro
The second video (approx a minute) is about the FactorWidth and FactorLength controls.
Please, remember to see it with FullScreen and HD.
Please, remember to see it with FullScreen and HD.
Re: SlopedPlanesMacro
The third video (thirty seconds) deals with the Task Panel, where is possible to assign different angles to the faces.
As you can see there is an observer. In this way, when a face is selected the related item in the Task Panel is selected.
Today this is all
Good night
As you can see there is an observer. In this way, when a face is selected the related item in the Task Panel is selected.
Today this is all
Good night
- markko martin
- Posts: 64
- Joined: Tue Aug 09, 2016 5:51 pm
- Location: Italy
Re: SlopedPlanesMacro
Thank you Damian for your work.
In future it will be possible to insert % slope instead angle?
In future it will be possible to insert % slope instead angle?
Loris
Re: SlopedPlanesMacro
Thank you for use it.
Excellent idea!!!markko martin wrote: ↑Sat Apr 07, 2018 1:12 pm In future it will be possible to insert % slope instead angle?
Considering that:
1º) There are more people which need this unit (two fora above)
2º) ATM the pull request is closed due to the FreeCAD 0.17 release
I think that the best option is to solve it in FreeCAD 0.18.
I understand that:
1º) It will be necessary a new angles unit, percent, where 45º is equivalent to 100 %?
2º) We need to do a new units schema available in preferences, topography schema, with km and %?
I haven't got previous experience with this side of FreeCAD.
If someone with more experience has got a better approach, he could make it faster and cleaner.
See you
- markko martin
- Posts: 64
- Joined: Tue Aug 09, 2016 5:51 pm
- Location: Italy
Re: SlopedPlanesMacro
In my opinion you might use this expression:
Angle= arctan (slope)
So I can write slope and freecad automatically calculate the angle.
Will it work?
Angle= arctan (slope)
So I can write slope and freecad automatically calculate the angle.
Will it work?
Loris
Re: SlopedPlanesMacro
I'm thinking in
angle(%) = angle(degree) x 100/45
Re: SlopedPlanesMacro
and it must go through the FreeCAD unit system. Later I could apply it to the macro ...
EDIT:
https://www.freecadweb.org/wiki/Units
https://www.freecadweb.org/wiki/Quantity
EDIT:
https://www.freecadweb.org/wiki/Units
https://www.freecadweb.org/wiki/Quantity
- markko martin
- Posts: 64
- Joined: Tue Aug 09, 2016 5:51 pm
- Location: Italy
Re: SlopedPlanesMacro
This expression is true only for 45 or 90 degrees.
The correct expression is :
slope= tan angle (degree)
For example :
Slope 30% = 30/100 = 0,3
0,3 = tan ( 16,699)
https://en.m.wikipedia.org/wiki/Slope
Angle (degree) = Tan ^ -1 ( slope )
16,699 = Tan ^ -1 ( 0,3)
Loris