Commit Graph

73 Commits

Author SHA1 Message Date
vocx-fc
023cf12c50 Draft: WorkingPlane, Pythonic style, improved the docstring; why does the projection invert the direction of the component, that is, -x instead of x, if the angle between the vectors x and u is larger than 1 radian? Why specifically 1 radian? 2019-08-09 16:54:50 -03:00
vocx-fc
ad74402d9f Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
ee09fc323a Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
34c2dcb277 Draft: WorkingPlane, Pythonic style, improved the docstring 2019-08-09 16:54:50 -03:00
vocx-fc
53ef53e0c8 Draft: WorkingPlane, Pythonic style, improved the docstring 2019-08-09 16:54:50 -03:00
vocx-fc
2bdf33478b Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
f13529deac Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
cf430bf754 Draft: WorkingPlane, Pythonic style, improved the docstring 2019-08-09 16:54:50 -03:00
vocx-fc
8ac3b21ca9 Draft: WorkingPlane, Pythonic style, improved the docstring; these methods only work when 'FreeCAD.GuiUp' is True; it should print a message to the console indicating that. 2019-08-09 16:54:50 -03:00
vocx-fc
5a4ca2a4f7 Draft: WorkingPlane, Pythonic style, improved the docstring; setup() only works when 'FreeCAD.GuiUp' is True, otherwise it fails silently. This should be change to print a message to the console. 2019-08-09 16:54:50 -03:00
vocx-fc
17f39fc410 Draft: WorkingPlane, Pythonic style, improved the docstrings; alignToSelection() only works when 'FreeCADGui.Selection' is available, that is, when the graphical interface is loaded. 2019-08-09 16:54:50 -03:00
vocx-fc
97a02d8795 Draft: WorkingPlane, Pythonic style, improved the docstrings; alignToSelection() only really works with Faces because it calls alignToFace(); it doesn't work with Edges nor Wires because alignToCurve() isn't fully implemented. 2019-08-09 16:54:50 -03:00
vocx-fc
7b91cbce33 Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
51e6f91824 Draft: WorkingPlane, Pythonic style, improved the docstring, although alignToCurve is not yet implemented so it doesn't do anything 2019-08-09 16:54:50 -03:00
vocx-fc
1a328e58f4 Draft: WorkingPlane, Pythonic style, improved the docstring. 2019-08-09 16:54:50 -03:00
vocx-fc
04a0c0bbf8 Draft: WorkingPlane, Pythonic style, improved the docstring. 2019-08-09 16:54:50 -03:00
vocx-fc
2d294994a7 Draft: WorkingPlane, Pythonic style, improved the docstrings. 2019-08-09 16:54:50 -03:00
vocx-fc
9b3aba60b0 Draft: WorkingPlane, Pythonic style, improved the docstrings, in particular offsetToPoint(); I have some doubts about the implementation in 3D space as it seems to calculate a projected distance, and not the real distance; I don't think this is very helpful when the direction is different from perpendicular (normal); perpendicular distance is certainly the most common case, so I don't know if there is any problem at all in practice. 2019-08-09 16:54:50 -03:00
vocx-fc
59f66dcf87 Draft: WorkingPlane, Pythonic style, docstring of the initialization of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
dbbb84b441 Draft: WorkingPlane, Pythonic style, docstring of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
89b9e64786 Draft: WorkingPlane, Pythonic style, docstring of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
15b11b8cb9 Draft: WorkingPlane, Pythonic style, added whitespace 2019-08-09 16:54:50 -03:00
vocx-fc
1161cbb9ba Draft: WorkingPlane, moved document docstring to the top 2019-08-09 16:54:50 -03:00
vocx-fc
f54cbb9682 Draft: WorkingPlane, Pythonic style, added spaces after commas, and removed trailing whitespace 2019-08-09 16:54:50 -03:00
vocx-fc
ba5ba2af68 Draft: WorkingPlane, Pythonic style, added spaces after commas 2019-08-09 16:54:50 -03:00
vocx-fc
cdde9a4df6 Draft: WorkingPlane, Pythonic style, added spaces after commas 2019-08-09 16:54:50 -03:00
vocx-fc
0decb4118b Draft: WorkingPlane, Pythonic style, added spaces 2019-08-09 16:54:50 -03:00
vocx-fc
92797bc976 Draft: WorkingPlane, Pythonic style, add spaces 2019-08-09 16:54:50 -03:00
vocx-fc
4ecb107098 Draft: WorkingPlane, removed excessive indentation 2019-08-09 16:54:50 -03:00
vocx-fc
d3a41be668 Draft: WorkingPlane, removed unnecessary semi-colons and indentation 2019-08-09 16:54:50 -03:00
Yorik van Havre
7eccda34d0 Arch: Lightweight mode for Arch References 2019-07-11 19:37:10 -03:00
Dion Moult
2f14667cea Set working plane immediately upon clicking the set working plane button if you have a face selected 2019-05-20 11:10:40 -03:00
Yorik van Havre
5633bd14d2 Arch/Draft: Misc small fixes
* Properly handle offset2D and arch objects in Draft Stretch
* Allow the WP of Arch BuildingParts to stay weak
* Fixed Draft Edit making Wires not plane anymore
* Dont change the WP if already perpendicular to current view
* Fixed DXF import of Polyfaces
2018-12-10 10:21:17 -02:00
Yorik van Havre
b469c237b5 Arch: cache svg calculations in section planes/techdraw views for better performance 2018-08-28 21:03:25 -03:00
Yorik van Havre
43bf3bc0cb Arch: Handle placement change in BuildingPart + view management 2018-06-28 18:44:07 -03:00
Yorik van Havre
2bef80dcc4 Arch: initial BuildingPart development 2018-06-28 18:44:07 -03:00
Yorik van Havre
8da45638be Draft: Allow to set the Working Plane from 3 selected vertices 2017-05-20 00:53:11 -03:00
Yorik van Havre
19b14520e9 Draft: New button to modify working plane during Wire drawing 2017-05-09 23:36:41 -03:00
Yorik van Havre
dd7b65a585 Draft: Added utilities -> create Working Plane Proxy command 2017-02-25 20:34:43 -03:00
wmayer
0e2cf2ebca fixes #0002837: Misspell in PY module 2017-01-09 21:21:36 +01:00
Yorik van Havre
fcd0465d8f Draft: Minor bugfixes in wire flattening code 2016-12-01 14:42:51 -02:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
Yorik van Havre
d4d9b7aee1 Arch: small fix in window placements 2016-02-05 13:09:40 -02:00
Yorik van Havre
ba9e43abc4 Arch: simplifications of Window tool
* If an arch object is selected when creating a window, the window is always inserted in that object
* No more "create from scratch" mode.
* Now needs to create the sketch first, then press the window button
* Added "Auto-include" checkbox in window creation task, to disable auto-embedding
* Fixed wrong orientation of windows
2016-02-04 13:55:39 -02:00
Yorik van Havre
bab894b775 Arch: Better output of ArchVRM renderer 2015-04-20 18:34:40 -03:00
Yorik van Havre
b33d8f6244 Draft - Allow to export Drawing pages to DXF - fixes #1686
* Uses DXF algos of the Drawing module instead of the Draft dxf library
* Uses a DXF template with the same name as the SVG template, if existing
* Only Draft, Arch, Part and Annotation views are currently supported
* Drawing module's projectToDXF() now returns only a fragment instead of a full DXF file
2014-08-15 18:14:17 -03:00
Yorik van Havre
3f236d042a Arch: minor bugfixes 2014-08-08 19:07:26 -03:00
Yorik van Havre
8a24f0fe6f Draft: Setting the WorkingPlane from a quad face now also takes its x and y directions 2014-08-08 13:48:30 -03:00
Yorik van Havre
b74c96dcc4 Draft + Arch: fixes when working without the GUI 2014-07-29 22:20:06 -03:00
Yorik van Havre
e293d61d54 Draft: Added Ulrichs patch to fix Draft-Drawing projections - fixes #1376 2014-03-23 17:28:17 -03:00