Zheng, Lei
88b5b2a845
Draft/Arch related changes
...
* Add Draft_LinkArray and Draft_PathLinkArray that uses link for both
data and visualization, which supports linking external objects
* Add link group support for draft snap
* Fix ArchWindows expression ambiguity
2019-08-17 15:32:47 +02:00
Yorik van Havre
5ca5f906d9
Arch/TD: Support for Arch BuildingParts in TD ArchView
2019-08-16 19:03:49 -03:00
Yorik van Havre
7ee75eae6a
Draft: Shape2Dview now supports buildingparts
2019-08-16 16:40:50 -03:00
vocx-fc
67de5e212d
Draft: Draft.py, the docstrings need triple quotes and be next to the method or class in order to be picked up by Doxygen or Sphinx; this complies with PEP 257
2019-08-14 14:33:15 -03:00
Yorik van Havre
9f31341548
Draft: Fixed typo
2019-08-09 23:08:29 -03:00
Yorik van Havre
f86f0ec5e1
Draft: minor fixes to Label tool
2019-07-17 18:00:55 -03:00
Yorik van Havre
3e326fe2e2
Draft: Fixed clone bugs
2019-07-11 12:44:04 -03:00
carlopav
498075e73f
[Draft] Bezcurve fix to display length
...
Added property Length to bezcurve objects.
2019-07-08 22:21:58 -03:00
Yorik van Havre
46f253d5d0
Draft: General grid fixes
...
- Killed 'double-grid' bug
- Consistent one grid per view, be it new doc or new view
- Grid recreated when needed on each snap use
- Misc optimizations
2019-07-08 22:07:14 -03:00
Hakan Seven
8be919c288
[Draft] Wavy Object Fix for Point
2019-06-17 16:52:45 -03:00
wandererfan
4cdef8ec5c
Fix missing recompute in Draft ShapeString
2019-06-10 21:31:00 -04:00
Yorik van Havre
2c918366e4
Draft: Introduced Layers system (former VisGroup)
2019-06-05 18:47:01 -03:00
Yorik van Havre
7957e065db
Draft: Fixed regressions in Scale tool + reimplemented Clone mode
2019-06-03 19:06:27 -03:00
Yorik van Havre
4e9eb995df
Draft: Now uses general FreeCAD shape colors instead of defining its own
2019-06-03 17:47:39 -03:00
Dion Moult
7a2f05541c
Recognise gridColor config as an unsigned type
...
Forgot to commit this earlier
2019-06-03 16:50:21 -03:00
Dion Moult
514fa9d4fc
Add customisable in-command shortcut keys rather than hardcoding them
2019-06-03 16:31:25 -03:00
Yorik van Havre
8a432cc830
Draft: Fixed regression bug in Rotate
2019-05-16 14:38:46 -03:00
Yorik van Havre
c2d0b80f58
Draft: Small bugfix in bezier curves
2019-05-14 15:25:40 -03:00
Yorik van Havre
57bf8d1f57
Draft: Fixed py3 issues in Draft Label - fixes #3941
2019-05-09 10:48:04 -03:00
Dion Moult
5bd56c82e7
Fix scale command and simplify UI, add support for scale subelements
2019-05-08 10:27:44 -03:00
Dion Moult
d3b701df22
Add subelement ghosts in scale command, and minor code cleanup
...
I suspect the scale command itself is a little broken, so I need to fix that before adding subelement support
2019-05-08 10:27:44 -03:00
Dion Moult
567e433827
Implement rotation with optional copy of draft subelements
2019-05-08 10:27:44 -03:00
Dion Moult
3df8f58922
Add subelement support for rotating individual vertices
2019-05-08 10:27:44 -03:00
Dion Moult
e832a22121
Code simplification of move subelements command
2019-05-08 10:26:55 -03:00
Dion Moult
6bfdd4e2f5
Support copying subelements
2019-05-08 10:26:55 -03:00
Dion Moult
6315a8f5db
Fix move edge to work on closed wires
2019-05-08 10:26:55 -03:00
Dion Moult
7ab0574928
Make movement vector a class variable of the move command, show error for unmovable elements, and move action into a commit to allow undo/redo.
2019-05-08 10:26:55 -03:00
Dion Moult
779a44bc41
Create functions for moving vertex and edges
2019-05-08 10:26:55 -03:00
Dion Moult
76cb674fbb
Fix typo
2019-05-08 10:26:55 -03:00
furti
275b40f04f
Extract Path Array logic into separate functions
...
The Path Array logic is pretty useful to be used directly by macros.
But until now it was encapsulated in the PathArray class and could only
be used by creating a full PathArray object. So we can't use it inside
other Objects to create a repeated shape.
This commit extracts the logic into a separate function that returns a
list of placements. One can use this placements now to copy a shape and
place it accordingly.
2019-05-07 21:31:12 -03:00
luz.paz
7a1f98fda1
Misc. source comment typo and whitespace fixes
2019-05-06 13:42:30 +02:00
Yorik van Havre
6411d4aa22
Draft: Fixed Draft text justification
2019-05-02 15:23:20 -03:00
Yorik van Havre
fc17fee860
Arch: Added 'Clip' property to section planes to clip the rendered contents to the plane limits
2019-04-28 17:29:19 -03:00
Yorik van Havre
dc64cdb18d
Draft: Fixed DXF import with sketch mode on
2019-04-25 18:17:57 -03:00
Yorik van Havre
dd56abe14b
Draft: Fixed error in DXF import
2019-04-22 10:39:36 -03:00
Yorik van Havre
84b8d82f52
Draft: Fixed inverted 2D/3D modes of Draft Texts
2019-04-22 10:29:58 -03:00
Yorik van Havre
ec1830dfb8
Arch: Added right-click option to BuildingParts to clone level and contents
2019-04-18 19:10:35 -03:00
Yorik van Havre
f0d7360319
Draft: Added area property to 'closeable' Draft objects
2019-04-18 11:54:45 -03:00
Yorik van Havre
364960723e
Arch: Misc fixes in Arch spaces
2019-04-17 17:11:14 -03:00
Yorik van Havre
83b92eb93c
Draft: Exposing the Normal property of dimensions
2019-04-15 11:14:30 -03:00
Yorik van Havre
6e57726532
Draft: Fixed wrong display of Draft texts on restore
2019-04-15 11:02:03 -03:00
Yorik van Havre
d410d3dd57
Draft: Shape2DView can now fuse Arch Walls and Structures
2019-04-08 18:18:11 -03:00
DinoMesina
9c25e45eb7
Modify using FreeCAD.Vector.getAngle()
2019-04-07 12:14:25 -03:00
Joel Graff
7d800f09e5
removed all document recompute calls
2019-04-06 16:39:49 -03:00
DinoMesina
f1cb7f35c7
Update Draft.py
2019-04-04 11:16:14 -03:00
DinoMesina
7b5d6d2944
Update Draft.py
2019-04-04 11:16:14 -03:00
DinoMesina
71deeefa60
Update Draft.py
2019-04-04 11:16:14 -03:00
Yorik van Havre
c040a3c6f5
Arch: Fixed IFC misc export issues, support for objects inside App Parts
2019-03-27 17:34:36 -03:00
furti
a8aef43d2f
Fix broken texture loading for PY 3 builds
...
The problem was that Python 3 wants a bytes object and not a string.
So we have to encode the string first to make it useable. Python 2 handles
bytes objects as normal strings so the fix should be backwards compatible.
Furthermore this commit adds a massive performance improvement by collecting
all bytes in a list and calling "join" at the end. This is significantly
faster than simply appending each byte to the bytes object one at one.
https://forum.freecadweb.org/viewtopic.php?f=3&t=35032
2019-03-22 10:59:26 -03:00
luz.paz
ad0ee86589
Misc. source comment typos
2019-03-22 10:44:14 -03:00