Commit Graph

377 Commits

Author SHA1 Message Date
Yorik van Havre
2aff34eab8 Draft/Arch: Used new PropertyVectorDistance where needed 2015-09-01 10:47:25 -03:00
Yorik van Havre
70550739b6 Arch: IFC importer now treats objects with shared shapes as clones 2015-08-21 11:42:42 -03:00
Yorik van Havre
0b44729bbe Draft: Small fix in copying dimensions and texts (didn't take the original style) 2015-08-17 11:50:02 -03:00
Yorik van Havre
e80fc80be3 Arch: search for movable children in groups too 2015-07-27 16:18:48 -03:00
Yorik van Havre
c2bedaeb96 Arch: small fix in windows - fixes #2193 2015-07-19 12:10:46 -03:00
Daniel Falck
1a1927b8d5 added units to Draft Point Properties 2015-06-25 23:34:01 -03:00
Yorik van Havre
edbbcfb790 Draft: Fixed placement of one-face Facebinders 2015-06-12 11:08:49 -03:00
Yorik van Havre
895510e08d Draft: small bugfix in Drawing view 2015-06-08 19:05:37 -03:00
Yorik van Havre
a6fad36ab6 Arch: small bugfix in windows 2015-05-12 23:26:41 -03:00
Yorik van Havre
bab894b775 Arch: Better output of ArchVRM renderer 2015-04-20 18:34:40 -03:00
Yorik van Havre
0c32b1b0ec Draft: make sure normal is consistent for whole path in PathArray 2015-04-10 12:10:28 -03:00
Sebastian Hoogen
6a6a3d3bd0 use multiFuse in Draft/Array issue #1971 2015-04-09 20:19:13 +02:00
Yorik van Havre
fbbc9e21a9 Draft: Improved behaviour of Clone tool when dealing with Arch objects 2015-04-08 21:00:43 -03:00
Yorik van Havre
892b7ae509 Arch: Misc improvements for IFC workflow
* Added utility to make non-parametric Arch component
* Ability for all Arch components to be a clone of another Arch component of same type
* Modified the Draft Clone tool to produce Arch Clones if applicable
* Fixed Arch Roofs so they can be based on a solid shape like other Arch objects
* Ability to change the Root element to be imported in IFC preferences
* Ability to import IFC files also as compounds, Part shapes or non-parametric Arch objects
* Added an "only" parameter to importIFC.open() to import only a certain object ID.
* Ability to read colors (IfcSurfaceStyle) from IFC objects
2015-04-08 12:34:48 -03:00
Yorik van Havre
6a2a20f64b Draft: Fixed children being moved together with section planes 2015-03-21 13:23:23 -03:00
Yorik van Havre
df074d117e Draft: Fixed arc direction in SVG projections 2015-03-21 12:08:05 -03:00
Yorik van Havre
77f6684dfe Arch: Enabled section filling in Arch drawing views 2015-03-21 12:08:05 -03:00
Yorik van Havre
0f7ef76d56 Draft: added shoogens fix IRW test 2015-03-15 14:42:36 -03:00
Sebastian Hoogen
75ced60a58 + fixes #0001966: edges in Shape2DView extend beyond endpoint 2015-02-25 18:45:40 -03:00
Yorik van Havre
2fdb1aeeff Draft: do not show Draft Tray toolbar when importing only the Draft module 2015-02-22 21:29:34 -03:00
Yorik van Havre
cd5783ac2e Draft: fixed importSVG - fixes #1964 2015-02-12 11:57:39 -02:00
Sebastian Hoogen
8ee81e0516 set the max. segments in BSpline approximation to 50
in Draft and Drawing WBs
2015-02-08 15:14:32 +01:00
Yorik van Havre
8628a6e0e0 Draft: small fix in SVG generation 2015-01-26 17:38:30 -02:00
Yorik van Havre
9de492592d Draft: SVG linestyles are now settable in preferences - fixes #1773 2015-01-15 17:58:52 -02:00
Yorik van Havre
06e78d70c9 Draft: Upgrade tool now supports sketches with circles or ellipses - fixes #1881 2015-01-15 17:15:27 -02:00
Yorik van Havre
7d0dc068e4 Draft: Allow to draw lines by length & angle - fixes #1383
* Added a Length property to Draft line objects
* Added length & angle parameters to the line drawing tool
2015-01-13 12:10:52 -02:00
Yorik van Havre
74856e5fbf Draft: Dimensions ExtLines property can now be negative - fixes #1677 2015-01-11 15:55:19 -02:00
Yorik van Havre
bde130821d Draft: Finished ellipse support - fixes #1788 2015-01-05 19:23:02 -02:00
Yorik van Havre
9b9526e4cc Arch: fixed behaviour of clones of windows - fixes #1841 2015-01-03 15:40:02 -02:00
Yorik van Havre
3db987d9b7 Draft: Added a Fuse property to Array objects - fixes #1768 2015-01-03 14:47:29 -02:00
Yorik van Havre
77882051fa Draft: Made initial Face mode dependent on fill mode pref setting - fixes #1812 2015-01-02 19:53:39 -02:00
Yorik van Havre
cb5a807990 Arch: Added a MoveWithHost property to all Arch objects which specifies if they must be moved/rotated together with their parent - fixes #1820 2014-12-31 14:04:23 -02:00
Yorik van Havre
1f9ecfa509 Draft: Better error messages when trying to convert a bspline to a sketch 2014-12-31 13:17:25 -02:00
Sebastian Hoogen
ca3ad00da8 SVG export: minor improvements and bugfixes
export Names as "id" attributes and Lables to "title" elements.
avoid duplicate path names in SVG export
handle faces with holes in SVG export
sort the edges in given wires using fixWire()
2014-12-23 15:57:57 +01:00
wmayer
c918ef7e40 + fix whitespaces in Python module 2014-12-22 12:54:09 +01:00
Michael Georg Hansen
ec4ed868b6 Remove leftover debug output and use named parameters. 2014-12-20 22:18:22 +01:00
Michael Georg Hansen
1816f88575 Reuse projection settings from an existing view when creating new draft views.
Select a draft object and a view on a drawing page, then the view created for
the draft object will have the same projection settings as the selected view.
2014-12-20 22:17:08 +01:00
Sebastian Hoogen
dc5c64703a support for ellipses and elliptical arcs in flattened SVG output
(cherry picked from commit 59eabdbcb043f3d462c3e9ed0ba21cfe65b7aae6)
2014-12-20 12:33:34 +01:00
Yorik van Havre
94187a6872 Draft: small fix in Draft.py 2014-12-12 14:38:07 -02:00
Yorik van Havre
04c1530b09 Draft: trimex extrusions now sets the solid property of the extruded object to True 2014-11-10 09:44:38 -02:00
WandererFan
fc6d57f8b3 Fix #1787 Draft.PathArray align
Correct handling of Euler angle calculations.
2014-11-03 10:24:23 -02:00
Sebastian Hoogen
81d4b94902 issue #1788 SVG output of trimmed curves 2014-10-15 15:52:59 +02:00
Yorik van Havre
daedcf4f1c Draft: Adapted Draft module for python3 compatibility - issue #995 2014-10-05 19:40:14 -03:00
wmayer
eae8f22ee5 + add lost s 2014-09-20 18:01:40 +02:00
Sebastian Hoogen
6a89b33816 fixes #1745 Encode Annotation Text using latin1
for Coin Versions <= 3
2014-09-20 16:26:59 +02:00
Yorik van Havre
f796cacf65 Draft: Grid now checks preferences settings when redrawn - fixes #1671 2014-09-18 11:09:43 -03:00
Yorik van Havre
552c0b3af3 Arch: fixed window movements - fixes #1597 2014-09-17 19:39:54 -03:00
Yorik van Havre
e7cc192650 Draft: provisorily fixed error in sortEdges 2014-09-17 14:19:42 -03:00
Sebastian Hoogen
d537fc9b53 try to use Execptions in Draft module 2014-09-17 12:52:36 +02:00
Yorik van Havre
b0c66cf6f7 Draft: fixed typo 2014-09-16 11:26:47 -03:00
Yorik van Havre
4b59ef1586 Draft: fixed sticky fonts - fixes #1725 2014-09-15 16:43:14 -03:00
Yorik van Havre
0446f60277 Draft: fixing bugs in previous commit 2014-09-15 15:56:07 -03:00
Sebastian Hoogen
1100d2d0bd move encoding strings for coin to function 2014-09-15 15:45:44 -03:00
Yorik van Havre
96eccd44ae Draft: upgrade tool now converts single-linear-edge objects into Draft lines 2014-09-15 12:51:26 -03:00
Sebastian Hoogen
5d406144aa use utf-8 for coin4 and latin1 for coin3 2014-09-14 11:08:55 +02:00
Yorik van Havre
7318a1d443 Arch: minor improvements in panel 2014-09-11 19:27:33 -03:00
Yorik van Havre
9af4df3ce5 Draft: minor fix in Shapestring 2014-09-10 15:56:50 -03:00
Yorik van Havre
93e01c16b6 Draft: Fixed copying of Draft points 2014-09-05 17:48:30 -03:00
Yorik van Havre
a723ec4b81 Draft: Allow sticky fonts in ShapeString 2014-09-04 15:57:59 -03:00
Yorik van Havre
f647f25490 Arch: optimizations in IFC import + furniture objects can be included in spaces 2014-08-31 23:30:02 -03:00
Yorik van Havre
67b54f8052 Draft: clones now correctly adopt the diffuse color of their base object - fixes #1704 2014-08-28 16:30:34 -03:00
Yorik van Havre
6ff67ee5c3 Draft: grid size is now settable in preferences 2014-08-28 16:00:08 -03:00
Yorik van Havre
806c857c6f Draft: removed unnecessary latin1 decode operations 2014-08-21 11:44:28 -03:00
Sebastian Hoogen
3c7c04cafe bugfix in Draft.ViewProiderPoint
remove access to nonexistant property
2014-08-18 14:45:42 -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
d0288deabb Arch: small bugfixes in Drawing projection stuff 2014-08-13 16:21:08 -03:00
Yorik van Havre
a9b5970512 Arch: Misc improvements to section planes 2014-08-13 00:28:27 -03:00
Yorik van Havre
a05bf739c5 Draft: Fixed Offset tool - fixes #1634, #1635 2014-08-09 13:41:52 -03:00
Yorik van Havre
3f236d042a Arch: minor bugfixes 2014-08-08 19:07:26 -03:00
Yorik van Havre
dbed1e35e5 Draft: small fix in Array object 2014-08-06 19:33:55 -03:00
Yorik van Havre
6dd35078a2 Draft: issue message if an object cannot be moved or rotated - fixes #1642 2014-08-05 18:28:26 -03:00
Yorik van Havre
234af5b27f Arch: improvements in Space object
* Better text control
* Text position editable with Draft Edit
* Additional properties such as finish types
2014-08-05 16:19:39 -03:00
Yorik van Havre
bf101bbfcb Draft: Array objects now have an IntervalAxis property to build helicoidal compounds 2014-08-01 20:57:53 -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
14ee127dc7 Arch: Further work on panel 2014-07-20 13:17:36 -03:00
Yorik van Havre
cbcbba24d2 Draft: Further fix in text encodings 2014-07-11 17:41:26 -03:00
Yorik van Havre
88471d390f Draft - fixed some text encodings in dimensions 2014-07-11 11:54:33 -03:00
Yorik van Havre
1124a57514 Draft: fix in angular dimension 2014-07-01 22:30:36 -03:00
Yorik van Havre
b08e5dec7c Arch: small fix in section planes 2014-06-21 18:57:14 -03:00
Yorik van Havre
13e006cf35 Arch: added an option to section planes to allow non-solids to be cut too 2014-06-21 11:59:33 -03:00
Yorik van Havre
4e595bd7bb Draft: Renamed Layer to VisGroup 2014-06-10 10:21:01 -03:00
Yorik van Havre
6a212b32f6 Draft: Clones are now 2D if made from a 2D object 2014-06-02 11:23:39 -03:00
Yorik van Havre
da4f1bda47 Draft: Used replace strategy in latin1 encodings - issue #853 2014-05-17 12:32:04 -03:00
Johannes Reinhardt
604c556b85 Change "making" to "creating"
This avoids a double entendre in "making faces" and keeps consistency.
2014-05-16 19:24:21 +02:00
Yorik van Havre
a2243e9fb5 Draft: enabled double-click on dimensions 2014-05-12 21:54:51 -03:00
Yorik van Havre
2798de1afa Arch: Big cleanup - fixes #1524
* Removed redundant code in Arch objects
* Supports wandererfan's Units code in Draft module
* Cleanup of the IFC exporter
* Better support of extruded profiles in IFC export
2014-05-11 14:40:39 -03:00
Yorik van Havre
392cf965af Draft: small improvements to units system in dimensions 2014-05-09 17:47:08 -03:00
Yorik van Havre
96bba087eb Draft: Filling objects with faces is now optional - fixes #1395
Closable Draft objects now have a new MakeFace property, that specifies
if they must be turned into a face or stay a wire only. Older Draft
objects continue to behave the old way for compatibility. The default
behaviour can be set in Draft Preferences -> Fill objects with faces
2014-05-07 19:03:00 -03:00
WandererFan
f37a15c1af issue #1524 UNITS for Draft Dimension 2014-05-07 11:13:34 -03:00
WandererFan
dea3fa6c66 issue #1524 Add UNITS to Draft Shapestring 2014-05-07 11:13:34 -03:00
Yorik van Havre
5c01cf0a89 Arch: Fixed OBJ exporter to work with curves - fixes #1527 2014-05-04 13:04:52 -03:00
Yorik van Havre
32d7839da4 Draft: use latin1 in texts if coin < 4 - issue #1404 2014-05-03 13:00:44 -03:00
wmayer
05dac2eeb3 + Exception handling in _BSpline.execute 2014-05-03 14:06:14 +02:00
Sebastian Hoogen
8dca9210d8 use transformShape for uniform scaling in Draft._Clone Feature 2014-05-01 11:59:56 +02:00
Yorik van Havre
5229e5461a Draft: support for multiline dim texts in svg 2014-04-29 09:41:04 -03:00
Yorik van Havre
ac2963de4e Draft: small change in Dan's tesselation code 2014-04-23 19:43:00 -03:00
Daniel Falck
91ab4c340a adding tessellation to ellipses and adding a user parameter for line
segment length of ellipses and splines with a Shape2DView projection.
This will make it useful for DXF output.
2014-04-23 19:39:57 -03:00
Daniel Falck
3abe4d460d had trouble rebasing so added tanderson's commits by copy paste method 2014-04-23 19:39:57 -03:00
Yorik van Havre
96967a5162 Draft: further fix for utf8 texts - issue #1404 2014-04-19 13:26:24 -03:00
Yorik van Havre
e2b24d8606 Draft: DXF in/out now supports Draft Layers - fixes #1504 2014-04-17 19:02:57 -03:00