Commit Graph

345 Commits

Author SHA1 Message Date
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
Yorik van Havre
6f896d8f22 Draft: Added Layer tool - issue #1504 2014-04-17 18:18:51 -03:00
WandererFan
ef8bae9ab7 Correct handling of rotated base shape. 2014-04-17 10:03:33 +02:00
WandererFan
79b8e07338 Fix Mantis #1500 for Draft Ellipse,Shape2DView 2014-04-15 10:55:04 -03:00
Yorik van Havre
c1978ec97c Draft: small fix in dimensions 2014-04-15 10:34:45 -03:00
Yorik van Havre
0d7d568600 Draft: refinements in Arch & Draft Drawing views 2014-04-14 13:29:55 -03:00
Yorik van Havre
fd993d2422 Draft: fixing a bug in Downgrade tool 2014-04-13 16:43:03 -03:00
Yorik van Havre
6113d15058 Draft: fixing bugs in opening older files 2014-04-13 16:36:53 -03:00
Yorik van Havre
8a14564883 Draft: Fixes from wandererfan 2014-04-01 19:23:31 -03:00
Yorik van Havre
fabe39b976 Draft: fixes in offset 2014-03-29 19:39:11 -03:00
Yorik van Havre
749a8fa1d6 Draft - enabled utf8 in coin3d and svg - relates to issue #1404 2014-03-29 14:31:45 -03:00
WandererFan
d68ea73879 Fixes to PathArray
- missing refresh() in DraftTools
- handle case where Base obj has non-trivial Placement
- copy Base obj format to PathArray object
2014-03-28 22:54:33 -03:00
Yorik van Havre
ebb921d60a Draft: Downgrade now splits multi-solid compounds into individual solids 2014-03-27 16:22:49 -03:00
Yorik van Havre
f9e26ee53c Draft: Small fix in patterns 2014-03-27 11:52:07 -03:00
Yorik van Havre
4bf2f92d70 Draft: small fix to Draft Clone
If scale is (1,1,1), matrix transform is no longer applied
2014-03-24 13:22:08 -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
WandererFan
13cdc443fa Improve geom creation, scaling and translation 2014-03-18 07:57:44 +01:00
Yorik van Havre
f4bb393f0e Arch: Fixed null shape copy() bugs 2014-03-14 12:55:11 -03:00
Yorik van Havre
274dc09248 Draft: Small fix in hatch patterns 2014-03-09 18:49:35 -03:00
Yorik van Havre
b6c24cfc35 Arch: minor fixes around Arch & Draft 2014-03-07 20:44:22 -03:00
Yorik van Havre
80f2a3a8a4 Draft: minor fix in Offset 2014-03-03 13:47:29 -03:00
Yorik van Havre
92023533b5 Draft: small fix to clone object 2014-03-03 12:18:54 -03:00
Yorik van Havre
363b62a891 Draft: Fixed PropertyAngles - fixes #1451 2014-02-28 15:53:09 -03:00
Yorik van Havre
810555d2ab Draft: Small typo fix 2014-02-28 10:05:44 -03:00
WandererFan
b3d1b7a2ea 1443: Fix ShapeString user font selection on Windows 2014-02-27 15:18:18 +01:00
Yorik van Havre
7b92e8fa8e Draft: Turn Draft BezCurves into faces when closed 2014-02-24 10:56:00 -03:00
WandererFan
515449d324 Cosmetic change - remove "######" placemarkers 2014-02-23 11:54:59 -03:00
Sebastian Hoogen
2dfabfdcb5 Draft Bezier Curve: implemented Continuity Property
Draft: allow continuity on closed Bezier curves

Draft: BezCurve bugfixes
    - smoothBezCurve
    - edit mode
    - avoid splitting points into segments as long as degree is zero
    - increase the continuity when closing curve
    - closed berzier curves
    - Catch modifications of continuity of first and last knot on open curves
2014-02-23 11:54:59 -03:00
Sebastian Hoogen
6f8c1c61b7 Draft: added functions to edit tangent or symmetric bezier curves
changed icon Draft_BezTanNode
       bugfix in Draft BezCurve modifytangentpole
       move poles with knots for Bezier Curves with Degree >=3
       make bezier curves symmetric/tangent when clicking on poles by
           keeping the coordinates of the selected pole
2014-02-23 11:54:58 -03:00
Sebastian Hoogen
69b09448d9 Draft Bezier Curves: Add functionality to mockup
- Split poles to multiple bezier segments
     - set degree of bezier curve
     - Close Draft bezier curves
     - set Degree at creation
     - implement addPoint for piecewise Bezier curves

Draft BezCurve bugfixes
    - fix Close button for BexCurve Edit
    - fix tracker behaviour in for BezCurve.undoLast

Draft Bezier Curve: use circle trackers for control points

Draft: prepare functions to make bezier knots tangent or symmetric
2014-02-23 11:54:58 -03:00
WandererFan
2d43d61b92 Add Draft Bezier Curve draw & edit mockup using bSpline tools. 2014-02-23 11:54:58 -03:00
Yorik van Havre
a63f4c1f2e Used new PropertyQuantity API in Draft & Arch - fixes #1414 2014-02-21 12:37:29 -03:00
Yorik van Havre
478772f067 Draft: small fix in point object 2014-02-13 12:19:59 -02:00