George Shuklin
6ee6c677c6
Move getSVG into a separate file to further refactoring.
...
All internal dependencies (getrgb, getType) are reimported.
2018-12-17 09:37:51 -03:00
sdaau
3290c36d28
Draft: preserving face colors and names when downgrading/upgrading (splitFaces and makeShell only)
2018-12-11 09:15:30 -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
wandererfan
f76f19732c
Use Global Scope for PathArray Links
2018-12-08 11:29:45 -03:00
wandererfan
bf3a1fdaa8
Test for binormal == Z sb binormal parallel Z
2018-12-08 11:29:45 -03:00
DeepSOIC
e48254d98e
Draft: allow cross-CS links for Clone
...
fixes drag-drop issues
https://forum.freecadweb.org/viewtopic.php?f=3&t=32677&p=272896#p272896
2018-12-08 11:23:53 -03:00
Yorik van Havre
6199c95fd7
Draft/Arch: minor fixes
2018-12-01 18:56:05 -02:00
Yorik van Havre
34cad5b81f
Draft: Better fix to buggy Move/rotate of Arch BuilfingParts
2018-12-01 12:12:22 -02:00
wandererfan
bdbdf8c6b7
FR1973 Draft ShapeString Ui
...
- load new ui from Resource file
- minor updates to translate for Py3
2018-12-01 11:08:37 -03:00
Yorik van Havre
024540dbbe
Fixed coverity issues
...
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00
Yorik van Havre
490b76f405
Arch: Fixed py3 errors in IFC export
2018-11-08 17:23:06 -02:00
easyw
3408e5908c
minor Py3 issue fixed
...
https://forum.freecadweb.org/viewtopic.php?f=10&t=30624&p=265892#p265892
fixing as suggested here:
https://hynek.me/articles/hasattr/
2018-11-06 12:03:33 -03:00
Yorik van Havre
fcdcb5d858
Arch/Draft: Fixed py3 bugs in text rendering
2018-11-05 11:47:54 -02:00
Yorik van Havre
90a1f4ad1c
Draft: Fixed py3 bug in getSVG
2018-11-04 15:36:07 -02:00
Yorik van Havre
684b4ab03a
Draft: Fixed wrong Placement of Draft Wire - fixes #3558
2018-11-01 14:42:52 -03:00
George Shuklin
7ec3984cbe
Add support for dLabel.ViewObject.Line
...
If it's false, do not draw line (and arrow), text only
2018-10-26 19:25:44 -03:00
George Shuklin
9543d54647
Add arrows to dLabel getSVG, minor style cleanup
2018-10-26 19:25:44 -03:00
George Shuklin
3a85a1fd41
Add line for annotation (no arrow yet)
2018-10-26 19:25:44 -03:00
George Shuklin
3391a5ea4b
Initial work, only text (no lines)
2018-10-26 19:25:44 -03:00
Amritpal Singh
74a6bb4253
Updated Draft Dimension object.
2018-10-24 11:06:17 -03:00
Yorik van Havre
c78ebdec42
Draft: Set normal direction of dimensions to (0,0,1) by default
2018-10-23 22:18:26 -03:00
looooo
44c2f19e38
py3: Draft: use proper way to test if property is available
...
if the attribute is not available py3 raises: `<class 'AssertionError'>: The enum is empty`. For py2 hasattr simple returns False. Similar changes should be applied also to other places.
2018-10-22 15:25:00 -03:00
Amritpal Singh
ff05101b68
Fixed FreeCAD crashes.
2018-10-10 10:45:57 -03:00
Mark Ganson TheMarkster
41102edf67
fix bug in draft path array
...
put lnodes.normalize() inside try/except block
replace hard-coded 1e-6 with Vector3d::epsilon() in VectorPy::normalize()
2018-09-11 11:11:39 +02:00
Yorik van Havre
ef0fe57328
Draft: Allow to switch the line of Draft Labels on/off
2018-09-03 16:03:10 -03:00
Yorik van Havre
5f025587a0
Draft: Fixed bug in WorkingPlaneProxy color
2018-08-30 17:11:40 -03:00
Benjamin Alterauge
20d3ebca86
Update Draft.py
2018-08-01 19:22:45 -03:00
Yorik van Havre
1885036139
Arch: Added preference option for screen helpers color (axes, grids, etc...)
2018-07-25 10:56:12 -03:00
Mark Ganson TheMarkster
5a39efa771
Fix typo
...
I figure this should be Z instead of Y, but even if I'm wrong there's no reason to check for hasattr(pts,'Y') twice.
2018-07-23 12:46:16 -03:00
JimStar
348ae51772
Extended global marker size to be used for other modes
2018-07-11 21:22:28 -03:00
Amritpal Singh
f0252c80c2
Show color of object wrt to its transparency while exporting SVG file.
2018-07-05 19:10:17 -03:00
Yorik van Havre
2f6fe25971
Arch: Support of IfcBuildingElement and IfcPropertySets in ifc import/export
2018-07-04 14:49:31 -03:00
Yorik van Havre
1314210a4c
Arch: Handle cloning of BuildingParts
2018-06-29 12:12:54 -03:00
Yorik van Havre
2bef80dcc4
Arch: initial BuildingPart development
2018-06-28 18:44:07 -03:00
Yorik van Havre
fae0de5858
Arch: Fixed export of included windows to IFC
2018-06-18 22:14:05 -03:00
ageeye
64fee7817b
Simple blocks now are possible as container.
2018-06-18 20:38:10 -03:00
ageeye
ec16d82c96
Add a new array type: PointArray.
2018-06-18 20:38:10 -03:00
Yorik van Havre
0fcb378f02
Arch/Draft: Fixed bugs in non-GUI mode
2018-06-11 21:44:23 -03:00
ageeye
15685136e7
Add sew function to the draft facebinder. Besides facebinder and patharray get their own icons in the tree view.
2018-06-11 09:58:22 -03:00
ageeye
c6c4a06778
Add sew function to the draft facebinder. Besides facebinder and patharray get their own icons in the tree view.
2018-06-11 09:58:22 -03:00
Yorik van Havre
08910e71e4
Arch: Added pref option to base new walls on Draft lines
2018-06-06 18:34:14 -03:00
Yorik van Havre
23f58f1afc
Draft: Fixed Draft texts not appearing on file load
2018-06-02 14:31:12 -03:00
Yorik van Havre
93eb05b1b5
Draft: Support new-style Draft texts in TechDraw
2018-06-01 11:05:15 -03:00
Mark Ganson TheMarkster
2c982e0c45
Remove extra definition of obj.IntervalZ
...
Remove extra definition of obj.IntervalZ in Draft array object.
Was:
obj.IntervalZ = Vector(0,0,1)
obj.IntervalZ = Vector(0,0,0)
Now:
obj.IntervalZ = Vector(0,0,1)
2018-05-31 10:58:58 +02:00
Mark Ganson TheMarkster
e0ef642d24
fix copy/paste error, add back 3 lines
...
Good catch, Yorik. I never intended to remove those lines. Must have happened when I was editing the documentation string.
2018-05-25 17:26:00 -03:00
Mark Ganson TheMarkster
f9212edc6d
Update Draft.py
2018-05-25 17:26:00 -03:00
Mark Ganson TheMarkster
e74a18f09c
Update Draft.py
2018-05-25 17:26:00 -03:00
Yorik van Havre
622cb9d2f7
Draft: added ConvertDraftSketches() convenience function to convert App::Annotations to the new Draft Text object
2018-05-16 16:27:12 -03:00
Yorik van Havre
891682a412
Draft: Added 'Flatten' context menu entry to Draft Wires
2018-05-14 16:49:25 -03:00
Yorik van Havre
d9314b756e
Draft: Draft Text now uses its own python object instead of App::Annotation
2018-05-10 17:43:16 -03:00