Compare commits

..

9818 Commits

Author SHA1 Message Date
wmayer 0258808ccb fixes #0003421: Duplicate workbench message 2018-04-06 10:48:37 +02:00
Yorik van Havre e5f42798cd Merge pull request #1396 from berndhahnebach/bhbdev141
[0.17] FEM fix crash in vtk mesh builder
2018-04-05 10:44:52 -03:00
Bernd Hahnebach 5f073d4ae1 FEM: vtk result export, better error message 2018-04-05 08:21:48 +02:00
Bernd Hahnebach c5ef8a1ee1 FEM: vtk mesh builder, add some logs and code improvements 2018-04-05 08:21:44 +02:00
Bernd Hahnebach 6c60f60a05 FEM: vtk mesh builder, fix crash if SMESH grid has node gaps 2018-04-05 08:19:59 +02:00
DeepSOIC d2ee3d2ac0 PartDesign: fix #0002758 Datum point moves to (0,0,0) when reopening the file
OCC has a peculiarity, that when saving single vertexes, it burns in placement into vertex coordinates. In loaded shape, Placement is zero. This caused datum point placement reset to zero, and its shape had nonzero  coordinates.

This fix keeps placement property from resetting, and reconstructs a new vertex upon load.
2018-04-04 17:43:15 +02:00
Pawel Bogut 839cef928b Gmsh path detection fix for Python3 on Linux 2018-04-04 17:17:38 +02:00
wmayer 77512c0266 improve exception handling in ViewProviderBody::dropObject 2018-04-04 17:14:21 +02:00
wmayer deaef0ae0e chamfer size must be greater than zero 2018-04-04 16:25:11 +02:00
wmayer 1b49a006cd fixes #0003416: Crash on draft operation for a face 2018-04-04 16:09:15 +02:00
wmayer 4ad0531957 fix NSIS scripts 2018-04-04 11:53:11 +02:00
Yorik van Havre 85b42a16d9 Draft: Fixed possible bug when removing trackers 2018-04-03 13:30:11 -03:00
wmayer 2a7cd1bb28 Add Ext directory to installer 2018-04-03 10:39:09 +02:00
Bernd Hahnebach 485630fb36 FEM: fenics mesh, trailing white spaces 2018-04-03 07:00:19 +02:00
joha2 ccfe39d115 FEM: Fenics mesh issue #0003038: xml import fixed 2018-04-03 06:56:55 +02:00
Yorik van Havre e195f035cd Arch: Fixed bug in WebGL exporter 2018-04-02 13:43:29 -03:00
tomate44 b5779a8610 add comments 2018-04-02 15:51:39 +02:00
tomate44 6ca441d1be fix crash when boundary edges are not ordered 2018-04-02 15:51:16 +02:00
Zheng, Lei ba3fb75b48 PropertyContainer: fix false hit when searching property
PropertyContainer uses a static member of type PropertyData to register
static properties. PropertyData uses a short variable to record the
offset of the property against its container.

Because of possible 'short' truncation, when searching of property that
in fact is from another container, we must check if the pointer within
boundary. Otherwise, truncation will result in effectively random
number, and possibly causing a false hit.
2018-04-02 14:17:16 +02:00
wmayer 03af975134 fix failing unit tests by using adaptive delte value 2018-04-02 14:04:32 +02:00
wmayer 877fdffe39 MDIView: remove from parent before close 2018-04-02 13:43:35 +02:00
Yorik van Havre 2891173923 Draft: small bugfix in WPProxy 2018-03-31 17:21:18 -03:00
Pawel Bogut 63e8b134ac Fix raytracing render for python3 2018-03-31 12:34:57 -03:00
wmayer e589c04662 add unit tests for psi and ksi 2018-03-31 15:43:45 +02:00
wmayer 1cbc20b0b1 fix conversion factors for psi and ksi 2018-03-31 15:43:16 +02:00
wmayer e46e576a11 revert commit 4301216e7 2018-03-31 11:06:04 +02:00
Abdullah Tahiri 0ac32464e4 Sketcher: Bug fix - prevent inter part/body links
=================================================

With the support for external geometry during carbon copy, it was introduced a way for creating inter-part/inter-body links. See:
https://forum.freecadweb.org/viewtopic.php?f=10&t=27700&p=223736#p223736

This commit closes this door, while still allows carbon copy with external geometry support within the same body.
2018-03-30 21:00:24 +02:00
Peter Lama c3423ad8d8 Fix duplicate about entries in mac app menu
Clearing the menu bar does not remove the actions from the app menu,
but setting the action role allows Qt to take care of duplicates.
2018-03-30 10:47:19 -07:00
wmayer 3ca2a408fb Fix invalid Python object error
Example below led to a crash:
import Path
v = Path.Tool(name='v', diameter=5.6)
tt = Path.Tooltable()
tt.addTools(v)
attrs = tt.templateAttrs()
uu = Path.Tooltable(tt.templateAttrs())
del attrs
2018-03-30 18:39:55 +02:00
wmayer c75d1cd777 handle exception when running unit tests in GUI mode 2018-03-30 18:38:58 +02:00
wmayer 889b133af6 fix warning 2018-03-30 16:23:07 +02:00
wmayer 127895695c fixes #0003394: Crash on gesture rotation with focus 2018-03-30 15:24:57 +02:00
wmayer 8529407023 fix bug and possible crash in overloaded method PropertyLinkSubList::setValues 2018-03-30 11:37:42 +02:00
Pawel Bogut 118757abcd OpenScad path detection fix for python3 on unix 2018-03-30 11:30:27 +02:00
looooo 428f2555c2 py3: make __FreeCADBase__ importable
https://forum.freecadweb.org/viewtopic.php?f=10&t=12534&start=510#p220765
2018-03-30 11:28:15 +02:00
Peter Lama cab061ba56 Add Qt Assistant to mac app 2018-03-30 11:25:42 +02:00
Peter Lama ec6702e649 Fix travis macOS build 2018-03-29 14:48:03 -07:00
Yorik van Havre 7fd1e543fe Updated offline documentation 2018-03-28 17:36:12 -03:00
wmayer 71f0f1a6d5 density is not an SI base unit 2018-03-28 11:47:08 +02:00
Bernd Hahnebach 656a669cb0 FEM: inout, make import inp mesh Python3 compatible 2018-03-27 12:29:14 -03:00
Bernd Hahnebach 8717edb989 FEM: material task panel, workaround to be able to set poissons ratio to 0 2018-03-27 12:29:13 -03:00
Bernd Hahnebach 43bc2de694 FEM: mesh, changes messages into logs 2018-03-27 12:29:13 -03:00
Bernd Hahnebach e21c34a562 FEM: unit tests, add various tetra10 mesh element tests 2018-03-27 12:29:13 -03:00
Bernd Hahnebach 5e79d4b44e FEM: unit tests, move mesh tests in own test module 2018-03-27 12:29:13 -03:00
wmayer 578d7b2876 fix typos in German translation 2018-03-27 10:47:52 +02:00
Yorik van Havre d4f835ab39 Merged translations from crowdin 2018-03-26 18:52:02 -03:00
Yorik van Havre a4714ce778 Arch: Fixed adding/removing of windows in walls 2018-03-26 13:11:38 -03:00
Yorik van Havre e1e06e7320 Start: Removed remaining unauthorized internet access at startup 2018-03-26 10:06:26 -03:00
wmayer f5bd719a6d cat files in correct order 2018-03-25 18:52:46 +02:00
Yorik van Havre 86c5c0dc99 Doc: added splitting/reconstruct instructions to the offline doc scrits readme 2018-03-25 12:56:05 -03:00
PLChris d3f413cbe1 Fixed missing X-Parameters in output. Renamed to philips_cnc. Cleaned up and merged code from linux_cnc. 2018-03-25 13:50:29 +02:00
wmayer f485a0786f fixes #0003361: Spreadsheet: Inserting Row Cause Crash - FC Daily v0.17 2018-03-25 13:39:21 +02:00
Markus Lampert 51d0d4e19e Using UserString for comparison instead of the actual value to avoid rounding errors depending on the unit-system used. 2018-03-25 12:34:51 +02:00
luz.paz e9c2145ec7 [For v0.18] Sketcher: Doc typo fix 2018-03-25 11:58:40 +02:00
Peter Lama 6c8e104031 Handle webkit being in a non-standard location on macOS 2018-03-25 11:56:28 +02:00
Eivind Kvedalen 0574ac37ed Spreadsheet/Expressions: Fixed issue #3363. 2018-03-25 11:53:35 +02:00
ettaka 7c5a9688a3 Fix typo in GmshTools 2018-03-25 11:50:54 +02:00
sliptonic 34633c144d Path: Remove additional unused 'partial' commands
fixes #3386
fixes #3387
2018-03-22 19:44:01 +01:00
sliptonic 47d6b10b7c Path: remove ToolLengthOffset
Obsolete and broken supplemental command
fixes #3382
2018-03-22 19:43:48 +01:00
Peter Lama 129e2f7a1b Workaround Qt 5 macOS menu bug
With Qt => 5.9, it would randomly crash when opening a menu after changing workbenches.
Evidently it is a Qt macOS bug related to removing actions from menus.
Recreating the menus everytime avoids the issue.
2018-03-22 09:47:54 -07:00
Yorik van Havre c960e8d128 Arch: Fixed window transparency bug 2018-03-22 13:08:42 -03:00
wmayer fa26b06c9c repair French and Finnish translation files 2018-03-22 14:40:14 +01:00
wmayer 9a5bc610bb fix download url in Robot workbench 2018-03-22 10:55:44 +01:00
wmayer 4301216e76 fix PPA build failure 2018-03-22 07:35:25 +01:00
wmayer 3b5b284c67 use Python script to concatenate qch file 2018-03-21 22:20:34 +01:00
Bernd Hahnebach 42987dac37 FEM: mesh api, fix get nodes by face, credits go to user _UR 2018-03-21 12:19:59 +01:00
Bernd Hahnebach 437d1cc668 FEM: analysis, make vtk result pipline object draggable into analysis 2018-03-21 12:19:59 +01:00
Bernd Hahnebach 9fab5e835a FEM: VTK, better comments in vtk result data creation 2018-03-21 12:19:59 +01:00
Bernd Hahnebach c55184e072 FEM: VTK import, fixes in SMESH mesh builder for vtk import 2018-03-21 12:19:59 +01:00
Bernd Hahnebach 482a2aec30 FEM: VTK export, fix vtk mesh builder and vtk result obj 2018-03-21 12:19:59 +01:00
sgrogan 9bf2fe8e38 Offline documentation, make sure directory exists before writting to it 2018-03-21 12:18:11 +01:00
Zheng, Lei b81f4694b1 Path.Area: work around for OCCT discretization bug
See code comments for more details.
2018-03-21 12:14:58 +01:00
wmayer 0859db6415 improve German translation 2018-03-21 11:38:01 +01:00
Yorik van Havre 11b3f66202 Escape single quotes in PropertyStringList 2018-03-19 13:35:50 -03:00
Yorik van Havre 296fcd3553 AddonManager: Fixed addon descriptions 2018-03-19 12:53:20 -03:00
Yorik van Havre dbad77bd79 Doc: cmake now joins parts of offline doc 2018-03-19 12:39:17 -03:00
luz.paz b45bc4889d Misc. typos: Please merge right before 0.17 release
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge  so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
wmayer 5109e15889 TD Translation fixes 2018-03-18 15:12:39 +01:00
luz.paz f97e28bdb1 TD Translation fixes 2018-03-18 14:30:52 +01:00
wmayer f3f857fc8d fix possible crash with draggers in transform edit mode of a view provider 2018-03-18 10:11:35 +01:00
Markus Lampert 2e63ffd090 Fixed import statement for py3 2018-03-17 14:09:15 +01:00
wmayer ff955c1aa1 check for selected sub-elements in sketcher copy function 2018-03-17 13:50:07 +01:00
Abdullah Tahiri 49308811f4 fix string to char * conversion 2018-03-17 13:30:34 +01:00
Abdullah Tahiri b70bec971e Sketcher: Carbon Copy Support for external geometry 2018-03-17 13:30:34 +01:00
Yorik van Havre 8fdce5a9cc Arch: Small bugfix in Axis position 2018-03-16 17:21:14 -03:00
wmayer 597dbf6094 don't allow to set empty list of bodies for boolean operations
don't update the body feature if boolean body list is empty
2018-03-15 12:05:13 +01:00
wmayer 3fd549ec71 fixes #0003376: PartDesign Boolean produces exception with wrong selection of active Body 2018-03-15 11:13:45 +01:00
Bernd Hahnebach 386ef7adaf FEM: frd import, fix node order of B32 seg3 2018-03-14 18:55:57 +01:00
wmayer 7e1334b1f9 fix Debian bug #825861 2018-03-14 18:05:24 +01:00
Yorik van Havre 8c8cee9820 Arch: Fixed not working addition/subtraction in components 2018-03-14 13:44:10 -03:00
wmayer 41db9e2a55 support to handle changed types when reading dynamic properties 2018-03-14 17:20:03 +01:00
wmayer 5fbdd7a704 close document in unit tests for sketcher 2018-03-14 17:15:36 +01:00
Yorik van Havre 2935198855 Draft: Added word '2D' in DWG/DXF file format descriptions to make it clearer 2018-03-14 10:32:51 -03:00
wmayer d45135e46c fixes #0002516: Microsoft Visual C++ 2013 is included in the setup package 2018-03-14 13:25:06 +01:00
wmayer b87f2143a7 fix typos 2018-03-14 11:59:09 +01:00
Bernd Hahnebach 2540f2a3bb FEM: mesh export, fix init file and better output 2018-03-14 07:47:17 +01:00
Bernd Hahnebach 1d39db122e FEM: vtk export, better object choice on export to vtk 2018-03-14 07:47:06 +01:00
Bernd Hahnebach 50f28dc631 FEM: vtk tools, deactivate penta6, hexa8 and hexa20 since they will kill FreeCAD 2018-03-13 23:36:42 +01:00
Bernd Hahnebach 247129e88f FEM: vtk tools, fix quad hexa array name 2018-03-13 23:36:37 +01:00
Bernd Hahnebach 9a05a7267b FEM: vtk tools, fix crash in mesh builder if not supported volume is used 2018-03-13 23:36:14 +01:00
Bernd Hahnebach 0cdbe26eb6 FEM: vtk post processing, add a workaround check for back light 2018-03-13 23:36:14 +01:00
Bernd Hahnebach 5d87ee460a FEM: typo, @luzpaz, I can't hardly belive there are still typos, but there are :-) 2018-03-13 23:36:14 +01:00
Yorik van Havre 2c2d781aa6 Start: Do not access the internet in start page before user explicitely allowed it 2018-03-13 12:19:50 -03:00
Yorik van Havre 25d47ae652 Arch: Better fix of windows host system 2018-03-13 11:42:40 -03:00
Yorik van Havre ae38698306 added 3-part offline doc for testing 2018-03-12 19:33:07 -03:00
Bernd Hahnebach 2fc1763f24 FEM: vtk import, add GUI pref page 2018-03-12 15:10:17 +01:00
Bernd Hahnebach 06df53ef6e FEM: vtk import, fix import of generic vtk files 2018-03-12 15:10:17 +01:00
Bernd Hahnebach 224c74e9a7 FEM: vtk result import, workaround for broken stats calculation 2018-03-12 15:10:17 +01:00
Bernd Hahnebach e3ef7fc90b FEM: vtk export, fix module name in init 2018-03-12 15:10:17 +01:00
luz.paz d310f43282 FEM: Trivial typo 2018-03-12 15:10:17 +01:00
wwmayer fe7962e350 Merge pull request #1360 from WandererFan/edge2edgeDim
[0.17 Fix] Fix display of Edge/Edge horiz/vert Dims
2018-03-12 10:27:48 +01:00
wandererfan c02ddba1fb Fix display of Edge/Edge horiz/vert Dims 2018-03-11 20:43:16 -04:00
wandererfan 9d26fe0599 Preserve setting across language change 2018-03-11 21:33:59 +01:00
wandererfan 2b35fd173a Correct delayed scaling of center/section lines 2018-03-11 21:33:59 +01:00
wandererfan 7cde0236f1 Prevent translation of LineGroup name 2018-03-11 21:33:59 +01:00
wandererfan 4880eff86d Sync code default values with Pref defaults 2018-03-11 21:33:59 +01:00
Abdullah Tahiri 0517a354c3 Dependency graph crash minimum fix 2018-03-11 21:31:28 +01:00
wmayer 7480544967 fix typo 2018-03-11 18:34:18 +01:00
triplus c78a02e782 Remove read only files
+ Method to remove read only file (needed for shutil.rmtree() on Windows).
+ Revert .clear_cache().
2018-03-11 16:50:38 +01:00
triplus 85b30bdd5a GitPython permission issue on Windows 2018-03-11 16:50:38 +01:00
Yorik van Havre 4af69bf3f6 Draft: Bugfix in SVG export 2018-03-10 18:50:56 -03:00
wmayer 7fd67f881e fix possible crash in pipe/scaling task panels 2018-03-10 16:53:14 +01:00
Yorik van Havre c5f4079252 Tools: fixes in wiki download scripts 2018-03-09 15:18:11 -03:00
Yorik van Havre fe0ecd982d Arch: simplified window's Host touch system 2018-03-09 13:47:43 -03:00
wmayer 0d00433ee9 port FreeCAD plugin for Qtdesigner to Qt5 2018-03-09 15:38:33 +01:00
Yorik van Havre 5aa7b044df Draft: Do not allow concurrent snap runs 2018-03-08 18:53:49 -03:00
wmayer 24f2194485 open external links with system browser in credits and license tabs 2018-03-08 19:03:56 +01:00
Yorik van Havre 46acd2f6a2 Units: Fixed Building Imperial schema - closes #2792 2018-03-08 12:45:59 -03:00
sliptonic d95656d812 Path: Make simulation work with additional jobs
fixes #3359

The simulation stock now updates when job is changed
2018-03-08 12:05:29 +01:00
sliptonic 08656b8e19 Path: fix crash if path has dressup
fixes #3358
2018-03-08 12:05:29 +01:00
WandererFan be3b4d8881 Fix #2624 Draft Patterns Not Installed 2018-03-08 12:02:59 +01:00
Abdullah Tahiri a3a926723f Sketcher: Move point from python fix
====================================

https://forum.freecadweb.org/viewtopic.php?f=22&t=27282#p218637
2018-03-08 11:30:16 +01:00
WandererFan 11ad76b82e Fix Bad View Position on Add to Clip 2018-03-08 11:24:31 +01:00
WandererFan 02eadc950f Use Unit Aware Spinbox in Prefs
- use length aware spinboxes for font and
  arrow sizes in TechDraw preferences.
2018-03-08 11:12:45 +01:00
wmayer 2bfea410fc build plugin with Qt5 2018-03-08 01:51:42 +01:00
wmayer c5bc81ce59 add PrefUnitSpinBox to designer plugin 2018-03-07 23:51:07 +01:00
wmayer 456945881c fix incorrect usage of Adaptor3d_IsoCurve 2018-03-07 15:49:06 +01:00
wmayer 9eed7f06ba Add unit aware preferences widget 2018-03-07 14:34:53 +01:00
wmayer a86a576d49 fix crash when closing drawing view 2018-03-07 11:41:23 +01:00
Yorik van Havre 910e9a0fb8 Arch: Fixed translation bug in merge walls command 2018-03-06 18:58:57 -03:00
Yorik van Havre 124d0ef70b Arch: Fixed bug in windows transparency 2018-03-06 11:17:44 -03:00
Yorik van Havre b325876156 Arch: Fixed translations bug 2018-03-05 16:47:01 -03:00
luz.paz 506ee98411 libarea misc. typo fix
This is a source typo fix. Please review.
2018-03-05 16:34:54 -03:00
Alexander Pravdin 7c1c19a179 Draft: New dimension arrow tick (Tick-2) 2018-03-05 16:32:42 -03:00
Yorik van Havre 7b4e59fea5 Merge pull request #1346 from luzpaz/weekly-typo-fixes
Weekly misc. typo fixes
2018-03-05 16:31:32 -03:00
luz.paz 6031223ebe Weekly misc. typo fixes 2018-03-05 09:25:48 -05:00
wmayer f189c95984 workaround for failure to get iso curves 2018-03-04 22:39:28 +01:00
wmayer 8c6b4ad1a6 fix German translation 2018-03-03 23:37:15 +01:00
wmayer 5ca83dda4f Gui: Fixed regression in getObjectsInfo 2018-03-03 23:36:58 +01:00
wandererfan 449dbe13eb Fix painting of detail highlight
- painting of the detail highlight in the base
  view was being delayed until the base view
  was updated. It is now drawn when detail
  changes.
2018-03-03 11:22:15 -03:00
luz.paz 2c39dc3899 FEM: source comment typo fix 2018-03-03 11:20:52 -03:00
Bernd Hahnebach 4d8fd794fd FEM: mesh view provider, fix for shell beam 3D output, because node numbering does not start with 1 2018-03-03 11:20:52 -03:00
Zheng, Lei 67e3bb9d1d Path.Area: fix linux build 2018-03-03 11:19:36 -03:00
Zheng, Lei 286b252f44 ViewProviderPath: tweek StartIndex auto step size 2018-03-03 11:19:36 -03:00
Zheng, Lei 7f891ebeae Path.Area: fix self intersect wire issue
Self intersected wire may cause a loop, and BRepBuilderAPI_MakeWire may
mistakenly consider the wire to be closed. And this makes
BrepTools_WireExplorer unhappy and cause it to skip edges.  We now use
ShapeAnalysis_FreeBounds to connect edges to wires.
2018-03-03 11:19:36 -03:00
Yorik van Havre e5f5e4b7c9 Arch: small bugfix in floors 2018-03-02 19:08:46 -03:00
Yorik van Havre 9ea89f5b50 Gui: Fixed regression in getObjectInfo 2018-03-02 17:04:41 -03:00
Yorik van Havre e131793a38 Tux: support for future BIM workbench 2018-03-02 16:22:55 -03:00
Yorik van Havre 7761ea4883 Arch/Draft: Less clutter in output window 2018-03-02 12:29:58 -03:00
Yorik van Havre e124b05bff AddonMAnager: Don't hide error message if some addon failed to install 2018-03-02 11:25:28 -03:00
wschildbach b5741a4a97 Fix error caused by insufficient rights to create symlink under Windows 10
On Windows 10, symlink creation is not allowed unless the process runs with elevated rights. 

As per https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/#joC5tFKhdXs2gGml.97, starting with Windows 10 Insiders build 14972, symlinks can be created without needing to elevate the console as administrator.

To use this functionality, 0x2 needs to be set in the flags argument for the CreateSymbolicLinkW() call. See also https://github.com/FreeCAD/FreeCAD-addons/commit/e8838474846383caff216385c5a1ddf2c6a8774d
2018-03-02 10:50:52 -03:00
Sebastian Bachmann efa8ceb303 TechDraw: small corrections for line sizes
changeing the line weight for dimensions to a thin line
and get the font size for detail view labels from the configuration
rather than using a hardcoded value.
Also removing a duplicate method, as it is already implemend in the
parent class.
2018-03-02 10:48:55 -03:00
tomate44 dd49ee27fd add simulate function to MakePipeShell 2018-03-02 10:47:45 -03:00
Yorik van Havre 22ee06de84 Merge pull request #1338 from WandererFan/Fixes
Fix Dimension Response to Changed X/Y
2018-03-01 10:57:00 -03:00
WandererFan 8a26554eda Fix Dimension Response to Changed X/Y
- Dimensions in Gui were not responding to changes in
  the Feature's X/Y properties.
2018-02-28 18:38:59 -05:00
Yorik van Havre 404452d6ee Draft: Small fix to Working plane proxy 2018-02-28 12:37:04 -03:00
Yorik van Havre bf6917ad8b Merge pull request #1335 from WandererFan/Fixes
Use Font Selector Widget for Preferences
2018-02-28 10:01:33 -03:00
WandererFan 1700f36104 Use PrefFontBox for TD Label Font Selection
- was PrefLineEdit.
2018-02-27 14:30:21 -05:00
WandererFan df5a986c87 Add Pref Font Widget 2018-02-27 14:28:36 -05:00
Yorik van Havre 29864ff821 Part: Added an icon to Make Compound command 2018-02-27 12:48:11 -03:00
Yorik van Havre 1a40ea968b Merge pull request #1333 from luzpaz/misc-source-and-comment-typos
Misc. source and comment typos
2018-02-27 09:48:01 -03:00
luz.paz 143ce405e4 Misc. source and comment typos 2018-02-26 22:02:52 -05:00
Yorik van Havre 86019a01ef Arch: Fixed leftover from last commit 2018-02-26 22:14:31 -03:00
Yorik van Havre ea0f6797b6 Arch: Fixed recursive loop in windows 2018-02-26 22:01:04 -03:00
Yorik van Havre 8aad83f08f Updated wiki download scripts 2018-02-26 15:12:53 -03:00
Patola 3dc0f77065 Better handle non-ascii characters
This prevents the following error when using fcinfo as diff driver for WebTools Git:
(...)
  File "/usr/local/bin/fcinfo", line 89, in startElement
    print ("   " + key + " : " + val)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 17: ordinal not in range(128)
fatal: unable to read files to diff
2018-02-26 10:51:29 -03:00
Yorik van Havre 0038120c91 Merge pull request #1330 from reox/centerlines2
TechDraw: new center/section draw style
2018-02-25 18:21:07 -03:00
Sebastian Bachmann c41363c117 TechDraw: new center/section draw style
using custom QT pen styles, the center and section lines look much
better.
With some math we are also able to control the middle position, thus
the centerlines will always look good, regardless of the size of an
object.

Also getting the section label size from the settings, so the font
size is controllable and not hardcoded.

Bonus: adding blank templates for the common paper sizes (as the
        Drawing WB has them)
2018-02-24 16:58:17 +01:00
Bernd Hahnebach e5ef0f532d FEM: import frd results, fix import of peeq 2018-02-24 10:47:09 -03:00
Bernd Hahnebach 0650773ab8 FEM: import frd, better comments in frd reader and some small moving 2018-02-24 10:47:09 -03:00
Bernd Hahnebach 7e6792e4ee FEM: unit tests, remove German comment made for bernd only 2018-02-24 10:47:09 -03:00
Zheng, Lei 66997448f5 Path.Area: arc fix to work around OCCT bug 2018-02-24 10:44:55 -03:00
Yorik van Havre 443566a63d Merge pull request #1328 from sasobadovinac/TLSfix
AppVeyor builds fix
2018-02-24 10:39:32 -03:00
sasobadovinac f6286e6ab3 TLSfix 2018-02-23 16:30:57 +01:00
luz.paz 77c1fc59e4 Doxy typos 2018-02-23 11:52:31 -03:00
Yorik van Havre 4ef801e0da Updated credits list 2018-02-22 20:55:39 -03:00
Yorik van Havre ed240535f2 Draft: Small bugfix in dimensions 2018-02-22 15:27:16 -03:00
Abdullah Tahiri 69efeb7d81 Sketcher: complete type and representation 2018-02-22 19:19:22 +01:00
WandererFan c606bbbcba Fix DrawViewAnnotation TextSize
- text size was originally specified in integer
  point size.  Now they are specified in mm. The
  relevant Properties have been changed to
  PropertyLength.
2018-02-22 19:17:40 +01:00
Yorik van Havre 12f3258ded Applied latest translations from crowdin 2018-02-21 14:25:31 -03:00
Yorik van Havre 80f9057e7a Small fix in translation tools 2018-02-21 13:35:32 -03:00
Yorik van Havre b9e1cbb6de Added support for lithuanian, valencian, indonesian and filipino 2018-02-21 13:19:42 -03:00
Yorik van Havre 35ee3f03a7 Draft: Reducing memory leak in snapper - ussie #3340 2018-02-21 12:53:48 -03:00
Bernd Hahnebach b2cd2e0d39 FEM: unit tests, add ccx tools multi material test 2018-02-21 14:33:45 +01:00
Bernd Hahnebach 563ad9e0a6 FEM: ccx tools, pop up a error message box on run if more than one meshes are in the analysis 2018-02-21 14:33:45 +01:00
Bernd Hahnebach 223a869f83 FEM: elmer sifio, fix string test 2018-02-21 14:33:45 +01:00
Bernd Hahnebach 6eee1b46ff FEM: code formating, flake8 2018-02-21 14:33:45 +01:00
Yorik van Havre f445ace40c Fixed errors in DraftSnap.py 2018-02-20 17:11:39 -03:00
wmayer 5e5aa51977 fix unit test to compare quantities 2018-02-20 16:18:38 +01:00
wmayer b2963382d3 fixes #0003350: Draft Snapping does not recognize App::Part container 2018-02-20 11:19:49 +01:00
Yorik van Havre 5c76affc22 Merge pull request #1322 from berndhahnebach/bhbdev130
[0.17] FEM important fix
2018-02-19 17:15:32 -03:00
Bernd Hahnebach 98df49a64b FEM: writer base, fix multiple materials 2018-02-19 17:53:34 +01:00
Bernd Hahnebach 4962a0188c FEM: mesh tools, add space to prints 2018-02-19 17:53:27 +01:00
Bernd Hahnebach 6fe8a881e8 FEM: init module, better file import export description 2018-02-19 07:03:14 +01:00
Bernd Hahnebach 6ede0a1d68 FEM: gmsh tools, delete partially wrong comments 2018-02-19 07:03:06 +01:00
Bernd Hahnebach c67e26c037 FEM: gmsh tools, fix file closing 2018-02-19 06:51:21 +01:00
luz.paz b47e011c1c Misc source comment typos
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ~/Projects/fc-word-whitelist.txt`  
Whitelist consists of:
```
aline
alledges
als
ang
behaviour
bloaded
calculater
cancelled
cancelling
cas
centimetre
childs
colour
colours
doubleclick
dum
eiter
elemente
freez
iff
indicies
initialisation
initialise
initialised
initialises
kilometre
lod
mantatory
methode
metres
millimetre
modell
nd
normaly
nto
oder
ot
pres
que
recurrance
rougly
seperator
serie
strack
substraction
te
thru
vertexes
whitespaces
```
2018-02-16 09:35:19 -05:00
Bernd Hahnebach 8ebcdf8ac7 FEM: mesh tools, fix missing initialization 2018-02-16 10:53:20 -02:00
Bernd Hahnebach 8de9707d5b FEM: elmer sifio, Python3 unicode fix 2018-02-16 10:53:20 -02:00
Markus Hovorka c110f04823 FEM: fix unicode conversion error (sifio.py)
The sifio module could only serialize the str type. This commits
adds support for unicode strings. Some properties of FreeCAD
objects like the equation variable name use unicode strings.
2018-02-16 10:53:20 -02:00
Yorik van Havre cfde8a0d51 Draft: Small fix in snapper 2018-02-16 10:52:57 -02:00
Yorik van Havre 1cad114c36 Merge pull request #1320 from WandererFan/Fixes
Move Graphics Properties to Gui Side
2018-02-15 09:20:51 -02:00
WandererFan 52e36973fe Merge branch 'master' into Fixes 2018-02-14 18:14:00 -05:00
WandererFan f07d3a177f Fix default GeomHatch weight 2018-02-14 15:42:26 -05:00
WandererFan 679f26af58 Dimension Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan 99fcba4992 VPart/VSection Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan 78f4d91b95 HatchColor & HatchScale prop to Gui side 2018-02-14 15:42:25 -05:00
WandererFan 033077f76f KeepLabel Property to Gui side 2018-02-14 15:42:25 -05:00
luz.paz f725fbd459 Misc. source comment typo [skip ci]
Found via `codespell`
[skip ci]
2018-02-14 14:26:04 -05:00
tomate44 4e2d7c36ca Edge.getParameterByLength fix 2018-02-14 18:46:35 +01:00
Yorik van Havre 23fff2b1d3 Arch: Fixed bug in wall not updated on window size change 2018-02-13 10:54:06 -02:00
wmayer 9dd1c7ac36 implement transform command of point data 2018-02-13 00:32:58 +01:00
wmayer 880a200c70 improve point import and export 2018-02-13 00:27:18 +01:00
wmayer 88e8c98d34 fixes #0002987: FreeCAD should recognize when it's been built as an appimage 2018-02-12 22:21:38 +01:00
luz.paz 7703bc7897 Residual files left to remove \n from translate() 2018-02-12 21:59:37 +01:00
WandererFan 4aae6e1554 Remove unneeded code, add menu item
- remove code for updating tab with Page label
  (handled in MDIView)
- add context menu item to toggle Page
  KeepUpdated property
2018-02-12 21:57:15 +01:00
WandererFan 973da7d3e6 Avoid affecting other Tabs when Page deleted.
- when Page object was deleted, closing the Page's
  tab would have undesired effect on 3D tab. Now Page
  delete does not affect other tabs.
2018-02-12 21:57:15 +01:00
luz.paz c7d64db5b5 Arch: Misc. typos and uniformity fixes 2018-02-12 21:55:31 +01:00
wmayer 903aae07b9 fixes #0003347: No 'Tick' arrow style among other styles in Draft preferences 2018-02-12 21:53:17 +01:00
WandererFan 83806936c9 Change removeWindow logic for consistency
- Page window is removed in two places.  Problem with
  display of 3D window when Page window closed was fixed
  by  http://github.com/FreeCAD/FreeCAD/commit/1d83d17.
  This commit makes the code for Page object delete
  consistent, but doesn't fix the problem with display
  of 3D window.
2018-02-11 20:07:57 +01:00
WandererFan 7349a66cf9 Fix Unrequested Page Zoom
- Page zoomed out after updating editable
  text.
2018-02-11 20:07:57 +01:00
WandererFan 3da2c0c180 Add 2 templates
- add templates for wiki howto example and US
  letter size
2018-02-11 20:07:57 +01:00
WandererFan 4f291f7305 Allow ProgGroup Item AutoPosition from Python 2018-02-11 20:07:57 +01:00
luz.paz 1909466241 Arch: move \n out of translation strings 2018-02-11 20:06:22 +01:00
wmayer 738b904592 Fix invalid Python object error
Example below led to a crash:
import Path
t = Path.Tool(name='t', diameter=1.2)
tt = Path.Tooltable()
tt.setTool(3, t)
attrs = tt.templateAttrs()
del attrs
2018-02-11 16:04:17 +01:00
wmayer 58887d8b84 fix reference counting issue 2018-02-11 14:08:18 +01:00
wmayer 7335b3ae52 add tab about license information of 3rd party libraries 2018-02-11 11:40:09 +01:00
luz.paz fa8f012108 Path: moved '\n' out of translation()
Instead it is appended to the end of the `FreeCAD.Console.Print.....()`
2018-02-11 10:49:19 +01:00
wmayer fa4058c84e expose getHelpDir to Python 2018-02-10 16:29:57 +01:00
wmayer 73522c3d10 fix scan coverity issues 2018-02-10 14:29:49 +01:00
wmayer 707bbee6ae fix warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 2018-02-10 12:42:41 +01:00
wmayer cc715465d0 fix warning: private field 'm_lx' is not used [-Wunused-private-field]
fix warning: private field 'm_ly' is not used [-Wunused-private-field]
2018-02-10 12:28:50 +01:00
wmayer 1e0d4b7a5c fix warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 2018-02-10 12:18:33 +01:00
wmayer ed52b2ef51 fix -Wfor-loop-analysis 2018-02-10 11:57:53 +01:00
wmayer 09603ea099 See PR 1309 2018-02-10 11:31:43 +01:00
Bernd Hahnebach 53af3b33d8 FEM: examples, update frame work solver example 2018-02-10 00:53:16 +01:00
Bernd Hahnebach 1ad03336ab FEM: ccx writer, adapt constraint fixed to the mixed meshes 2018-02-10 00:53:16 +01:00
Bernd Hahnebach aec496e7d9 FEM: ccx input writer, write all mesh dirmension ccx elsets 2018-02-10 00:53:16 +01:00
Bernd Hahnebach 45f3eb7f4d FEM: input writer, use own element table for each shape type 2018-02-10 00:53:16 +01:00
Bernd Hahnebach 5d5d71cf8e FEM: writer base, add missing console log 2018-02-10 00:53:16 +01:00
wmayer a33ac38508 disable tip handling in PD view providers when start or finish editing 2018-02-10 00:46:30 +01:00
wmayer a81a785b52 proper handling of setting and reverting preview mode in PD view provider 2018-02-10 00:42:10 +01:00
wmayer a20e13b8ae avoid superfluous transaction on PD primitive creation 2018-02-09 23:10:40 +01:00
wmayer d5c890c50e in ViewProviderBody::updateData make sure a view provider exists 2018-02-09 22:14:44 +01:00
Abdullah Tahiri d455600b65 Part Design: Avoid feature modification during initialization
=============================================================

The values for the primitives are set after the connections to the slots "onchange" are connected.

This causes a river of onChanges at feature level which set the properties and modify the feature (to the same values).

Moving the connections at the end of the function just solves this issue.
2018-02-09 16:01:19 +01:00
sliptonic 5ffc4f983e Path: add stock boundary as choice for millface
fixes #3326
2018-02-09 15:58:44 +01:00
Yorik van Havre 00ddc9b8da Arch: Fixed bug in component icon 2018-02-09 10:37:01 +01:00
luz.paz ec04b0e9fc Misc. typos 2018-02-08 13:23:25 -05:00
Bernd Hahnebach c9dc78e8a6 FEM: unit tests, small code improvements in solver frame work test 2018-02-08 09:46:40 +01:00
Bernd Hahnebach 650a42ecf8 FEM: unit tests, reactivate Elmer test 2018-02-08 09:46:40 +01:00
Bernd Hahnebach 71dd947aa2 FEM: elmer tasks, fix gmsh mesh object type check 2018-02-08 09:46:40 +01:00
Bernd Hahnebach f7e0c42c07 FEM: unit tests, add some example code to run FEM unit tests 2018-02-08 09:46:40 +01:00
wmayer 5022c8df5c use object's inlist to filter selection in property link dialog to avoid dependency loops 2018-02-07 23:31:14 +01:00
wmayer d9ae108319 put all STEP export/import options into one tab page 2018-02-07 22:46:30 +01:00
WandererFan 0a7340b9e9 Fix hidden click handles on Templates
- on some Templates, the green click handles for
  editing text were being painted under the Template
  and were not visible.
2018-02-07 19:05:25 +01:00
Bernd Hahnebach d3bc866a96 FEM: unit tests, recreate ccx tools results, due to changes in frequency model the results have changed 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 5012abf75b FEM: unit tests, ccx tools frequency, delete not used document objects 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 0652802b85 FEM: unit tests, move frequency ccx tools test in own def 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 7ce2d4bc57 FEM: unit tests, ccx tools move base name declaration 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 76bf21b798 FEM: unit tests, recreate ccx tools results 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 347adfa9fd FEM: unit tests, fix ccx result creation def 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 6d9775fb5e FEM: unit tests, improve imports and dir definitions 2018-02-07 19:03:48 +01:00
Bernd Hahnebach bffe546dae FEM: unit tests, delete unused imports 2018-02-07 19:03:48 +01:00
Bernd Hahnebach a2446a6b7c FEM: unit tests, move module fem common test module to common test module 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 7f2c586bc9 FEM: unit tests, move solver framework and ccxtools test classes in separate modules 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 8c660e507c FEM: unit tests, move helpers in separate test tools module 2018-02-07 19:03:48 +01:00
Bernd Hahnebach b6aa013363 FEM: GUI prefs general tab, again make ALL dir chooser really dir chooser 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 41d7decdce FEM: GUI prefs general tab, fix solver frame work custom path 2018-02-07 19:03:48 +01:00
Bernd Hahnebach ecf7f45813 FEM: prints, use FreeCAD console prints and console error for ccx tools and writer module 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 6417db4582 FEM: ccx tools, better error messages on Python run 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 1071742de9 FEM: unit tests, fix ccx tools result creation and recreate them 2018-02-07 19:03:48 +01:00
Bernd Hahnebach 88051e01d3 FEM: ccx tools, remove setting analysis type with the analysis tools, is done in solver object 2018-02-07 19:03:48 +01:00
joha2 3b8fa5cb24 FEM: Fenics, add Fenics tools module 2018-02-07 19:03:48 +01:00
Abdullah Tahiri 9ae9150bea Sketcher: Expose Type as readonly python attribute 2018-02-07 15:32:43 +01:00
luz.paz f3098d5acb Crowdin: fix case for 'partdesign'
ref: https://crowdin.com/translate/freecad/564/en-fr#6500374
also through in a random typo fix
2018-02-07 09:45:34 +01:00
luz.paz 55a2a7ab55 Crowdin: Corrected B-spline term in translation
ref: https://crowdin.com/translate/freecad/569/en-fr#6503804
[skip ci]
2018-02-07 09:43:55 +01:00
luz.paz 6b04f8961e Arch: removing \n from translated strings
ref: https://crowdin.com/translate/freecad/548/en-hu#6501126
2018-02-07 09:42:13 +01:00
luz.paz b6b9f61548 Misc. typos
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
WandererFan 540b2dc79e Correct Selection When Multiple Pages
- when inserting a new View in a document with
  multiple Pages, the View did not always get
  added to the proper Page.
2018-02-06 13:58:00 -05:00
WandererFan 2ca7912d19 Show Page Label in Tab 2018-02-06 13:58:00 -05:00
WandererFan 02d318f89d Prevent Page Template Interference
- adding a 2nd+ Page with a different Template
  modified the existing Page's Template
2018-02-06 13:58:00 -05:00
Markus Lampert 2990e1e7b0 Changed Cutting Edge Angle to be the full bit angle and renamed label. 2018-02-05 20:22:08 -08:00
Yorik van Havre 89275766de Merge pull request #1292 from triplus/NavigationRevit
Navigation indicator Revit style
2018-02-04 12:14:16 +01:00
triplus a7e39ed859 Navigation indicator Revit style 2018-02-03 14:44:19 +01:00
Yorik van Havre fccf90ac0e Merge pull request #1291 from WandererFan/Fixes
Fix CmdTechDrawProjGroup Selection Criteria
2018-02-03 09:45:24 +01:00
WandererFan 37644285d6 Fix CmdTechDrawProjGroup Selection Criteria
- CmdTechDrawProjGroup was not allowing Body or
  App::Part to be selected as Source for new
  ProjectionGroup even though DPG handles
  both.
2018-02-02 15:39:01 -05:00
Yorik van Havre cdf08f7844 Added info about third-party licenses in the About dialog 2018-02-02 16:48:57 +01:00
triplus 23bdf54e98 Sketcher virtual space toolbar issue
+ Fix issue when creating sketcher virtual space toolbar
+ Translation support
2018-02-02 16:34:22 +01:00
Yorik van Havre 7b70d00054 Merge pull request #1287 from WandererFan/Fixes
Prevent Loop in BRepBuilderAPI_Transform
2018-02-02 16:31:46 +01:00
WandererFan ebf33403e6 Show Dimension text on Document load
- if keepUpdated is off, Dimension text never
  gets shown.
2018-02-01 17:01:13 -05:00
WandererFan 356f879659 Prevent Loop in BRepBuilderAPI_Transform
- if a scale transform with scale = 0 is passed to
  BRepBuilderAPI_Transform, it will loop forever.
  If Page.keepUpdated is false, and Views have not yet
  been executed (ex at load time), Views will have a
  0.0 x 0.0 bbox and if Autoscale is true, a scale of
  0.0 will be used in fit-to-page.
2018-02-01 17:01:12 -05:00
pekkaroi 1402e39ba0 Path: Consolidate available tool types and material types to one place. Fixes issue #3335 2018-02-01 22:16:46 +01:00
Fabio Rossi cee5b2807e Another fix to compile against qt5 with python2 (detection of shiboken2) 2018-02-01 21:43:59 +01:00
Fabio Rossi 4506e49689 Fixes for python 2to3 migration 2018-02-01 21:43:59 +01:00
looooo 4ef00d7be4 workaround for netgen to use latest netgen/master 2018-02-01 21:29:25 +01:00
WandererFan 6bd237e41e Update TechDraw Unit Test set
Allow unit test to run in console mode

Change to unique document names for each unit test

Fix error in CMake install for test files

Correct Py3/Py2 unicode error
2018-02-01 19:34:04 +01:00
wmayer 337619f245 make green for tip a bit darker 2018-02-01 19:30:25 +01:00
Abdullah Tahiri 758745f0be PartDesign: Highlight body tip
==============================

It generates a small green icon on the treeview for those features being the tip of the body.
2018-02-01 19:15:48 +01:00
wmayer bb39cc783a fixes #0003323: Crash when clearing transaction list 2018-01-31 23:39:13 +01:00
wmayer 7d5d250a0d fix syntax errors 2018-01-31 20:53:42 +01:00
luz.paz a86c0fe137 sWhatsThis fixes
ref: https://forum.freecadweb.org/viewtopic.php?f=10&t=26687
2018-01-31 19:07:07 +01:00
Bernd Hahnebach dc4c4d27db FEM: code formating, use a variable which is not used to get flak8 quiet 2018-01-31 19:04:29 +01:00
luz.paz 7fbd5b286a FEM: Misc. comment typo 2018-01-31 19:04:29 +01:00
Bernd Hahnebach 227a25a686 FEM: code formating, flake8 2018-01-31 19:04:29 +01:00
Bernd Hahnebach 7405b886a2 FEM: result taks panel, better comment 2018-01-31 19:04:29 +01:00
luz.paz 3efe2e2872 FEM: source comment typo 2018-01-31 19:04:29 +01:00
Bernd Hahnebach 4a430c5c74 FEM: materials, fix users material path in task panel 2018-01-31 19:04:29 +01:00
joha2 7072b3f938 FEM: issue #3038 Fenics integration
- minor changes in xdmf saving dialog
- fixed missing locals() reference in get_FemMeshObjectElementTypes for python3 compatiblity in xml/xdmf import/export
- fixed open() and write() commands for python3 compatiblity in xml/xdmf export
- fixed further python3 issues in xml/xdmf import/export
2018-01-31 19:04:29 +01:00
wmayer 114cdc6822 0003279: Error 'invalid DAG' after deleting sketch using expressions 2018-01-31 00:27:38 +01:00
wmayer 70399e6c9c fixes #0003302: PDN cloned object have duplicated 'Unnamed' ghost on every file reopen 2018-01-30 19:26:06 +01:00
wmayer 865593b66a fixes #0002559: Body becomes visible upon changing DisplayModeBody 2018-01-30 15:58:32 +01:00
easyw 76d27f4645 updated Init.py with import type 2018-01-29 22:57:06 +01:00
easyw 92021e0c6f adding stpZ format: STEP compression format support 2018-01-29 22:57:06 +01:00
easyw dac8cd50f3 moving comment at right place 2018-01-29 22:41:29 +01:00
easyw 44e57a3675 adding 'import sys' needed when opening a dxf file 2018-01-29 22:41:29 +01:00
Zheng, Lei 2520785b13 libarea: fix arc fitting bug
Bug introduced in fb16c867ed
2018-01-29 22:37:07 +01:00
WandererFan 7d6f6dd933 Correct Scaling/boundingRect of Svg Symbols
- Svg symbols were over scale and reporting their
  boundingRect incorrectly.
2018-01-29 22:35:47 +01:00
wmayer 54cc25d1f8 fix crash in fillet/chamfer dialog if no part exists in document 2018-01-29 22:20:15 +01:00
wmayer cc00dc85d0 #3325: DlgPropertyLink as editor of Tip property 2018-01-28 22:37:03 +01:00
wmayer d9627d5311 tmp. disable unit test for link goes out of scope 2018-01-28 00:38:07 +01:00
wmayer ed893ff504 fix -Winconsistent-missing-override 2018-01-28 00:30:56 +01:00
wmayer 0718e2c56a fix -Winconsistent-missing-override 2018-01-28 00:20:11 +01:00
wmayer 7fed1a29c1 do not raise exception if link is out of scope, but write a warning 2018-01-28 00:15:12 +01:00
wmayer d1949f6e28 add command to show/hide several constraints at once 2018-01-27 21:10:01 +01:00
sliptonic 12968ed4a4 Path: Limit tool angle input
fixes #3158
2018-01-27 19:45:36 +01:00
luz.paz 11b8f91c5d Misc. typos 2018-01-27 19:43:18 +01:00
luz.paz 666c5c8b86 FEM: typo fix
[skip ci]
2018-01-27 19:41:24 +01:00
wmayer ada88a3dd1 expose more members of Constraint class to Python 2018-01-27 19:35:02 +01:00
Bernd Hahnebach 55d9d4dbae FEM: task panel, fix loading of broken material file 2018-01-27 17:22:58 +01:00
Bernd Hahnebach 83c8e43dc0 FEM: material task panel, fix custom export 2018-01-27 17:22:58 +01:00
Bernd Hahnebach dc73b9d691 FEM: gerneral prefs, make custom materils dir chooser really a dir chooser 2018-01-27 17:22:58 +01:00
Bernd Hahnebach 7095ad9379 FEM: pref general, make string multi os compatible 2018-01-27 17:22:58 +01:00
wmayer 7f3b40a9ca fix crash when deleting constraint 2018-01-27 17:08:49 +01:00
wmayer e9e0071ccc improve whitespaces 2018-01-27 16:47:55 +01:00
wmayer acded1c954 save values before invalidating iterator, whitespace improvements 2018-01-27 13:09:44 +01:00
Abdullah Tahiri 94ca105315 Sketcher: Setting in Preferences to switch on/off notification of constraint substitution
=========================================================================================

By default notification is on, so that Newbies do not complain why FC is deleting that other constraint they have added before.

Power users generally will set it off, as they do not want to be bothered by pop ups and know what they are doing.
2018-01-27 12:33:11 +01:00
Abdullah Tahiri 620188073e Sketcher: Avoid single tangency plus coincident when preexisting single tangency
================================================================================

fixes #3299 (remaining)

Draw a line. Draw an arc. Make edge to edge tangency. Select endpoints. Try to create a coincident constraint. You now get an Endpoint-to-Endpoint tangency.
2018-01-27 12:33:11 +01:00
Abdullah Tahiri 180d722a53 Sketcher: Avoid single tangency when preexisting coincident
==========================================================

partly fixes 3299

Draw a line. Draw an arc. Make one endpoint of each coincident. Select the line. Select the Arc. Hit tangency. You now get an Endpoint-to-Endpoint tangency.
2018-01-27 12:33:11 +01:00
wmayer 5d35713aa2 adjust copyright text 2018-01-27 12:13:44 +01:00
WandererFan da1d69ce4c Relax regex for editable text in Template
- the regex for finding editable text fields in
  the svg code of Templates was too strict and
  missed some fields if the svg had extra characters
  between </tspan> & </text>.
2018-01-26 17:45:31 -05:00
Zheng, Lei fb16c867ed libarea: imporve arc fitting 2018-01-26 18:53:09 +01:00
Zheng, Lei 7e5d2bd92f Path.Area: make wire explode respect arc accurarcy 2018-01-26 18:53:09 +01:00
luz.paz 0ff676abec FEM: typos
[skip ci]
2018-01-26 18:49:59 +01:00
Bernd Hahnebach 2e049fd5e8 FEM: udate example files 2018-01-26 18:49:59 +01:00
wmayer f8eaa6eff4 fix const correctness, restore sketcher icon 2018-01-26 17:21:02 +01:00
Abdullah Tahiri 696eb7433f Sketcher: Switch virtual space toolbar button to operate on selection
======================================================================

The switch virtual space toolbar button operated just to switch from one virtual space to the other (without any element selected), so switching the "mode".

Now if there is a selection, all the constraints are moved to the alternative virtual space.

It works similar to the toggle buttons for geometry elements and constraints
2018-01-26 17:05:58 +01:00
Abdullah Tahiri 740afeb642 Sketcher: constraints' widget checkbox as python command
========================================================

Enables do/undo after switching constraints from one space to the other
2018-01-26 17:05:25 +01:00
Abdullah Tahiri 879ff70886 Sketcher: Switch Virtual Plane icon 2018-01-26 17:05:00 +01:00
Abdullah Tahiri 8a2ec12b5a Sketcher: Bug fix not updating constraints on switch of virtual space 2018-01-26 17:04:28 +01:00
Abdullah Tahiri 4b7ef1c5b0 Sketcher: New toolbar for VirtualSpace and Command to switch VirtualSpace 2018-01-26 17:04:08 +01:00
Abdullah Tahiri 0c888309d6 Sketcher: Extend virtual space switching and update to constraints widget 2018-01-26 17:03:39 +01:00
Abdullah Tahiri d987930338 Sketcher: Enable switching of virtual space in ViewProvider 2018-01-26 17:03:16 +01:00
Abdullah Tahiri 31189b6c20 Sketcher: Python Interface for Constraint Virtual Space
=======================================================

set/get/toggle python interface to enable to set the virtual space status of a constraint via SketchObject.
2018-01-26 17:02:46 +01:00
Abdullah Tahiri d559c1477b Sketcher: Enable Virtual space updates on the View Provider
===========================================================

Basic initial working implementation to hide constraints.
2018-01-26 17:02:22 +01:00
Abdullah Tahiri cccaa6d4dc Sketcher: Extension of Constraints Widget to support checkboxes for Virtual Space
=================================================================================

The checkboxes enable a constraint to swap virtual space.

If checked the constraint is visible in the selected space and hidden in the other space (Real Space or Virtual Space).
If unchecked the constraint is visible in the other space and hidden in the selected space.
2018-01-26 17:01:35 +01:00
Abdullah Tahiri 1899680ddc Sketcher: Extension of constraints to store virtual space affiliation
=====================================================================

The constraint class has been extended so that every constraint knows and serializes whether it is in virtual space or in normal real space.
2018-01-26 17:01:11 +01:00
wmayer 1719d0ba6b fix bug in SmSwitchboard::doAction 2018-01-26 16:47:56 +01:00
Yorik van Havre b092834230 Arch: Fixed remaining hole bug when removing windows from walls 2018-01-25 19:21:57 -02:00
Yorik van Havre f0d06f0c15 Draft - fixed chamfer property of Wires - fixes #3044 2018-01-25 19:07:19 -02:00
Yorik van Havre 141caeb53e Fixes in credits dialog 2018-01-25 18:57:18 -02:00
luz.paz 23bf7f39a3 Sketcher: comment typos
Found via `codespell`
[skip ci]
2018-01-25 18:47:34 -02:00
Bernd Hahnebach 2d1ffaa6ab FEM: inp file settings, fixies fixes #3314i wrong pref on restore 2018-01-25 18:46:30 -02:00
Bernd Hahnebach 6d744c8c85 FEM: ccx tools solver, get rid of no longer needed and confusing attribute 2018-01-25 18:46:30 -02:00
Bernd Hahnebach e1e84cd34b FEM: unit test, add a test for adding multiple ref shapes 2018-01-25 18:46:30 -02:00
Bernd Hahnebach c85afd0e44 FEM: objects, use fem name sheme for object package names 2018-01-25 18:46:30 -02:00
sliptonic 07ae0e56c4 Path: Fix MillFace default values
fixes #3324
2018-01-25 18:45:14 -02:00
luz.paz 383825e9cf Path: libarea typos
Source and comment typos
2018-01-24 13:08:57 -05:00
Daniel Rogers 2b1012f706 Add missing const_cast
I missed a const_cast and a pointer dereference when inlining the
code from shiboken2
2018-01-24 17:51:42 +01:00
Daniel Rogers 6ce8e1a0ae Fix compliation against shiboken2 head
shiboken2 changed type conversion and removed a wrapper.
This just deleted the class definition that is not longer valid and inlines
code in a few places.

fixes #3287
2018-01-24 17:51:42 +01:00
luz.paz 7791ba4f18 AboutApplication.ui: typos fix
[skip ci]
2018-01-24 17:46:37 +01:00
Shai Seger 627c4e7906 Give default values to cutting edge angle so simulations with work even if user did not specify a valid cutting angle. 2018-01-24 17:43:06 +01:00
Yorik van Havre f291abce56 Added a dedication to Roland Frank in the About dialog 2018-01-24 12:25:05 -02:00
Markus Lampert 5cee8c9cdf Return the actual job instead of the check result of it being a job or not. 2018-01-24 01:28:47 +01:00
sliptonic 21c845a64c Path: remove redundant Path_Shape command
fixes #3276
2018-01-23 15:30:41 -06:00
Sammel Lothar LTS 59dedd1275 PATH BUGFIX DressUP-LeadINOut-Line-Generation-SIMFix 2018-01-23 19:53:18 +01:00
Zheng, Lei 8f84087e6f Path.Area: respect zero start point when generating path 2018-01-23 19:49:58 +01:00
Abdullah Tahiri c509ec5ded Sketcher: Fix normal rendering when full-constraint
fixes #3320
2018-01-23 16:57:33 +01:00
luz.paz 3ee6b6ac94 FEM: typos 2018-01-23 14:43:54 +01:00
Bernd Hahnebach ee321c5f84 FEM: ccx tools solver, fix solver type check 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 6ab072b1ca FEM: file modes, delete executable mode on some Python modules 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 83be75b0d4 FEM: general pref ui, make working dir chooser work again 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 4ca4aafb09 FEM: general pref ui, typo 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 299d1939fe FEM: ccx tools, typo 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 223a2b196b FEM: beam rotation, add some pre checks 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 9935150972 FEM: beam rotaion, implement writer, this fixes a very old restiction, the beam analysis in z-axis 2018-01-23 14:01:27 +01:00
FEMuser a15474afe8 FEM: mesh tools, add method to get the beam normals for ccx 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 3699cfe7bf FEM: beam rotation object, deactivate task panel since reference shapes are not yet supported for rotations 2018-01-23 14:01:27 +01:00
Bernd Hahnebach fa596b891e FEM: beam rotation object, add it to the solver frame works 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 4ac2f2d37a FEM: beam rotation object, add an own icon for this object 2018-01-23 14:01:27 +01:00
Bernd Hahnebach bc8219cc36 FEM: beam rotation object, add this new object 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 128e5d3a72 FEM: ccx writer, slightly resort key sort creation on ccx elset creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 0145383d39 FEM: ccx writer, check for empty ccx elset on creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 66351b723a FEM: ccx writer, resorting in elset creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 233a32d27a FEM: ccx writer, use set and intersection instead of two nested for loops 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 6811d528f6 FEM: ccx input file, use even shorter elset names for the short names and raise exception if the elset name is still to long 2018-01-23 14:01:27 +01:00
Bernd Hahnebach 3824df2eba FEM: ccx writer, resort elset creation methods 2018-01-23 14:01:27 +01:00
Bernd Hahnebach c8e87a039e FEM: ccx writer, better elset name def and raise exception if name is too long 2018-01-23 14:01:27 +01:00
mkhizenz c78504e6eb FEM: vtk DataAtPoint, implementation 2018-01-23 14:01:27 +01:00
mkhizenz 6155884950 FEM: Auto disable mesh and solid when opening VTK functions 2018-01-23 14:01:27 +01:00
Bernd Hahnebach e533076910 FEM: code formating 2018-01-23 14:01:27 +01:00
luz.paz 3d2856e892 Mod/Test/BaseTests.py source typo
Changed `def testRoation(self):` to  ` def testRotation(self):`
Please review.
2018-01-23 13:55:33 +01:00
WandererFan 45a1d6c906 Fix Exception when Source Shape IsNull 2018-01-22 19:10:28 -05:00
wmayer 38da0c7312 improve whitespace, fix const correctness 2018-01-23 00:40:41 +01:00
Abdullah Tahiri c7b137fe85 Sketcher: Change nomenclature relating to Block constraint 2018-01-22 22:52:56 +01:00
Abdullah Tahiri a4c29ba521 Sketcher: Constraint widget adapted to Block constraint 2018-01-22 22:52:56 +01:00
Abdullah Tahiri c27d5a26b2 Sketcher: UI Block constraint creation sanity checks
====================================================

Avoid creation of constraints if they would lead to undesirable conflicting situations.
2018-01-22 22:52:56 +01:00
Abdullah Tahiri 9634da6811 Sketcher: Block constraint - Prevent from adding constraint if the solver has redundant/conflicting constraints 2018-01-22 22:52:56 +01:00
Abdullah Tahiri 34f533b0e1 Sketcher: Block Constraint - Advanced redundant/conflict redundant handling
===========================================================================

Block constraint is naturally redundant/conflicting with almost any other constraint applied to an edge (certainly with constraints operating only on that element).

As such, a block constraint will have very little applicability in absence of a way to handle this redundancy/conflicting. For example, in the case of a BSpline all its
internal geometry (construction circles on poles and its constraints) would have to be removed before locking. This would mean that it is not possible to define the BSpline shape
and then block it, as when removing the internal geometry the shape would be lost. In other cases, like temporally blocking to avoid that a part of the sketch moves while performing some
operation with the idea of afterwards unblocking it, it would mean removing all constraints, to add the block constraint, then perform the action, then remove the block constraint and manually
constraint it again.

Handling this situation in a user expected way means ignoring certain constraints (those causing the redundancy/conflicting), so that the solver is not aware of them and does not complain. However,
generally ignoring those constraints has a negative effect, in that constraints applied by the user on already blocked geometry, or constraints that otherwise lead to a conflicting or redundant
situation as a consequence of actions (further constraining) after the Block constrain is applied are ignored, thereby not properly informing the user of this situation, which is undesirable.

This new mechanism takes account on the position of the constraints relative to the involved blocked constraint(s). As such, redundant/conflicting constraints that were added before the Block
constraint are ignored, whereas those constraints that lead to a redundant/conflicting situation and added AFTER the block constraint was already in place, those are not ignored and are reported
accordingly.
2018-01-22 22:52:56 +01:00
Abdullah Tahiri 9b7d1d6042 Sketcher: Blocked constraint viewprovider rendering 2018-01-22 22:52:56 +01:00
Abdullah Tahiri d2e89b98d4 Sketcher Blocked Constraint icons 2018-01-22 22:52:56 +01:00
Abdullah Tahiri 1932a2f152 Sketcher: Blocked Constraint toolbar commands 2018-01-22 22:52:56 +01:00
Abdullah Tahiri 7495fe1c31 Sketcher: Blocked Constraint Python 2018-01-22 22:52:56 +01:00
Abdullah Tahiri 48fc503364 Sketcher: Blocked Constraint solver level 2018-01-22 22:52:56 +01:00
Abdullah Tahiri f64760b8a3 PartDesign: OnDelete basefeature fixing and visualization
=========================================================

fixes #3084
fixes #3061 (at least what it is understood in the analysis as being a bug, the visualization left).

Basically when deleting a feature, if it is the base feature (feature with which it will merge or cutout), the dependent objects'
base feature is made to be the base feature of the object being deleted. This code pre-existed at body level, but was not being called (see below).

Additionally, if the visible object is not the one being deleted, we leave that one visible. If the visible object is the one
being deleted, we make the previous object visible.

Deletion from the tree of a feature is handled by Document.removeObject, which has no clue about what a body is. Therefore, Bodies, although an
'activable' container, know nothing about what happens at Document level with the features they contain.

The Deletion command StdCmdDelete::activated, however does notify the viewprovider corresponding to the feature (not body) of the imminent deletion
(before actually doing it). Consequently, the only way of notifying a body of the imminent deletion of one of its features so as to do the clean up
required (moving basefeature references, tip management) is from the viewprovider of the feature being deleted.
2018-01-22 22:03:18 +01:00
wmayer 4d36757636 improve whitespaces 2018-01-22 20:06:12 +01:00
Abdullah Tahiri 01e6cde7aa PartDesign: Fix bug of mirror transformation of multiple features
fixes #3317

This code ensures that an individual transformation or a multi-transformation have a proper
base feature and next feature.
2018-01-22 19:56:58 +01:00
Markus Lampert 23f88c5d85 Fixed 2885, dogbone maintaining F parameter. 2018-01-22 19:40:50 +01:00
Markus Lampert 8a39ddf884 Fixed recursion problem 2018-01-22 19:40:50 +01:00
Markus Lampert e4e5d4e5f5 Fixed path unit test setup for new PathDressup 2018-01-22 19:40:50 +01:00
Markus Lampert 55268a06f4 Changed lead-in-out dressup to use PathDressup.baseOp() instead of relying that it is dressing up an op directly. 2018-01-22 19:40:50 +01:00
Markus Lampert c3f03d3696 Removed ToolController from all dressups and replaced with recursive search for the base op's ToolController. 2018-01-22 19:40:50 +01:00
Markus Lampert 69c1acd391 Prevent adding an entry method dressup to an op that's already has one. 2018-01-22 19:40:50 +01:00
Markus Lampert 8511597a4c Made dogbone resilient to all dressups and profiles. 2018-01-22 19:40:50 +01:00
Markus Lampert 4b0d6c6889 Fixed import of PathGeom - might want to refactor that one day. 2018-01-22 19:40:50 +01:00
Markus Lampert a4fe22062d Fixed template-export menu activation. 2018-01-22 19:40:50 +01:00
TeroK 434bf4d3f3 TechDraw: Add option to use polygonal HLR algorithm
Now on property panel there is option 'Coarse View' which allows to set
selected drawing view's Hidden Line Removal to utilize polygonal algorithm.
This should be faster on same cases (complex models).

When this option is set for a view there is known limitation with dimensions not
working on this experimental mode. At least currently this is best utilized on
view with no dimensions.

Also the vertices' 'black dots' are not drawn on this mode view to avoid
cluttering.  Face hilite is avoided, to gain speed. All curves are represented
by short linesegments in this mode.

Previously TechDraw always used OCC's exact HLR algorithm to generate views,
which produces good quality and continous shape lines but is sometimes
slower to generate than with polygonal approach.

Additionally now there is bool 'CoarseView' Parameter Editor setting, if anyone
wants to set this as their default.
2018-01-22 19:31:30 +01:00
Yorik van Havre e697f2ef50 Arch: Fixed wrong orientation and shape of window louvres 2018-01-21 20:57:35 -02:00
Yorik van Havre ff467dcb4f Path: Fixed possible bug in last commit 2018-01-21 17:48:16 -02:00
Sammel Lothar LTS 6bddaf6eb2 BUGFix PATH Dressup Sim FreeCADBreakdown 2018-01-21 17:43:27 -02:00
wmayer e6e4710ae3 remove SetMinTolerance as suggested by PR 1240 2018-01-21 18:17:45 +01:00
tomate44 6e5b1dfb9a typo 2018-01-21 17:29:17 +01:00
tomate44 50e1866c49 indentation fix 2018-01-21 12:30:29 +01:00
tomate44 33f334049f tolerance fix in TopoFace.validate() 2018-01-21 12:25:14 +01:00
tomate44 8461df7ea6 fix some TopoShape documentation 2018-01-21 12:03:53 +01:00
Yorik van Havre acb3a34d99 AddonManager: Download biggest code block from macro pages in case there is more than one code block 2018-01-20 22:34:53 -02:00
Abdullah Tahiri a0ccdb5218 Sketcher: Correction of B spline normals
========================================

When writting solver implementations it has to be taken into account that the normal is not to be provided in the sense of the curvature, but to
the left when walking a curve from start to end.

https://forum.freecadweb.org/viewtopic.php?f=10&t=26312#p209486

This commit has impact on all the previous files using bspline and endpoint to endpoint tangency.

A work-around is to delete the tangency and do it again.
2018-01-20 17:21:26 +01:00
Abdullah Tahiri 663e4ee369 PartDesign: Extension of Pocket Feature to have two dimensions
fixes #2915
2018-01-20 16:15:38 +01:00
sliptonic f6825a2686 Path: changed --output-doubles to --axis-modal and reversed the default behavior
Explicit gcode is better than implicit so it is the default.  additional flags compress the size of the output and make it less explicity
2018-01-20 14:09:58 +01:00
sliptonic 9b43affd80 Path: typo in command name 2018-01-20 14:09:58 +01:00
sliptonic b965a829c8 rename command and PEP8 2018-01-20 14:09:58 +01:00
sliptonic 15cbbcd241 Path New Dressup LeadInOut to perform Tool Roll towards shape including G41-42 2018-01-20 14:09:58 +01:00
sliptonic 4fb676e4b0 path: cleanup linuxcnc post and fix vertical feed problem 2018-01-20 14:09:58 +01:00
WandererFan a3684424ae Remove NewViewMulti from toolbars/menu 2018-01-20 14:07:31 +01:00
WandererFan 4b9f43b467 Allow GroupExtension as Source for Views
- DrawViewPart had special case logic for App::Part.
  It now handles DocumentObjectGroup and any other
  GroupExtensions as Source.
2018-01-20 14:07:31 +01:00
luz.paz 051d910db9 Misc. comment typos
[skip ci]
2018-01-20 14:04:22 +01:00
luz.paz 3ee51d5766 FEM: crowdin fix
ref: https://crowdin.com/translate/freecad/559/en-eu#6503606
[skip ci]
2018-01-20 14:02:22 +01:00
DeepSOIC 478611371b Part: add Refine property to BOPs
followup to PartDesign
2018-01-20 13:58:39 +01:00
DeepSOIC 27701ae852 PartDesign: #2683 add Refine property
resolves #2683

Adds Refine property to sketch-based and transformation features. The
property is initialized according to preferences, and can be altered in
property editor on per-feature basis.
2018-01-20 13:58:39 +01:00
wmayer 80e3bfb69c avoid division by zero when discretizing a shape 2018-01-20 00:02:08 +01:00
wmayer 305a567819 raise exception in PropertyLinkSubList::setPyObject for wrong type 2018-01-18 15:53:51 +01:00
Yorik van Havre d5eac120c7 Merge pull request #1229 from sliptonic/master
Renaming Path Commands to comply with standard.  Typos and PEP8 cleanup.
2018-01-17 22:13:27 -02:00
sliptonic 4be81c280c Merge branch 'master' into master 2018-01-17 13:28:35 -06:00
Yorik van Havre 6051a6e9cd Draft: Fixed wrong wire point position - closes #3063 2018-01-17 10:49:24 -02:00
sliptonic d7f5d7fbc3 Merge pull request #7 from luzpaz/path-source-typo
Path: source typo fix
2018-01-16 00:35:28 -06:00
sliptonic ae2a4e647d Path: rename Set_StartPoint to conform to command name standard
PEP8
2018-01-16 00:32:35 -06:00
sliptonic 12e6533df4 Path: rename dressup commands to conform to standard
PEP8 cleanup
2018-01-16 00:32:35 -06:00
luz.paz 2009f9a611 Path: source typo fix 2018-01-15 21:05:03 -05:00
wmayer 9a215440b8 fix automatic update of dependency graph for Qt5 2018-01-15 23:54:31 +01:00
wmayer e404cadee6 fix automatic update of dependency graph 2018-01-15 22:19:05 +01:00
looooo dc0a739224 update circle-ci 2018-01-14 22:29:25 +01:00
looooo baf824de9c update conda dependency versions:
boost 1.66
xerces-c 3.2.0
2018-01-14 22:29:25 +01:00
looooo f3b32da633 PathScripts: py3 print
Draft: typo in importDXF.py
2018-01-14 22:29:25 +01:00
luz.paz 4fb16c6964 Fixed source typo
Fixed for better search quality through the code.
2018-01-14 22:27:17 +01:00
wmayer e09a276fe5 further simplification when to use which rendering method when saving an image 2018-01-14 22:19:32 +01:00
wmayer 575dc0b76d fix compiler warning due to unused variable 2018-01-14 16:32:44 +01:00
wmayer a701c71ed8 add option to compute vertex normals from the triangulation instead of the u,v nodes
This is a workaround for issue #0003180: Wrong normal of part object
2018-01-14 15:55:01 +01:00
wmayer 95fbd8a099 add method to get u,v nodes of the tessellation of a face
add method to get the nodes of the tessellation of an edge
2018-01-14 15:52:08 +01:00
luz.paz bbfbb0e7d3 Misc. comment typos 2018-01-14 12:11:35 -02:00
wmayer 8ba4e0c5d0 code cleanup 2018-01-13 21:57:14 +01:00
wmayer 97f0020093 improve whitespaces 2018-01-13 15:49:39 +01:00
Abdullah Tahiri bc4d463cdf Sketcher: Remove errors in reporting view while deleting
=======================================================

fixes #2275

https://freecadweb.org/tracker/view.php?id=2275

Deletion of coincidents rely on selected vertex. The original code was trying to delete a coincident without checking whether one was there.

The implementation now relies on checking whether a coincident is present.
2018-01-13 15:47:02 +01:00
wmayer 348e666fdc improve whitespaces 2018-01-13 14:07:15 +01:00
Abdullah Tahiri 0dd0eab0d0 Sketcher: Overload delConstraintonPoint Python to allow deletion on GeoId and Pos 2018-01-13 13:55:56 +01:00
Bernd Hahnebach eeb6073887 FEM: pref, delete depreciated ccx solver switch because every solver has its own command 2018-01-13 13:15:57 +01:00
Bernd Hahnebach 1f96775abc FEM: calculix solver, use separate command for CalculiX ccxtools and CalculiX framework solver 2018-01-13 13:13:17 +01:00
Bernd Hahnebach 334ec9868a FEM: command module, add some comment 2018-01-13 12:55:54 +01:00
Bernd Hahnebach 7b75af307a FEM: code formating, flake8 2018-01-13 12:53:41 +01:00
Bernd Hahnebach 130f51d9a2 FEM: new analysis, add a ccx tools solver to any new analysis, best for new users 2018-01-13 12:47:00 +01:00
Bernd Hahnebach b54a222c7d FEM: unit test solver frame work, delete ccx tools solver in solver frame work test class 2018-01-13 12:39:15 +01:00
Abdullah Tahiri 0d21e94d3f Sketcher: Improve validation ui to select whether to ignore construction geometry or not
========================================================================================

Users generally expect that validate Sketch checks the visible part, perhaps because it is not called from the sketcher's edit view, but from the 3D view, perhaps
because that part is relevant for further construction.

On the other hand the tool's name is Validate Sketch and construction geometry belongs to the sketch.

So a new checkbox is introduced, by default enabled to ignore construction, but still allowing the user to make it operate in one direction or the other.

See:
https://forum.freecadweb.org/viewtopic.php?f=3&t=26139&p=208582#p208693
2018-01-13 11:31:11 +01:00
Abdullah Tahiri 7599292287 Sketcher: Fix "highlight open vertex" visualization
===================================================

fixes #3306
2018-01-13 11:30:48 +01:00
Abdullah Tahiri 10c0af4a8a Sketcher: Validation tool improvement
======================================

The sketch validation tool offers the functionality to detect missing coincidences. It is a problem that internal geometry causes detected missing coincidences.

Additionally, the tool only shows the visible profile and not the construction geometry.

This commit introduces the ignoring of construction geometry, which "fixes" the two behaviours indicated above.

fixes #3298
2018-01-13 11:30:35 +01:00
Yorik van Havre fb8875df08 Path: Indicate fromShape as deprecated - issue #2786 2018-01-12 17:06:30 -02:00
Yorik van Havre a8ab24abae Arch: Fixed CTH profiles - fixes #2826 2018-01-12 14:07:46 -02:00
Yorik van Havre c44af23f11 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2018-01-12 13:28:40 -02:00
Yorik van Havre 86ca43743f Added 'Remove link' option to PropertyLinkList dialog too 2018-01-12 13:27:34 -02:00
wmayer 77318ba6eb make workaround with transparent background more reliable 2018-01-12 15:47:40 +01:00
looooo 3679c18e55 fix unicode problems for python3 2018-01-12 15:02:28 +01:00
looooo 75a98c9613 add Base::PyGILStateLocker in Gui::Command::getResources 2018-01-12 15:02:13 +01:00
wmayer 497b41d6d8 workaround to create images with transparent background 2018-01-12 14:36:25 +01:00
WandererFan 79dff6b8cc Fix crash when deleting View with Dimensions
- if a Dimension has multiple references to a
  DrawViewPart (ex vertex-vertex) the Dimension
  will appear twice in the DVP's InList.  This
  commit ensures that the Dimension is only
  deleted once when deleting the DVP.
2018-01-12 10:30:42 -02:00
triplus 7f49a1ac18 Typo 2018-01-12 10:29:25 -02:00
triplus 706be3fbd7 Reusability of snap toolbar commands
- Improved reusability of snap toolbar commands.
- Ability to change draft snap toolbar icon size from preferences. Without the need to restart FreeCAD after.
2018-01-12 10:29:25 -02:00
triplus 2b7c28b642 Stylesheets general button with menu support
Currently we use a workaround only for buttons with menu on the toolbar. This change applies it everywhere. For example in command panel.
2018-01-12 10:29:25 -02:00
wmayer 29533320fc add method to get view providers of d view via Python 2018-01-11 16:14:53 +01:00
wmayer 8f868f778e handle disabled dock windows when setting up main window 2018-01-11 16:14:05 +01:00
wmayer 4b781d75b4 fix crash when querying information about an object that is not part of a document 2018-01-11 16:13:07 +01:00
WandererFan 861dc42d33 Fix Section Line Wrong Position
- Section cut line Y coord needs to be mirrored to
  be position correctly on Page.
2018-01-11 11:21:25 -02:00
WandererFan 70099d5704 Allow View Position to be Locked
- prevents accidently moving View A from desired position
  while grabbing/dragging View B.
2018-01-11 11:21:25 -02:00
Daniel Wood 0866e1a59f Added flycutter option to the tool edit ui. 2018-01-11 11:20:02 -02:00
luz.paz c8af1d16af Crowdin: fix missing whitespace
ref: https://crowdin.com/translate/freecad/559/en-hu#6503593
2018-01-11 11:18:13 -02:00
triplus 143ba3fafa Navigation indicator enable translations 2018-01-11 11:16:58 -02:00
Yorik van Havre ab7c98917d Merge pull request #1210 from berndhahnebach/bhbdev116
FEM: lots of small fixes, typos, unit test improvements, package improvements
2018-01-11 11:16:13 -02:00
Bernd Hahnebach c255ec0df6 FEM: pref ui, better name for CalculiX solver base 2018-01-11 07:13:17 +01:00
Bernd Hahnebach c6740dc89f FEM: sovler framework ccx z88, add comment 2018-01-11 07:12:55 +01:00
Bernd Hahnebach 90ff0d9eac FEM: unit test, replace new solver frame work by solver frame work 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 76969de5e8 FEM: unit test, use better path names 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 092e92b5ab FEM: unit test, move solver framework in new test class 2018-01-11 06:22:28 +01:00
Bernd Hahnebach c849182303 FEM: unit test, add test for isOfTypeNew 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 13b1ea6024 FEM: unit test, add test for FreeCADs isDerivedFrom 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 5fc5122fcb FEM: unit test, add test for isDerivedFrom def from fem utils modul 2018-01-11 06:22:28 +01:00
Bernd Hahnebach a8b3b2f239 FEM: unit test, add type test for all FEM objects from object creation module 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 9e87dfa6cf FEM: fem utils, add def to return type for all objects (Python and C++) 2018-01-11 06:22:28 +01:00
Bernd Hahnebach b73853efa5 FEM: fem tools package, move fem utils in it 2018-01-11 06:22:28 +01:00
Bernd Hahnebach ace7f38224 FEM: unit test, better name for CalculiX new framework machine 2018-01-11 06:22:28 +01:00
Bernd Hahnebach cec9342803 FEM: unit test, remove not needed back slashes 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 6d7f31f3b6 FEM: unit test, rename make objects test def 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 907adad9ab FEM: ccx tools, delete elmer code since ccx tools only support ccx 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 5ee46bc8dd FEM: ccx tools, comment improvements 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 0f4b4c9634 FEM: constraint body heat source, use for proxy type the same name sheme like other constraints 2018-01-11 06:22:28 +01:00
Bernd Hahnebach c34bbb007a FEM: proxy type, use for all classes the notation Fem:: same as C++ classes 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 8f91010ba6 FEM: typo in comment 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 220905c407 FEM: Python base constraint, move modules into gui and obj packages 2018-01-11 06:22:28 +01:00
Bernd Hahnebach a8a9e13ca9 FEM: Python base constraint, split in obj and gui module 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 13335e531c FEM: fem tools package, move ccx tools in it 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 01d215fece FEM: fem tools package, add this new package 2018-01-11 06:22:28 +01:00
Bernd Hahnebach cf62473cbd FEM: input writer, move module into solver package 2018-01-11 06:22:28 +01:00
Bernd Hahnebach c4b52499b6 FEM: make objects module, fix type of constraint fluid boundary 2018-01-11 06:22:28 +01:00
Bernd Hahnebach ab9f0ff145 FEM: obj types, sort constraints 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 1559fed0e7 FEN: z88 writer, comment some logs 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 910f573e4d FEM: ccx input writer, get rid of code duplicate in time meassurement 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 07ee3b7c3d FEM: z88 input writer, add time output 2018-01-11 06:22:28 +01:00
Bernd Hahnebach 8964584fd4 FEM: new solver framework, add log if input file writing was finished for Z88 and CCX 2018-01-11 06:22:27 +01:00
Bernd Hahnebach 2ce33df6d0 FEM: solver framework, use ccx tools as standard solver on new installations 2018-01-11 06:22:27 +01:00
joha2 90f3aada2d FEM: solver framework, two checks for _dirTypes 2018-01-11 06:22:27 +01:00
wmayer 6a15a2f31e verify iterators in partialTopologicalSort to be on the safe side
currently this can cause a crash because issue 3214 is not fixed yet
See also: https://forum.freecadweb.org/viewtopic.php?f=19&t=26295
2018-01-10 22:16:39 +01:00
Yorik van Havre 39a34c1d27 Arch: Fixes in IFC exporter 2018-01-10 12:10:32 -02:00
Yorik van Havre c95b366fd1 Arch: Better grouping of common Arch properties 2018-01-09 21:55:14 -02:00
Yorik van Havre af7428dfaf Arch: Fixed bug in MoveWithHost system 2018-01-09 21:50:24 -02:00
Sammel Lothar LTS b6304d16a7 Fix Path Keep View and Sim in Sync,typo Linuxcnc_post 2018-01-09 16:46:12 -02:00
triplus 636f361268 Qt5 build related improvements
Addition of PYTHON_SUFFIX and PYTHON_BASENAME available in all build scenarios offers more control when compiling (Py2/Py3/Qt5). Using symlinks as a workaround is not needed anymore.

Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=10&t=12534&p=208323#p208323
2018-01-09 10:07:05 -02:00
triplus 250586d2b9 Grammar error 2018-01-08 21:08:41 +01:00
triplus 3d9efc129c Persistent toolbars error handling
Improved handling of potential (future) issues concerning Python based toolbars in Arch/Draft workbench.

Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=3&t=26256
2018-01-08 21:08:41 +01:00
luz.paz a35dd3feea Typos
The stepcode typos aren't to be found upstream. Recomend we merge nonetheless.
2018-01-08 21:07:00 +01:00
wmayer 78c9a34f50 fix compiler warning 2018-01-08 19:55:07 +01:00
Yorik van Havre 249c4a05be Draft: Added property to allow to turn off Shape2DView recomputes if invisible 2018-01-08 15:13:01 -02:00
Yorik van Havre 8382a8f61b Draft: Fixed DXF import 2018-01-08 13:45:10 -02:00
Yorik van Havre 5a95bb7a18 Merge pull request #1205 from mlampert/bugfix/path-macro-path-3303
Path: Expose getUserMacroDir to python and use in preferences - fixes issue 3303
2018-01-08 12:19:29 -02:00
Markus Lampert d13d0bddff Expose getUserMacroDir to python and use in preferences. 2018-01-07 20:16:49 -08:00
sliptonic 2c69b79c15 path: fix help message typo 2018-01-07 18:43:16 -02:00
sliptonic 9c4120df7e fixes from IchGucksLive for drilling simulation. Tweaks to linuxcnc post 2018-01-07 18:43:16 -02:00
luz.paz 2b95227ed7 Path: typos 2018-01-07 18:43:16 -02:00
luzpaz f69b789034 Path: typos 2018-01-07 18:43:16 -02:00
luz.paz 8690d870a5 Misc. typos
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
2018-01-07 18:41:29 -02:00
TeroK 2c12881811 Fixed indentation 2018-01-07 18:39:47 -02:00
TeroK 23f2a444c3 Fixes #3294 TechDraw: Prevent scale changing
Now scale number changing controls are disabled by default and enabled only in
Custom Scale mode.

Previously user was all time allowed to edit scale numerical values.
But this had effect on the size of generated views in drawing page only
when scale type was set to Custom.
2018-01-07 18:39:47 -02:00
WandererFan d1e83f1075 Fix crash in DrawViewDraft/DrawViewArch
- when restoring DVD/DVA from old files, convert Source from
  PropertyLinkGlobal to PropertyLink with Scope = Global. Note
  subtle difference from Restore method in DrawView - PropertyLink
  vs PropertyLinkList.
2018-01-07 18:37:34 -02:00
Amritpal Singh 41b71ee3a9 Export FreeCAD Rebar properties to IFC file and refactored code 2018-01-07 18:10:39 -02:00
Bernd Hahnebach 3e6fcd8e81 FEM: Python imports, fix import in feminout package 2018-01-07 18:09:10 -02:00
wmayer 22ed0bce51 code reduction w.r.t offscreen rendering 2018-01-07 17:12:50 +01:00
wmayer 8eaee314ac simplify to define when to use which offscreen rendering method 2018-01-07 15:00:40 +01:00
wmayer f6ff4ed590 improve UpToFace option of pad/pocket for datum planes 2018-01-06 17:36:14 +01:00
Yorik van Havre dd45eddbba Draft: Fixed py3 compatibility issues 2018-01-06 13:19:08 -02:00
Yorik van Havre 4c9c0175b0 Draft: fixed bug in Point tool 2018-01-06 13:09:03 -02:00
Yorik van Havre f7629821ed Draft: Fixed translation problem in bezcurve 2018-01-05 22:08:39 -02:00
Yorik van Havre d16ef8763e Arch: Fixed some missing objects in IFC export 2018-01-05 20:04:40 -02:00
Yorik van Havre 9469217347 Arch: Fixed wrong placement of structures 2018-01-05 20:04:13 -02:00
Yorik van Havre ade72a81bb AddonManager: Enable the use of submodules 2018-01-05 20:03:04 -02:00
Yorik van Havre c198650bd5 Draft: Fixed problem with french translation 2018-01-05 20:00:32 -02:00
wmayer 50c280fdb6 fixes #0003141: Unexpected behaviour using pad to face on padded shape binder 2018-01-05 19:35:21 +01:00
wmayer ac88edc3dc allow to move PD objects via drag and drop to a body 2018-01-04 00:11:28 +01:00
wmayer d24379d822 add option to getBodyFor to suppress dialog to set workflow style to modern 2018-01-03 21:35:03 +01:00
wmayer 22b117fd83 +fixes #0003095: Manual migration from 0.16 models to 0.17 models not possible 2018-01-03 19:43:17 +01:00
wmayer 12ab805088 fix typo 2018-01-03 18:51:32 +01:00
wmayer 70d094994a fix crash in ViewProviderBody::setVisualBodyMode due to missing view provider 2018-01-03 17:59:45 +01:00
wmayer 14d06fe84c fix typo and improve whitespaces 2018-01-03 17:52:32 +01:00
wmayer 433f366304 fix function assertActivePart by creating the part container 2018-01-03 15:27:35 +01:00
wmayer 9e0ddec00a port to occ 7.2.1 2018-01-03 14:31:52 +01:00
wmayer 4c7a0a1404 port to occ 7.2.1 2018-01-03 14:16:23 +01:00
wmayer 8faa9f38bb fixes #0002621: Exporting with File Type *.svg, *.svgz, *.dxf should be prevented if not in Drawing WB 2018-01-02 16:28:24 +01:00
wmayer 21e85921e0 set global scope of Part offset to use it with PD bodies 2018-01-02 13:13:06 +01:00
wmayer a6a004b6b2 fixes #0002866: Gui::InputField rounds values to 2 digits 2018-01-02 12:32:09 +01:00
wmayer 483d099671 remove now superfluous member from InputField 2018-01-02 12:31:32 +01:00
wmayer cfc3dc22ad respect format option when changing values with wheel or up/down keys in input field 2018-01-02 12:11:45 +01:00
wmayer 90a71f34bc fix utf-8 decoding issue in Draft 2018-01-02 10:24:37 +01:00
Bernd Hahnebach 74aa6b04b3 FEM: code formating, Python flake8: W503 2018-01-01 22:54:46 +01:00
Bernd Hahnebach 93850bd9a4 FEM: code formating, Python flake8: E211, E305 2018-01-01 22:54:46 +01:00
luzpaz f6edbbdc5a FEM: Typo residuals 2018-01-01 22:54:46 +01:00
Bernd Hahnebach c121e76f1e FEM: unit test, add all python packages to import test 2018-01-01 22:54:46 +01:00
wmayer 0b95e866b9 fix const correctness 2018-01-01 22:25:11 +01:00
Abdullah Tahiri 9cf42d3a87 Sketcher: Settings Dialog new color for dependent constraints 2018-01-01 21:00:06 +01:00
Abdullah Tahiri 2a6f55e650 Sketcher: Special sketcher color for dimensions having an expression
fixes #3285
2018-01-01 21:00:06 +01:00
Abdullah Tahiri 69535ad7cb Sketcher: Support for detecting expressions in constraints 2018-01-01 21:00:06 +01:00
wmayer 65e7932930 improve whitespaces 2018-01-01 20:51:12 +01:00
Abdullah Tahiri ec678e234e Sketcher: Solver angle -pi,pi conversion corrected
fixes #3288
2018-01-01 20:28:53 +01:00
Abdullah Tahiri 27cff5ce85 Sketcher: Match angle on lines representation match solver result 2018-01-01 20:28:41 +01:00
wmayer 96beb5ec7d improve whitespaces 2018-01-01 19:36:57 +01:00
Abdullah Tahiri 9ce5756011 Sketcher: Fix transfer of tangency and perpendicular end-to-endpoint constraints
================================================================================

When transfering constraints to coincident points on deletion of geometry, a tangency/perpendicular constraint
cannot be blindly transfered as the destination edge may not be tangent/perpendicular leading to unexpected behaviour.

However, the user does expect that something that was coincident with such end-to-endpoint constraint (which implicitly includes a coincident constraint)
remains coincident after deletion. Therefore, the change of type to coincident.

This implicitly solves the problem of representation of constraints leading to a crash in coin3d.

fixes #3291
2018-01-01 19:27:41 +01:00
wmayer 62819fec2a consistently add Q_OBJECT macro to all sub-clases of PropertyItem 2018-01-01 19:15:02 +01:00
luzpaz e2a3ae428a Packaging typos 2018-01-01 17:54:07 +01:00
luzpaz 5107d86b60 Crowdin: Removing whitespace from widgets
Modified the code so that the whitespace was hardcoded since translators on Crowdin weren't adding the whitespace. Please review if correct. 
+ found some other typos/grammar issues along the way. 
CC @yorikvanhavre
2018-01-01 17:52:12 +01:00
wmayer 1950bd1512 fix assertPlacement for unit tests
do not explicitly check for angles as they can be quite different for even identical quaternions
2018-01-01 17:48:05 +01:00
wmayer 31bf496b67 unit tests for Rotation class 2018-01-01 16:45:33 +01:00
wmayer 83fe8f8c36 fix OpenSCAD importer 2018-01-01 16:45:06 +01:00
wmayer 9e2fa2d91a support some more handlers in VectorPy and throw better exceptions for unsupported operators 2018-01-01 15:45:21 +01:00
wmayer 401af92890 implement setting custom attributes for RotationPy to assign matrix or pair of vectors 2017-12-31 18:18:27 +01:00
Bernd Hahnebach 7c1cccdd6e FEM: cmake, only copy Python GUI modules if gui is build 2017-12-31 15:25:34 +01:00
Bernd Hahnebach 8c85db3cfe FEM: make objects module, less code duplication on imports 2017-12-31 15:25:34 +01:00
Bernd Hahnebach 30e33e4802 FEM: python imports, small improvements on some imports 2017-12-31 15:25:34 +01:00
Unknown 34b485b648 FEM: source typos 2017-12-31 15:25:34 +01:00
Unknown 93dd48dc6a FEM: Moar typos 2017-12-31 15:25:34 +01:00
triplus f34659a29f TechDraw LabelFont defaults 2017-12-31 15:09:13 +01:00
luzpaz a866b420d2 TechDraw: Crowdin request to remove apostrophes in translation string
This was green-lit by @wandererfan in a private message on the forum. 
ref: https://crowdin.com/translate/freecad/27911/en-hu#6503436
2017-12-31 15:03:50 +01:00
Daniel Burr 9bd3b8f20d Copy mesh data directly into the numpy arrays instead of creating a temporary local copy in order to save memory when dealing with very large meshes 2017-12-31 15:01:44 +01:00
Daniel Burr 7ec6d1b5a2 Fix insane memory usage when exporting Meshes to Collada format - MeshPy::getTopology() is an expensive function (since it iterates over all Points and Facets) and therefore it should not be called repeatedly 2017-12-31 15:01:44 +01:00
WandererFan 87b360e557 TechDraw Prefs page 1 defaults & tooltips 2017-12-31 14:54:05 +01:00
WandererFan c548878069 Fix LineGroup install & default issues 2017-12-31 14:54:05 +01:00
WandererFan 55f050e0f5 Fix crash when Source.Shape is Null 2017-12-31 14:54:05 +01:00
WandererFan 553fa64ec4 Fix crash during multi-object delete 2017-12-31 14:54:05 +01:00
WandererFan 98be3a3ff7 Support old Source property (PropertyLink)
- Source is now PropertyLinkList
2017-12-31 14:54:05 +01:00
WandererFan 76373b2c6a LinkScope clean up 2017-12-31 14:54:05 +01:00
WandererFan e163ae1746 Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
WandererFan 7eba113600 Coverity 169507 2017-12-31 14:54:05 +01:00
wmayer 88b5af4fe7 simplify debugging of changing datum constraints 2017-12-31 11:48:44 +01:00
wmayer 1ad7724d50 avoid error 'Duplicate constraint not allowed' when deleting a constraint 2017-12-31 01:57:44 +01:00
wmayer bd4736bf0d implement PropertyConstraintListItem::assignProperty to add item for each datum constraint 2017-12-30 19:49:34 +01:00
wmayer 6ee4be519d fix heap corruption due to invalid static_cast 2017-12-29 22:32:10 +01:00
wmayer 6eb36447ed fix regression of pr1181 2017-12-28 19:06:10 +01:00
looooo 070395d67c add version info to PySide abstraction 2017-12-26 14:50:21 +01:00
luzpaz c1152f2a2c PartDesign: typos 2017-12-25 11:04:43 +01:00
luzpaz e883cbfdf3 Part: typos 2017-12-25 11:03:11 +01:00
luzpaz 7e2fce45c2 Arch: Typos
Source comment documentation typos + misc.
2017-12-25 11:01:30 +01:00
luzpaz 048c787e32 Sketcher: comment typos 2017-12-25 10:59:48 +01:00
luzpaz 128239b54a Typos: Various workbenches and misc.
[skip ci]
2017-12-25 10:58:10 +01:00
wmayer c18bc414bb fixes #0003252: External geometry tool keeps hovered item active after leaving 2017-12-25 10:47:51 +01:00
wmayer 1ef069292c notify selection node about cleared pre-selection 2017-12-25 01:19:02 +01:00
wmayer 15b72d2b22 enable anti-aliasing for Coin's offscreen renderer 2017-12-23 18:59:27 +01:00
wmayer 511835e098 restore removed link to preferences-sketcher.svg 2017-12-23 17:07:12 +01:00
Abdullah Tahiri 434a47d61c Sketcher: new UI command for arbitrary sides polygon
fixes #1639
2017-12-23 14:45:39 +01:00
Abdullah Tahiri 27c202a1f0 Sketcher: Dialog for arbritary sides regular polygon 2017-12-23 14:45:39 +01:00
Abdullah Tahiri d0c1b147dd Sketcher: Icons for arbitrary regular polygon 2017-12-23 14:45:39 +01:00
Zheng, Lei b6bbc57d08 Path.Area: fix wire join function
This affects open wire operations
2017-12-23 14:36:20 +01:00
sliptonic c093c59416 fixes #3284
path direction if useComp is false
2017-12-23 14:34:46 +01:00
Markus Lampert b71eb845fa Fixed initial step down value. 2017-12-23 14:33:20 +01:00
Unknown a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
Unknown 3df389f5f2 PATH: typo fixes 2017-12-23 14:27:25 +01:00
wmayer 77e3260522 add helper class to tmp. block a boost signal/slot connection 2017-12-21 22:22:33 +01:00
wmayer 8e3b2d7e84 show base feature's placement on load if not part of a body 2017-12-20 22:01:24 +01:00
wmayer 394ae197fb fix broken transparency mode of mesh objects 2017-12-19 23:24:30 +01:00
wmayer 011eed3a64 add feature to extend given surface 2017-12-19 13:23:39 +01:00
Yorik van Havre 1db70a48ca Arch: Fixed missing walls in IFC export 2017-12-17 16:32:18 -02:00
Unknown 988a406395 FEM: typos 2017-12-16 16:36:17 +01:00
Yorik van Havre 4034851a5d Arch: bugfix in Panel in non-GUI mode 2017-12-16 10:06:11 -02:00
Yorik van Havre 873bd0b20f AddonManager: Check if thread is already running 2017-12-16 10:03:41 -02:00
Unknown e37b582478 Typo fixes
[skip ci]
2017-12-16 09:45:15 -02:00
Bernd Hahnebach 540a2cc79e FEM: fem command package, rename it to commands 2017-12-16 09:43:41 -02:00
Bernd Hahnebach 6c8dc3dd00 FEM: fem interface package, rename it to inout 2017-12-16 09:43:41 -02:00
Bernd Hahnebach b28c2bd1c1 FEM: Python modules ui panels, move them to resources folder 2017-12-16 09:43:41 -02:00
Bernd Hahnebach bb8fdeccc7 FEM: task panels, move them into the view provider modules 2017-12-16 09:43:41 -02:00
Bernd Hahnebach b030184f89 FEM: Gui cmake, remove init gui module since it will be compied with all Python modules 2017-12-16 09:43:41 -02:00
Bernd Hahnebach 6593f58b14 FEM: netgen, add command only if FEM is build with netgen 2017-12-16 09:43:41 -02:00
Yorik van Havre 46505a7e2c Arch: Fixed wrong wall/structure extrusion direction 2017-12-16 09:43:02 -02:00
Yorik van Havre ebede3e4d7 AddonManager: Disable Install button immediately 2017-12-15 16:16:37 -02:00
Yorik van Havre ca247d7ee4 Arch: fixed Arch Material not working in console mode 2017-12-15 16:06:42 -02:00
Yorik van Havre 77fab66ad3 Arch: Bugfix in stairs 2017-12-15 16:05:06 -02:00
wmayer d95a65b260 add VTK related commands only if VTK was found at configure time 2017-12-14 14:07:07 +01:00
Yorik van Havre 5df83429cc Merge pull request #1163 from berndhahnebach/bhbdev110
FEM: cmake, use only one cmake file for Python packages and modules
2017-12-14 10:45:36 -02:00
Bernd Hahnebach 45b9386551 FEM: cmake, use only one cmake file for Python packages and modules 2017-12-13 22:00:45 +01:00
wmayer 467fdc69ff Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-12-13 19:13:34 +01:00
wmayer 0d7831e196 move Placement.isNull to Placement.isIdentity
add isNull for backward compatibility
2017-12-13 19:13:18 +01:00
Yorik van Havre c3ca4bc899 Draft: Fixed bug in DXF import 2017-12-13 15:20:22 -02:00
wmayer b22f231345 fix invalid syntax 2017-12-13 17:24:39 +01:00
wmayer 25bf33077e rename Placement.isNull to Placement.isIdentity
implement Rotation.isNull and Rotation.isIdentity
2017-12-13 17:00:38 +01:00
wmayer 28f7047bff use getRawValue in property editor to avoid normalizing the rotation axis 2017-12-13 17:00:38 +01:00
wmayer a19faf16f7 preserve length of rotation axis 2017-12-13 17:00:38 +01:00
wmayer aa201cba9c improve whitespaces 2017-12-13 17:00:38 +01:00
plgarcia 03427bf675 Add a function to compare 2 double allowing approximation errors 2017-12-13 17:00:38 +01:00
plgarcia 31c0230659 Improvement of rotations
Rotation:
-	Add a private attribute Vector to store the direction of the rotation, and manage not to erase this direction when the angle id 0.
-	Add a private attribute to store the angle as defined (no modulo etc)
-	Keep the quaternion for calculations

PropertyGeo
-	Saves the rotation with angle and direction instead of saving the quaternion.
-	Attribute name chosen: Ox, Oy and Oz for the coordinates of the axis and A for the angle in radians. This has to be validated.
-	Backward compatibility with the saved files with quaternion (test presence of A to determine which of  the Quaternion (old way) or the direction and angle is stored (new way). New files can be opened by old FreeCAD and vice-versa.

The only side effect I can imagine is that it was possible to set a vector to 0, 0, 0 if the angle was not 0, what is somehow non sense. Now when setting to 0, 0 0 the last not null vector is kept. The vector can not be null any longer.
2017-12-13 17:00:38 +01:00
Yorik van Havre 28240a806e Arch: Fixed creation of Spaces in no-GUI mode 2017-12-13 11:21:33 -02:00
Yorik van Havre 2cf8e0ffd6 Draft: Fixed default precision value 2017-12-13 10:57:55 -02:00
Zheng, Lei 517ae4dd79 Path.Area: improve code readability
Fix Coverity CID 169508
2017-12-13 12:40:13 +01:00
Bernd Hahnebach dfdd8fc829 FEM: cmake, sort in cmake 2017-12-13 12:38:22 +01:00
Bernd Hahnebach 53ae390562 FEM: constraint flow velocity, fix task panel 2017-12-13 12:38:22 +01:00
Bernd Hahnebach 9bcdd09473 FEM: constraint transform, fixes #3283 2017-12-13 12:38:22 +01:00
Bernd Hahnebach 3d862b8dea FEM: make objects module, better name for ccx tools solver def 2017-12-13 12:38:22 +01:00
Unknown d949210aed Typos, grammar & uniformiity
3rd party KDL typos have been submitted upstream https://github.com/orocos/orocos_kinematics_dynamics/pull/121
2017-12-13 00:10:46 -05:00
Abdullah Tahiri c54c08cca4 Sketcher: Wrong mapping of constraints to axes
==============================================

Expressions for remapping of geometry where simply wrong.

Surprisingly no bug reports were filed for this one.
2017-12-12 23:08:44 +01:00
Abdullah Tahiri 588f1bd795 Sketcher: Merge, copy expressions
===================================

Support for copying expressions instead of hard values.

fixes #2936
2017-12-12 23:08:44 +01:00
Abdullah Tahiri 9b781f9c54 Sketcher Solver: Means to reset the initilization of movement
=============================================================

Just amazed it was working "so well" without never reseting to zero this.

It might bring advantages and close bugs... who knows!
2017-12-12 22:20:27 +01:00
Abdullah Tahiri ad855c99e3 Sketcher: New Setting for improved dragging mode 2017-12-12 22:20:27 +01:00
Abdullah Tahiri 023e319b84 Sketcher: Clean code and adapt previous solution only to non-relative cases
===========================================================================

Cleaning up ViewProviderSketch, as relative mode is never used for points.

Adapting the recalculation of the initial solution only to non-relative cases.

For relative movement cases (movePoint with relative=true) no cases where such a solution will be advantageous have been identified
and applying a similar solution involves changing the current behaviour too much, as to run the risk of introducing further bugs.

Decision to be revised if such cases where an advantage can be found are discovered.
2017-12-12 22:20:27 +01:00
Abdullah Tahiri eff8529ec6 Sketcher: jumping while dragging - force recalculate initial solution
=====================================================================

fixes #1734

Upon dragging, the initial solution is first calculated and them DogLeg is left with the work of solving for a solution next to the initial solution.

When the change is too big and the gradients are no longer accurate to continue dragging, the dragging flips and jumps.

The solution offered here is, not to update always the solution, as this also creates artifacts, but update it if the dragging goes beyond 20 times the initial dragging distance.

https://forum.freecadweb.org/viewtopic.php?f=3&t=7589#p203580

https://forum.freecadweb.org/viewtopic.php?f=3&t=7589#p203712
2017-12-12 22:20:27 +01:00
Unknown 19254207c2 Draft: crowdin tooltip typo fix
ref: https://crowdin.com/translate/freecad/548/en-cs#6500043
2017-12-12 21:57:44 +01:00
wmayer f9892009f6 fixes #0003281: STL object doesn't retain its rotation after change 2017-12-12 21:46:18 +01:00
WandererFan 87271d0cbb Allow user to modify Vertex size by parameter 2017-12-11 13:17:05 +01:00
DeepSOIC f919eb6a64 fix object.getGlobalPlacement
was confused by expressions in Placement of containers.
Fixes #3217 Sketcher not drawing at mouse position.
2017-12-11 12:48:07 +01:00
looooo a3ea9e561b circle-ci + conda-build
This enables the possebility to build FreeCAD with conda-packages on linux
2017-12-10 20:46:33 +01:00
wmayer 91bb7ed0c5 fixes #0003185: Recompute should work if only subgraph is cyclic 2017-12-10 17:47:09 +01:00
wmayer c6f89e6e5d move implementation of topologicalSort to private class DocumentP and add a parameter 2017-12-10 11:04:25 +01:00
wmayer 42aa80bb74 move global function to private class DocumentP 2017-12-10 10:53:34 +01:00
wmayer 6a785f9afd fixes #0003262: normal vector returned by Face.normalAt(u,v) is not always a unit vector 2017-12-09 13:33:30 +01:00
Frederic Bonnard 651d2fd751 Fix "Unit overflow in pow()" error
During tests on Debian/Ubuntu :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836983 a problem was
found when raising a unit to a negative power on some architectures.
By default some architectures have "char" being
unsigned such as the ones listed here and others (
https://wiki.debian.org/ArchitectureSpecificsMemo ).
I just forced the sign-ness of pow()'s argument which fixes the issue.
2017-12-08 17:38:35 +01:00
Unknown 3627cf2b1a Typo fix for recent commit
Introduced in 9376138d06
[skip ci]
2017-12-08 10:04:41 -05:00
wmayer df3440e698 fix possible build failure on Debian 9 2017-12-08 15:30:46 +01:00
Bernd Hahnebach a8c31221ed FEM: mesh api, fix tolerance in get the nodes by a solid 2017-12-08 07:16:09 +01:00
Yorik van Havre 564f977dbd Fixed gradient in last commit 2017-12-07 18:54:47 -02:00
Yorik van Havre 04e4e59ada Bitacovir's new clone icon 2017-12-07 18:50:22 -02:00
Bernd Hahnebach 6388a323fc FEM: command module, use active analysis from command manager module 2017-12-07 17:12:39 +01:00
Bernd Hahnebach 65bc90d508 FEM: command module, use selection from command manager module 2017-12-07 17:12:39 +01:00
Bernd Hahnebach 6a5408b5db FEM: commands, fix nonlinear material command for new solver framework 2017-12-07 17:12:39 +01:00
Bernd Hahnebach e7b813f178 FEM: command package, move equation commands into commtand class module 2017-12-07 17:12:39 +01:00
Bernd Hahnebach 76c6512267 FEM: command package, move command modules in one module in new command package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach 8599dd59ba FEM: result package, move result tools module in new result package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach 23d735c2a5 FEM: unit test, again add TestFem and import the test classes from new test package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach 8cdc4d3296 FEM: test package, move unit test module in new test package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach bd3d50fa88 FEM: mesh package, move all mesh modules in new mesh package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach 014f8cac3b FEM: package feminterface, move all import and export modules in new package feminterface 2017-12-07 17:12:39 +01:00
wmayer 9376138d06 fix cmake build failure 2017-12-07 14:42:38 +01:00
wmayer 885ef4b5bf add combo box to select C++ standard 2017-12-07 12:05:44 +01:00
Abdullah Tahiri eb40ddda4e Sketcher: Do not show support when entering sketch edit mode if it is a datum plane
=====================================================================================

https://forum.freecadweb.org/viewtopic.php?f=10&t=25700
2017-12-07 11:39:35 +01:00
Abdullah Tahiri 324c31d4e2 Sketcher: Fixing Polyline Arc Endpoint autoconstraints
======================================================

fixes #3091

Autoconstraints did not check whether the arc was CW or CCW, as such the autoconstraint on the second position was sometimes assigned to the start point.
2017-12-07 11:31:35 +01:00
Abdullah Tahiri 4006c6ee97 Sketcher: Fixes no horizontal/vertical on edge if previous horizontal/vert aligment on vertex
=============================================================================================

fixes #3257
2017-12-07 11:11:40 +01:00
Abdullah Tahiri 2e1d219377 Sketcher: Fix Polygon disappearing on creation with autoconstraints on
======================================================================

Fixes #3154

About the fix:
- If a non-zero vector is passed to seekAutoConstraint, it will suggest a vertical/horizontal constraint, which does not
make sense in the construction method.
- Passing a zero vector enables to treat it like a point, so for example point on object will be suggested, but not vertical/horizontal constraints.
2017-12-07 10:59:49 +01:00
Abdullah Tahiri a680961406 Sketcher: BSpline, prevent 0 mm Radius for poles on creation
============================================================

https://forum.freecadweb.org/viewtopic.php?f=10&t=25701
2017-12-07 10:52:28 +01:00
WandererFan 750661de35 Fix #1947 non-ASCII in file path
- this also fixes file path part of #3139
- this needs work for Py3
2017-12-06 19:51:22 -05:00
WandererFan 640fce5d06 Fix #1939 Draft ShapeString with whitespace string 2017-12-06 19:51:22 -05:00
wmayer 150bd625b8 fix crash in ExpressionCompleter::slotUpdate 2017-12-06 23:02:00 +01:00
Unknown c8c9b76f43 Misc. typos 2017-12-06 20:59:55 +01:00
Bernd Hahnebach a22dca2ead FEM: mesh tools, typo in comment, thanks to reox 2017-12-06 20:08:55 +01:00
Bernd Hahnebach 18c7f94ae9 FEM: CalculiX ccx tools solver, use a better name for new objects 2017-12-06 20:07:14 +01:00
wmayer 52fe4cd2a7 issue #0003174: Import of simple shapes no longer works 2017-12-06 17:54:10 +01:00
Mateusz Skowroński 23cdde88e0 Fix some GCC 7 warnings:
* dynamic exception specifications are deprecated [-Wdeprecated]
* this statement may fall through [-Wimplicit-fallthrough=]
2017-12-05 17:22:00 +01:00
Eivind Kvedalen 75d006a97d Expression completer: Fixed issue #3197. 2017-12-05 16:37:12 +01:00
Markus Lampert d2c307a1d2 Fixed StepDown value by removing special handling of legacy behaviour. 2017-12-05 16:34:19 +01:00
Unknown 3579f38d62 Builder3D: doxy typo/grammar fixes
[skip ci]
2017-12-04 08:20:55 -05:00
Yorik van Havre 9f20d9284d Merge pull request #1137 from mlampert/bugfix/circular-hole-setup
Path: Bugfix/circular hole setup and holding tags coordinates edit
2017-12-04 10:59:00 -02:00
Markus Lampert feeab3ce8c Remove automatic base features if OP was created with selected faces. 2017-12-04 01:40:24 -08:00
Markus Lampert 5f7faa25af Fixed hole detection for bottom faces. 2017-12-04 01:39:25 -08:00
Markus Lampert fc5077f413 Fixed direct editing of point in GetPoint dialog. 2017-12-03 16:32:25 -08:00
Markus Lampert 25e92ca25b Added circular faces to drillable targets. 2017-12-03 15:08:20 -08:00
WandererFan 7588081afd Implement option for perspective drawing views 2017-12-03 19:17:53 -02:00
WandererFan 5bc256d3f2 Fix "still touched after recompute" and display 2017-12-03 19:17:53 -02:00
Yorik van Havre 95cc7a900b AddonManager: set focus back on WB list after updating 2017-12-03 16:49:19 -02:00
Yorik van Havre 30c1b2a5a1 Merge pull request #1134 from mlampert/bugfix/circular-hole-setup
Path: Fix for missing circular hole base class initialisation during creation.
2017-12-03 15:37:15 -02:00
Markus Lampert 04ea26a66a Fix for missing base class initialisation during creation. 2017-12-02 11:06:45 -08:00
wmayer 1cfae464b4 issue #0002973: Path to FreeCAD.app can't contain unicode 2017-12-02 19:37:05 +01:00
wmayer 93aa859944 fixes #0002745: The Disappearing Grid 2017-12-02 17:17:43 +01:00
wmayer 34b40f23a1 fixes #0002923: Python console history misbehaves with word-wrapped lines 2017-12-02 15:39:39 +01:00
Unknown 25afe3227c SVG Cleanup: tweaked <dc:description> tags for changed clone icons
Follow-up to changes made in 71836f4b37
+ remove agryson from the 2 icon properties
2017-12-02 14:02:14 +01:00
Unknown 9831dfe531 SVG Cleanup: remove typos + uniformity fixes 2017-12-02 14:02:14 +01:00
Unknown 3d9ecab346 SVG cleanup: remove all redundant <dc:title> content
Removed duplicate mentions of `[agryson] Alexander Gryson`
2017-12-02 14:02:14 +01:00
luzpaz 56111a0810 Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
wmayer af0477fc4a remove trailing whitespace 2017-12-02 13:54:07 +01:00
WandererFan 15b509db25 Implement LineGroups for default weights
- Add ability to control default weight for visible,
  hidden and decorative lines from a configuration
  file. Diffent sets of defaults can be specified as
  a preference.
2017-12-02 13:51:25 +01:00
Bernd Hahnebach 1b19705441 FEM: new solver, add Cantilever example with all solvers 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 460d064ace FEM: all pref gui tabs, some typo, layout and format improvements 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 74e265df27 FEM: elmer writer, add new Gmsh node group attribute 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 42bfdf23a7 FEM: elmer solver, fix Py3 issues 2017-12-02 13:17:30 +01:00
Bernd Hahnebach da426b36cd FEM: new solver frame work, fix it in the regard of the analysis object change to a real group object 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 9e32d4845b FEM: ccx tools, fix them in the regard of the analysis object change to a real group object 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 168c7cf028 FEM: unit test elmer, add a testmode to solver framework 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 3458c0b08e FEM: unit tests, elmer sifio and geo writing 2017-12-02 13:17:30 +01:00
Markus Hovorka cab5ea33f3 FEM: elmer sifio, write case file entries in same order if module is called twice 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 4380a5ec63 FEM: unit test, add all new objs to the make obj test 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 78421a678f FEM: elmer equations, add posibility to easy create them by python with objects fem modul 2017-12-02 13:17:30 +01:00
Bernd Hahnebach ac163bdbcb FEM: code formating, flake8 in new objects potential boundary and flux-solver 2017-12-02 13:17:30 +01:00
Wilfried Hortschitz 3d5de0f9f4 FEM: Potential-boundary and flux-solver objects, add icons 2017-12-02 13:17:30 +01:00
Wilfried Hortschitz b095e94356 FEM: Potential-boundary constraint and elmerflux-solver, add objects and implement them in elmer 2017-12-02 13:17:30 +01:00
Bernd Hahnebach e7fe13ba48 FEM: command solver run, fix FreeCAD freeze on new frame work 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 3eeee47869 FEM: command solver run, delete duplicate code 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 73d1e9f013 FEM: new commands, use same code system as it is used in the other commands 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 743f555284 FEM: new commands, remove add in command names
the wiki pages retrive the names from the command names, thus they have to us the same name system
2017-12-02 13:17:30 +01:00
Bernd Hahnebach c0acb903dc FEM: unit test, add elmer solver and equations to module import test 2017-12-02 13:17:30 +01:00
Bernd Hahnebach c03c7e770a FEM: elmer writer, fix density for self weight on edges 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 8a1bf4bcbc FEM: elmer, use an vector icon in svg 2017-12-02 13:17:30 +01:00
Wilfried Hortschitz 51383aa9a2 FEM: elmer, add electrostatic equation 2017-12-02 13:17:30 +01:00
Markus Hovorka 412df6f4c1 FEM: elmer, add it to the new solver framework and add equation object for elmer 2017-12-02 13:17:30 +01:00
Wilfried Hortschitz 42b3c3353b FEM: constraint initial flow velocity, add object, command, icon, task panel, etc. 2017-12-02 13:17:30 +01:00
Markus Hovorka ce69c1531d FEM: constraint flow velocity, add object, command, icon, task panel, etc 2017-12-02 13:17:30 +01:00
Markus Hovorka 51c46dd2ab FEM: constraint body heat source, add object, command, etc 2017-12-02 13:17:30 +01:00
Markus Hovorka e4939d358f FEM: general python contraint, add module 2017-12-02 13:17:30 +01:00
Markus Hovorka f17bd36e05 FEM: selection widget, add module 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 5c18c71ad4 FEM: unit test, add new solve modules ccx and z88 and add a input file write test for new ccx solver 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 7ad273f3cc FEM: old ccx analysis tools, move analysis tools into ccx analysis tools, all new solver should use the new solver frame work 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 38ef851417 FEM: ccx input file writer, move writer into new femsolver package 2017-12-02 13:17:30 +01:00
Bernd Hahnebach f38fb30a76 FEM: prefs, add the pref to choose between new and old ccx solver to the pref gui 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 45e81db4ec FEM: ccx, add it to the new solver framework but use the old ccx writer 2017-12-02 13:17:30 +01:00
Bernd Hahnebach f8f267fcc0 FEM: z88, remove from old solver framework 2017-12-02 13:17:30 +01:00
Bernd Hahnebach 609e97a821 FEM: z88, add it to the new solver framework 2017-12-02 13:17:30 +01:00
Markus Hovorka d9bef5af5d FEM: new solver framework, add gui for working path pref 2017-12-02 13:17:30 +01:00
Markus Hovorka dda82d600c FEM: new solver framework, initial commit 2017-12-02 13:17:30 +01:00
Markus Hovorka 1a2f575a53 FEM: fem utils module, new module to collect some FEM utilities 2017-12-02 13:17:30 +01:00
Unknown fd7e2d9e0c FEM: code formating, typos in comments
some aren't really typos but are more cosmetic.
2017-12-02 13:17:30 +01:00
Bernd Hahnebach 23bc8f356d FEM: gmsh tools, better init for class attributes 2017-12-02 13:17:30 +01:00
wmayer adfcd154c6 fixes #0003176: Sketcher: always over-constrained when referencing external B-Spline 2017-12-02 13:02:42 +01:00
wmayer 651ff24481 when painting items make sure that constraint id is in range 2017-12-02 10:11:45 +01:00
wmayer e7d4296b29 remove export macro from template class 2017-11-30 17:37:51 +01:00
Eivind Kvedalen 3b82ffff02 When we are restoring, don't set the Label on object creation as it will be restored later.
This is to avoid potential duplicate label conflicts.

This fixes issue #3280.
2017-11-30 16:28:41 +01:00
Eivind Kvedalen 2ae1313975 Moved ObjectStatusLocker template class to Base/Tools.h 2017-11-30 16:28:41 +01:00
Yorik van Havre 75829b3679 Merge pull request #1128 from realthunder/PathArcFix
libarea: fix arc fitting
2017-11-30 12:21:21 -02:00
Zheng, Lei b640b9865b libarea: improve arc fit 2017-11-30 12:04:25 +08:00
Zheng, Lei 7249365823 libarea: disable max arc points parameter
It is soly used to limit excessive arc accuracy used by ClipperLib, and
seems to have some negative effect. We disabled it here, and simply rely
on user to choose a sensible arc 'accuracy' parameter.
2017-11-30 11:59:10 +08:00
tomate44 8bbcfd6dce Surface WB: add a Gui widget for unbound edges to the Filling tool. 2017-11-29 21:57:19 +01:00
Eivind Kvedalen 1a2e77cf6e Spinboxes: Fix for issue #3278. 2017-11-29 21:49:01 +01:00
Markus Lampert 8b3755ee35 removed example and dumper from deployment 2017-11-29 21:45:41 +01:00
Markus Lampert 0b629e67dd Clarified tooltip 2017-11-29 21:45:41 +01:00
Markus Lampert d53dbaa13a Fixed tooltip still refering to xml instead of json. 2017-11-29 21:45:41 +01:00
Markus Lampert 7803264814 Added template export to Path menu, rearranged layout a bit for better consistency. 2017-11-29 21:45:41 +01:00
luzpaz 5a0019e9ec App/Range.cpp: mInor doxygen refinements 2017-11-29 21:40:44 +01:00
Bernd Hahnebach 0f6edeccea FEM: mesh tools and input writer, better debug print messages 2017-11-29 11:10:20 +01:00
Bernd Hahnebach c21baa8a69 FEM: mesh tools, use for voumes the better get group data def 2017-11-29 11:10:10 +01:00
Bernd Hahnebach 708c42aa78 FEM: mesh tools, use for faces the better get group data def 2017-11-29 11:10:04 +01:00
Bernd Hahnebach 23ec4156c9 FEM: mesh tools, more smart code int get group data def 2017-11-29 11:09:56 +01:00
Bernd Hahnebach e3f47ec6a4 FEM: mesh tools, make retrieving group data ids useable for all element types 2017-11-29 11:09:23 +01:00
Bernd Hahnebach d948cd2e05 FEM: code formating, flake8, trailing ws and typo in comment 2017-11-29 11:09:13 +01:00
pekkaroi 09c11b9505 Path: Allow adjusting of feed rate in DressupRampEntry 2017-11-28 19:17:41 +01:00
Eivind Kvedalen ea487bb948 Sketcher: Fixed regression in fix for issue #3245. 2017-11-28 19:14:57 +01:00
Yorik van Havre 7822f4aacb Draft: Added Fuse property to Clones 2017-11-28 12:59:40 -02:00
Yorik van Havre fa9278da75 Removing black-on-white theming to allow system colors in Qt help 2017-11-28 12:45:29 -02:00
Zheng, Lei 0cca82b530 Path.Area: honour 'from_center' in offset pocket mode 2017-11-28 12:40:19 -02:00
Markus Lampert 4a9fea3657 Fixed selection guard removal after exception. 2017-11-28 12:39:02 -02:00
Markus Lampert cd1a4e8b4c Hiding some advanced, not ready for prime time features unless EnableExperimentalFeatures is set and true in the preferences. 2017-11-28 12:39:02 -02:00
Markus Lampert a84a0ce431 Abort OP creation transaction if TC selection is aborted with cancel, #3274 2017-11-28 12:39:02 -02:00
Markus Lampert 7da187f961 Fixed range issue in comparing edges when they have different # vertexes 2017-11-28 12:39:02 -02:00
Markus Lampert b2bfc8c931 Changed form layout to grid layout for qt5 compatibility. 2017-11-28 12:39:02 -02:00
Yorik van Havre ac47d80623 Merge pull request #1118 from luzpaz/SubWCRev-summary-update
Tools: SubWCRev.py file info update
2017-11-28 12:38:00 -02:00
luzpaz c6b3ebba85 Tools: SubWCRev.py file info update
Modified the file summary to reflect that the file supports svn, bazaar and git. 
+ updating revision history
2017-11-27 17:52:00 -05:00
wmayer 58a55aeebf set global link scope of surface features 2017-11-27 22:11:13 +01:00
Yorik van Havre 3e921cbda5 Draft: Added a utility command to add selected objects tothe construction group 2017-11-27 13:38:30 -02:00
Yorik van Havre 2ee230a1a0 Draft: Added preference option to set focus on Length when drawing lines 2017-11-27 13:05:10 -02:00
Yorik van Havre f33116c08c Arch: fixed multiple-group bug in Arch addComponent 2017-11-27 11:54:44 -02:00
wmayer df427de3ee fixes #0003027: if type(App.Vector) in originSketch.Geometry: newSketch.Geometry = originSketch.Geometry Raises types in list must be 2017-11-26 22:55:26 +01:00
wmayer d72791e8d0 in PropertyGeometryList::setPyObject check for sequence instead of list 2017-11-26 22:54:57 +01:00
wmayer 32510bde83 fixes #0003260: Double Quote in tool name is not escaped in FCStd file 2017-11-26 18:39:13 +01:00
wmayer 2059d47e2c move encodeAttribute from Property to Persitence to avoid code duplication 2017-11-26 18:38:45 +01:00
wmayer fcb5b9cde1 in PropertyStringItem prepare input string for assignment via Python 2017-11-26 17:51:20 +01:00
luzpaz 56af703746 Fix Techdraw UI typo found via crowdin + misc. typos
Ref: https://crowdin.com/translate/freecad/27911/en-eu#6503377
2017-11-26 15:48:20 +01:00
wmayer 0973dd5e7b add class ViewProviderDragger
derive ViewProviderGeometryObject from ViewProviderDragger
derive ViewProviderPart from ViewProviderDragger
2017-11-26 15:42:57 +01:00
Travers Carter c71b579f97 Span property group headers across all cells to avoid text truncation
Render the background of property value editor widgets to avoid cell contents showing through the editor
2017-11-26 10:23:03 +01:00
luzpaz e8587cf0b4 Misc. typo fixes
Remove double whitespaces between source comments
2017-11-25 16:54:02 -02:00
Bernd Hahnebach 8e48e336e3 FEM: constraint initial temperature, make reference property hidden and readonly 2017-11-25 16:54:02 -02:00
Bernd Hahnebach 3e2da0cd71 FEM: prefs, add an option to deactivate group meshing for analysis 2017-11-25 16:54:02 -02:00
Bernd Hahnebach 2ee72456e2 FEM: ccx writer, use the new Abaqus writer parameter and fix unit test 2017-11-25 16:54:02 -02:00
Bernd Hahnebach f271e52b3d FEM: Abaqus writer, add method parameter for elem and group options 2017-11-25 16:54:02 -02:00
Bernd Hahnebach 801fae3a39 FEM: Abaqus writer pref ui, move from FEM to Import / Export 2017-11-25 16:54:02 -02:00
Bernd Hahnebach 854ab38cfa FEM: Abaqus writer pref ui, some changes proposed by werner
- ui class name matches with file name
- class is not derived from ui but uses it as a private member
- https://forum.freecadweb.org/viewtopic.php?f=10&t=25381
2017-11-25 16:54:02 -02:00
Bernd Hahnebach 1bf52f4686 FEM: Abaqus writer, pref GUI for element and group export parameter 2017-11-25 16:54:02 -02:00
Bernd Hahnebach b7ea89b65c FEM: Abaqus writer, add groups to inp writer 2017-11-25 16:54:02 -02:00
Bernd Hahnebach 184bc03324 FEM: Abaqus writer, first get all data and write it afterwards 2017-11-25 16:54:02 -02:00
Bernd Hahnebach 921c8b7376 FEM: Abaqus writer, add pref to distingish between:
- all elements
- highest dimension elements
- FEM elements (only edges not belonging to faces and faces not belonging to volumes)
2017-11-25 16:54:02 -02:00
Bernd Hahnebach 4e7c091c51 FEM: Abaqus writer, write FacesOnly and EdgesOnly for mixed FEM meshes, could be slow on non mixed meshes 2017-11-25 16:54:02 -02:00
Bernd Hahnebach 1f11a3cc8e FEM: mesh api, add EdgesOnly and FacesOnly 2017-11-25 16:54:02 -02:00
luzpaz 737315a502 FEM: Fix typo 2017-11-25 16:54:02 -02:00
Bernd Hahnebach 60c92701b6 FEM: Gmsh tools, add parameter to write groups of nodes for any group 2017-11-25 16:54:02 -02:00
WandererFan 447d4816ce Fix #3224 Seg Fault in DrawProjGroup
- QGIViews for DrawProjGroupItem were not being deleted since
  DPGI belongs to DPG, not DrawPage.  Since there is a 1 to 1
  relationship between MDIViewPage and DrawPage, the check for
  membership in DrawPage is unnecessary.
2017-11-24 20:03:02 -05:00
WandererFan 7de79e7997 Fix #2967 Ph2 Do not show page on restore.
- phase 1 of this fix displayed an empty Page when
  restoring with Preference set to "Do Not Keep Pages
  Up To Date".  Ph2 does not show the Page at all.
2017-11-24 20:03:02 -05:00
wmayer 868d9cc6c2 improve whitespaces 2017-11-24 15:43:28 +01:00
Markus Lampert 0f6d0221f1 Fixed cut mode for pocket shape. 2017-11-24 10:21:36 -02:00
Markus Lampert e7a509306e Expose curve accuracy as a preference. 2017-11-24 10:21:36 -02:00
Markus Lampert 375614a1f6 pylint cleanup 2017-11-24 10:21:36 -02:00
DeepSOIC 9d9d99f3b2 Attacher: fix Py attachment editor for Python3 2017-11-24 10:17:27 -02:00
luzpaz b24a9c9ad4 Misc. typos
- Tooltip uniformity 
- source comment typo fixes
- remove double whitespaces
2017-11-24 09:45:08 -02:00
wmayer 399dca7cb3 fix crashes when using sketch tools 2017-11-23 13:22:37 +01:00
Yorik van Havre 83f7f85d08 Arch: Fixed axis property of components 2017-11-22 12:57:26 -02:00
Yorik van Havre f41ff3a458 Arch: Fixed 'object in more than one group' bug in Arch 2017-11-22 12:12:43 -02:00
Markus Lampert 9b4f57e577 Changed TC editor fields horizontal sizing to expand. 2017-11-22 11:42:41 -02:00
Markus Lampert 9f659eb55c Make keep tool down work - as good as it gets. 2017-11-22 11:42:41 -02:00
Shai Seger 870d661983 Make simulator work with non standard operations. 2017-11-22 11:34:14 -02:00
Yorik van Havre 737ca980f6 Merge pull request #1106 from mlampert/bugfix/tags-precision
PATH: Bugfix/tags precision, issue #3034 and some minor fixes.
2017-11-22 11:33:37 -02:00
mlampert 77a33b09db Merge branch 'master' into bugfix/tags-precision 2017-11-21 12:31:00 -08:00
apeltauer 8ea6b92ea9 Comment set name of combiview tab 2
Comment set name of combiview tab 2 
--> if some one adds a new tab this will always be overwritten. 
--> in line 83 the project widget is comment. So i think line 129 should also be comment
2017-11-21 17:24:12 -03:00
luzpaz 0d1451f39d User-facing typo fixes
All user-facing strings that have double (consecutive) whitespace e.g. `\b  \b`have been removed. Inspired by the error message in https://forum.freecadweb.org/viewtopic.php?f=3&t=5899&p=200309#p200309
2017-11-21 17:21:23 -03:00
pekkaroi df1011d94f Path: Allow removing of all base objects in Circular hole tools 2017-11-21 17:19:57 -03:00
mlampert aca5bff114 Merge branch 'master' into bugfix/tags-precision 2017-11-21 11:13:46 -08:00
wmayer 3b957a12b5 various minor changes:
+ whitespace improvement
+ code cleanup
2017-11-21 17:51:22 +01:00
Markus Lampert 8985372d1a Don't issue x and y coordinates for the initial G0 to ClearanceHeight, #3034 2017-11-20 22:21:05 -08:00
Markus Lampert d3f942cd63 Fixed tag marker display for path's not on z=0 2017-11-20 21:26:06 -08:00
Markus Lampert 85571ac9ad Fixed updating view after tag generation. 2017-11-20 20:50:26 -08:00
Markus Lampert 9c9faab428 Increased tolerance for accepting tags. 2017-11-20 20:37:40 -08:00
wmayer 99a2fd16f4 fixes #0002290: Point-on-object constraint icon not selectable 2017-11-20 14:06:12 +01:00
wmayer b3631e134b fixes #0003258: Draft Snap toolbar doesn't display MenuText AKA status bar text when hovering over icons 2017-11-19 17:59:46 +01:00
Zheng, Lei 54219f151c Path.Area: handle empty wires during sorting 2017-11-19 17:18:28 +01:00
Zheng, Lei 6ad0a1825c Path.Area: replace push_back with emplace_back
For minor performance improvement
2017-11-19 17:18:28 +01:00
plgarcia ba7fed2391 Very minor problem. Test of sheets is impacted by the locale. The decimal separator may be , instead of .
An assertEqualLocale function has been added to replace , by . in the values impacted by the locale with before comparison with the expected string containing a . as decimal separator.

Works fine
2017-11-18 22:04:57 +01:00
wmayer 046954a05b fix coverity issues 2017-11-18 18:07:00 +01:00
wmayer 532d9b230b fix coverity issue 2017-11-18 16:30:27 +01:00
Jeff c770ce7a34 Added color prefs to sketcher create commands
Create geometry commands in sketcher now have configurable crosshair color and editCurve color.
2017-11-18 15:30:41 +01:00
luzpaz 1f76beba61 Path: typo fixes
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=15&t=25384
+ I squeezed in a few more changes. @mlampert & @sliptonic do you mind reviewing?
2017-11-18 12:51:31 +01:00
luzpaz 6f1691fec9 PartDesign: Fix previous commit + more typos 2017-11-18 12:50:26 +01:00
luzpaz 706141b967 Make uniform the use of B-spline visible to users
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source  comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
wmayer bd59cea7f3 fix Shaft Wizard due to renamed property 2017-11-17 12:18:24 +01:00
Eivind Kvedalen 36301ff67b Sketcher: Fix for issue #3245, including regression test. 2017-11-16 21:44:23 +01:00
Yorik van Havre 9c4b31a4aa TechDraw: Updated translation scripts 2017-11-16 17:12:52 -03:00
WandererFan 9a3a98c303 Correct sceneRect when Template size changes 2017-11-16 10:31:14 -05:00
Zheng, Lei dc0f651521 Path.Area: improve coplanar checking performance 2017-11-16 15:20:17 +01:00
Zheng, Lei 4f7bcded78 Path.Area: improve projection algorithm efficiency 2017-11-16 15:20:01 +01:00
Sebastian Bachmann 15d1b80df7 Adding a 20mm border
A4 Landscape is a special template, as it is new in the standard.
We orient us on the A4 portrait template, where the border is on the
left side (e.g. long side). Thus it should be on top for the
landscape template.
2017-11-16 14:36:53 +01:00
luzpaz 00a7610ed5 Part Design: Gear.py typo fix
[skip ci]
2017-11-16 14:32:42 +01:00
wmayer b8eb1ec841 fix generation script of Python wrapper 2017-11-16 14:30:39 +01:00
luzpaz 987b8db0b5 More typos, grammar fixes, uniformity 2017-11-15 10:46:43 -05:00
wmayer 5f7576ca7f Make 'fluid' lower case in menu text and tooltip 2017-11-15 10:16:34 +01:00
wmayer 12893d3623 replace 'GMSH' with correct spelling 'Gmsh' 2017-11-15 10:11:16 +01:00
Bernd Hahnebach 9d26428997 FEM: gmsh tools, use fixed order for group data in geo file
it is needed to make a unit test for geo writing
2017-11-15 09:49:34 +01:00
Bernd Hahnebach 0887335876 FEM: typo in unit test comment 2017-11-15 09:49:15 +01:00
wmayer 8c7bb0cd55 fix warning 2017-11-14 21:47:56 +01:00
wmayer 04ea295280 add kd tree class
add mesh decimation algorithm
2017-11-14 14:17:19 +01:00
Yorik van Havre 0b33f977f7 Draft: Fix import of dxf files in no-gui mode 2017-11-14 10:19:33 -02:00
Amritpal Singh c46893d537 Added TotalLength property in rebar object 2017-11-14 10:06:39 -02:00
Amritpal Singh 9017f18523 Added Length property in Rebar object 2017-11-14 10:06:39 -02:00
luzpaz 0cb8a39d34 DlgCustomizeSpNavSettings.ui: remove trailing whitespace
I haven't built this to test it. I did look at it in Qt Designer, and here is what I saw (sans whitespace)
2017-11-13 18:48:23 -05:00
wmayer d04fd16263 make retrieving view direction numerically more stable, change orientation of bottom view 2017-11-13 21:53:10 +01:00
luzpaz d8b2855933 Draft: tooltip uniformity fixes 2017-11-13 11:49:55 -05:00
luzpaz 5ea950e357 Spreadsheet: follow-up correction to d43716fbc5 [skip ci]
`cell/s` is now `cell(s)`
2017-11-13 14:25:23 +01:00
WandererFan 4ea6204d2e Fix Dimension value format with Qt5
- Dimension values were displayed as zero for locales
  with "," decimal point in Qt5.
2017-11-12 19:08:33 -05:00
WandererFan 3c790009a7 Fix calculation of integer scale
- conversion of <double> scale to/from integer scale
  n:d was generating odd fractions and overflowing
  spinboxes in ui.
2017-11-12 19:08:33 -05:00
WandererFan 9d038ddf60 Make decimal point optional in FormatSpec 2017-11-12 19:08:33 -05:00
WandererFan 196dd536e0 Fix QGIVSymbol positioning/rotation 2017-11-12 19:08:33 -05:00
WandererFan 88b15ffdf1 Poistioning and Rotation for QGIVAnnotation 2017-11-12 19:08:32 -05:00
WandererFan 600962362c Fix QGIVImage positioning/rotation 2017-11-12 19:08:32 -05:00
WandererFan 44fd200166 Rotate DrawViewPart around part centroid 2017-11-12 19:08:32 -05:00
Yorik van Havre 03f439caf7 AddonManager: allow to update all updatable addons at once by pressing the update button again (git-python only) 2017-11-12 15:23:25 -02:00
Mateusz Skowroński 15d5e27a5e Fix issue with working directory. 2017-11-12 14:29:56 -02:00
luzpaz 39eaa63b52 OpenSCAD: make tooltips uniform and grammatically correct
Uniformity and grammar fixes
2017-11-12 14:28:15 -02:00
wmayer ca36e884bd fix German translation 2017-11-12 16:37:06 +01:00
luzpaz d43716fbc5 Spreadsheet: set tooltips for fore/background buttons
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=25289
2017-11-12 11:48:33 +01:00
Markus Lampert 2a443f5ef5 Fixed issue with empty expression. 2017-11-12 11:39:17 +01:00
wmayer 209271078b fix German translation 2017-11-12 00:54:51 +01:00
wmayer 74d1aa72ea fix German translation 2017-11-11 22:47:12 +01:00
DeepSOIC db26cbcc4c Sketcher: fix false detection of doubleclick
Double-click detector code was comparing double-click threshold (value =
5) with distance between clicked objects in model space (i.e.
double-click distance threshold was equal to 5 mm in model space
regardless of zoom). The fix changes the comparison to pixels on screen
instead.

This fixes the inability to select sketch entities in quick succession,
when the sketch is small (i.e. less than 40 mm or so).
2017-11-10 18:12:48 +03:00
wmayer b01c503c2c fixes #0003159: ShapeBinder is part of solid 2017-11-09 23:21:06 +01:00
Unknown d9187fa444 Fixes #3252 - obsolete FC links in package/debian FC man pages
See https://freecadweb.org/tracker/view.php?id=3253
More work will need to be done to get the man page updated with more current relevant info.
2017-11-09 15:01:52 -05:00
Eivind Kvedalen 5fe7a9af71 Spreadsheet: Fix for issue #3225.
Done by adding a selector function to Document::renameObjectIdentifiers(...) to ensure
that the Spreadsheet document object is not rewritten twice.
2017-11-08 23:15:16 +01:00
Bernd Hahnebach bb764b1475 FEM: unit test, extend the make objects test 2017-11-08 23:01:31 +01:00
Bernd Hahnebach 551f6dc4ae FEM: unit test, move FEM objects test to the right test class and fix code formating flake8 2017-11-08 23:01:31 +01:00
Bernd Hahnebach 5c6a51c1ac FEM: code formating, flake8 2017-11-08 23:01:31 +01:00
wmayer 3011fc8b2f fix build failure on macoS when including glext.h 2017-11-08 22:58:09 +01:00
wmayer def0b81784 changes in Mesh module:
+ cppcheck: fix some minor issues found by code analyzer
+ export to IDTF
+ fix for throwing exception
+ optimize mesh rendering
2017-11-08 17:56:13 +01:00
wmayer 547af2f5b2 + found a solution using painter path to fix the text rending in image view 2017-11-08 14:49:23 +01:00
wmayer ec1bcccb82 fix crashes in dependency walker 2017-11-08 12:12:46 +01:00
Yorik van Havre 71836f4b37 Less copyright-harmful clone icons for Draft and PartDesign 2017-11-06 19:38:36 -02:00
Abdullah Tahiri 41deaf82dd Sketcher: Delete all geometry menu command (in sketcher tools) 2017-11-06 14:18:12 +01:00
Abdullah Tahiri 3aec9b3859 Sketcher: Python command to delete all internal geometry and constraints of an sketch 2017-11-06 14:18:12 +01:00
wmayer 7f5e0caf3e code cleanup 2017-11-06 14:15:59 +01:00
wmayer 3daa4fe690 prepare zipios++ for unicode support 2017-11-05 19:37:42 +01:00
WandererFan 17663ebac0 Add TechDraw to translation scripts 2017-11-05 18:45:08 +01:00
WandererFan c70c6b15f7 Remove incorrect .qm/.ts files
- TechDraw translations directory contains old files based on
  Drawing module.
2017-11-05 18:44:49 +01:00
Peter Lama 926b844409 Rename superPlacement property to AttachmentOffset
The name Attachment Offset gives a better picture of what the
property does.
2017-11-05 16:41:25 +01:00
PLChris 647b6d6ea0 make philips postprocessor compatible with current Path Workbench 2017-11-05 13:03:35 +01:00
Harald Geyer 2677363769 Draft: Fix module loading in non-GUI mode
The WorkingPlane module is used in getSVG and getDXF, so we need to
import it unconditionally.
2017-11-05 12:47:08 +01:00
wmayer 71fbfa952f add 2d features to body for drag and drop 2017-11-05 12:37:46 +01:00
wmayer d5d3513a56 remove pointless Section option from boolean operation in PD 2017-11-04 13:46:42 +01:00
looooo edcc8ac76f windows python path setup:
allow to set the PYTHONHOME variable
2017-11-04 11:45:06 +01:00
looooo a9e1a55175 move PySide abstraction layer to Ext
/bin is not in the python-path for a installed build.
2017-11-03 23:24:08 +01:00
wmayer 621d4283e5 fix build failures with gcc 2017-11-03 17:21:48 +01:00
wmayer e0d5d92cde implement own ply/pcd importer/exporter 2017-11-03 17:03:51 +01:00
Yorik van Havre d76cccac32 Arch: Fixed wrong strucutral presets 2017-11-03 12:28:29 -02:00
Yorik van Havre 2fd36495d4 Merge pull request #1071 from abdullahtahiriyo/restore_carbon_copy_interbody
Sketcher: Restore inter-body expression engine links in Carbon Copy
2017-11-03 11:40:48 -02:00
Abdullah Tahiri e4a52991b6 Sketcher: Restore inter-body expression engine links in Carbon Copy 2017-11-02 19:52:26 +01:00
Yorik van Havre 7e4a0ae177 Merge pull request #1069 from easyw/master
avoid stop loading on coincident points
2017-11-02 12:15:52 -02:00
easyw 095bc78627 avoid stop loading on coincident points
reference at the forum:
https://forum.freecadweb.org/viewtopic.php?f=3&t=25146&p=197699#p197607
2017-11-02 10:24:25 +01:00
wmayer adc24f8c8f Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-11-01 14:14:23 +01:00
wmayer 7ea6b0e19e use scoped connection to automatically disconect on deletion 2017-11-01 14:13:57 +01:00
Markus Lampert 225910230e Comment explaining the local implementation of snapper mouse move 2017-11-01 10:39:07 -02:00
Markus Lampert 03ad4fb598 Fixed holding tags snapper interaction. 2017-11-01 10:39:07 -02:00
Markus Lampert 84e67a2471 Moved tag generation together with button box for better getpoint handling. 2017-11-01 10:39:07 -02:00
Markus Lampert 17ebceb144 Use PathGetPoint for Tags. 2017-11-01 10:39:07 -02:00
Markus Lampert 27e7dcfe13 Fixed PathSanity. 2017-11-01 10:39:07 -02:00
Markus Lampert 8fc24a063e Using vertical speed for tags. 2017-11-01 10:39:07 -02:00
Markus Lampert c41f5862f0 checkpoint 2017-11-01 10:39:07 -02:00
Bernd Hahnebach 7c7f56bf3e FEM: general prefs, use directory chooser for working dir setting 2017-11-01 10:37:25 -02:00
Wilfried Hortschitz c309ea41ed FEM: material task panel, repair restore of values considering locales 2017-11-01 10:37:25 -02:00
wmayer 780d1791f3 add occ library dir to PathSimulator 2017-11-01 13:19:09 +01:00
Shai Seger ea4f6f2b2d PathSimulator: move all changes to branch path_simulator 2017-10-31 11:10:23 -02:00
Shai Seger f9fec3f724 Fix dialog texts 2017-10-31 11:10:23 -02:00
Shai Seger 3a28e4f621 Solve the C++/Python type checking issue 2017-10-31 11:10:23 -02:00
Shai Seger f531914007 change abs to fabs (for linux compatibility) 2017-10-31 11:10:23 -02:00
Shai Seger c05219cfe8 fix some linux compiler warnings 2017-10-31 11:10:23 -02:00
Shai Seger e1d624b2cb Fixed some non standard c++ operations. 2017-10-31 11:10:23 -02:00
Shai Seger 08890b77cf Fix another linux compilation issue... 2017-10-31 11:10:23 -02:00
Shai Seger 5d2213381a Increase Fast Forward speed
Fix Linux compilation issue (hopefully)
2017-10-31 11:10:23 -02:00
Shai Seger 1a7c4b3a80 fix bug: when pressing play again, only first operation was done. 2017-10-31 11:10:23 -02:00
Shai Seger 1322bbf13d Add 2 color stock, speed control and resolution control 2017-10-31 11:10:23 -02:00
Shai Seger 77193b7e36 Add sliders to task 2017-10-31 11:10:23 -02:00
Shai Seger 831cb793f6 Add missing files and place ui file in correct location 2017-10-31 11:10:23 -02:00
Shai Seger 153959f98f fixes after merge with upstream 2017-10-31 11:10:23 -02:00
Shai Seger 22233110e6 integrate simulator into path workbench 2017-10-31 11:10:23 -02:00
Shai Seger e886ef2a21 Initial simulation works 2017-10-31 11:10:23 -02:00
Shai Seger 16b1eccd75 debugging wip 2017-10-31 11:10:23 -02:00
Shai Seger b9362df315 implement ApplyCommand and SetCurrentTool 2017-10-31 11:10:23 -02:00
Shai Seger fbbd0ce35b implement beginSimulation and getResultMesh 2017-10-31 11:10:23 -02:00
Shai Seger e366a3cfab Finally! the PathSim object is visible at freecad 2017-10-31 11:10:23 -02:00
Shai Seger 60ef98a8fe add python object resistration 2017-10-31 11:10:23 -02:00
Shai Seger 71ec1392b8 initial sim engin added. initial python interface. 2017-10-31 11:10:23 -02:00
Shai Seger e3e5a61700 Add initial class 2017-10-31 11:10:23 -02:00
Shai Seger 9f0b8c5efa Add generated PathSimulation Module 2017-10-31 11:10:23 -02:00
tomate44 5657acdfb6 fix BSpline curves treatment in Draft.makeSketch. BSplineCurves in a wire were doubled. Don't expose internal geometries of BSplineCurves of a wire to keep sketch lighter. 2017-10-30 18:13:32 +01:00
tomate44 21c4fa316e add ArcOfEllipse to DraftGeomUtils.orientEdge 2017-10-30 17:30:44 +01:00
tomate44 d2f4fcb6a2 add BSpline support to Draft.makeSketch 2017-10-30 14:02:49 -02:00
PLChris 2bc75bd946 Fixing security error on MacOS for AddonManager, see https://forum.freecadweb.org/viewtopic.php?f=3&t=24898 2017-10-30 14:01:02 -02:00
Peter Lama 178e5ddf87 Only build Qt5 version for macOS on travis
There is no need to continue to build the Qt4 version for macOS
since it has usability issues that have been fixed with Qt5 and
the fewer macOS builds the better: https://blog.travis-ci.com/2017-09-22-macos-update
2017-10-30 13:59:24 -02:00
wmayer 795a57c777 fix layout in ccx preferences page 2017-10-29 19:13:06 +01:00
Yorik van Havre e16c152da4 Draft/Arch: Support for Y situations in sketches - issue #3163 2017-10-27 16:41:31 -02:00
wmayer 8d3fe21116 Qt5 port: Sandbox module 2017-10-26 13:12:15 +02:00
wmayer d1ae93df8c save last accessed file directly in the user parameters 2017-10-26 11:57:45 +02:00
wmayer a16f5bf9aa override onExtendedDocumentRestored in AttachExtension 2017-10-25 22:52:39 +02:00
wmayer 7d3af3647d add virtual method onExtendedDocumentRestored DocumentObjectExtension 2017-10-25 22:51:50 +02:00
wmayer 3360573354 prepare zipios++ for unicode support 2017-10-25 20:43:02 +02:00
wmayer 25fb77a5a0 fixes #0002419: Matrix rotation and Units compatibility 2017-10-25 13:50:06 +02:00
wmayer 0ad9436eab fixes #0002632: Improvements to Prefs for Python 2017-10-25 12:39:06 +02:00
wmayer 5022b41d92 add fem test for testing group behaviour of analysis object 2017-10-25 11:17:18 +02:00
looooo 7529754c34 py3: some diff for fem with py3 2017-10-25 10:56:31 +02:00
Zheng, Lei e102ac12f4 libarea: improve arc fitting
Handle cases where the ending edge can form an arc with the starting
edge
2017-10-25 10:52:36 +02:00
wmayer 80bc1255c7 support of backward compatibility to load old fem project files 2017-10-24 20:09:35 +02:00
wmayer ce6809415b inherit FemAnalysis from DocumentObjectGroup and remove Member property 2017-10-24 20:07:05 +02:00
Unknown 8f8f890259 Clarifying preference string
https://forum.freecadweb.org/viewtopic.php?f=10&t=24918
2017-10-24 19:44:08 +02:00
wmayer be0e70cca5 minor improvements 2017-10-24 19:39:49 +02:00
wmayer 24081a5746 use abstract interface to create point cloud from geometric feature 2017-10-24 19:39:23 +02:00
wmayer 16e6d887e7 implement FileInfo::completeExtension 2017-10-24 19:38:01 +02:00
Yorik van Havre cfe2d134a2 Updated translations from crowdin 2017-10-23 18:32:02 -02:00
Yorik van Havre 564d5a3e70 removed Complete from translation scripts 2017-10-23 18:31:25 -02:00
Bernd Hahnebach 09fe85e8ff Arch: import IFC, fix View Fit while importing 2017-10-23 08:14:03 +02:00
Markus Lampert 7448d47b8a Fixed more python 2/3 unicode issues. 2017-10-22 19:50:30 -07:00
Markus Lampert dce9c0e385 Refactored use of iteritems into function to deal with python 2.7 and 3 compatibility. 2017-10-22 18:18:10 -07:00
Markus Lampert a14d6215fd Reduced log level for debug messages. 2017-10-22 12:02:21 -07:00
Markus Lampert 0d4e9d47c9 Python version independent string and unicode handling. 2017-10-22 12:01:35 -07:00
Markus Lampert be115bcabf Fixed cmake file for Path. 2017-10-22 11:24:58 -07:00
Markus Lampert 4826e6387e Removed references to Spreadsheet from docstrings. 2017-10-22 11:24:58 -07:00
Markus Lampert 03ea6a1f33 Instead of hiding FinalDepth make it read-only and set tooltip appropriately. 2017-10-22 11:24:58 -07:00
Markus Lampert 88c3fc1db0 Use operation name and icon as the TaskPanel title and icon. 2017-10-22 11:24:58 -07:00
Markus Lampert 83cf84a961 Fixed job on-demand conversion for FaceMilling. 2017-10-22 11:24:58 -07:00
Markus Lampert eaa7b6f591 Fixed all ops to use Op...Depth in order to not mess with the expressions. 2017-10-22 11:24:58 -07:00
Markus Lampert 1a29468094 Replaced spreadsheet with dedicated SetupSheet object in order to better support expression setting. 2017-10-22 11:24:58 -07:00
Markus Lampert 322598decf Fixed whitespace inconsistency. 2017-10-22 11:24:58 -07:00
Markus Lampert dba05326ff Reverted back to using the spreadsheet Name for the expression, since it has less issues than using the Label. 2017-10-22 11:24:58 -07:00
Markus Lampert 46d120071e Workaround for DAG invalidation - remove all expressions before deleting an object. 2017-10-22 11:24:58 -07:00
Markus Lampert d2b1768e18 Using the template attribute encoding/decoding. 2017-10-22 11:24:58 -07:00
Markus Lampert 0d8a1500d5 Added template attribute encoding/decoding for setup sheet label changes. 2017-10-22 11:24:58 -07:00
Markus Lampert 8d8fb529dc Fixed dogbone unit test to deal with expression instead of Lock property. 2017-10-22 11:24:58 -07:00
Markus Lampert 704569d1c8 Fixed the name collission issue of expressions. 2017-10-22 11:24:58 -07:00
Markus Lampert 14dfa13ee6 Renamed Settings to SetupSheet. 2017-10-22 11:24:58 -07:00
Markus Lampert b6eb3f0b4c Fixed dirty'ing of page and op. 2017-10-22 11:24:58 -07:00
Markus Lampert cccf014f06 Various bug fixes 2017-10-22 11:24:58 -07:00
Markus Lampert 47b1360856 Create Scale property on the fly if older Arch.PanelSheet is loaded. 2017-10-22 11:24:58 -07:00
Markus Lampert fa523e087c Fixed error msg about unsupported stock type. 2017-10-22 11:24:58 -07:00
Markus Lampert 0e1fb178c5 Making templateAttrs a const method - so exporting doesn't diry the tool 2017-10-22 11:24:58 -07:00
Markus Lampert 9d98ac390e Changed tool parameters to use a QuantitySpinBox. 2017-10-22 11:24:58 -07:00
Markus Lampert f13ac4c17e Removed obsolete ToolControl.ui 2017-10-22 11:24:58 -07:00
Markus Lampert 6db9389cf7 Changed tool controller editor to use QuantitySpinBox for speeds. 2017-10-22 11:24:58 -07:00
Markus Lampert 6ace67f047 Removed depths lock - obsolete through usage of expressions. 2017-10-22 11:24:58 -07:00
Markus Lampert 5a106f7a9c Introduced Op-values and set expressions for all user modifyable properties - updated template support. 2017-10-22 11:24:58 -07:00
Markus Lampert 1f81dde99d Fixed PathGui.QuantitySpinButton to default to a noop in case underlying property doesn't exist (makes UI code cleaner) 2017-10-22 11:24:58 -07:00
Markus Lampert 6797d5b4b5 Extracted Job Settings into their own implementation file. 2017-10-22 11:24:58 -07:00
Markus Lampert 9cec64880f Switched Depths page to use QuantitySpinBox instead of InputField. 2017-10-22 11:24:58 -07:00
Markus Lampert f3d48abe2f Refactored QuantitySpinBox handling into separate class. 2017-10-22 11:24:58 -07:00
Markus Lampert 73eb24ae20 Fixed clearance height value. 2017-10-22 11:24:58 -07:00
Markus Lampert 0e8d1903cc Switched PageHeight to use QuantitySpinBox. 2017-10-22 11:24:58 -07:00
Markus Lampert 87cf84151e Switched default values into Settings spreadsheet. 2017-10-22 11:24:58 -07:00
Markus Lampert ead2eb4e46 Replaced job default-properties with setting spreadsheet and set expressions for heights and rapid speeds. 2017-10-22 11:24:58 -07:00
Markus Lampert 51ed2f752d Added tooltips for defaults in export dialog. 2017-10-22 11:24:58 -07:00
Markus Lampert d63da36026 Fixed default tool controller creation if job template doesn't include TCs. 2017-10-22 11:24:58 -07:00
Markus Lampert 2040150523 Added job default values to template export. 2017-10-22 11:24:58 -07:00
Markus Lampert ec664c3c21 Added default values for heights and rapid feed rates for new tools. 2017-10-22 11:24:58 -07:00
wmayer 3499ac62f9 improvements of wait cursor
make filtering of modal dialogs working with Qt5
save/restore filter flags
don't filter events for File > Export
when using showPreferences don't show wait cursor
2017-10-22 19:49:56 +02:00
Nikolay Nizov 769e93973c Draft: Fix dimensions of parametric circles 2017-10-21 16:20:38 +03:00
wmayer 725a5b6545 method to get paths between two objects 2017-10-20 18:26:18 +02:00
wmayer af64ffcaf5 check for clang version to disable warning 2017-10-20 16:21:55 +02:00
wmayer 489c8c9aef unit test for backlinks on expressions 2017-10-19 23:49:01 +02:00
wmayer e06ae2cfde when resetting expression on angle convert value back to radian 2017-10-19 23:47:51 +02:00
Eneen c397aee9ed Added RevitNavigationStyle 2017-10-19 18:52:27 +02:00
wmayer 85d0369c0a ArchCommands.fixDAG has been removed in the past and now fails the unit tests 2017-10-19 14:13:36 +02:00
Bernd Hahnebach 891fa6e52c Arch, import ifc, print debug for each obj in a new line
- use ,end='' for any print without continue in the next code line
- add a print('') at the end of the product loop
2017-10-19 13:30:53 +02:00
Bernd Hahnebach 5b84a264e9 Arch: ifc import, fix fit view on import since bb initializion seams to have changed to infinity 2017-10-19 13:30:53 +02:00
Bernd Hahnebach e1bcab8f4c FEM: unit test, better material object identifier 2017-10-19 13:30:53 +02:00
Bernd Hahnebach 20e24975f5 FEM: code formating, trailing whitespaces and flake8 2017-10-19 13:30:53 +02:00
Bernd Hahnebach 585a28c433 FEM: gmsh tools, comment some debug prints if they do not have any content 2017-10-19 13:30:53 +02:00
Unknown ef46b7cc6b FEM: various typos 2017-10-19 13:30:53 +02:00
WandererFan 3d7a4b9db6 Fix 3215 - ViewDetail does not handle Scale correctly 2017-10-19 13:24:19 +02:00
WandererFan 4e474cf60b Handle variable UoM schemes in Dimensions 2017-10-19 13:24:08 +02:00
microelly2 571aab7849 import svg with colors 2017-10-19 13:18:02 +02:00
wmayer 5823aac057 Log used compiler and its version 2017-10-19 10:29:02 +02:00
wmayer ecdf9fdadf fixes #0002429: text labels for Sweep and Loft operations 2017-10-18 21:34:08 +02:00
wmayer f5b6694c83 fixes #0002434: merge sketches produces sketch on XY plane when original sketches were on XZ 2017-10-18 21:17:15 +02:00
wmayer dcaf263e4c issue #0002080: Attempt to remove FEM analysis result (displacement & stress) results in false warning 2017-10-18 19:50:59 +02:00
wmayer c1542e2401 issue #0002080: Attempt to remove FEM analysis result (displacement & stress) results in false warning 2017-10-18 19:46:20 +02:00
wmayer 7c4dc0d669 allow the user to proceed if default settings for revolution/groove raises an exception 2017-10-18 12:52:04 +02:00
wmayer 6e898575c2 various fixes:
+ fix invalid cast
+ some minor optimizations
+ improve exception handling
2017-10-18 12:33:41 +02:00
wmayer 2486e959b9 increase minimum deviation for tessellation to avoid to freeze the GUI 2017-10-18 10:40:02 +02:00
Pablo Gil 4a8cd391b5 typo fix 2017-10-17 20:00:49 +02:00
wmayer 3bd425df26 fixes #0003169: Mesh Design WB tools does not work on translated object 2017-10-17 19:13:09 +02:00
wmayer 9aab910981 add derived unit electric potential 2017-10-16 21:56:13 +02:00
wmayer 9c2528a982 fixes #0003169: Mesh Design WB tools does not work on translated object 2017-10-16 20:13:43 +02:00
wmayer 6786bb4c79 issue #0002613: Create symmetric geometry with conic 2017-10-16 15:56:32 +02:00
wmayer c9fb7985f9 issue #0002613: Create symmetric geometry with conic 2017-10-16 15:49:05 +02:00
wmayer 520ec2c095 issue #0002613: Create symmetric geometry with conic 2017-10-16 15:31:04 +02:00
wmayer fb1fcf3885 extend InventorBuilder 2017-10-16 11:03:21 +02:00
wmayer 930089c6f0 on project save go through all mdi views until one handles the GetCamera message 2017-10-16 10:39:51 +02:00
luzpaz e9ee1e60b3 UML: misc typo 2017-10-16 08:35:00 +02:00
sliptonic 2a7ba6f61f Path: fix bug in polar array 2017-10-15 15:32:50 -05:00
wmayer 46d516b465 fix coverity issue 2017-10-15 21:08:04 +02:00
wmayer 1abc3ab82d fix -Winconsistent-missing-override 2017-10-15 20:26:10 +02:00
wmayer 8b2fcf3677 fix several kind of warnings:
+ fix -Wparentheses/-Wlogical-op-parentheses
+ fix -Wunused-variable
+ disable -Wundefined-var-template due to many false-positives (clang)
+ fix -Winconsistent-missing-override
+ fix -Wmaybe-uninitialized
2017-10-15 19:12:07 +02:00
Ian Rees 33b3a202ed Fix LaTeX include used for Doxygen docs 2017-10-15 16:33:25 +02:00
Unknown 772c5b1970 Doxygen Typos
+ doxy whitespace formatting
+ added more misc. typos
+ grammar fixes
[skip ci]
2017-10-15 16:27:42 +02:00
wmayer fb2b9d6cef remove possibility of directly cross-referencing other body, use shape binder instead! 2017-10-13 17:28:21 +02:00
wmayer fb58d4b640 avoid normalizing axis of placement while changing it in property editor 2017-10-13 14:22:19 +02:00
Unknown 3a097116a5 Draft: UI Grammar fixes
In preferences-dxf.ui I think the intention was to write `join` and not `joint`. @wmayer please confirm, thanks!
2017-10-13 00:29:15 +02:00
Unknown 15c0d38536 Capitalize beginning of tooltips + Typos
Capitalized all remaining uncapitalized tooltips. 
+ Fixed typo in instantiate() function. Shouldn't have any repercussions on the code, AFAICT. 
+ other typos
2017-10-13 00:26:53 +02:00
wmayer 676b17969e make the fps counter more stable 2017-10-13 00:13:19 +02:00
wmayer 56ac228543 add cmake option to use Qt or native file dialogs 2017-10-12 16:01:24 +02:00
wmayer 1be2d52deb whitespace improvements + some optimizations 2017-10-12 11:22:10 +02:00
wmayer 4c7841c071 don't select circle/ellipse center if not inside selection box 2017-10-12 11:07:27 +02:00
SparkyCola 5696a66850 changed touch-selection so that it doesn't select the center- and end-
points of an object when they're not boxed
2017-10-12 10:42:04 +02:00
SparkyCola 9fba505e84 fixed touch-selection of circle and ellipse centerpoints not working 2017-10-12 10:41:05 +02:00
SparkyCola b32fce69f1 fixed selection of centerpoints when only selecting them resulted in not
selecting anything at all (in Sketcher touch-selection)
2017-10-12 10:36:13 +02:00
SparkyCola aaae347dd8 resolves #3204 2017-10-12 10:35:52 +02:00
SparkyCola 0a0a9698db implemented simple selection of b-spline in touch mode, so far it allows
only to select the whole spline if one of the points is selected, a
better implementation requires much more sophisticated algorithms
2017-10-12 10:35:52 +02:00
SparkyCola 893c8e84c6 implemented touch mode for arc of parabola with precision inaccuracity 2017-10-12 10:35:52 +02:00
SparkyCola 646604740c implemented touch mode for arc of hyperbola 2017-10-12 10:35:52 +02:00
SparkyCola bd2fd1a5f5 implemented arc of ellipses touch mode (precision issue as well) 2017-10-12 10:35:52 +02:00
SparkyCola 1639f37887 Implemented arc of circle in touch mode, same issue with precision as in
circle and ellipse
2017-10-12 10:35:52 +02:00
Mattis 2f18e25278 fixed issue related to polylines in touchmode, also implemented ellipse
touchmode (same issue as circle touching for now)
2017-10-12 10:35:52 +02:00
Mattis 2ec06ca548 touch mode for circle implemented, does work for 90% of the cases, not
yet with relatively big circles and a narrow selectionbox.
2017-10-12 10:35:52 +02:00
Mattis c9c5ca3010 added selection of end-points to line touch-select 2017-10-12 10:35:52 +02:00
SparkyCola 2781585a66 Added touchMode-detection and partially implemented touchMode for line-
detection (only works when one end-point is selected, yet).
The touchMode refers to a rectangular selection where objects are
selected even if only a part of them is int the box. It's used when the
selection box is drawn from right to left.
2017-10-12 10:35:52 +02:00
Markus Lampert 41a4d71aae Only check for loop detection if PathWorkbench is active. 2017-10-12 10:17:33 +02:00
wmayer fb7f1b73a8 avoid raising an exception when getting subobjects of the selection and just filter out unsupported types 2017-10-12 10:15:28 +02:00
Unknown 494a9a3f3b Draft: tooltip grammar fix 2017-10-11 23:08:33 +02:00
wmayer 76eba3a579 for FEM constraints allow global links 2017-10-11 18:48:13 +02:00
Unknown 60c01ad2ce crowdin: capitalize modifier key for Draft preferences-draftsnap.ui
https://crowdin.com/translate/freecad/548/en-sk#2587401
2017-10-11 09:02:50 -04:00
wmayer 070f1ebd01 in mult-common feature check if input shapes are valid 2017-10-11 13:51:38 +02:00
wmayer 5f86bfcd65 in mult-fusion feature check if input shapes are valid 2017-10-11 13:45:38 +02:00
wmayer 92ec59df06 fix possible dangling pointers in function to create dependency graph 2017-10-11 13:24:32 +02:00
wmayer 3b479e00c2 allow to set console and unit test option without overriding each other
start unit tests in command line mode because the python pivy package is missing
2017-10-10 20:40:09 +02:00
Harald Geyer ed7630503c Fix rendering of Unit::ThermalConductivity
The old behaviour was:
>>> Quantity('0.9 W/m/K').UserString
u'0.00 W/mm/K'
>>> Quantity('1.1 W/m/K').UserString
u'1.10 W/m/K'
>>> Quantity('1100 W/m/K').UserString
u'1100.00 W/m/K'

The new behaviour is:
>>> Quantity('0.9 W/m/K').UserString
u'0.90 W/m/K'
>>> Quantity('1.1 W/m/K').UserString
u'1.10 W/m/K'
>>> Quantity('1100 W/m/K').UserString
u'1.10 W/mm/K'
2017-10-10 20:35:33 +02:00
Unknown 4a75af7e33 upstream orocos_kinematics_dynamics typos
These are downstream fixes that I submitted upstream . They were merged in https://github.com/orocos/orocos_kinematics_dynamics/commit/35aeab5f8e39ce0d490750d1aa6015b9e8bbcf1b 
[skip ci]
2017-10-10 07:46:09 -04:00
Markus Lampert 5632f17d81 Fixed expression retrieval if no expression is set. 2017-10-10 13:06:35 +02:00
Markus Lampert 95817be2ec PathGeom isHorizontal/isVertical rely on bound box for unknown shapes. 2017-10-10 12:55:59 +02:00
wmayer 04ac31cba0 make _getOutListRecursive much more efficient by avoiding to process objects multiple times 2017-10-10 00:51:25 +02:00
Unknown ad457ba96b Misc. Typos 2017-10-09 19:59:33 +02:00
Zheng, Lei ba125d42f1 Path.Area: add greedy sort mode 2017-10-09 19:57:08 +02:00
wmayer 4d9416f1cf fixes #0002959: GUI tests aren't run when tests are started via command line 2017-10-09 19:17:31 +02:00
Itai Nahshon 8d839b81ad Use unit conversion when changing feedrates in the tools table of the job edit panel.
if the user enters a valid velocity quantity it will be used,
Otherwize if the user enters a unitless value the default velocity unit will be used,
Otherwise error.
2017-10-09 02:47:55 +03:00
Itai Nahshon d2f50247ff Some fixes related to milling heights and depths.
Fix for large "Step Down".
Correctly handling a part that was moved down the Z axis.
Handle "Finish Depth".
2017-10-08 22:52:10 +02:00
Markus Lampert c75b3b911d Fixed refactoring errors. 2017-10-08 10:57:08 -07:00
Markus Lampert d75a864920 Ensure loop detection logic ignores tree selections. 2017-10-08 10:49:52 -07:00
Przemo Firszt c39a1941e9 Enable native file dialog by default on linux
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2017-10-08 19:17:04 +02:00
Markus Lampert b52eeff727 Renamed stock from-base selection to clarify construction. 2017-10-08 12:24:31 -03:00
Markus Lampert 374aa03277 Take model's placement into account when calculating the placement for stock. 2017-10-08 12:24:31 -03:00
Markus Lampert f1a0725087 Added comment to not remove findShape which doesn't look like it's used or belongs - still has to stay there. 2017-10-08 12:23:11 -03:00
Markus Lampert 3afbbfa3da Dwngraded isHorizontal/isVertical error messages for unsuppported types to warnings and cache loop detection result to get a single message - rather than one per second. 2017-10-08 12:23:11 -03:00
Markus Lampert 2b19e69b2e Added explicit support for BSPlineCurve to isHorizontal/isVertical. 2017-10-08 12:23:11 -03:00
wmayer 88962a8c45 update expressions when relabelling a document object 2017-10-08 01:45:39 +02:00
wmayer e3d8daac4c handle expression exception in property item, do not pass through event loop 2017-10-07 21:52:48 +02:00
wmayer 5373f7e2f4 when overriding an expression remove dependencies from old expression to avoid recompute failures due to invalid DAG 2017-10-07 20:39:16 +02:00
wmayer 187c398cd4 support of sub-properties when binding QuantitySpinBox via Python 2017-10-07 19:01:33 +02:00
Markus Lampert b76f9d5423 Disabled debug printing. 2017-10-07 15:52:31 +02:00
Markus Lampert b28e48c10b Added read-only 'expression' property to QunatitySpinBox and renamed 'boundTo' to 'binding'. 2017-10-07 15:52:31 +02:00
Markus Lampert 7a352fea52 Added boundTo as a property to QuantitySpinBox to enable binding from Python. 2017-10-07 15:52:31 +02:00
Unknown 50f30eb02a FEM: typo fixes
+ some whitespace formatting
2017-10-07 11:51:00 +02:00
Bernd Hahnebach 16a0d911af FEM: objects fem module, comment typo 2017-10-07 11:51:00 +02:00
Bernd Hahnebach 03d3d8ffe4 FEM: command modules, get rid of duplicate selection code 2017-10-07 11:51:00 +02:00
Bernd Hahnebach b729f18084 FEM: nonlinear material command, only allow to add nonlinear material to solid material 2017-10-07 11:51:00 +02:00
Bernd Hahnebach 53505122ed FEM: analysis command, remove automatic mesh moving, it should work for all FEM objects or for no FEM object 2017-10-07 11:51:00 +02:00
Bernd Hahnebach a800bcc906 FEM: icons, sort them in qrc file 2017-10-07 11:51:00 +02:00
Bernd Hahnebach 86b925744e FEM: objects fem module, fix comments 2017-10-07 11:51:00 +02:00
Bernd Hahnebach 8f0c057ff4 FEM: objects fem module, sort defs 2017-10-07 11:51:00 +02:00
Bernd Hahnebach 8a9fcd33df FEM: move observer into PyGui 2017-10-07 11:51:00 +02:00
Bernd Hahnebach ec7669992a FEM: code formating, get rid of mixed line endings in one file, use unix ones (standard in FEM) 2017-10-07 11:51:00 +02:00
Eivind Kvedalen 1cf3667f62 Fix for issue #3200: Convert angle to degrees when used in an expression. 2017-10-07 11:28:02 +02:00
wmayer c7886b3e36 fixes #0003164: Elements of an analysis including the mesh and constraints should be hidden when hiding the analysis (Space) 2017-10-06 22:24:54 +02:00
wmayer d898ecc32e add missing header 2017-10-06 17:06:31 +02:00
wmayer 8c0258ac21 scroll to newly created group item 2017-10-06 16:29:21 +02:00
wmayer 941cc68efc add signal to scroll to view object 2017-10-06 16:28:30 +02:00
wmayer 5a2acd5645 avoid that transform children of a multi-transform stay touched after recompute 2017-10-06 14:56:18 +02:00
wmayer 16d4105a05 automatically set the tip after creating transform features to avoid messing up the history 2017-10-06 10:20:26 +02:00
wmayer 81e2480ca6 add new property rawValue to QuantitySpinBox to make it accessible from Python 2017-10-05 22:46:02 +02:00
wmayer 30379bc1ce re-enable sketcher to reference elements of other body 2017-10-05 15:20:39 +02:00
wmayer 74b7373e48 fixes #0002323: Workbench Start recent list of 3 files is - after a crash - not sync with recent list in File Menu Recent list of 4 files 2017-10-05 10:38:42 +02:00
wmayer 9d977b90a4 check for null string 2017-10-04 20:03:59 +02:00
wmayer 6df1ace5d5 include missing header 2017-10-04 18:58:40 +02:00
luzpaz ab8f8919b6 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
Zheng, Lei 04530ff516 Path.Area: add line/grid/triangle tool radius compenstation 2017-10-04 17:47:04 +02:00
wmayer cea54396e7 expose Attach/Detach of parameter group class to Python 2017-10-04 17:16:22 +02:00
Yorik van Havre 49fdb1ca78 Arch: Fixed bug in 3DS importer - fixes #3182 2017-10-02 14:53:10 -03:00
WandererFan 381a7375e7 Fix XXX is still touched after recompute in DPG 2017-10-02 13:48:45 -03:00
WandererFan d6a5672f89 Allow Views of App::Parts 2017-10-02 13:48:45 -03:00
WandererFan 6b922acdd5 Change links to Global scope 2017-10-02 13:48:45 -03:00
WandererFan f3758bed5b add missing logic for "true" dimensions 2017-10-02 13:48:45 -03:00
WandererFan 4b8d04f528 change isDeleting to isUnsetting
- DocumentObject::isDeleting was changed to isRemoving.
  This commit just prevents future confusion.
2017-10-02 13:48:45 -03:00
WandererFan 4b3ab9e74e Allow Section based on ViewMulti 2017-10-02 13:48:45 -03:00
Markus Lampert 86d9191023 Setting obj.removalshape to the first one if there are any for convenience. 2017-10-02 01:21:13 +02:00
Markus Lampert af892cc44a Added more cleanup to the pocket shape face before extrusion - greatly improves stability. 2017-10-02 01:21:13 +02:00
Markus Lampert f6d4160587 Disabling MinTravel - it being an experimental feature. 2017-10-02 01:21:13 +02:00
Markus Lampert a6263f4c1a Fixed face combining and moved to PathGeom. 2017-10-02 01:21:13 +02:00
Peter Lama 842480d3e7 Use macOS 10.11 travis environment
Better supported by homebrew
2017-10-02 01:19:25 +02:00
Markus Lampert 5b0ea79726 Fixed tooltips for post processor and its arguments in job dialog again. 2017-10-02 01:16:26 +02:00
Markus Lampert ddf820a089 Force page 0 for preferences. 2017-10-02 01:16:26 +02:00
Markus Lampert 9f9eb42b78 Placement preferences for stock. 2017-10-02 01:16:26 +02:00
Markus Lampert d436239785 Basic stock preferences and usage if no job template is specified. 2017-10-02 01:16:26 +02:00
luzpaz 700c6bc3d2 Path: misc typo
[skip ci]
2017-10-02 01:14:09 +02:00
wmayer 67bcee40cb fixes #0001955: Part Section not available in the Part menu 2017-10-02 01:08:28 +02:00
wmayer 8a17c4e079 fixes #0002862: Check for shape type before using selection as base feature 2017-10-02 00:56:47 +02:00
wmayer ce559a4643 issue #0002304: Duplicate multi selection of sketch element produces many sketches 2017-10-01 22:10:00 +02:00
wmayer de0ac35a50 fixes #0002045: Make Euler Rotation default or user-pref default 2017-10-01 21:15:58 +02:00
wmayer 397d7b74c0 handle editing of view provider of base feature 2017-10-01 19:32:11 +02:00
wmayer 98c6e0e2b0 implement clone command for part design 2017-10-01 18:25:55 +02:00
wmayer 9055324ee8 add define to better control if native or Qt file dialogs should be used 2017-10-01 17:28:21 +02:00
Kunda d4769e7023 Misc. typo 2017-10-01 10:15:31 +02:00
wmayer 9e91219d0f 0001591: STL export in various units 2017-09-30 23:55:49 +02:00
wmayer 62d98deccf fixes #0003071: List of vertexes returned by wire.OrederedVertexes missing last vertext in the list 2017-09-30 22:24:47 +02:00
wmayer 53168d39d6 fixes #0003025: memory leak in tree view 2017-09-30 19:45:25 +02:00
wmayer 93c32f0aa9 fixes #0001906: add Parameters isRelative, theAngDeflection of BRepMesh_IncrementalMesh in MeshFromShape Gui command 2017-09-30 16:15:24 +02:00
wmayer 755cd3bfbd fixes #0002931: Box select misbehaves with touchpad navigation style 2017-09-30 14:55:18 +02:00
wmayer 0a86d959c0 add method to check for planar surface 2017-09-30 00:23:00 +02:00
wmayer 5a1a88568a harmonize creation of linear pattern inside a multi transform to direction creation of linear pattern 2017-09-29 23:57:31 +02:00
wmayer 2244292552 fix crashes when aborting linear pattern panel due access of null pointers 2017-09-29 21:22:48 +02:00
wmayer 7ae850d756 fixes #0003179: PDN + AdditiveBox + MultiTransform (with LinearPattern) 2017-09-29 19:55:42 +02:00
wmayer 3769d38e89 fix dangling pointer when cancelling multi-transform task panel 2017-09-29 19:18:34 +02:00
wmayer 6d9cf80c97 inside toBiArcs check if a spline is closed and split it into two parts if necessary 2017-09-29 16:43:01 +02:00
wmayer 72bdd48a08 fixes #0003201: Cross-linking of sketch visibility 2017-09-29 15:45:40 +02:00
wmayer 4e429092e8 improve whitespaces and readability 2017-09-29 14:34:53 +02:00
wmayer fb0274df41 for circle and arc of circle also store angle to local x-axis 2017-09-29 12:52:10 +02:00
Peter Lama 2b750c2acf Enable creating PD Sweep along closed path 2017-09-29 00:41:59 +02:00
wmayer a8a9650816 harmonize show() function of Part, Mesh, Fem, Path and Points modules 2017-09-29 00:35:48 +02:00
Markus Lampert 5ea491bdba Pop-up action's tooltip if ActionGroup is expanded and the mouse hovers over an action. 2017-09-28 23:22:11 +02:00
Markus Lampert da57822615 Use command's tootltip as statustip if no statustip is specified. 2017-09-28 23:22:11 +02:00
Markus Lampert 6bbefe94f5 Added optional name parameter to Part.show() 2017-09-28 23:22:11 +02:00
Markus Lampert ce22fb30c6 Disableing bezier unit tests which seem to break depending on the version of occ/oce being used. 2017-09-28 11:27:47 -07:00
Markus Lampert 6bf9a9758f Added support for bezier curves for isHorizontal/isVertical. 2017-09-28 11:27:47 -07:00
Markus Lampert e6927d7979 Added support for z-level selecction of circular shapes. 2017-09-28 11:27:47 -07:00
Markus Lampert 11db427b2e Fixed drilling depths and circular hole remove logic. 2017-09-28 11:27:47 -07:00
Markus Lampert 4c0f25b174 Fixed refactoring issue. 2017-09-28 11:27:47 -07:00
Markus Lampert ca2c8fe156 Change visibility of base object and stock while an operation is edited - helps a lot in making sense of the generated paths. 2017-09-28 11:27:47 -07:00
Markus Lampert 459890f779 Moved base and stock visibility tracking into ViewProvider. 2017-09-28 11:27:47 -07:00
Markus Lampert 825d415818 Switch out base in case user selects features of the original - fixes op placement. 2017-09-28 11:27:47 -07:00
Markus Lampert 0dad94c457 Fixed rounding issue for determining attribute changes. 2017-09-28 11:27:47 -07:00
Markus Lampert 804cfd6dcf Fixed transitioning error. 2017-09-28 11:27:47 -07:00
Markus Lampert 16e99f5d7b Renamed 'Surface' to '3D Surface' for consistency. 2017-09-28 11:27:47 -07:00
Markus Lampert eb0b755a2a Renamed 'Pocket' to 'Pocket 3D' to enhance the distinction to 'Pocket Shape'. 2017-09-28 11:27:47 -07:00
Markus Lampert 06a01d0fee Fixed segfault on shutdown. 2017-09-28 11:27:47 -07:00
Markus Lampert e56897df76 Switch preferences to use json files for templates. 2017-09-28 11:27:47 -07:00
Markus Lampert 86a8e6eda0 Adapted dogbone unit test to the new depth values. 2017-09-28 11:27:47 -07:00
Markus Lampert ee41eda26f Fixed final == start depth in combination with manual locking. 2017-09-28 11:27:47 -07:00
Markus Lampert a3a1317cf6 Fixed startup errors and typo. 2017-09-28 11:27:47 -07:00
Markus Lampert 5b89893a1f changed lock radio buttons into checkboxes. 2017-09-28 11:27:47 -07:00
Markus Lampert 8886fd92fa Disable apply button if ui is clean. 2017-09-28 11:27:47 -07:00
Markus Lampert adc1a0a4f2 Fixed Arch.Panel support. 2017-09-28 11:27:47 -07:00
Markus Lampert e804977558 Consolidated all depth calculations. 2017-09-28 11:27:47 -07:00
Markus Lampert a796427f70 Added manual locking of start and final depths - and automatic updated if not. 2017-09-28 11:27:47 -07:00
Markus Lampert c8ef78af37 Dealing with undefined curves - without trampling all other changes. 2017-09-28 11:27:47 -07:00
Markus Lampert 0ea981eaeb Revert "Dealing with undefined curves in drillability checking."
This reverts commit bba1c4871db42bed98992bd1dca764ecd42e98b7.
2017-09-28 11:27:47 -07:00
Markus Lampert a78861e3a6 Added automatic depth calculation into PathOp.execute. 2017-09-28 11:27:47 -07:00
Markus Lampert 8207683c66 Dealing with undefined curves in drillability checking. 2017-09-28 11:27:46 -07:00
Markus Lampert 6e4079e3e4 Path selection resiliency against selections without sub features - which seem to have become common place. 2017-09-28 11:27:46 -07:00
Markus Lampert 95552ad4ee Added editing resiliency to stock from base editor. 2017-09-28 11:27:46 -07:00
Markus Lampert 3f9fff11bc Added support for Sphere and SurfaceOfExtrusion to isVertical/isHorizontal. 2017-09-28 11:27:46 -07:00
Markus Lampert 7507eae19e Fixed merge issue 2017-09-28 11:27:46 -07:00
Markus Lampert aa7d6e1bab Allow passing in additional face names to horizontalFaceLoop to further constrain the solution. 2017-09-28 11:27:46 -07:00
Markus Lampert ef2d2abf69 Added support for Part.Ellipse to isHorizontal/isVertical. 2017-09-28 11:27:46 -07:00
Markus Lampert e0ef4feab6 Ensure all edges of wires for horizontalEdgeLoop are also horizontal - required for rejecting solutions that include part of cylinder walls. 2017-09-28 11:27:46 -07:00
Markus Lampert 2eee30edd5 Fixed pocket depth calculation in case no base object is specified. 2017-09-28 11:27:46 -07:00
Markus Lampert 55766140c4 Added loop detection for vertical faces and enhanced usability of loop select command accordingly. 2017-09-28 11:27:46 -07:00
Markus Lampert 19287fc8a2 Enhanced isVertical/isHorizontal functions accepting a Vector, and Edge or a Face now. 2017-09-28 11:27:46 -07:00
Markus Lampert f8a5715724 Extended edge-loop-selection command become active if there is a single edge selected and that edge is only part of one wire in the horizontal plane. 2017-09-28 11:27:46 -07:00
Markus Lampert f4a0a4dbee Basic support for loop of vertical faces for PathPocketShape. 2017-09-28 11:27:46 -07:00
Markus Lampert 22194b27d4 Added support for selecting the wall of a cylinder for pockets. 2017-09-28 11:27:46 -07:00
Markus Lampert 3fa235d064 Combine all touching/overlapping faces of a pocket into a single face for machining. 2017-09-28 11:27:46 -07:00
Markus Lampert 57c0463583 Basic pocket generation from horizontal faces. 2017-09-28 11:27:46 -07:00
Markus Lampert 5c7a17cf8b Added copy of pocket op back into the UI. 2017-09-28 11:27:46 -07:00
Markus Lampert 6aeaa5e76c Moved PathPocket into 3d Tools command group with new icon. 2017-09-28 11:27:46 -07:00
wmayer 73f14d69b6 fix linker error with gcc 2017-09-28 18:43:48 +02:00
wmayer 29f2d818af add missing header file 2017-09-28 18:34:40 +02:00
wmayer 16f2f5df36 fix implementation of MeshPointPy 2017-09-28 15:28:24 +02:00
wmayer 76264ec1c7 expose BRepFeat_SplitShape to Python 2017-09-28 12:55:24 +02:00
wmayer 3c91e14fcd add typedef Py::TopoShape for convenience, move shape2pyshape to own file 2017-09-28 12:54:28 +02:00
wmayer 111dd2127c Needs to increment returned object 2017-09-28 12:51:22 +02:00
wmayer 917e61a3be check for correct selection in Symmetry and Array sketcher commands 2017-09-27 19:12:30 +02:00
Markus Lampert 9d7240f695 Remove PathDressup from startup script. 2017-09-26 12:09:35 -07:00
Peter Lama 556d68680e Fix macOS button layout in property editor
The size of the "..." button calculated by QMacStyle was not correct,
causing other widgets in the layout to be clipped.

Also, set the size of all "..." buttons the same way.
2017-09-26 10:56:55 -03:00
Markus Lampert 412376ca3f Fixed cmake issue 2017-09-26 10:51:17 -03:00
Markus Lampert d494b9b620 Added script to run pylint for errors. 2017-09-26 10:51:17 -03:00
Markus Lampert 764682a511 Refactor to outsmart pylint error. 2017-09-26 10:51:17 -03:00
Markus Lampert e453e8256e Fixed pylint errors. 2017-09-26 10:51:17 -03:00
Markus Lampert 16d7fa5d47 Fixed class name typo - thanks pylint. 2017-09-26 10:51:17 -03:00
Markus Lampert 3a3e54b865 Fixed refactoring issue for snapper tool. 2017-09-26 10:51:17 -03:00
Markus Lampert 0799a369ae Removing obsolete PathDressup. 2017-09-26 10:51:17 -03:00
Markus Lampert beaf21d43a Cleaned up dogbone dressup. 2017-09-26 10:51:17 -03:00
Markus Lampert b432364830 Implemented interface functions in base classes. 2017-09-26 10:51:17 -03:00
Markus Lampert f44b640b99 Switched to .format() to not confuse pylint with translate. 2017-09-26 10:51:17 -03:00
wmayer 14985a8b0b fix typos 2017-09-25 22:36:31 +02:00
wmayer 3ec30796a6 fixes #0002722: Attached cube doesn't follow support 2017-09-25 22:36:02 +02:00
wmayer 47cd41f25c fixes #0003146: Crash in PartDesign Sweep 2017-09-25 15:13:58 +02:00
wmayer 276781fb07 0002642: Can't open saved file (undiscovered bug/s from PDN?) 2017-09-24 23:51:09 +02:00
wmayer 46c0266591 fix determination of number of columns 2017-09-24 21:33:34 +02:00
wmayer 2f59c18664 0003010: Spreadsheet -> Drawing, maximum rows 2017-09-24 21:08:30 +02:00
wmayer c476589652 add missing include 2017-09-24 19:48:01 +02:00
wmayer ba092d2fa9 0002303: 404 from auto-generated Help > Automatic python modules documentation 2017-09-24 15:15:48 +02:00
wmayer a12913b491 fix some compiler warnings using MSVC 2017-09-24 12:50:56 +02:00
wmayer b562140400 fix clang warnings in some 3rd party libs 2017-09-24 12:22:53 +02:00
wmayer 2611f072b7 allow to attach a sketch to any kind of planar surfaces, not only planes 2017-09-23 22:46:54 +02:00
wmayer aa370e5d1b improve property link dialog for multi-selection 2017-09-23 18:37:52 +02:00
wmayer 22ac03a5b5 property editor for PropertyLinkList 2017-09-23 18:03:03 +02:00
wmayer 39e4020bdf Various fixes:
+ disable VBO rendering in split views
+ activate multi-sampling in split view for manual alignment
+ share GL widget in case a document has multiple views to make VBO rendering work correctly
2017-09-23 11:14:41 +02:00
wmayer 6f2d59540a reverse solid in case refinement flipped it 2017-09-22 22:13:43 +02:00
Yorik van Havre f3953a45e3 Arch: New UI for the survey tool 2017-09-22 16:10:51 -03:00
wmayer f228c37676 when inside the body has been created then hide the linked base feature 2017-09-22 17:57:37 +02:00
wmayer 9cc8c722cb implement drag and drop for body view provider 2017-09-22 13:12:20 +02:00
wmayer 75b2e858a2 add warning when compound with multiple solids/shells is selected 2017-09-22 12:16:21 +02:00
wmayer c1ac53b61f fix cyclic dependency if body is selected when creating a datum entity 2017-09-22 11:21:20 +02:00
Kurt Kremitzki b739616d0e Correct typo in Windows uninstaller 2017-09-22 10:45:19 +02:00
wmayer 00d6df17e3 don't exit FreeCAD when Ext directory doesn't exist 2017-09-22 10:37:11 +02:00
Markus Lampert e8a394424a Fixed and added PathUtil unit tests for dealing with Part. 2017-09-21 11:35:00 -07:00
Markus Lampert 5741e6f202 Fixed circular hole diameter for cases where the selected edge is not the full circle. 2017-09-21 11:35:00 -07:00
Markus Lampert 992b2589b2 Added support for Part as base object. 2017-09-21 11:32:32 -07:00
Markus Lampert 87533cbb16 Fixed PathHelix to not throw an exception if StartDepth == FinalDepth. 2017-09-21 11:32:32 -07:00
wmayer 74cf6a8dad improve readability of attachment error messages 2017-09-21 19:40:37 +02:00
wmayer 7d4eafbab0 if an Undo/Redo is performed then do nothing inside the body feature 2017-09-21 19:00:26 +02:00
wmayer 499cb18a00 add transform command to body 2017-09-21 17:32:22 +02:00
wmayer 957bab1e29 do not auto activate single body in document when opening context-menu 2017-09-21 15:59:32 +02:00
Yorik van Havre 41b42cce04 Draft: fix to clone's App::Part support 2017-09-21 10:11:47 -03:00
wmayer cb494198f0 prepare Arch and Path workbench for Qt5 2017-09-21 14:57:20 +02:00
Stefan Tröger 00e7c0f2cb Maintain backlinks on dynamic property removal. fixes #0003189 2017-09-21 13:29:20 +02:00
Stefan Tröger 14a2b0c6c3 PartDesign: Test shall not find buttons by text, as text gets translated. fixes #0003187 2017-09-21 13:03:22 +02:00
Stefan Tröger 94248a6c42 Improve GeoFeatureGroup claim children algorithm and remove special Body impelmentation 2017-09-21 13:02:16 +02:00
Stefan Tröger e64813827d Expose global placement calculation to python API 2017-09-21 12:58:01 +02:00
Stefan Tröger 957b23e610 Don't check for multiple groups when performing a transaction. fixes #0003150
During undo/redo the order in which objects are removed from a group and added to annother is arbitrary, hence it cannot comply to the single Group rule. Not echking for it in this case is unproblematic, as undo/redo only recrete former states, and those states have been checked in normal operation.
2017-09-21 12:48:39 +02:00
Stefan Tröger ec796329bf Expressions: Prevent backlink creation to same objects. fixes #0003192 2017-09-21 12:11:13 +02:00
Stefan Tröger de31528dda PartDesign: Make Base Feature compatible with GeoFeatureGroup. fixes #0003080
The Original BaseFeature implementation had some serious issues with scoped links. It failed completely for e.g. sketches on the BaseFeature as it made a local link to refere to a out of body object. The only solution to make this work correctly is to add a proxy object into the body which is alloed to exactly that, to link outside oof the body. Something like shapebinder.
2017-09-21 11:40:14 +02:00
Stefan Tröger 30f930404c PartDesign: Allow boolean Fuse/Common without base feature 2017-09-21 11:26:47 +02:00
Stefan Tröger 1248ba3bf9 Fix wrong detection of multiple GeoFeatureGroups 2017-09-21 11:14:21 +02:00
Stefan Tröger f1c307dc28 PartDesign: Boolean must show the operation result, not the children. fixes #0003184 2017-09-21 10:48:38 +02:00
Markus Lampert 0457b196a2 Changed path tool library manager to use different preference for json library than for xml in order to not break old installations. 2017-09-21 10:29:35 +02:00
Markus Lampert d1ee60e525 Added version support to all JSON exports. 2017-09-21 10:29:35 +02:00
Markus Lampert 7e03dcaa10 Deal with temporary invalid data for stock extents and ensure minimum size. 2017-09-21 10:29:35 +02:00
Markus Lampert b4d0428059 Changed PathJob to deal with JSON template files instead of XML. 2017-09-21 10:29:35 +02:00
Markus Lampert 4d37d8bbbe Fixed up ToolController template arguments and loading for the switch to JSON. 2017-09-21 10:29:35 +02:00
Markus Lampert f34b63f570 Added full JSON file format support to ToolLibraryManager. 2017-09-21 10:29:35 +02:00
Markus Lampert e9222ce9de Changed default tooltable to be stored in json format - automatically converted on first access. 2017-09-21 10:29:35 +02:00
Markus Lampert aac6419f9d Added template attrs and setFrom support to Tooltable. 2017-09-21 10:29:35 +02:00
Markus Lampert c705bcb0f1 Creation of Tool from a templateAttrs dictionary. 2017-09-21 10:29:35 +02:00
Markus Lampert 324dfdd341 Renamed fromTemplate to setFromTemplate. 2017-09-21 10:29:35 +02:00
Markus Lampert 1dd18cc970 Added restore from dictionary to Tool and templateAttrs for their retreival. 2017-09-21 10:29:35 +02:00
looooo 677a149614 new-style-modules: fix wrong statement in comment 2017-09-20 23:25:26 +02:00
looooo 2ff47374f2 new-style-modules: adding the possebility to import from "freecad"
(this mostly aims at new modules and extension modules which want to use pip)
- any module having problems with nameclashes can use this syntax (from freecad import module)
- current imports still work (backward cobatibility)
- python extension moduels can be installed (pip) to python std path (eg.: site-packages)

- adding app, gui to the new freecad package:
```
from freecad import app
from freecad import gui
```

- syntax for importing c++ extension will not change
```
import FreeCAD as App
import FreeCADGui as Gui
```
2017-09-20 23:25:12 +02:00
wmayer be8f0ed83d do some code clean-up and corrections in Selection class 2017-09-20 23:22:19 +02:00
wmayer 3212294847 fixes #0003153: Preselect: Show object label in status bar 2017-09-20 22:52:09 +02:00
Peter Lama 76474951d2 Attacher UX enhancements
- New editor for MapMode with button to open attacher dialog
- Hide attachment properties when they are not applicable
- Disable super placement ui in attacher dialog when object is not attached
- Always select used mode in mode list
2017-09-20 19:24:35 +02:00
luzpaz a78be0d9c8 Misc. typos
Misc typos
2017-09-20 12:55:37 -04:00
Yorik van Havre 5e4b64d99f Draft: Add support for App::Part in Draft Clones 2017-09-20 11:12:11 -03:00
wmayer 01f7894b2b fix build failure on Windows due to conflicting define with Win32 API 2017-09-20 15:58:09 +02:00
Mateusz Skowroński 0a375d8267 Fix some more Quarter High DPI Display issues. Partially fixes #3130 (the offset issue).
Related to issue #2968.

Ported from code by Randall O'Reilly.
https://grey.colorado.edu/svn/coin3d/quarter/trunk/
2017-09-20 14:37:22 +02:00
wmayer be18a46df9 add convenience methods to directly set/get a placement to/from a shape 2017-09-19 15:43:28 +02:00
wmayer 3058b0c713 fixes #0003161: Shape Binder not at expected place 2017-09-19 15:01:13 +02:00
Bernd Hahnebach 0681f490d1 FEM: unit tests, use for all objects creations the fem objects module 2017-09-19 11:33:20 +02:00
Bernd Hahnebach 0692a83925 FEM: objects module, add doc parameter to creation tools 2017-09-19 11:33:08 +02:00
sliptonic 3d322773fd Add test for imperial linuxcnc 2017-09-19 11:12:31 +02:00
sliptonic 7a384f62bc added --inches flag to linuxcnc and smoothie post 2017-09-19 11:12:31 +02:00
sliptonic 8637831132 Path: refactor Surface 2017-09-19 11:12:31 +02:00
wmayer 08a58f0709 support of keywords in Mesh.read and Mesh.write 2017-09-19 10:31:07 +02:00
wmayer 6ed14ed76a for boolean ops also support to pass single shape and tolerance 2017-09-18 22:16:15 +02:00
wmayer 13da3cd226 remove deprecated Type attribute 2017-09-18 19:01:25 +02:00
wmayer a9d4493891 set default value of thrid parameter to None in SeletionGatePython 2017-09-18 12:37:41 +02:00
wmayer a07226cea1 use constraint to limit minimum and maximum degree 2017-09-18 12:07:00 +02:00
tomate44 f8585e71c1 add MaxDegree setting to Part.Loft 2017-09-18 12:07:00 +02:00
Yorik van Havre 8209762250 Draft: temporary fix for regression introduced by previous commit 2017-09-17 14:42:31 -03:00
Yorik van Havre 99b3e46f32 Draft: Fixed translate bug in non-GUI mode 2017-09-17 14:06:22 -03:00
WandererFan 79936fbca5 Change 5d6b03eff to use isRemoving
- DocumentObject::isDeleting was renamed to
  DocumentObject::isRemoving
2017-09-17 18:50:07 +02:00
WandererFan a21ff86229 Fix Symbol fail to paint
- calls ViewProviderDocumentObject, but should call
  ViewProviderViewPart in order to receive repaint
  signals.
2017-09-17 18:50:07 +02:00
WandererFan 2e447dac3d Fix crash due to QGraphicsScene update while View.isDeleting() 2017-09-17 18:50:07 +02:00
WandererFan 63bfba6646 Make View backgrounds transparent
- makes it easier to stack views
2017-09-17 18:50:07 +02:00
WandererFan 40d19d438d Fix Symbol based View positioning 2017-09-17 18:50:07 +02:00
WandererFan b6c820f4f4 Add debug utils for QRectF/QPointF 2017-09-17 18:50:07 +02:00
Markus Lampert c9b053770b Reduced log level. 2017-09-17 18:46:00 +02:00
Markus Lampert 605afdfed0 Fixed pocket final depth calculation and hide it from user modifications. 2017-09-17 18:46:00 +02:00
Itai Nahshon 2e2c041885 PartDesign: Multi Transform Linear Pattern fix. 2017-09-16 01:25:14 +03:00
wmayer 76e8d81ae2 fix override warnings 2017-09-15 21:55:30 +02:00
wmayer 7a17a34dbe make computation of the length of an edge consistent to the computation of a (limited) curve 2017-09-15 19:29:44 +02:00
wmayer 501729a84c fix possible memory leak in Robot module 2017-09-15 12:15:02 +02:00
wmayer 770c9ce095 fix various coverity issues 2017-09-15 11:48:38 +02:00
luzpaz 5c1eadf947 misc typos
misc-typos
2017-09-15 09:54:14 +02:00
wmayer 69e962b07a fix override warnings 2017-09-15 08:26:48 +02:00
wmayer ed87b819cb fix override warnings 2017-09-15 01:49:12 +02:00
wmayer 5e417af9c1 disable testIssue2985 2017-09-15 01:03:33 +02:00
wmayer fc3ac1c77e fix override warnings 2017-09-15 00:58:21 +02:00
wmayer b65d0f140b use code from issue 0002985 for unit test 2017-09-14 16:48:05 +02:00
wmayer 9d21da205f expose FeatureAddSub to Python, fixes #0000955 2017-09-14 15:09:53 +02:00
wmayer 09737f2db3 rename method from remObject to removeObject to be more readable 2017-09-13 18:57:38 +02:00
wmayer e34a623aeb avoid permanently throwing exception by attach engine 2017-09-13 18:42:33 +02:00
wmayer 9d83392a4f mark document objects with Destroy flag before deleting them and handle this in the link properties 2017-09-13 16:14:19 +02:00
wmayer 4b400fd986 rename status bit 'Delete' to 'Remove' as it fits better for its purpose, add new bit 'Destroy' 2017-09-13 15:47:48 +02:00
wmayer 82537ca863 fix access of dangling pointer (in case undo/redo is off)
use unique_ptr to delete object before leaving remoObject
2017-09-13 15:11:29 +02:00
wmayer f663a754c8 fix cyclic dependency if body is created when creating a shape binder 2017-09-13 12:20:16 +02:00
wmayer dda36a6d25 add method to remove elements from PropertyLinkSubList 2017-09-13 12:19:09 +02:00
Markus Lampert c401f9d75c Replace Base property type with LinkSubListGlobal in order to keep Path ops working. 2017-09-13 09:46:59 +02:00
Markus Lampert 76285ab781 Removed debug logging. 2017-09-13 09:35:27 +02:00
Markus Lampert c5a3f5bf60 Fixed Job cancellation - to cleanup job again. 2017-09-13 09:35:27 +02:00
Markus Lampert cdcb75c163 Moved task panel cleanup into preCleanup to avoid accessing already deleted objects in case of cancel. 2017-09-13 09:35:27 +02:00
Markus Lampert 154ead76ab Fixed job removal for non-path base objects 2017-09-13 09:35:27 +02:00
looooo 0139653939 qt5: win: use qtwebkit by default
use -DBUILD_QT5_WEBKIT=OFF to disable qtwebkit for qt5
2017-09-13 08:01:29 +02:00
looooo 29429af805 Fem: fix one import statement for python3 2017-09-13 08:01:29 +02:00
Markus Lampert 5fe6b129cf Run recompute() after creating a Draft.clone. 2017-09-12 12:13:07 -07:00
wmayer dc13d85d37 fix inconsistency between context-menu and default edit mode PD primitives 2017-09-12 19:49:07 +02:00
wmayer eaf04d5bfd set invalid bounding box if no arguments passed 2017-09-12 17:23:39 +02:00
wmayer 7ce28bea5c add missing return 2017-09-12 16:42:46 +02:00
wmayer b08c939f43 when accessing view provider of object make sure the object hasn't been removed from the document, raise an exception otherwise 2017-09-12 16:28:31 +02:00
wmayer be6b8dcd40 create shape of sketch on project load in case it has been saved without a recompute beforehand 2017-09-12 15:55:35 +02:00
wmayer 612fbd4873 do some security checks to avoid accessing invalid data 2017-09-12 15:21:07 +02:00
Zheng, Lei a2628f95d8 OriginGroupExtension: fix wrong static_cast 2017-09-12 13:51:47 +02:00
wmayer 98bf3bdb4a don't reverse orientation after converting mesh to shape 2017-09-12 07:59:31 +02:00
wmayer da6976c2f4 add example code to selection classes 2017-09-11 19:13:48 +02:00
Bernd Hahnebach 656239948d FEM: py3, set prints in brackets 2017-09-11 10:21:01 +02:00
Bernd Hahnebach d272c581e9 FEM: unit test, make it simpler to add new directories to the python module import test and add some comments 2017-09-11 10:21:01 +02:00
DeepSOIC e70a1678f8 fix warning 2017-09-10 18:32:06 +02:00
DeepSOIC 0f92c3e559 Part: Attacher3D: new modes - align axes
New attachment modes:
"Align O-Z-X"
"Align O-Z-Y"
"Align O-X-Y"
"Align O-X-Z"
"Align O-Y-Z"
"Align O-Y-X"
They allow to attach a sketch by picking origin point and sketch axes
directions.
2017-09-10 18:31:54 +02:00
DeepSOIC 96f3f0fa26 Base: new Rotation constructor - on vectors
The new constructor accepts wanted directions of x,y,z axes of rotated
frame, and a priority string that affects how the vectors are made
perpendicular to each other.

Example - construct placement for sketch on XZ plane:

v = App.Vector
App.Rotation(v(1,0,0),v(0,0,1),v())
2017-09-10 18:31:40 +02:00
DeepSOIC f8feb18a07 Part: Attacher1D: new attachment mode "Normal to face"
addresses #3175
https://freecadweb.org/tracker/view.php?id=3175

Also, renames Datum Line's "Normal" attachment mode to "Normal to edge"
in Gui, for the name to be specific.
2017-09-10 18:31:25 +02:00
DeepSOIC 576294d30f Part: Attacher: fix normal-to-path vertex usage, #3175
Modes affected:
* NormalToEdge ("Z tangent to edge", "Normal to edge"),
* Tangent

In these attachment modes, if vertex is linked first, the origin was
supposed to be placed on the vertex, but it was placed on the edge
instead, due to a bug. This commit fixes the bug.

Projects will be broken, which use above mentioned attachment modes, and
link Vertex as first reference, and the vertex does not lie on the edge.
To repair a project, edit the corresponding attachments, and swap the
order of references.
2017-09-10 18:31:11 +02:00
wmayer 155c0007e4 add security check for data validation in FEM fluid boundary panel 2017-09-10 17:52:11 +02:00
qingfengxia 05b19019ac FEM: bugfix for Console print std::string which needs c_str() conversion 2017-09-10 17:09:44 +02:00
qingfengxia 3990115f6e FEM: enable thermal and turbulence boundary setting UI 2017-09-10 17:09:19 +02:00
qingfengxia f9c1884595 FEM: enable edge selection for FemConstraintFluidBoundary of 2D case 2017-09-10 17:09:00 +02:00
wmayer d11267ff1e load/save setting in techdraw panel 2017-09-10 17:08:23 +02:00
wmayer c810508119 fix path to resource file in UI forms 2017-09-10 16:24:53 +02:00
WandererFan b9f5de85b2 Handle Qt5 change from QString::sprintf to asprintf 2017-09-10 15:26:16 +02:00
WandererFan d15cd94f19 Ensure DrawView picks up DrawPage Scale at creation 2017-09-10 15:25:58 +02:00
WandererFan dfe174aec5 Use system Decimals, alternate or custom for Dimensions
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
WandererFan 833bd66a18 Fix page alignment when change to different Template 2017-09-10 15:25:22 +02:00
WandererFan ab28ef7f62 Prevent crash when Source(s) have no Shape 2017-09-10 15:25:05 +02:00
WandererFan 485321f8ea Add requestPaint formerly in DrawView::execute 2017-09-10 15:24:50 +02:00
WandererFan 3e21b97867 Fix handling of Scale change in DrawViewSymbol classes 2017-09-10 15:24:30 +02:00
WandererFan 9e6248acc9 Add dumpSymbol method to DrawViewSymbol based classes
- this is mainly for debugging output from Arch/Draft
2017-09-10 15:24:14 +02:00
WandererFan 9379574016 Add preference for Template edit dot size 2017-09-10 15:24:00 +02:00
WandererFan 1722d1cd7d Include osifont in TechDraw
- also use PropertyFont instead of PropertyString
2017-09-10 15:23:46 +02:00
WandererFan 781338c347 Add RedrawPage command 2017-09-10 15:23:23 +02:00
WandererFan b68b7badca Fix #2967 Allow fcstd to open without drawing TechDraw::DrawPage 2017-09-10 15:23:04 +02:00
WandererFan d27b8387e8 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan 137930c654 Add Page level redraw signal 2017-09-10 15:22:34 +02:00
WandererFan e8f2c68b5c Allow DrawPage updates to be suspended 2017-09-10 15:21:54 +02:00
Itai Nahshon b9292683ae PathJobGui - use correct unit to show feedrates in the tool tab. 2017-09-10 15:05:37 +02:00
Markus Lampert ce61fac68b Added buttons to use Z level of current selection for start or final depth. 2017-09-10 14:42:30 +02:00
Peter Lama 756ed3381e Fix Shape Binder crash when nothing selected first
Partially resolves issue #2517
2017-09-10 14:08:39 +02:00
wmayer 832e18689b check for null shapes before performing boolean operation 2017-09-10 12:41:46 +02:00
wmayer 4e413800ee in repr() of DocumentObjectPy return the full class name 2017-09-10 12:41:14 +02:00
wmayer dcd7da480a support of loading old projects with shape binder or PartDesign boolean 2017-09-09 22:47:28 +02:00
wmayer f92ea66903 copy check for disabled or nested recomputes from old implementation of recompute() 2017-09-09 19:11:28 +02:00
Pablo Gil a1d1a4cb4b updating Body, Part and Assembly icons 2017-09-09 18:29:53 +02:00
wmayer e260f9dabd improve whitespaces 2017-09-09 18:07:46 +02:00
Stefan Tröger e3f560ef38 Prevent error messages when restoring a origin 2017-09-09 16:55:55 +02:00
Stefan Tröger f83424d5e9 Remove unneeded debug print in test case 2017-09-09 16:55:55 +02:00
Stefan Tröger 283ab961b5 Ensure touched features, which override mustExecute(), are recomputed. 2017-09-09 16:55:55 +02:00
Stefan Tröger 71b7811495 Fix GeoFeatureGroup claimChildren in case some out-of-group item links to a child 2017-09-09 16:55:55 +02:00
Stefan Tröger 0439656133 Ensure that GeoFeatureGroup claims children when a parent of it is deleted. fixes #0003150 2017-09-09 16:55:55 +02:00
Stefan Tröger 0053e939e9 Ensure finding the correct parent GeoFeatureGroup 2017-09-09 16:55:55 +02:00
Stefan Tröger 9d4f1b754a Make sure all relevant links are found for object in GeoFeatureGroup. issue0003150 2017-09-09 16:55:55 +02:00
Stefan Tröger 946e470a6f Keep backlink consitent during undo/redo. issue 0003150 2017-09-09 16:55:55 +02:00
Stefan Tröger 034219771f PartDesign: Prevent problems with link scopes during feature creation 2017-09-09 16:55:55 +02:00
Stefan Tröger 0584c56777 Fix deleting a Part 2017-09-09 16:55:55 +02:00
Stefan Tröger 70692cddb4 Update Group/Part Icons and copy/paste behaviour 2017-09-09 16:55:55 +02:00
Stefan Tröger fa273f7307 Prevent ViewProvider at toplevel when adding object to Group in GeoFeatureGroup 2017-09-09 16:55:55 +02:00
Stefan Tröger d92b631dad Make Origins work well with scoped links 2017-09-09 16:55:55 +02:00
Stefan Tröger 5b58fc77a7 PartDesign: Fix multi pattern test 2017-09-09 16:55:55 +02:00
Stefan Tröger 972b89d0a0 Make PartDesign::Boolean work with new Link structure
This is the first feature that used GeoFeatureGroupExtension and required links to the groups inside as well as to things on the same level. Hence a few modifications to link scopes have been nesseccary.
2017-09-09 16:55:55 +02:00
Stefan Tröger 96f8d944f8 Make Group searching robust for cyclic dependencies. fixes #0002567 2017-09-09 16:55:55 +02:00
Stefan Tröger f34c77211a Add new icons for Part and Group 2017-09-09 16:55:55 +02:00
Stefan Tröger 83f99ba1b6 Prevent crash on cyclic group relations. fixes #0002567 2017-09-09 16:55:55 +02:00
Stefan Tröger 61cfad5020 Add group command to structure toolbar 2017-09-09 16:47:07 +02:00
Stefan Tröger dd87094672 Move App::Part to a separate global toolbar 2017-09-09 16:47:07 +02:00
Stefan Tröger 6d40b1d646 Ensure viewprovider is shown after drop from claimChildren3D fixes #0003078 2017-09-09 16:47:07 +02:00
Stefan Tröger 2dc09c5e4d Tree: Adopt to special GeoFeatureGroup behaviours 2017-09-09 16:47:07 +02:00
Stefan Tröger 67734d161b PartDesign: ShapeBinder can link globally 2017-09-09 16:47:07 +02:00
Stefan Tröger 79bb7b7f50 DependencyGraph: show invalid links in red 2017-09-09 16:47:07 +02:00
Stefan Tröger d0954e6e42 Allow interchangable use of link properties and their derivatives 2017-09-09 16:47:07 +02:00
Stefan Tröger 987a5b36b9 Create special scope properties 2017-09-09 16:47:07 +02:00
Stefan Tröger 3dccf50e83 Introduce Scoped links to prevent cross cs links 2017-09-09 16:47:07 +02:00
Stefan Tröger 51005bb81e Fix _inList tracking in case of link removal 2017-09-09 16:47:07 +02:00
Stefan Tröger 45d1acf9f3 Test cross GeoFeatureLinks 2017-09-09 16:47:07 +02:00
Stefan Tröger c0a270a76e Ensure objects to be in a single GeoFeatureGroup only 2017-09-09 16:47:07 +02:00
Stefan Tröger f96c69deed Prevent cross GeoFeatureGroup links on recompute 2017-09-09 16:47:07 +02:00
Stefan Tröger ab85c6e784 Make InList hadling and topological sort more robust. fixes #0002871 2017-09-09 16:47:07 +02:00
wmayer 03b63d3a40 make ruled surface working when both curves references the same part and a placement is set 2017-09-09 15:59:38 +02:00
wmayer af82cacf8c extend ruled surface feature to combine edge with wire as input shapes 2017-09-09 14:20:07 +02:00
wmayer f27617e63e make sure to avoid duplicate child elements in view provider of ruled surface 2017-09-08 14:52:12 +02:00
wmayer 5a32fd5886 unit test: remove property while transaction is active and abort it later 2017-09-08 14:34:33 +02:00
triplus 237a880705 Add standard fullscreen mode 2017-09-08 13:15:46 +02:00
Markus Lampert ff67ad7913 Added stock unit test to cmake files - so it actually get's installed. 2017-09-08 12:25:58 +02:00
Markus Lampert bfa035aab6 Fixed unit tests for proper R calculation for cylindrical stock. 2017-09-08 12:25:58 +02:00
Markus Lampert 778590cdb1 Switched to textChanged instead of editingFinished for better update experience. 2017-09-08 12:25:58 +02:00
Markus Lampert abced1ba5e Fixed changing Base of job and its resource creation. 2017-09-08 12:25:58 +02:00
Markus Lampert caad9ee638 Cleaned up tab order for job editor. 2017-09-08 12:25:58 +02:00
Markus Lampert f40be91335 Orderly deletion of a job. 2017-09-08 12:25:58 +02:00
Markus Lampert 8a9dc58c72 Fixed operation update when TC changes - allow TC edit abortion. 2017-09-08 12:25:58 +02:00
Markus Lampert 466486211d Simplified UI; added support for arbitrary callbacks for edit of icon view provider - use that to open up job editor with appropriate page open (avoids back dependency from stock gui to job gui). 2017-09-08 12:25:58 +02:00
Markus Lampert 454457d9ed Fixed TC naming without template. 2017-09-08 12:25:58 +02:00
Markus Lampert e6249387f2 Switched to using hand made stock objects even for the basic types. 2017-09-08 12:25:58 +02:00
Markus Lampert 89f5bcded2 Hide all unused controls for now. 2017-09-08 12:25:58 +02:00
Markus Lampert e05442b031 Fixed automatic update for PathStock. 2017-09-08 12:25:58 +02:00
Markus Lampert 9ade411aaa Use stander FC icons for up/down move of operations. 2017-09-08 12:25:58 +02:00
Markus Lampert 31e5710c61 Added axis at origin display while editing. 2017-09-08 12:25:58 +02:00
Markus Lampert 4a735b372e Added stock support to templates. 2017-09-08 12:25:58 +02:00
Markus Lampert af4bac8abf Added moving an operation up/down the list buttons. 2017-09-08 12:25:58 +02:00
Markus Lampert 8f77c7575f Added support for centering the base object inside stock. 2017-09-08 12:25:58 +02:00
Markus Lampert caeab63ec8 Fixed popup menu 2017-09-08 12:25:58 +02:00
Markus Lampert 5da6e15b7b use min values to ceate valid stocks for panels. 2017-09-08 12:25:58 +02:00
Markus Lampert 016bca5e37 Prevent stock from existing solid if there are no solids in the file. 2017-09-08 12:25:58 +02:00
Markus Lampert cb06794e76 Removed obsolete path stock command and view provider. 2017-09-08 12:25:58 +02:00
Markus Lampert 614a0f83c2 Fixed error stock from existing when selected again. 2017-09-08 12:25:58 +02:00
Markus Lampert b778882f76 Added stock creation. 2017-09-08 12:25:58 +02:00
Markus Lampert f4ee27458f Fixed tabstops in tool editor. 2017-09-08 12:25:58 +02:00
Markus Lampert 2b62412cc1 Delete all subobjects of a job when the job itself is deleted. 2017-09-08 12:25:58 +02:00
Markus Lampert 7241a5b796 Fixed base object clone handling. 2017-09-08 12:25:58 +02:00
Markus Lampert 8158cd72cb Use correct icon for tool controller. 2017-09-08 12:25:58 +02:00
Markus Lampert 88e566cf4b Added set origin. 2017-09-08 12:25:58 +02:00
Markus Lampert f73a63eee3 Added support for align move to origin. 2017-09-08 12:25:58 +02:00
Markus Lampert ba0b5e5481 Added selection observer to enable/disable orientation and alignment buttons. 2017-09-08 12:25:58 +02:00
Markus Lampert b26e3a5279 Orientation along an edge. 2017-09-08 12:25:58 +02:00
Markus Lampert c655281ea8 Added orientation of part by faces. 2017-09-08 12:25:58 +02:00
Markus Lampert ef93ba1d42 Fixed moving operation back into job. 2017-09-08 12:25:58 +02:00
Markus Lampert 4fd8cbb40e Swap visibility of clone and original while job editor is up. 2017-09-08 12:25:58 +02:00
Markus Lampert 9209778b79 Create clone for stock and go to some lengths to enforce that. 2017-09-08 12:25:58 +02:00
Markus Lampert 3a392ec604 Added tool controller edit in dialog and hooked it up to job edit. 2017-09-08 12:25:58 +02:00
Markus Lampert 83ab3bd3f2 Added combined dialog for TC editing - refactored UI controller into separate class. 2017-09-08 12:25:58 +02:00
Markus Lampert 1c25c1520b Fixed unit tests. 2017-09-08 12:25:58 +02:00
Markus Lampert a440dabf5d Add tool controller support with inplace editing. 2017-09-08 12:25:58 +02:00
Markus Lampert c0d1fa49a6 Added delete operation functionality;
fixed adding to job for dressups.
2017-09-08 12:25:58 +02:00
Markus Lampert fd67690fa7 Fixed some UI issues and enabled re-ordering of ops. 2017-09-08 12:25:58 +02:00
Markus Lampert 2bb83bebb1 Split job commands into their own source file. 2017-09-08 12:25:58 +02:00
Markus Lampert 8c085226d7 split PathJob into model and gui;
Made PathJob a regular feature and moved operations into child compound;
Added stock feature.
2017-09-08 12:25:58 +02:00
luzpaz cbe77cde72 Tux: capitalizing sting (ref: crowdin)
ref: https://crowdin.com/translate/freecad/27910/en-hu#6502920
2017-09-08 12:19:04 +02:00
Max Voss a265639ebd Outline previews get now created when the button is pushed, not when the tool is loaded. 2017-09-08 12:14:28 +02:00
looooo 6de23532c8 Path: libarea: update to latest pybind11 2017-09-07 21:32:34 +02:00
wmayer 0e18c6e061 Improvements for PR973 to rename a macro:
+ remove check for write-protected macro because this still can be renamed
+ do nothing if the user didn't define a different file name
+ keep the item in the list view selected
2017-09-07 10:33:16 +02:00
apelly 21e1a5fde5 Add a rename option to the macro dialog
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=24005
Fixes #3173
2017-09-07 10:31:35 +02:00
wmayer d0c5865f32 show cursor for selection in Blender style when Ctrl is pressed while left-clicking 2017-09-05 08:36:43 +02:00
wmayer 98470fe670 do not clear selection when clicking on empty space while Ctrl key is pressed 2017-09-04 22:53:15 +02:00
wmayer 94fcefd207 direct support of Volt in units framework 2017-09-04 12:08:29 +02:00
luzpaz 2b461e9cc3 Arch: fix grammatical error
Changed `equipments` to `equipment`
@yorikvanhavre is this OK with you?
2017-09-03 11:29:25 -03:00
looooo 4baf05933d qt5: fix in Draft translate 2017-09-03 11:28:05 -03:00
Yorik van Havre 4cde30c181 Arch: Applied fix to cyclic dependency problem to windows 2017-09-02 17:24:34 -03:00
Yorik van Havre 7af5b78bfd AddonManager: Inform which addons have updates available 2017-09-02 14:10:33 -03:00
Yorik van Havre 77d93089ae Merge pull request #962 from triplus/DraftSnapWhatsThis
WhatsThis support for Draft Snap toolbar
2017-09-02 13:44:35 -03:00
triplus 9409c0699b WhatsThis support for Draft Snap toolbar 2017-09-02 16:01:38 +02:00
wmayer c9957b8a98 Port to occ7.2:
+ use default constructor of BRepOffsetAPI_MakeOffsetShape since overloaded versions are deprecated
+ use default constructor of BRepOffsetAPI_MakeThickSolid since overloaded versions are deprecated
+ fix small bug in MeshVertex
2017-09-02 12:04:07 +02:00
Yorik van Havre 61c7ac7fdd Draft: WP Proxy now supports perspective camera too 2017-09-01 19:47:13 -03:00
wmayer fd5e7768dd Port to occ7.2:
+ replace use of StlMesh classes as they have been removed
2017-09-02 00:26:04 +02:00
Yorik van Havre 79d399e43e Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-09-01 16:20:25 -03:00
Yorik van Havre cc87706776 Addon manager - create Macro folder if not present 2017-09-01 16:20:17 -03:00
wmayer 949c86d364 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
Pablo Gil 5aa60a4d3b fixed typos kindly highlighted by @luzpaz 2017-09-01 11:25:02 -03:00
wmayer 5a0b0944c0 Port to occ7.2:
+ replace Quantity_Parameter with Standard_Real is it's marked deprecated
+ include NCollection_Vector as it's needed by STEPCAFControl_Writer
+ remove GC_MakeConicalSurface used for cone and distance as this was never implemented in any earlier occ version and has been removed now
2017-09-01 12:01:50 +02:00
wmayer d8347b1acf port smesh to occ7.2 2017-09-01 01:18:44 +02:00
wmayer 5d2b22ca28 improve whitespaces 2017-08-31 23:01:34 +02:00
Yorik van Havre fe3f671b81 Updated translation strings (and sent to crowdin) 2017-08-31 10:46:55 -03:00
Bernd Hahnebach 7f23886e81 FEM: mech result task panel, use the result tools stat def instead of an own method 2017-08-31 11:09:13 +02:00
Bernd Hahnebach cbe3054c70 FEM: command purge results, make it independent from ccx analysis tools 2017-08-31 11:09:13 +02:00
Bernd Hahnebach 2cc72df72f FEM: since result object does not depend on analysis mesh, make analysis tools independed from result object 2017-08-31 11:09:13 +02:00
Bernd Hahnebach d675f1d028 FEM: z88, fix some comment in result importer 2017-08-31 11:09:13 +02:00
Bernd Hahnebach 4096c8bbc9 FEM: code formating, get rid of tabs 2017-08-31 11:09:13 +02:00
luzpaz cb5047080a trivial typo fix 2017-08-31 11:09:13 +02:00
luzpaz e2cba9f1ce Path: typos 2017-08-31 11:05:48 +02:00
Yorik van Havre 69c7b35a67 Arch: Grid command 2017-08-30 23:11:47 -03:00
Kurt Kremitzki 6e7952ec67 PDN: Add several Hole tests 2017-08-30 10:41:55 -03:00
Kurt Kremitzki 44f163178a PDN: Add simple hole test 2017-08-30 10:41:55 -03:00
wwmayer 2751a3e847 Merge pull request #956 from luzpaz/more-crowdin-typos
Arch: typo fix
2017-08-29 15:28:32 +02:00
luzpaz 409f5186ca Arch: typo fix
continuation of #953
found today in https://crowdin.com/translate/freecad/6766/en-ja#6499525
2017-08-28 17:31:18 -04:00
wmayer a5bc70cca0 remove properties from transactions when being deleted 2017-08-28 21:20:17 +02:00
Markus Lampert 5219cb5b38 Different approach to determining the qt version. 2017-08-28 11:52:10 -03:00
Markus Lampert 353ebde7ab Reduced log level to info. 2017-08-28 11:52:10 -03:00
Markus Lampert d8eb9a31ca Fix Qt4/5 setResizeMode -> setSectionResizeMode 2017-08-28 11:52:10 -03:00
luzpaz 467ef55788 Misc. typos discovered via crowdin
should close several crowdin issues.
2017-08-28 11:50:33 -03:00
Peter Lama c0ad3fec63 Fix macOS Qt4 build
- Dereference qt plugin symlinks
- Remove qt postgresql plugin because of missing dependency
2017-08-28 11:47:44 -03:00
Pablo Gil e29915b59e Stylesheets: update to v.2.07
- several improvements and bugs fixed
- added Selector styles (by now it's a 3rd party plugin but for anyone that installs it, it will style the bar nicely)
- hide redundant info inside cells with links inside the Properties View
2017-08-28 11:42:28 -03:00
sliptonic 42945cd596 Path: remove obsolete operations
PathFaceProfile PathFacePocket are no longer necessary
2017-08-28 11:40:33 -03:00
sliptonic da836d183f Path: remove pathcompoundextended
non-functional
2017-08-28 11:40:33 -03:00
sliptonic a15421e9cc Path: gui cleanup 2017-08-28 11:40:33 -03:00
sliptonic a651609fe1 path: convert smoothiepost to use argparse 2017-08-28 11:40:33 -03:00
sliptonic 151cfda1a6 path: gui cleanup for copy related functions
remove compound
2017-08-28 11:40:33 -03:00
sliptonic 550d35fb05 Path: cleanup on operation copy 2017-08-28 11:40:33 -03:00
sliptonic 1efe5cfe7c Path: cleanup simplecopy
Now creates a 'custom' object with gcode property
2017-08-28 11:40:33 -03:00
sliptonic 694fb31df1 Path: Command to duplicate an operation.
Creates a copy of the currently selected operation in the same job
2017-08-28 11:40:33 -03:00
wmayer d93f9b1868 Fix crash in enum property due to index out of range 2017-08-28 12:55:19 +02:00
Yorik van Havre fccb5dbc87 Draft: New UI for the Scale tool 2017-08-25 16:40:49 -03:00
Markus Lampert 04390300cd More py3 compatibility, same root cause though. 2017-08-24 20:31:57 -07:00
Markus Lampert 0fff9d416d Fixed unit test for python3. 2017-08-24 20:31:57 -07:00
Markus Lampert e0ebe92d1c Added full unit test to make sure tool chain works correctly. 2017-08-24 20:31:57 -07:00
Markus Lampert f2483f2ff0 Added preambles option to fromShapes to prevent Path.Area from emmitting a preamble before every block of movement. 2017-08-24 20:31:57 -07:00
Markus Lampert 36284251cb Fixed merge issue. 2017-08-24 20:31:57 -07:00
Markus Lampert a076179cf0 Start of dogbone unit tests. 2017-08-24 20:31:57 -07:00
Markus Lampert a9867b4fdc Removed redundant import. 2017-08-24 20:31:57 -07:00
Markus Lampert 21502ce1f1 Converted PathProfile to be based on PathAreaOp. 2017-08-24 20:31:57 -07:00
Yorik van Havre 12d411ac59 Draft: Fixed line to sketch conversion 2017-08-24 21:12:59 -03:00
Yorik van Havre 249d130051 Arch: Changed order of Rebar tools to match the wiki 2017-08-24 17:40:23 -03:00
wmayer 7321fa6b7e don't filter point cloud when estimating normals to avoid mismatch of number of points and normals 2017-08-24 13:05:21 +02:00
wmayer 5996ebcf61 load organized point clouds in pcd files without properties 2017-08-23 17:23:00 +02:00
Bernd Hahnebach ace619c096 FEM: z88, fix tet10 import and export node order 2017-08-22 18:23:58 +02:00
Bernd Hahnebach 4efcad7751 FEM: z88 disp reader, adapt new result mesh creation for results objects 2017-08-22 18:23:50 +02:00
Markus Lampert 88e2b6de9a Reduced logging for pocket ops again. 2017-08-22 10:16:58 -03:00
Markus Lampert ab2e516b35 Refactored pocket and facing to use the same base class; added min travel and keep tool down to the interface - latter one is hidden since it currently doesn't seem to work. 2017-08-22 10:16:58 -03:00
Markus Lampert 8c70c3abcd Fixed retraction of tool when profiling multiple holes. 2017-08-22 10:16:58 -03:00
Markus Lampert 90952b1c5d Added docstrings to Gui classes. 2017-08-22 10:16:58 -03:00
Markus Lampert 1f1e887103 Fixed error in circular hole when created with invalid features. Not sure how they get through but they should not cause an exception. 2017-08-22 10:16:58 -03:00
Markus Lampert 9f0ba77a54 Added doc strings to operations. 2017-08-22 10:16:58 -03:00
Markus Lampert a59e1004c4 Replaced BaseGeometry 'Update' with 'Clear', since update didn't actually do anything and 3 buttons is consistent with the BaseLocation dialog. 2017-08-22 10:16:58 -03:00
Markus Lampert be89ab0ac2 Gate Locations processing on feature enablement. 2017-08-22 10:16:58 -03:00
Markus Lampert b7d62e4d6f Moved GetPoint dialog to replace the add+remove+edit section and leave the list of locations visible - much better user experience 2017-08-22 10:16:58 -03:00
Markus Lampert 1f3a1d7c81 Added option to snapper to hode the snapbar once it's done 2017-08-22 10:16:58 -03:00
Markus Lampert 2642e668c5 Added location points for drilling to base framework. 2017-08-22 10:16:58 -03:00
Markus Lampert b92d396753 Enabled drilling of arcs. 2017-08-22 10:16:58 -03:00
Markus Lampert 81f62d60fe Reduced PathAreaOp log level to info. 2017-08-22 10:16:58 -03:00
Markus Lampert a93bda2805 Fixed input field update again. 2017-08-22 10:16:58 -03:00
Markus Lampert 1858793512 Fixed typo. 2017-08-22 10:16:58 -03:00
Markus Lampert c94383b776 Fixed typo and wrong signal generation for Depths page. 2017-08-22 10:16:58 -03:00
Markus Lampert 7f1caafc41 Fix PathJob losing its base. 2017-08-22 10:16:58 -03:00
Markus Lampert d9272777a0 Fixed drilling tip length issue. 2017-08-22 10:16:58 -03:00
Markus Lampert 12d23df2ac Removed remaining old accel keys and fixed PathSanity object references. 2017-08-22 10:16:58 -03:00
Markus Lampert aec6cfe239 Only set properties if they have actually changed (the onChanged/updateData callbacks are called synchronously). 2017-08-22 10:16:58 -03:00
Markus Lampert e7e7ef20af Rearranged tab orders for pages. 2017-08-22 10:16:58 -03:00
Markus Lampert 43c12d9d6f Added tooltips to all dialogs, except for drilling. 2017-08-22 10:16:58 -03:00
Markus Lampert 8268d7fb88 Removed nc directory and adapter - again. 2017-08-22 10:16:58 -03:00
Markus Lampert 0d529c05d5 Removed obsolete ui files. 2017-08-22 10:16:58 -03:00
Markus Lampert ed6f16d623 Adding missing engraving ui files. 2017-08-22 10:16:58 -03:00
Markus Lampert 5190839006 Cleaning up some unused functions. 2017-08-22 10:16:58 -03:00
Markus Lampert 0c89193d9f Refactored Engrave to be based on PathOp - added support for StepDown, default behaviour is a single step. 2017-08-22 10:16:58 -03:00
Markus Lampert a32f527ac5 Added support for baseobject into PathOp, used by almost all ops anyway. 2017-08-22 10:16:58 -03:00
Markus Lampert 6fcff10b9b Fixed markdown 2017-08-22 10:16:58 -03:00
Markus Lampert 1664e65135 Restored icons for profile ops; cleaned up accel keys. 2017-08-22 10:16:58 -03:00
Markus Lampert bc53677dca Rmoved empty implementation of PathFromShape 2017-08-22 10:16:58 -03:00
Markus Lampert 21f98304be Rebased Helix op on PathOp framework, also it's UI. 2017-08-22 10:16:58 -03:00
Markus Lampert bddcb28424 Split base hole processing into separate class. 2017-08-22 10:16:58 -03:00
Markus Lampert 26b9c67da6 Split DrillingGui into its own file and base it off of PathOpGui. 2017-08-22 10:16:58 -03:00
Markus Lampert f32ef59463 Renamed PathAreaOpGui to PathOpGui - there's nothing Area specific in there. 2017-08-22 10:16:58 -03:00
Markus Lampert 2b83f12047 Added ability to overwrite standard pages. 2017-08-22 10:16:58 -03:00
Markus Lampert 564522f60d Consolidated DepthsPage into single class. 2017-08-22 10:16:58 -03:00
Markus Lampert f0c69cce02 Refactored PathDrilling operation using PathOp. 2017-08-22 10:16:58 -03:00
Markus Lampert 0d4bc71a65 Moved base functionality into PathOp and renamed AreaOp interface to areaOp... 2017-08-22 10:16:58 -03:00
Markus Lampert 19f4e8a562 Fixed Apply button misbehaviour for drilling. 2017-08-22 10:16:58 -03:00
Markus Lampert 1c4dd19590 Removed Names and added support for ArchPanels again. 2017-08-22 10:16:58 -03:00
Markus Lampert 4140bdfd06 Removed Positions and replaced Enabled with Disabled. 2017-08-22 10:16:58 -03:00
Markus Lampert 68af1f6df3 Eliminated Diameter as a property. 2017-08-22 10:16:57 -03:00
Markus Lampert 4e8d0cbea3 Converted MillFace to be based on PathAreaop. 2017-08-22 10:16:57 -03:00
Markus Lampert 6b8960d125 Renamed PathContour to PathProfileContour for consistency. 2017-08-22 10:16:57 -03:00
Markus Lampert 73b15db3e7 Consolidated UI for all profile ops. 2017-08-22 10:16:57 -03:00
Markus Lampert 99042ff626 Explicit log messages if job cannot be found or it doesn't have a base. 2017-08-22 10:16:57 -03:00
Markus Lampert 100fbe7ace Converted ProfileEdges to based off PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert 6bd53273b0 Renamed ui for ProfileFaces to match implementation names. 2017-08-22 10:16:57 -03:00
Markus Lampert 3c3c30259e Extracted common profile functionality into base class. 2017-08-22 10:16:57 -03:00
Markus Lampert 1e76c99250 Renamed PathProfile to PathProfileFaces for consistency; moved common depth calculation for ops with BaseGeometry into PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert 4c5ba38404 Refactored Commmand and ViewProvider to be data driven and moved imlementation into PathAreaOpGui. 2017-08-22 10:16:57 -03:00
Markus Lampert 50711c1ba4 Converted PathProfile to be based on PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert d07319e4d2 Fixed issues with BaseGeometry UI processing and extended interface to support multiple shapes. 2017-08-22 10:16:57 -03:00
Markus Lampert 83e5c8098b Moved pocket specific logic back into PathPocket. 2017-08-22 10:16:57 -03:00
Markus Lampert a742c1120e Split pocket gui into its own file and based on PathAreaOpGui. 2017-08-22 10:16:57 -03:00
Markus Lampert 2884d3ac60 Moved PathPocket to use PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert cfd2d4ca58 Cleaned up import statements. 2017-08-22 10:16:57 -03:00
Markus Lampert 442765cbb9 Corrected selection index. 2017-08-22 10:16:57 -03:00
Markus Lampert 51f0050b93 Updating cmake files. 2017-08-22 10:16:57 -03:00
Markus Lampert f08454d01b Added alternate TaskPanel layouts, for fun. 2017-08-22 10:16:57 -03:00
Markus Lampert 9ef7a941fe Added Depths page. 2017-08-22 10:16:57 -03:00
Markus Lampert 0bb1c3b722 First cut on splitting GUI into generic part and op specifics. 2017-08-22 10:16:57 -03:00
Markus Lampert 8c81757796 Split Contour UI into it's own implementation file. 2017-08-22 10:16:57 -03:00
Markus Lampert 42f0d71d4a Split Contour op into generic PathArea part and contour specifics. 2017-08-22 10:16:57 -03:00
Markus Lampert bb3e69fdd9 Fixed typo. 2017-08-22 10:16:57 -03:00
luzpaz f5979d3a40 Draft: grammer fix 2017-08-22 10:09:46 +02:00
Markus Lampert 6d194a4bda Use argparse for post processor argument parsing and added preamble and postamble as arguments. 2017-08-21 14:22:08 -07:00
wmayer 012cffefe8 implement slicing for VectorPy class 2017-08-21 15:16:03 +02:00
wmayer c4c1034e4e Py3: replace sq_slice and sq_ass_slice with mp_subscript and mp_ass_subscript because they are not used any more in Py3 2017-08-21 13:33:07 +02:00
Markus Lampert 0e81583e3f Set object's Restore flag while restoring the Path property. 2017-08-20 17:20:55 -07:00
wmayer 533a78026a add method toFormat to get number format from character 2017-08-20 18:50:13 +02:00
Oliver Oxtoby 858df142e2 Base: Make Quantity parser accept 1/[unit] as [unit]^-1 2017-08-20 16:53:57 +02:00
Oliver Oxtoby 1165d3c6e0 Base: Fixes in MKS units schema
- Change default unit for Length, if out of range of scaling, to m
- Add density scaling as in Internal schema (avoids density always displaying in kg/mm^3)
- Change velocity to m/s rather than mm/s
2017-08-20 16:50:26 +02:00
Oliver Oxtoby 38fa712032 Base: Add DynamicViscosity and SpecificEnergy units 2017-08-20 16:50:11 +02:00
Oliver Oxtoby 21fd2743a8 Base: Add properties to InputField for setting Quantity from Python
These additions are designed to allow easier interaction with the
InputField box from Python. Particularly, the ability to put the
format into scientific notation to prevent truncation of values.
There is also a need for a way to input a new value into the
text box such that it is formatted correctly.
- 'quantityString' property - allows to check, set, format and
display the underlying value. The only way to achieve this
currently from Python is to set the widget text, then hide and
re-show it to format the value.
- 'format' property: set to 'f' (fixed - default),
'e' (scientific) or 'g' (general - recommended)
to set the number format from Python or UI file
- 'precision' property: as above, number of decimals/significant
figures if it is desired to override the global default
2017-08-20 16:50:01 +02:00
Markus Lampert 71130d09ed Do not overwrite tooltips for InputFields. 2017-08-20 10:22:33 +02:00
wmayer ca4488f438 unit test for duplicate links in a group 2017-08-19 19:36:40 +02:00
Zheng, Lei fdce472b21 App::Document: fix breakDependency
Fixed breakDependency to handle repetitive entries inside
PropertyLinkList
2017-08-19 18:56:24 +02:00
Abdullah Tahiri cea242d7fe Refactoring Sketcher execute() to use solve() 2017-08-19 17:14:28 +02:00
Abdullah Tahiri 3d4920e4e7 Sketcher: Extension to report redundancy, Standardisation of return codes for solve, documentation, initialisation of solver information
========================================================================================================================================

Motivation:
- Improve notifications of redundancy in the solver (Bonus effect, now the sketcher refuses to add a redundant datum constraint)
- Initialize all solver information, so that it is accurate also in corner cases.
- Provide different return codes for the different solver status/conflicting/redundant/overconstraint (also looking forward for a future refactoring)

Impact:
- Python users that are currently using the return code of solve() for detecting overconstraint/conflicting/solver error, if any, might have to adapt their scripts.
Those who are just checking for zero/non-zero will have to do nothing.
2017-08-19 17:14:28 +02:00
Abdullah Tahiri f974fec2bc Clarify solver situation at the end of of ViewProvider::OnDelete 2017-08-19 17:14:27 +02:00
Abdullah Tahiri 48f76bd0af Fixing unreported bug behaving like #2710 without AutoUpdate under conflicting constraints + improving documentation 2017-08-19 17:14:27 +02:00
Abdullah Tahiri aa43197976 Refactoring solve+recompute and reinstating initial solve+recompute behaviour 2017-08-19 17:14:27 +02:00
wmayer 2004544e57 fixes #0002710: Freecad doesn't show sketch elements added when overconstrained
issue #0002836: Crash in sketcher
2017-08-19 17:14:27 +02:00
wmayer 3d86498a43 when drawing constraint icon handle the case when view provider of sketch is not in sync with geometry 2017-08-19 17:14:27 +02:00
Yorik van Havre aa5db283cf Arch: Fixed orienation bug in structure 2017-08-19 11:56:08 -03:00
wmayer 1de1058811 compile Path module with boost < 1.55 2017-08-19 14:30:55 +02:00
probonopd a4b7ade4be Make it pass desktop-file-validate
Reference: https://travis-ci.org/AppImage/AppImageHub/builds/266118980#L546-L550
2017-08-19 13:52:00 +02:00
Markus Lampert f234968191 Turned tracking off for profile. 2017-08-19 13:30:03 +02:00
Markus Lampert a8ea8256bb Reduced ramp entry log level to info. 2017-08-19 13:30:03 +02:00
Markus Lampert 43c7406878 Removed automatic parameter emmission into output file from phillips post processor. 2017-08-19 13:30:03 +02:00
Markus Lampert 51bc693f52 Made comments real openbsp comments, instead of relying on the g-code compatibility. 2017-08-19 13:30:03 +02:00
Markus Lampert 2f1d519a6f Changed speed setting to take opensbp multiple speed rates into account - and only issues a new setting if there are any changes. From the documentation it seems we ought to use VS instead of JS and MS if we don't want the ramp-down-ramp-up procedure involved with FS and MS. Given that Path only changes these settings on a tool change it's probably OK for now. 2017-08-19 13:30:03 +02:00
Markus Lampert fd54f7209d Fixed xy vs. z speed order for MS and JS command. 2017-08-19 13:30:03 +02:00
Markus Lampert 3b097a360f Added support for comments to opensbp 2017-08-19 13:30:03 +02:00
Markus Lampert 42e9cbcc4a Don't create step movements for vertically diagonal moves. 2017-08-19 13:30:03 +02:00
wmayer 7fbc80c11e fix crash when moving a free sketch to a body 2017-08-19 13:20:53 +02:00
Yorik van Havre 0942c150e9 Arch: Renamed Rebar -> Custom Rebar 2017-08-18 20:57:43 -03:00
Yorik van Havre 9a90d10292 Arch: Don't remove splitter if removing splitter fails 2017-08-18 12:57:22 -03:00
Yorik van Havre b61ba45a3e AddonManager: don't close if a thread is still running 2017-08-18 11:52:31 -03:00
Abdullah Tahiri 9251691a06 CommandSketcherBSpline Increaseknot extended to comply with the convention: if not rethrowing, must report 2017-08-17 22:54:19 +02:00
wmayer 7a95962037 fixes of PR 765
remove QT_TRANSLATE_NOOP because of compiler warnings
mark _isReported as mutable to avoid removing const keyword from ReportException()
improve whitespaces
2017-08-17 22:50:01 +02:00
Abdullah Tahiri 04c09b3016 Generator script modified to first report and then ask for the python representation, so as keep track of the reported status 2017-08-17 22:47:14 +02:00
Abdullah Tahiri 572bd0ae01 Exception extension to only report once 2017-08-17 22:45:40 +02:00
Abdullah Tahiri 4ad3f9993d SketchObject Modifyknotmultiplicity written to support translatable exception messages 2017-08-17 22:45:22 +02:00
Abdullah Tahiri 3c630dc319 Exceptions: translation support 2017-08-17 22:44:11 +02:00
Yorik van Havre a5080329d8 Draft: draft2sketch now (partially) supports bezcurves and bsplines (no constraints yet) 2017-08-16 19:25:27 -03:00
Yorik van Havre 0adf582b1c Arch: Fixed cutplane bug - fixes #3082 2017-08-16 18:31:17 -03:00
Yorik van Havre aa82216411 Draft: Fixed wrong arc projections in TechDraw 2017-08-16 17:52:56 -03:00
Yorik van Havre 4e4da960a0 Arch: Fixed wrong IFC extrusion value 2017-08-16 16:42:51 -03:00
wmayer 26f8cb6f88 in selection view do not extract element names from item text but set and get user data 2017-08-15 19:51:41 +02:00
wmayer 7aec98ffb6 add methods to get normal and curvature information from surfaces 2017-08-14 12:24:42 +02:00
Bernd Hahnebach ddcd7a4c99 FEM: gmsh mesh tool, fix geo tolerance value 2017-08-14 09:50:43 +02:00
Markus Lampert 576bfd2fa8 Fixed tool tip length compensation and added safeguards against invalid cutting edge angles. 2017-08-13 16:21:22 -07:00
kogolbok 3f0e8613ac Path: Drilling. Fix drillbit tip compensation. 2017-08-13 19:49:26 +03:00
wmayer 49d75f88be fix warning 2017-08-13 16:58:06 +02:00
wmayer 892e78d445 extend Python api of units:
+ get list of all available schemas
+ get currently set schema
+ translate a quantity to a given schema
2017-08-13 16:55:00 +02:00
triplus 2cd535e015 WhatsThis support for Python based commands
Enables What's This command for Python based FreeCAD commands.

Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=15&t=23865
2017-08-13 11:20:25 +02:00
wmayer bb9b5ba38e in PropertyLinkList replace assert with C++ exception to avoid a crash 2017-08-13 11:04:18 +02:00
Yorik van Havre d5b554d2b6 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-08-12 12:39:24 -03:00
Yorik van Havre 8237b1c01f Arch: Fixed small bug in arch panel 2017-08-12 12:39:08 -03:00
wmayer 371cb0fa2a fix compiler warning 2017-08-12 17:26:11 +02:00
Yorik van Havre a54b80ba6e Draft: Dont hide Start and End properties in Draft wires 2017-08-12 12:18:22 -03:00
Yorik van Havre 42b39b59f9 AddonManager: If using git, clicking an installed WB now says if an update is available 2017-08-12 12:08:56 -03:00
Kurt Kremitzki 7c87549e4b Fix return type 2017-08-12 14:48:57 +02:00
Kurt Kremitzki 2e92f301d6 PDN: Fix Loft claimChildren to only grab sketches 2017-08-12 14:48:40 +02:00
Kurt Kremitzki 0d3f5b114c PDN: Fix Pipe claimChildren to only grab sketches 2017-08-12 14:48:14 +02:00
Kurt Kremitzki b6abbeb9cc PDN: Automatically activate body if document has only 1 2017-08-12 14:45:28 +02:00
Kurt Kremitzki d29bed15d1 PDN: Add catch statements for Revolution perpendicular axis 2017-08-12 14:43:45 +02:00
Kurt Kremitzki fdf66b3e88 PDN: Check both parallel and antiparallel cases before trying Revolve 2017-08-12 14:09:39 +02:00
pekkaroi 2a6205206e Path: possibility to add custom drill point 2017-08-12 13:46:25 +02:00
pekkaroi 40b1093bdb PATH: Clarify comment in PathDrilling 2017-08-12 13:46:25 +02:00
pekkaroi 0dce2394b4 PATH: add arc edges to drillables in PathDrilling 2017-08-12 13:46:25 +02:00
joha2 0d471dbed8 FEM: Fenics: issue #3038: fixes missing isatty() function in Python wrapper classes for stderr and stdout 2017-08-12 13:32:27 +02:00
Bernd Hahnebach 2826bf0734 Arch, IFC import, code formating 2017-08-12 13:22:45 +02:00
Bernd Hahnebach c3cdf6b228 Arch: IFC import, add pref to view fit while importing 2017-08-12 13:22:45 +02:00
Bernd Hahnebach 35b574901c FEM: gmsh mesh object, make the geometry tolerance unit less 2017-08-12 13:22:45 +02:00
Bernd Hahnebach 6fa4fb4c0a FEM: gmsh group meshing, add edges and vertexes 2017-08-12 13:22:45 +02:00
Bernd Hahnebach 2044eba62d FEM: code formating, flake8 on new Fenics code 2017-08-12 13:22:45 +02:00
joha2 fa05b1b068 FEM: Fenics mesh: added mesh group task panel for xdmf export, flake8, improves issue #3038 2017-08-12 13:22:45 +02:00
joha2 7161b98a79 FEM: Fenics mesh: flake8 restored 2017-08-12 13:22:45 +02:00
joha2 8da914fb70 FEM: Fenics mesh: improved 1D and 2D export 2017-08-12 13:22:45 +02:00
joha2 0456928fd1 FEM: Fenics mesh: writer XDMF, removed write_volumes function and substituted by write_codim function 2017-08-12 13:22:44 +02:00
joha2 b611cfc8ed FEM: Fenics mesh: export and marking, fixed flake8 issues 2017-08-12 13:22:44 +02:00
joha2 f95ca7185c FEM: Fenics mesh: added mesh group marking in xdmf file 2017-08-12 13:22:44 +02:00
joha2 bd4bc9c257 FEM: Fenics mesh: some small improvements 2017-08-12 13:22:44 +02:00
joha2 0b98673c7c FEM: Fenics mesh: implemented generalized cell writeout function with co-dimension parameter 2017-08-12 13:22:44 +02:00
joha2 785d660dd7 FEM: Fenics xdmf: added writeout of gmsh groups as cell functions 2017-08-12 13:22:44 +02:00
Yorik van Havre d4f59e173a Arch: Fixed load error in console mode 2017-08-11 21:33:33 -03:00
wmayer d84c2d3544 drag and drop for compound objects 2017-08-11 12:53:35 +02:00
wmayer 24bdf806e2 for fillet&chamfer copy transparency from base object 2017-08-11 11:56:48 +02:00
wmayer d896d11fa4 always update colors after updating shape to get rid of previously set transparency 2017-08-11 10:26:54 +02:00
schnebeck 172cbcd775 job selector for a tool shows not the job label but the job name 2017-08-10 20:53:11 +02:00
wmayer 8203a35a0f select all faces in shape builder if this option is activated 2017-08-10 19:10:07 +02:00
Yorik van Havre 6c4bdf24df Arch: Better tangent calculation fo rebar profile 2017-08-09 14:59:21 -03:00
Yorik van Havre bcff2ab97c TechDraw: DraftView now renders Arch Rebars as wireframes 2017-08-09 10:27:45 -03:00
Yorik van Havre e1848f2eca Arch: Allow to build windows on any shape that contains wires 2017-08-08 20:16:06 -03:00
triplus 8d71bfba72 Complete workbench dependecies
Complete workbench doesn't require any special dependencies anymore.
2017-08-08 18:42:02 -03:00
Joseph Coffland d930184b57 Add support for exporting part mesh to JSON 2017-08-08 18:34:26 -03:00
Markus Lampert 6f232720b6 Fixed ToolController creation when there are multiple jobs. 2017-08-08 18:31:01 -03:00
Yorik van Havre 46ff910e74 Arch: fixed normal direction bug in structures 2017-08-08 18:30:26 -03:00
Yorik van Havre 673da2ba9a Merge pull request #918 from triplus/PDN_AddSub_Names
PDN - what's this and command names improvements
2017-08-07 21:40:01 -03:00
triplus bab75bbcb7 PDN - what's this and command names improvements 2017-08-06 20:47:09 +02:00
Yorik van Havre 6b05302c2e Merge pull request #915 from berndhahnebach/bhbdev090
FEM: add unit test and small fixes
2017-08-04 13:57:44 -03:00
Bernd Hahnebach 9ea5d9aef4 FEM: constraint self weight view provider, delete display modes
- the new constraint python includes the display modes already
- constraint self weight is retrieved from this new constraint python
- thus the display modes can be removed from the view provider
2017-08-04 07:07:00 +02:00
Markus Hovorka c623fc9a4b FEM: Use ConstraintPython for SelfWeight 2017-08-04 06:57:12 +02:00
Markus Hovorka ef85389cbc FEM: add ConstraintPython object type
Constraints implemented in python can use this object as their base.
That makes it easier to identify them as constraint objects.
2017-08-04 06:57:12 +02:00
Bernd Hahnebach b7e8348e85 FEM: unit tests, import all FEM python modules 2017-08-04 06:57:12 +02:00
Bernd Hahnebach 5cd503f624 FEM: py3, proper import Units module 2017-08-04 06:57:12 +02:00
Bernd Hahnebach 347febdbd0 FEM: code formating, flake8 2017-08-04 06:57:12 +02:00
Yorik van Havre b7110d0dfe AddonManager: Allow to specify dependencies in addons are either Part or PartWorkbench 2017-08-03 11:37:47 -03:00
wmayer 3dd1c9fb51 add method to get ccx version and inform user in case of problems 2017-08-02 23:59:41 +02:00
wmayer 46aab48e6a restore cursor when loading results file raises an exception 2017-08-02 21:16:10 +02:00
Bernd Hahnebach e038c1c070 FEM: example files, adapt them to the new result mesh object 2017-08-02 12:45:16 +02:00
Bernd Hahnebach cdc526b50f FEM: frd, vtk and Z88 result import, do not create an analysis object on import of lonley results 2017-08-02 12:45:15 +02:00
Bernd Hahnebach 3eb44c6be2 FEM: mechanical result object, it does not depend on an active analysis anymore 2017-08-02 12:45:15 +02:00
Bernd Hahnebach 3cc0a8f8e1 FEM: mesh result object, make use of it 2017-08-02 12:45:15 +02:00
Bernd Hahnebach 193f96771a FEM: mesh result object, make it child of mechanical result 2017-08-02 12:45:15 +02:00
Bernd Hahnebach 265d10ca80 FEM: mesh result object, add icon 2017-08-02 12:45:15 +02:00
Bernd Hahnebach 6d2fd22778 FEM: mesh result object, implement new object 2017-08-02 12:45:15 +02:00
Bernd Hahnebach a28ffd64bc FEM: code formating, flake8 2017-08-02 12:45:15 +02:00
makkemal 8341e0ea4a FEM: 3D beam/shell output preferences
FEM 3D Beam shell output ui update

FEM: 3d Beam/Shell output ui variables added
2017-08-02 12:45:15 +02:00
Bernd Hahnebach 62bbda819b FEM: set mesh color, use proper return values for python API 2017-08-02 12:45:15 +02:00
Bernd Hahnebach a644ba4bf1 FEM: Z88 result impoort, small improvements 2017-08-02 12:45:15 +02:00
Bernd Hahnebach 49a673daa6 FEM: Fenics and Z88 mesh import, add empty seg3 dict on return value 2017-08-02 12:45:15 +02:00
Bernd Hahnebach dbd1619a20 FEM: code formating, better readable return values 2017-08-02 12:45:15 +02:00
Bernd Hahnebach 4636119084 FEM: gmsh mesh object, some better comment 2017-08-02 12:45:15 +02:00
Bernd Hahnebach 317aa2dfb1 FEM: make python make def of netgen mesh object fit in FEM name sheme 2017-08-02 12:45:14 +02:00
Bernd Hahnebach 59a8f18f93 FEM: code formating, flake8 in new boudary layer code 2017-08-02 06:49:33 +02:00
qingfengxia d0e15f5173 Fem solve bondary layer meshing issue #3111 2017-08-01 14:12:40 +02:00
qingfengxia 1c9278185d FEM: add BoundaryLayer support into write_geo() of FemGmshTools.py 2017-08-01 14:12:40 +02:00
qingfengxia 94f9a397f4 FEM: add FemMeshBoundaryLayer related py files to CMakefiles 2017-08-01 14:12:40 +02:00
qingfengxia 6b7ec3d85a FEM: add FemMeshBoundaryLayer Command and icon file 2017-08-01 14:12:40 +02:00
qingfengxia 457a87040a FEM: add FemMeshBoundaryLayer obj and gui objects 2017-08-01 14:12:40 +02:00
qingfengxia c786fbb00c FEM: add MeshBoundaryLayerList property in FemMeshGmsh obj 2017-08-01 14:12:40 +02:00
Peter Lama daee73a59f Remove obsolete files 2017-08-01 13:37:11 +02:00
wmayer 034520e02f improve whitespaces 2017-08-01 08:30:22 +02:00
wwmayer 4056eb9b35 Merge pull request #910 from vejmarie/fix_step_placement
Fix Placement and Color export within Hierarchical Step exporter of s…
2017-08-01 08:02:48 +02:00
Jean-Marie Verdun d75c33f123 Fix Placement and Color export within Hierarchical Step exporter of single shapes 2017-07-31 22:33:09 +02:00
Yorik van Havre ea708c14b0 Arch: Added IFC pref option to export objects with full parametric properties 2017-07-31 16:47:40 -03:00
Jean-Marie Verdun 1220eb00b4 Export single STEP object with absolute coordinate instead of (0,0,0) as default origin 2017-07-31 16:45:24 -03:00
Markus Lampert dc84141477 Fixed wire transformation for scales other than 1. 2017-07-31 16:40:46 -03:00
Yorik van Havre 820d895790 Merge pull request #906 from luzpaz/shipwb-fix
ShipWB: unicode issue 2609 (partial fix)
2017-07-31 16:38:31 -03:00
luzpaz 7f4d089715 ShipWB: unicode issue 2609 (partial fix)
patch to fix (patially) issue 2609 submitted by a.palazzi in https://forum.freecadweb.org/viewtopic.php?f=10&t=19813#p184360
2017-07-29 17:42:06 -04:00
Markus Lampert 0544934070 Fixed merge issue. 2017-07-29 11:58:43 +02:00
Markus Lampert 0d00b0ef7e Fixed up onDelete for dogbone and ramp entry as well. 2017-07-29 11:58:43 +02:00
Markus Lampert 1630d497f6 Add object back to the job it came from on tag dressup deletion - without requiring the job selection dialog. 2017-07-29 11:58:43 +02:00
Markus Lampert 700a5c1faf Enable dressup menus also on top of other dressups. 2017-07-29 11:58:43 +02:00
Markus Lampert 53a717b369 Moved existing holding tag dressup to use the common UI implementation. 2017-07-29 11:58:43 +02:00
Markus Lampert 842ea49a64 Prevent segfault if vertex map isn't set. 2017-07-29 11:58:43 +02:00
Markus Lampert c5e5d5c3e9 Some refactoring 2017-07-29 11:58:43 +02:00
Markus Lampert ccecab9fde Decoupled UI from model - can add and delete tags without recomputation. 2017-07-29 11:58:43 +02:00
Markus Lampert 0e3cbe360d Cleaned up dressup creation. 2017-07-29 11:58:43 +02:00
Markus Lampert 900e9e0dcf Start new implementation of holding tags, just called Tag. 2017-07-29 11:58:43 +02:00
Markus Lampert 92efb41844 Extracted preferences for holding tags into their own file. 2017-07-29 11:58:43 +02:00
wmayer 8659302150 fix typo introduced with pr702 2017-07-28 20:58:20 +02:00
Markus Lampert 2ac4d134eb Process holes before the perimeter for Arch.PanelSheets 2017-07-28 10:07:58 -03:00
Yorik van Havre 2f367e6405 Merge pull request #904 from Karsten-Merkle/master
ArchWindow python3 issues
2017-07-28 10:07:13 -03:00
Karsten Merkle d33e742311 python3 issues 2017-07-27 23:32:38 +02:00
Markus Lampert ab596b0495 Fix PathJob creation through the console. 2017-07-27 19:28:29 +02:00
wmayer c22320abe1 fix possible segfault in modelRefine 2017-07-27 15:13:49 +02:00
wmayer 7cc9876dfb fix possible segfault in modelRefine 2017-07-27 15:08:14 +02:00
wmayer df9c81252f fix build failure 2017-07-27 11:06:06 +02:00
Eivind Kvedalen 04b176ebfb PartDesign Hole Feature implemented.
Minor contributions from Mateusz Skowroński <skowri@gmail.com>
2017-07-26 23:39:00 +02:00
Eivind Kvedalen 04065564ae Make PartDesign::ProfileBased::onChanged(...) protected (not private). 2017-07-26 23:39:00 +02:00
Eivind Kvedalen f114cc8898 ExpressionBinding/QuantitySpinBox: skip updating if bound to a read-only property. 2017-07-26 23:39:00 +02:00
Kurt Kremitzki 394c9f12c0 PDN: Update ellipsoid primitive test for OCC < 7 2017-07-26 23:16:12 +02:00
Kurt Kremitzki 7f34faa8b8 PDN: Make Loft and Pipe claim children correctly 2017-07-26 23:16:12 +02:00
Kurt Kremitzki 373d81b2bc PDN: Make Loft hide its sections when task dialog accepted 2017-07-26 23:16:12 +02:00
Kurt Kremitzki c62a773cee PDN: Add tests for Boolean, MultiTransform, Primitives, Shapebinder 2017-07-26 23:16:12 +02:00
luzpaz e63387f283 Path: typo fix
[skip ci]
2017-07-26 23:12:01 +02:00
wmayer 6b5126648d improve whitespaces 2017-07-26 23:08:44 +02:00
wmayer 99e3f95fff + add method trim() to Part.Curve 2017-07-26 22:59:39 +02:00
Jean-Marie Verdun 7b066fe334 Fix missing file during installation (Import_rc.py) 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun 3a0c4dbfea Fix a stupid bug due to a bad copy/paste into the hierarchical STEP function
which was resetting the XCAF doc just before writing it, ending up to write empty files
2017-07-26 16:16:06 -03:00
Jean-Marie Verdun 2cd24b0196 Add AP214/203 support to the hierarchical STEP Importer/Exporter 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun 7f80f794e0 Fix Import_rc.py path 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun 5ef87acb70 Enable the ReadShapeCompoundMode into the C++ code 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun b81f88d7a2 Add parameter initialization within Import Init.py and enhance the understand
of the parameters behavior into the UI
2017-07-26 16:16:06 -03:00
Jean-Marie Verdun 9979fc4466 Add initial support for Import hierarchical STEP in preferences menu 2017-07-26 16:16:06 -03:00
Yorik van Havre 7a9e6361e1 Arch Added a Flip property to roofs to fix inverted direction 2017-07-26 13:29:34 -03:00
Yorik van Havre 028e54536c Draft: Fixed rotation of Points 2017-07-26 12:59:51 -03:00
Yorik van Havre 352accabd9 Draft: Fixed Move & Rotate continue mode 2017-07-26 12:51:52 -03:00
wmayer 6df816170a fix makeGeometryCurvePy to return a LinePy for lines instead of a GeometryCurvePy 2017-07-26 10:08:01 +02:00
Yorik van Havre 37258b918d Arch: Fixed crash in wall with height=0 2017-07-25 15:07:11 -03:00
Yorik van Havre 7fc063508f Draft: Copy groups too when moving/rotating/copying groups 2017-07-25 15:01:58 -03:00
luzpaz 73250f0f12 App: typo fix
doxy and code comment fix
2017-07-25 10:53:25 -03:00
wmayer 183eee1d75 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-07-25 01:07:25 +02:00
wmayer a51b2f6ce7 fix Py3 issue 2017-07-25 01:07:09 +02:00
luzpaz 81bdb1f276 Sketcher: typo fix 2017-07-24 18:21:17 -03:00
Yorik van Havre 54a8b922b7 Arch: Added Centerline display mode to rebars 2017-07-24 17:54:21 -03:00
Yorik van Havre b26a943c8f Arch: Fixed Space Area errors and added boundaries edition in task panel - fixes #3112 2017-07-24 17:53:59 -03:00
wmayer e20975c2ef add attribute to control format of a quantity via Python 2017-07-24 22:47:10 +02:00
wmayer 7ab8a9996d fixes #0003137: Unit UserString wrong 2017-07-24 16:52:03 +02:00
Yorik van Havre 80ad5737f0 Fixed typo - crowdin issue 2017-07-24 11:02:52 -03:00
wmayer 9ff76fc813 try to fix tolerance if shape is broken after fillet/chamfer operation 2017-07-24 12:29:46 +02:00
Eivind Kvedalen 55e0e6c00d Part::Mirroring: This fixes issue #2671 by changing the type of Base and Normal to PropertyPosition and PropertyDirection. These two classes handles units better. 2017-07-23 22:14:05 +02:00
Eivind Kvedalen 054a3da107 Part::Thickness: This fixes issue #2876 by changing property type for value to include a unit. 2017-07-23 22:14:05 +02:00
wmayer 20503f3d80 rename handleMissingProperty to handleChangedPropertyName 2017-07-23 22:14:05 +02:00
Eivind Kvedalen a2cdd52019 Added PropertyContainer::handleMissingProperty(...) and PropertyContainer::handleChangedPropertyType(...).
These are helper functions to simplify migrating older files.
2017-07-23 22:14:05 +02:00
Eivind Kvedalen f8a76066da Added PropertyPosition and PropertyDirection classes. Basically PropertyVector classes with units. 2017-07-23 22:14:05 +02:00
Eivind Kvedalen b6d733d37b Added PropertyVectorDistance::getPathValue() to return vector elements with correct unit. 2017-07-23 22:14:05 +02:00
Eivind Kvedalen dbce627cc8 Added getPaths(...) to PropertyVector class. 2017-07-23 22:14:05 +02:00
wmayer 79e87e22c1 add missing header file 2017-07-23 20:57:32 +02:00
looooo 360c07c33c Path: add option to use pybind11 instead of boost-python for libarea 2017-07-23 16:30:44 +02:00
wmayer 488c1a1fdf handle exception thrown by BRepBuilderAPI_RefineModel 2017-07-23 15:46:57 +02:00
wmayer 7c1e689217 make link clickable as suggested in PR 892 2017-07-22 16:50:19 +02:00
luzpaz c243046c86 misc. typos in Assembly and Path WB
[skip ci]
2017-07-22 15:41:02 +02:00
Bernd Hahnebach ebbe1fa903 FEM: unit tests, code formating, flake8 2017-07-21 17:35:43 +02:00
Bernd Hahnebach 261ab99cc7 FEM: unit tests: case frd file mflow and networkpressure reading, adapt to the slightly changed frd result file 2017-07-21 17:35:43 +02:00
Bernd Hahnebach d2db47b049 FEM: unit tests, use 1DFlow results of unit test python code analysis 2017-07-21 17:35:43 +02:00
Bernd Hahnebach efc9b4471c FEM: unit tests, add test case for reading frd file with mflow and npressure 2017-07-21 17:35:43 +02:00
Bernd Hahnebach cdb48197b9 FEM: unit tests, adapte 1DFlow example and extend stats comparing to mflow and networkpressure in conjunction with inout nodes file 2017-07-21 17:35:43 +02:00
Bernd Hahnebach 71a283f8fa FEM: move 1DFlow inout nodes file into analysis directory and do not delete it 2017-07-21 17:35:43 +02:00
Bernd Hahnebach 3d55e7d78a FEM: frd reading, 1DFlow frd reading, add nodes key vector 2017-07-21 17:35:43 +02:00
Bernd Hahnebach a8f7b351fe FEM: unit tests, code formating, delete some empty lines 2017-07-21 17:35:43 +02:00
Bernd Hahnebach 1a05e6755a FEM: load stats, give error message if more than one results object in the analysis and no result object was geven 2017-07-21 17:35:43 +02:00
Bernd Hahnebach d37189fb60 FEM: working dir, check if it has a slash at the end, if not add one 2017-07-21 17:35:43 +02:00
Bernd Hahnebach 0b05377063 FEM: fix defs in fem tools module if run in cmd (non gui) mode 2017-07-21 17:35:43 +02:00
luzpaz b25eb4854a misc. typo fixes
in FEM and Path WBs
misc. typo fixes
2017-07-21 12:17:35 -03:00
Yorik van Havre ebb8fc5364 Arch: Store rebar base wires 2017-07-21 10:56:55 -03:00
imarin2 5ffe17153d FABlin post-processor for the Path WB 2017-07-20 16:21:12 -03:00
Amritpal Singh 4e145b23b9 FIXES: minor bug in custom spacing of rebar object 2017-07-20 16:19:56 -03:00
Eivind Kvedalen 2e96d9bf95 Fixed issue #2877: Added hypot() and catet() functions to expression framework. 2017-07-20 18:57:31 +02:00
Yorik van Havre 1519ca0c50 Arch: looo's fix in nester 2017-07-20 10:29:15 -03:00
Yorik van Havre 97eaad7e04 Merge pull request #885 from mlampert/bugfix/svg-import-rounded-corners
Draft: Fixed SVG import of rectangles with rounded corners.
2017-07-19 12:10:59 -03:00
Markus Lampert c2f5b0ad5f Fixed SVG import of rectangles with rounded corners. 2017-07-18 22:07:37 -07:00
Yorik van Havre aba4338808 Arch: Nester optimizations 2017-07-18 17:55:44 -03:00
Yorik van Havre a3d7881746 Arch: Initial Nest command 2017-07-18 17:55:44 -03:00
Itai Nahshon a8faef009b Do not use C++11 utf8 strings - not supported by VC2013. 2017-07-18 17:43:09 +02:00
Itai Nahshon 29ff650f65 Spelling 2017-07-18 17:41:51 +02:00
Itai Nahshon a91c5bbae7 Add UnitsSchemaMmMin - izes are only in mm, speed in mm/munute. 2017-07-18 17:41:36 +02:00
Yorik van Havre 7bcb99dd09 Arch: remove buggy recompute inside onChanged 2017-07-18 10:52:06 -03:00
Yorik van Havre 382ad283f7 Merge pull request #884 from eivindkv/Fix_issue_3128
Expressions: Fixed issue #3128; mod(x;y) should support arbitrary uni…
2017-07-18 10:41:42 -03:00
Yorik van Havre 67060d6229 Arch: Add standard Arch component task panel to window task panel 2017-07-17 20:42:14 -03:00
Janus Troelsen 1fa40d9345 Allow first HDF5, MPI checks to fail (not REQUIRED) 2017-07-17 19:55:07 -03:00
Janus Troelsen 3e017cedaa Do not error when MPI is missing 2017-07-17 19:55:07 -03:00
Janus Troelsen b76519333f try to use pkg-config to find libhdf5 and openmpi 2017-07-17 19:55:07 -03:00
Bernd Hahnebach 77734de367 FEM: update examples result objects 2017-07-17 19:53:32 -03:00
Bernd Hahnebach cfb3b629fd FEM: result reading 1DFlow, give warning if there is no inoutnodes file 2017-07-17 19:53:32 -03:00
Bernd Hahnebach e723ba2020 FEM: unit tests, create tempdir if not exist, delete not needed imports 2017-07-17 19:53:32 -03:00
Bernd Hahnebach d9dbb919e8 FEM: unit test, again enable all stat types except 1DFlow, fix osx failure by only use 14 diggits 2017-07-17 19:53:32 -03:00
Bernd Hahnebach 7b455342dd FEM: unit test, tests for seg2 and seg3 python mesh API 2017-07-17 19:53:32 -03:00
Bernd Hahnebach 84c702926a FEM: inp import, add Seg3 to python mesh import tools and inp import 2017-07-17 19:53:32 -03:00
WandererFan 8cf2015c3c Fix upside down GeomHatch on asymmetric faces 2017-07-17 19:47:44 -03:00
WandererFan 0a7c6c42ec Fix #3113 TechDraw needs Drawing in cmake
TechDraw/App  Svg/Dxf functions use routines from
Drawing/App/DrawingExport.cpp
2017-07-17 19:47:44 -03:00
WandererFan cbf42ad3b0 Coverity fixes
151677
151789  - OK as is
152005
152508
154871  - false positive
156593
163235
2017-07-17 19:47:44 -03:00
wmayer 033242ead8 protect document against nested recomputes
+ convert ObjectStatusLocker into a template class to make its usage more flexible
+ add status flag 'Recomputing' and set in Document::recompute to detect and avoid nested calls of recompute
2017-07-17 18:24:10 +02:00
wmayer d3f5ace928 fix text of commands to create B-spline curves 2017-07-17 11:54:18 +02:00
wmayer b36686e586 calling close() causes the MDI view to get deleted as soon as possible while deleteLater() waits until the GUI is responsive 2017-07-17 11:11:58 +02:00
wmayer 44fba58b25 close document in spreadsheet tests 2017-07-17 08:09:37 +02:00
wmayer 7cfc084e47 fixes #0003122: FC 0.17 crashes when a sketched located outside a body object 2017-07-16 16:56:06 +02:00
luzpaz 3d33c309d4 GeoFeatureGroupExtension.h typo 2017-07-16 11:41:37 -03:00
luzpaz a36c90cee4 Added missing apostrophe 2017-07-16 11:40:32 -03:00
wmayer c4ca27ec8a allow to set constraints via Python 2017-07-16 11:09:48 +02:00
wmayer b8a1e335dd add locale information to system information 2017-07-16 08:14:26 +02:00
wmayer e6b9ec5dbc Qt5 port: make Sandbox module compile with Qt5 2017-07-15 17:50:55 +02:00
wmayer fb841d64c8 handle OCC exception in Feature::getPySubObjects and convert to Python exception 2017-07-15 17:16:44 +02:00
wmayer 1d83d179ca do not hide any drawing elements when entering edit mode of a sketch 2017-07-15 15:47:22 +02:00
wmayer 2b82bc6132 add export macro, extend enum of class AbstractMouseSelection 2017-07-15 15:46:13 +02:00
Yorik van Havre a57ec19847 Merge pull request #875 from itain/PathToolUnitsFix
Use the UserString to set text of Gui::InputField from a quantity
2017-07-14 10:51:16 -03:00
Itai Nahshon 2ba4bfb45a When refreshing the pathToolController ui, use UserStrings and not just plain values.
Fixes Symptom: If I open the PathToolController, Press "Edit Local Copy..." and then "Ok" the units for the feedrates were gone.
2017-07-14 05:13:17 +03:00
wmayer aa07c77745 remove unused variables 2017-07-13 22:02:11 +02:00
wmayer 5bc9581113 fix whitespaces 2017-07-13 21:46:24 +02:00
Yorik van Havre 01eaca1efa Merge pull request #874 from mlampert/feature/arch-panel-scale
Arch: Added Scale property to PanelSheet.
2017-07-13 15:25:40 -03:00
Eivind Kvedalen 72dd6dfd9a Expressions: Fixed issue #3128; mod(x;y) should support arbitrary units for both arguments. 2017-07-13 12:20:31 +02:00
Markus Lampert 870f3eb0c1 Added Scale to PanelSheet. 2017-07-12 10:37:31 -07:00
Yorik van Havre 828793f8f4 Merge pull request #873 from luzpaz/typo-fixes
Typo fixes [skip ci]
2017-07-12 11:50:50 -03:00
luzpaz e3066d1424 FEM: typo 2017-07-11 13:25:05 -04:00
luzpaz 87e5472a60 FEM: typo 2017-07-11 13:22:12 -04:00
luzpaz 17a60d3121 CAM: typo 2017-07-11 13:15:14 -04:00
luzpaz ba9b2a82b2 Sketcher: typo 2017-07-11 13:12:14 -04:00
luzpaz dd137506c4 Sketcher: typo 2017-07-11 13:08:29 -04:00
looooo a689403407 travis: build freecad with py3 2017-07-11 11:26:34 -03:00
Jean-Marie Verdun 9ec695557a Fix compiler Warnings 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun 8ab063aaa5 Final fix for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun 1b36dc2437 Fix keepExplicitPlacement 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun 5362650c3b Improve hierarchical exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun a120a1cbbe Add initial code for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun 4095fdbb57 Fix bug 3076 about color issue when opening a hierarchical step file
with Compound.
2017-07-11 11:24:49 -03:00
Jean-Marie Verdun c839a88110 Add Vertices and Edges support to STEP Compound Importer 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun 2645b79db8 Introduce relative placement for STEP importer instead of absolute placement 2017-07-11 11:24:49 -03:00
Yorik van Havre 165dcc9e1e Merge pull request #869 from kkremitzki/pdtests4
PDN: Restructure tests and add cases for dressup features, linear/polar patterns
2017-07-11 10:10:23 -03:00
Kurt Kremitzki 4331a8073c Add missing assertions for PartDesign Datum tests 2017-07-11 06:23:25 -05:00
Kurt Kremitzki 58d0b31752 Revise PartDesign Draft base test approach 2017-07-11 06:22:52 -05:00
Kurt Kremitzki 544e6587cb Add linear and polar pattern tests 2017-07-11 02:27:38 -05:00
Kurt Kremitzki d9277c4567 Flesh out basic dressup feature tests 2017-07-11 02:27:38 -05:00
Kurt Kremitzki fb5aeeaa7b Add dressup feature test structure 2017-07-11 02:27:38 -05:00
Kurt Kremitzki 4eb59453e7 Break out PartDesign tests into own folder 2017-07-11 02:27:38 -05:00
luzpaz 1b56637c6f typo fix 2017-07-10 19:29:55 -03:00
luzpaz 2badea8c37 TechDraw: typo fix 2017-07-10 19:29:55 -03:00
luzpaz 9343f5c616 Path: typo fix 2017-07-10 19:29:55 -03:00
luzpaz 928749d0a3 typo fix 2017-07-10 19:29:55 -03:00
luzpaz 17b637beb3 typo fix 2017-07-10 19:29:55 -03:00
luzpaz 960b7c175d fix typo 2017-07-10 19:29:55 -03:00
luzpaz d5d45e2661 fix typos 2017-07-10 19:29:55 -03:00
Markus Hovorka d65d3d9572 FEM: Change tool-bar organization
Split the tool-bar into multiple smaller ones. Also make the ordering a
little more consistent: Initial conditions first, followed by boundary
conditions followed by constraints on whole bodies.
2017-07-10 19:21:40 -03:00
Markus Hovorka 1a0c19327d FEM: Change menu-bar organization
Split the menu-bar into multiple smaller ones. Group constraints by the
physics they are involed into. Also make the ordering a little more
consistent: Initial conditions first, followed by boundary conditions
followed by constraints on whole bodies.
2017-07-10 19:21:40 -03:00
Markus Hovorka f2c0f9c977 FEM: Adjust names of constraint menu items 2017-07-10 19:21:40 -03:00
Markus Hovorka 7ec6459284 FEM: Use short names for VTK post commands 2017-07-10 19:21:40 -03:00
Bernd Hahnebach 2e118be334 FEM: unit tests, temporary workaround for py3 2017-07-10 19:21:40 -03:00
Bernd Hahnebach 8e3bab6997 FEM: unit test, fix unit test if not all stats are used 2017-07-10 19:21:40 -03:00
Markus Lampert d079741949 Added grbl post processor. 2017-07-10 19:19:46 -03:00
Markus Lampert a7cb0627e8 Added support for imperial shopbot output and some standard post processor arguments. 2017-07-10 19:19:46 -03:00
sliptonic 465155b43c Path: option for drilling return level
fix #3098
2017-07-10 19:17:41 -03:00
Markus Lampert 104eb53a8b Fixed Contour.Direction and simplified Dogbone.Side determination. 2017-07-10 19:17:41 -03:00
Markus Lampert 1bda01646d Fixed strongarming 'Side' for dogbnoe. 2017-07-10 19:17:41 -03:00
Markus Lampert d99950010e Fixed Dogbone creation to work for PathContour again. 2017-07-10 19:17:41 -03:00
sliptonic 9874444dba Path: add feature for drill tip calculation 2017-07-10 19:17:41 -03:00
sliptonic 6c52548750 Path: add jointype and miterlimit to edge profiling 2017-07-10 19:17:41 -03:00
sliptonic ddb2001dcb Path: Change Profile 'side' enumeration to inside/outside
left/right was too ambiguous
correct profile direction set
2017-07-10 19:17:41 -03:00
sliptonic 48337e03c1 Path: fix #3048 Visibility on recompute is now preserved 2017-07-10 19:17:41 -03:00
sliptonic 444fc18bcc Path: implement jointype for contour and profile fix #3116
Not implemented in the task panel.  Settings are only available in the property pane.
2017-07-10 19:17:41 -03:00
sliptonic 023c5d8608 Path: Make PathProfile verbose 2017-07-10 19:17:41 -03:00
wmayer 349f8b5ff9 avoid to eventually try to init Gui twice 2017-07-10 20:51:30 +02:00
Yorik van Havre d31be3117d Draft: Refined Select plane to accept any 3 selected vertices 2017-07-08 14:27:44 -03:00
Bernd Hahnebach ad2a4b5b5c FEM: unit tests, add all result stats, except 1DFlow 2017-07-08 12:27:12 -03:00
Bernd Hahnebach a1523e3b1b FEM: result stats, fix some issues and add all result types 2017-07-08 12:27:12 -03:00
Bernd Hahnebach 4b25f75c0d FEM: unit tests, use better coordinate values 2017-07-08 12:27:12 -03:00
Bernd Hahnebach 5785bd3826 py3: fix FEM Flow1D unit test FEM mesh 2017-07-08 12:27:12 -03:00
Yorik van Havre cc89afb852 Merge pull request #859 from sliptonic/master
Fixes for startpoint.
2017-07-08 12:20:28 -03:00
sliptonic 0a776480f9 Merge remote-tracking branch 'realthunder/PathArea' 2017-07-07 16:42:14 -05:00
sliptonic e8b93ef656 Path: cleanup start points
Make sure we're storing path parms for debugging
2017-07-07 16:42:06 -05:00
sliptonic 7ace55029e Path: simplify the test fixture
Instead of creating a file from scratch, a test file
is included.  Post processing the file from the gui
should give the same results as the test script.
2017-07-07 16:42:06 -05:00
sliptonic c359ba6060 Path: fix bug in gcode importer.
Wouldn't handle lines with only a line number
2017-07-07 16:42:06 -05:00
sliptonic fc989c7803 Path: Centroid post re-write 2017-07-07 16:42:06 -05:00
sliptonic 3093c4cd1b re-arrange TestPathPost setup to simplify testing muliple posts 2017-07-07 16:42:06 -05:00
sliptonic e4c696cac1 Path: MillFace start point 2017-07-07 16:42:06 -05:00
Randy 2cc09f9493 Improve Part.Shape.project documentation
This clarifies that Part.Shape.project expects a list of shapes as an argument, not a single shape.  See this forum thread that highlights the confusion: https://forum.freecadweb.org/viewtopic.php?f=22&t=23287
2017-07-07 13:25:48 -03:00
Amritpal Singh 3aab7ffce5 Introduced custom spacing property in the Rebar object 2017-07-07 13:23:55 -03:00
wmayer a066490b28 + exception handling in FreeCADGui.addModule 2017-07-07 09:58:28 +02:00
Zheng, Lei d554497ada Path.Area: fix sortWires
sortWires was broken on open wires. The bug was introduced when open
wire direction feature is added.
2017-07-07 11:26:54 +08:00
Zheng, Lei 120b37b0c7 Path.Area: change fromShape() 'start' parameter behavior
'start' used to mean the initial resting position of the tool. Now it
is changed to mean the feed start position.

fromShape() has also improved to automatically guess 'retraction' and
'resume_height' parameters if not given, based on input shape boundary.
2017-07-07 11:26:54 +08:00
Zheng, Lei 90334e0478 Path.Area: handle empty wires without vertex 2017-07-07 11:26:54 +08:00
Yorik van Havre fdedf8fb4d Arch: Gave small tolerance to pipe connectors in case their baselines don't join exactly 2017-07-06 17:43:13 -03:00
Yorik van Havre 087a1c1056 Draft: Extended WPProxy tool 2017-07-06 14:44:13 -03:00
Markus Lampert b046fa5604 Adde __init__ to the deployment. 2017-07-06 14:10:07 -03:00
wmayer 6a14bb7451 fix for mixing up SchemeVersion and FileVersion 2017-07-06 17:59:01 +02:00
Yorik van Havre cab3358ee8 Arch: Removed Armatures property from Structures + added Host property to Rebars 2017-07-05 20:58:48 -03:00
Kurt Kremitzki a390d01cc8 Revise GitPython warning to only fire once on mass upgrade 2017-07-05 15:08:32 +02:00
Kurt Kremitzki 42f20fbbd8 Fix GitPython capitalization consistency 2017-07-05 15:08:32 +02:00
Kurt Kremitzki 843da68025 Remove Deb/Ubuntu-specific python-git package reference for pip-installable GitPython 2017-07-05 15:08:32 +02:00
Kurt Kremitzki e14110114f AddonMgr: Catch GitPython < 2.x error and advise upgrade 2017-07-05 15:08:32 +02:00
Kurt Kremitzki b1c96163ab AddonMgr: Use hard reset for addon git repair 2017-07-05 15:08:32 +02:00
Kurt Kremitzki e76b77fab2 AddonMgr: Check and repair addon .git folders 2017-07-05 15:08:32 +02:00
Itai Nahshon dca6533609 Reset depth_params index when starting a new iterator.
Otherwise when a profile consists of multiple cuts (example: profile outline+circles+holes) only the first one
will respect the requested depths.
2017-07-05 15:04:39 +02:00
wmayer 9592eff3dc fix some issues:
+ fix unicode <-> utf-8 conversion
+ fix translation issue
+ fix closing logic
2017-07-05 15:00:15 +02:00
Markus Hovorka fc36dfed0d Add TextDocument with full size editor
A new document object App::TextDocument. It has a property Text which
holds the text of the document as a string. This commit also contains a
full size editor based on QPlainTextEdit. It can only be used by the
TextDocument and has a read only mode invoked for read only documents
(ReadOnly property set to true). The editor is invoked by a double
click on the TextDocument.
2017-07-04 19:36:10 +02:00
Markus Lampert 9e7eb3bc2c Fixed spelling error in profile. 2017-07-04 10:41:35 +02:00
Markus Lampert 6f6d4631d3 Fix depth_params for python3. 2017-07-03 12:17:30 -07:00
Bernd Hahnebach c4fc809a12 FEM: mesh objects, show them only if they are edited or needed for result viewing 2017-07-03 19:27:38 +02:00
Bernd Hahnebach b2fa046e76 FEM: mesh objects, use same name sheme as for all other FEM objects 2017-07-03 19:27:38 +02:00
Bernd Hahnebach ed95e92beb FEM: visibility, do not hide parts which depends on mesh name
- since the mesh object depend on a part and the part can change this can mess up visibiliy
2017-07-03 19:27:38 +02:00
Bernd Hahnebach 3d2be451ec FEM: pre checks, check if constraint references are not empty 2017-07-03 19:27:38 +02:00
Bernd Hahnebach 3f16f0ae62 FEM: nonlinear material, add a third yield point and only write yield points if they are not empty 2017-07-03 19:27:38 +02:00
Bernd Hahnebach 06054bdeb4 FEM: nonlinear material, set nonlinear geometry for nonlinear material in ccx solver 2017-07-03 19:27:38 +02:00
Kurt Kremitzki b12831be9e Revise PartDesign Loft tests to avoid sketches with shared edges failure in OCC < 7 2017-07-01 19:30:49 -05:00
Kurt Kremitzki 2f6f00100f Revise PartDesign Loft tooltips 2017-07-01 19:30:49 -05:00
Kurt Kremitzki 027418a16d Make PartDesign Loft have different tooltip than PartDesign Pipe 2017-07-01 19:30:49 -05:00
Kurt Kremitzki e1b78ab91f Add basic PartDesign::Loft test cases 2017-07-01 19:30:49 -05:00
Kurt Kremitzki 220a63a849 Add basic PartDesign AdditivePipe and SubtractivePipe tests 2017-07-01 19:30:49 -05:00
Kurt Kremitzki 7f03cca88c Check PartDesign::AdditivePipe's auxiliary spine for existence before deciding its externality 2017-07-01 19:30:49 -05:00
Kurt Kremitzki 338c610cd9 Update PartDesign tests for CreateRectangleSketch refactor 2017-07-01 19:30:49 -05:00
Kurt Kremitzki e1b6fc2e43 Add TestSketcherApp.CreateCircleSketch and refactor CreateRectangleSketch 2017-07-01 19:30:49 -05:00
Markus Lampert fbb2b44861 Made posts into a module and use it for import. 2017-07-01 12:39:04 +02:00
Bernd Hahnebach c806e4529e FEM: unit tests, small unit test def for writeABAQUS diggits 2017-07-01 11:00:52 +02:00
Bernd Hahnebach 0b86a2c57b FEM: unit test, fix 1DFlow unit test 2017-06-30 07:53:15 +02:00
Bernd Hahnebach 27e2baa79f FEM: code formating, trailing ws 2017-06-29 18:51:24 +02:00
joha2 7b5adb9460 FEM: issue #0003038 Fenics mesh import/export: removed lxml dependency 2017-06-29 18:51:24 +02:00
Yorik van Havre 74e7940024 Draft: More solid closing of Draft commands - fixes #2532 2017-06-29 12:17:36 -03:00
wmayer 51c6ca053a support to assign long to Quantity with Py2 2017-06-28 23:12:00 +02:00
WandererFan a32972ef2f Fix Drawing/TechDraw BSplines
In some cases the Geom_BSplineCurve returned by
BrepAdaptor_Curve.BSpline() does not have the
same endpoints as the original Edge and should
not be used in place of Approx_Curve3d.
2017-06-28 22:14:01 +02:00
PLChris 18ed89ae6b Fix tooltable xml import 2017-06-28 22:05:07 +02:00
sliptonic bcfc1bf36c Path: make pathmillface use different depth calculation 2017-06-28 21:49:12 +02:00
sliptonic 75dc43f047 Path: fix import problem in toolcontroller 2017-06-28 21:49:12 +02:00
sliptonic 3254aca61a Path: if TC is none, partials wouldn't post
added H parameter to linuxcnc post for tool length offset
2017-06-28 21:46:44 +02:00
sliptonic 266fb0b70f Path: Adding Apply buttons
Give user more control of when long
running updates are executed in task
panels
2017-06-28 21:46:44 +02:00
sliptonic 02912aedf9 Path: cancel for pocket 2017-06-28 21:46:44 +02:00
sliptonic a5a88e5b59 Path: remove obsolete code from cmake
also refactored depthparams and fixes to depths
on various operations
2017-06-28 21:46:44 +02:00
sliptonic 8b804d71ae path: more collision support
Made depthparams an iterable.
2017-06-28 21:46:44 +02:00
sliptonic 0326b5ba49 Path: unsetEdit support 2017-06-28 21:46:44 +02:00
sliptonic 17b16a7286 Path: adding cancel buttons to operations 2017-06-28 21:46:44 +02:00
sliptonic ad52e41ece Path: cleanup and add collision 2017-06-28 21:46:44 +02:00
wmayer 6d389e04ba fix cyclic dependency with Py2 import 2017-06-28 21:37:34 +02:00
Yorik van Havre 86c8004802 Arch: Small fix in Rebar 2017-06-27 13:30:43 -03:00
Yorik van Havre a545ffccd8 Arch: Added wood grain properties to Panel Sheets 2017-06-27 13:15:39 -03:00
Yorik van Havre b41624590d Arch: Added MakeFace property to pnel cuts and sheets 2017-06-27 00:53:00 -03:00
Yorik van Havre 859b94e311 Draft: trying different method to solve encoding problem 2017-06-26 23:51:45 -03:00
Bernd Hahnebach de9dbc453f FEM: ccx input writer, if eigenvalue limits are set to 0.0, omit them in input file 2017-06-26 22:36:02 +02:00
Bernd Hahnebach 9f18fa6fd4 FEM: ccx writer, change a comment 2017-06-26 22:36:02 +02:00
Bernd Hahnebach 6fc27e94c8 FEM: ccx prefs, use default time steps for all analysis types 2017-06-26 22:36:02 +02:00
Bernd Hahnebach f29424cf76 FEM: solver calculix, allow user time steps without Parameter DIRECT 2017-06-26 22:36:02 +02:00
Bernd Hahnebach d0aefe42bb FEM: 1DFlow, delete not needed files and code formating 2017-06-26 22:36:02 +02:00
kgoao 9fd673851c FEM: FluidSection: Unit test 2017-06-26 22:36:02 +02:00
Bernd Hahnebach 1fa7eaf39b FEM: prerequisite checks, extend for 1DFlow 2017-06-26 22:36:02 +02:00
Bernd Hahnebach 3fb053266b FEM: import FRD, fix import of strain vector 2017-06-26 22:36:02 +02:00
Bernd Hahnebach f84b0cb53b FEM: python task panels, more selection on click of list items in task panel 2017-06-26 22:36:02 +02:00
Bernd Hahnebach 49dc28c54c FEM: gmsh tool, add CoherenceMesh option to remove duplicate vertices, set default to true 2017-06-26 22:36:02 +02:00
looooo 4b2c5f51e4 path_script py3-fixes 2017-06-26 22:30:51 +02:00
Zheng, Lei 27aaaf7def Path.Area: fix thickening of pocket path 2017-06-26 22:25:00 +02:00
tomate44 cbfc6ae742 Part GeomBezierCurve implement Save() and Restore() 2017-06-26 22:08:38 +02:00
Yorik van Havre e15b80f3c8 Arch: Added Distance property to Rebars 2017-06-26 15:00:30 -03:00
Yorik van Havre 1eda79cc46 Crowdin script - save the downloaded file as freecad.zip 2017-06-26 11:30:05 -03:00
Bernd Hahnebach ca42551b79 FEM: mesh region task panel, highlight elements on click in list issue #0003017 2017-06-26 11:14:50 -03:00
Bernd Hahnebach 5095d037f4 FEM: python task panels, only start SelectionObserver if noone runs already 2017-06-26 11:14:50 -03:00
sadskull 2170efe4dd Update Assembly_fr.ts
Changing ’ by &apos; in french translations
2017-06-26 11:13:28 -03:00
Markus Lampert 7d44c26b38 Fixed deletion of dressup - clearing child object pointer prevents Tree from moving it to the root of the tree. 2017-06-26 11:10:15 -03:00
Markus Lampert 7773d30c0d Fixed job dialog commit. 2017-06-26 11:10:15 -03:00
Yorik van Havre f919345e48 Merge pull request #836 from WandererFan/SSTrack
fix #3094 ShapeString tracking
2017-06-26 11:08:47 -03:00
WandererFan 674aabe80d fix #3094 ShapeString tracking 2017-06-24 21:12:54 -04:00
Yorik van Havre 3ada1416ba Draft: Fixed encoding error 2017-06-24 20:55:40 -03:00
WandererFan 0768ae99cf Coverity fixes
CID 156629  - obsolete
CID 156624  - obsolete
CID 163225  - won't fix
CID 163226
CID 163227
CID 163228
CID 163229
CID 163235
2017-06-23 08:14:46 +02:00
WandererFan f56df2ebee Add viewPartAsSvg in App 2017-06-23 08:14:46 +02:00
WandererFan fc1c863034 Add viewPartAsDxf function in App 2017-06-23 08:14:46 +02:00
WandererFan ab19a5ea06 Handle "floating" straight edges in Svg
BRep_Tool::Polygon3D assumes the edge has polygon representation -
ie already been "tesselated". this is not true for all edges,
especially "floating edges".
2017-06-23 08:14:46 +02:00
WandererFan 17b69c7c3a Replace DPG table lookup logic with calculations
DPG used a pair of large tables to determine view
direction and rotation vector when subject was rotated
and spun.  There were many errors in the tables that
needed manual checking to correct.  The new version
uses calculations on a virtual glass cube to find view
direction and rotation vector.
2017-06-23 08:14:46 +02:00
WandererFan f53a3bde8f Add tolerance parm to checkParallel 2017-06-23 08:14:46 +02:00
Yorik van Havre ed73fb6e72 Draft: Small optimizing in DraftGeomUtils.findIntersection() 2017-06-22 17:59:54 -03:00
wmayer 41051e9dd8 implement object serialization for BSplineCurve class 2017-06-22 22:42:01 +02:00
wmayer e7c7c07cda implement object serialization for Vector class 2017-06-22 21:52:53 +02:00
wmayer f2127c3712 try to fix travis build 2017-06-22 13:55:42 +02:00
Yorik van Havre a4e0d79e65 Arch: Fixed typo 2017-06-21 17:34:31 -03:00
Markus Lampert 7d80f9012f Changing c-py interface to use 's' instead of 'S' for py 2/3 compatibility; also makes the code simpler. 2017-06-21 11:41:35 -07:00
Markus Lampert 6a3a102964 Removing dependency on lxml - fixed some bugs on deleting a job and all it's sub components. 2017-06-21 11:41:35 -07:00
Markus Lampert e399785a97 Disable exception catching in tests to figure out why TestPathApp cannot be imported on the build system. 2017-06-21 11:41:35 -07:00
Markus Lampert e7e5a73a0a Fixed contour setting the visibility although there is no ViewObject associated with it. 2017-06-21 11:41:35 -07:00
Markus Lampert 2c50fbfef3 Fixed tag unit tests 2017-06-21 11:41:35 -07:00
Markus Lampert ab82810f01 Disabling tags if the cannot generate commands. 2017-06-21 11:41:35 -07:00
Markus Lampert 022354fd38 Added wating_effects for holding tag generation - big improvement. 2017-06-21 11:41:35 -07:00
Markus Lampert 789e79c480 Moved all post/pre processor into their own directory. 2017-06-21 11:41:35 -07:00
Markus Lampert 03c5168d89 Proper taskk panel cleanup on escape. 2017-06-21 11:41:35 -07:00
Markus Lampert a689ebd5d7 Fixed post processor loading. 2017-06-21 11:41:35 -07:00
Markus Lampert 38c2296492 Allow multiple holding tags to be added - until user hits Esc or presses the Done button. 2017-06-21 11:41:35 -07:00
Markus Lampert ec9e43e868 Forward modifyStandardButtons into python task dialogs. 2017-06-21 11:41:35 -07:00
Markus Lampert b11849b1a4 Changed marker spheres to have constant size regardless of view scale. 2017-06-21 11:41:35 -07:00
Markus Lampert 924336edd5 Made holding tags tolerant to panelsheet base objects. 2017-06-21 11:41:35 -07:00
Markus Lampert a223915308 Add all dressups to the profile and contour context menus. 2017-06-21 11:41:35 -07:00
Markus Lampert c268c959e8 Adapted unit tests for the new interface. 2017-06-21 11:41:35 -07:00
Markus Lampert 0d52a94871 Switched solid detection to blacklisting instead of whitelisting. 2017-06-21 11:41:35 -07:00
Markus Lampert 5575802e3c Removed questionable log message. 2017-06-21 11:41:35 -07:00
Markus Lampert 63ab07ae49 Fixed spindle speed limitation in UI and template restore. 2017-06-21 11:41:35 -07:00
Markus Lampert c031b78c35 Changed empty template selection to '<none>'. 2017-06-21 11:41:35 -07:00
Markus Lampert 62cf21b473 Added solid detection and consolidated PathJob Base selection option (removed empty option). 2017-06-21 11:41:35 -07:00
Markus Lampert fbb34347f8 Added support for PanelSheets. 2017-06-21 11:41:35 -07:00
Markus Lampert d5068ffc5c Some cleanup and refactoring. 2017-06-21 11:41:34 -07:00
Markus Lampert 43b70cf71d Added Job attributes to the template. 2017-06-21 11:41:34 -07:00
Markus Lampert bb33a12c87 Added template selection and preference integration to job creation dialog. 2017-06-21 11:41:34 -07:00
Markus Lampert 1aab8d2697 Added file dialog to job export. 2017-06-21 11:41:34 -07:00
Markus Lampert 907ea1b3ab Added file path and job template to preferences. 2017-06-21 11:41:34 -07:00
Markus Lampert 0fcaea1b44 Made job creation sequence a bit nicer. 2017-06-21 11:41:34 -07:00
Markus Lampert 8f64b5e24b Simple job initialisation from template xml file. 2017-06-21 11:41:34 -07:00
Markus Lampert 97d2592784 Added export of job template - fixed output file. 2017-06-21 11:41:34 -07:00
Markus Lampert 8d8ea9979f Renamed LoadTool to ToolController. 2017-06-21 11:41:34 -07:00
Markus Lampert c4cb45c1b4 Replaced Tooltable with Tool in the TC;
Added PropertyTool;
Fixed sanity check.
2017-06-21 11:41:34 -07:00
Yorik van Havre 7d39669948 Arch: Detect and use Reinforcement addon if present 2017-06-21 13:24:43 -03:00
looooo 3e8249a0e6 py3: fix some simple incompapilities
issue 0000995
2017-06-21 11:25:30 +02:00
looooo 931820c4b1 py3: boost: some diff for the cmake of libarea to work with boost1.64. (at least this is necessary for conda) 2017-06-21 09:51:57 +02:00
Kurt Kremitzki 9c253eba8d Iterate over faces in testPocketToFaceCase 2017-06-21 00:10:38 -05:00
Kurt Kremitzki df06c1e1c4 Update testPocketToFaceCase to handle OCC<7 face-naming inconsistency 2017-06-20 23:10:24 -05:00
Kurt Kremitzki dfb3c41b65 Add pocket to face test case 2017-06-20 15:26:23 -05:00
Kurt Kremitzki e4b61cad76 Add PartDesign Pocket tests 2017-06-20 15:26:23 -05:00
Kurt Kremitzki 3542140854 Use assertAlmostEqual and remove deprecated failUnless 2017-06-20 15:26:22 -05:00
Kurt Kremitzki 5b2c0fcccd Complete PartDesign::Pad test cases 2017-06-20 15:26:22 -05:00
Kurt Kremitzki c6fda5862a Add Sketcher test rectangle function 2017-06-20 15:26:22 -05:00
wmayer 654276c49d fix issues in CoordinateSystem class and expose to Python 2017-06-20 21:22:59 +02:00
looooo cd9adc7994 py3: arch: fix tests
issue 0000995
2017-06-20 12:18:01 +02:00
looooo fe66e96faf draft: move translation to DraftGui
otherwiser there are some strange ImportEroors.
2017-06-20 12:18:01 +02:00
looooo d9d1e8640f py3: Draft: string / unicode:
issue 0000995
- use optional argument to get unicode from translation in python2
- add a utf8_decode function to get unicode from string, bytes, unicode
2017-06-20 12:18:01 +02:00
wmayer 3bb9a9e29b only change view provider stuff when GUI is up 2017-06-20 12:16:05 +02:00
Bernd Hahnebach 08a30880f3 FEM: gmsh mesh tools, fix highorderoptimize 2017-06-20 07:14:44 +02:00
Bernd Hahnebach da1afaa8ba FEM: mesh tools, code formating 2017-06-20 07:07:38 +02:00
wmayer 8b0fb352fd do not let unit test for revolution fail if refinement option is on 2017-06-19 21:09:43 +02:00
wmayer 847a208868 add type 'long' to expected types list in scale and scaleTo 2017-06-19 19:19:17 +02:00
wmayer 5f492a87db Qt5: set color to progress bar using style sheet 2017-06-19 18:54:25 +02:00
wmayer 989fe4028e various fixes:
+ fix typos
+ fix const correctness
+ whitespace improvements
2017-06-19 17:18:16 +02:00
Stefan Tröger 39bf43202e Add missing header for random numbers 2017-06-19 15:37:09 +02:00
Stefan Tröger 78cb881431 DependencyGraph: Ensure OriginFeatures get in the correct subgraph 2017-06-19 15:37:09 +02:00
Stefan Tröger fa4d67735f Revert link integrity checks in properties
The DAG test is not needed anymore as the relevant functions are non-DAG save now, and the other check will be moved to the recompute as it is not efficient or save to do it in the links itself.
2017-06-19 15:37:09 +02:00
Stefan Tröger 4ecd831bfd GeoFeatureGroup: Make link collection non-DAG save 2017-06-19 15:37:09 +02:00
Stefan Tröger bfb95e3d12 Partially fix PartDesign move test 2017-06-19 15:37:09 +02:00
Stefan Tröger da866e5b4d Allow add/remove multiple objects in a group 2017-06-19 15:37:09 +02:00
Stefan Tröger f9200f4502 Extend python interface for groups and fix test cases 2017-06-19 15:37:09 +02:00
Stefan Tröger eb601df236 Fix undo/redo while checking link integrity 2017-06-19 15:37:09 +02:00
Stefan Tröger 9fbf118cdd Group tests and fixes 2017-06-19 15:37:09 +02:00
Stefan Tröger 0487b66738 Links ensure uncyclic graph and correct groups 2017-06-19 15:37:09 +02:00
Stefan Tröger f0f7125a11 Group: ensure single group only 2017-06-19 15:37:09 +02:00
Stefan Tröger 26200f95f5 Parent groups are irelevant, not only parent geofeaturegroups 2017-06-19 15:37:09 +02:00
Stefan Tröger 8079cf43d2 Drag&Drop: Tree is responsible for undo/redo
The user expects to undo the drag and drop action with a single click (as it happens with a single drag&drop action). Hence the command must be handled by the tree, not the viewproviders.
2017-06-19 15:37:09 +02:00
Stefan Tröger 81f91387c8 Fix collecting of cs relevant links 2017-06-19 15:37:09 +02:00
Stefan Tröger 183a4b4ef3 GeoFeatureGroup: Handle drag into document 2017-06-19 15:37:09 +02:00
Stefan Tröger aa0d25f54f Groups: Handle add and remove object correctly 2017-06-19 15:37:09 +02:00
Stefan Tröger 53ff196c2e GeoFeatureGroup: add object adds relevant links 2017-06-19 15:37:09 +02:00
Stefan Tröger bdf981e770 Unify and fix group handling in geofeaturegroups 2017-06-19 15:37:09 +02:00
Stefan Tröger bbabe833e9 DependencyGraph: grouping & unflatten is optional
Property group "User parameter:BaseApp/Preferences/DependencyGraph" has two booleans to enable subgraphing and unflatten (by default on): "Unflatten", "GeoFeatureSubgraphs"
2017-06-19 15:37:09 +02:00
Stefan Tröger 25df3c549d DependencyGraph: Fix colors and unflatten 2017-06-19 15:37:09 +02:00
Stefan Tröger aaea43603e DependencyGraph: Add colors to coordinate systems 2017-06-19 15:37:09 +02:00
Stefan Tröger e192f32bcc DependencyGraph: Subgraphs are identified by label 2017-06-19 15:37:09 +02:00
Stefan Tröger 4e25d2db16 DependencyGraph: Add unflatten step 2017-06-19 15:37:09 +02:00
Stefan Tröger e20aae688e DependencyGraph: Show origins correctly 2017-06-19 15:37:09 +02:00
Stefan Tröger f08ab52724 DependencyGraph: Show GeoFeatureGroups as subgraph. fixes #0002142 2017-06-19 15:37:09 +02:00
Stefan Tröger 35c4c5e56a Consistently name origins 2017-06-19 15:37:09 +02:00
Stefan Tröger 6b2558d954 Sketcher: Use correct global placements 2017-06-19 15:37:09 +02:00
Stefan Tröger 80e74aec06 Introduce global placement calculations 2017-06-19 15:37:09 +02:00
Stefan Tröger f3358ad77a Fix drag&drop of geofeature groups. fixes #0002835 fixes #0002796 2017-06-19 15:37:09 +02:00
wmayer 9ccb01e95f fix bug with multiple object names in selection view when selecting in tree view 2017-06-19 14:59:32 +02:00
wmayer 6e1a6d8310 fix bug in pr774, improve whitespaces 2017-06-19 13:32:27 +02:00
Alexander Lin c3c94e8698 Fix 'shrink curve' misbehaviors for Sketcher Extend 2017-06-19 13:07:55 +02:00
Alexander Lin c51d0b4e16 Adds extend feature to Mod/Sketcher
Fixes #1187
2017-06-19 13:07:37 +02:00
Felis Catus 2ea961f490 Sketcher Extend Icon 2017-06-19 13:07:18 +02:00
wmayer 57128dd7ad fix -Wsign-compare 2017-06-19 12:50:55 +02:00
Jean-Marie Verdun d940bdc89e Accelerate VBO rendering (bareleye model goes from about 18fps to 34fps on a Macbook Pro)
Fix crashes related to VBO buffer expansion by reallocating the buffers when needed
2017-06-19 12:40:04 +02:00
Bernd Hahnebach 0af2e1b2b8 FEM: mesh tools, group elements, return empty tuple instead of None 2017-06-19 10:49:28 +02:00
Bernd Hahnebach 3886850a60 FEM: element set search, fix indent for mesh group search 2017-06-19 10:49:28 +02:00
Bernd Hahnebach c97a3d1219 FEM: prerequisite checks, fix material reference shape type check 2017-06-19 10:49:28 +02:00
wmayer 1b08ae0613 fix UNV reader by checking for CR or CR+LF in group names and removing them 2017-06-19 10:39:37 +02:00
wmayer 63f9e6c528 quantities must be expressed in units m,g,s for MKS and internal scheme 2017-06-18 23:43:42 +02:00
wmayer 5475368ea4 various fixes from pr813:
fix crash due to invalifated iterator
minor performance improvement
do not connect twice automatically connected signal-slot
fix compiler warning
2017-06-18 21:25:31 +02:00
wmayer b1495bdf38 improve readability, minor performance improvements 2017-06-18 18:01:27 +02:00
Abdullah Tahiri 25a28b0851 Sketcher: redundant autoconstraint avoidance - Edit control checkbox
fixes #3079
2017-06-18 17:37:27 +02:00
Abdullah Tahiri c093cb1821 Sketcher: redundant avoidance - remove old inferior mechanism 2017-06-18 17:37:27 +02:00
Abdullah Tahiri 93721e8ca9 Sketcher: extension of redundant avoidance to indirect coincidence 2017-06-18 17:37:27 +02:00
Abdullah Tahiri 497478fabe horiz/vert redundant autoconstraint avoidance extended to Polyline tool 2017-06-18 17:37:27 +02:00
Abdullah Tahiri 90028d4ced Sketcher: avoid horiz and vertical autoconstraint redundants on line creation 2017-06-18 17:37:27 +02:00
sliptonic 2147798063 Path: fix potential crash bug. 2017-06-18 17:32:16 +02:00
Itai Nahshon 634cbf1566 Add Units schemaTranslate for Unit::Velocity.
Independent of scale, use only mm/min or in/min because it is compatible
with GCODE feed rate units.
(My use case is definition os feed-rates in PathLoadTool.py).
2017-06-18 17:11:49 +02:00
Itai Nahshon 03c3db5636 Use the current UnitsSchema for the tool table. 2017-06-18 17:11:49 +02:00
Itai Nahshon ccd56242ec Set the maimum tool RPM to 100,000. The default 100 is too small. 2017-06-18 17:11:49 +02:00
Peter Lama 408b14310f Fem: py3 fixes
Needed for unit tests to pass
2017-06-18 16:45:55 +02:00
Peter Lama 17031e2a24 Path: py3 fixes
Needed for unit tests to pass
2017-06-18 16:33:20 +02:00
wmayer f6a086dde0 add comment to source code 2017-06-18 16:23:29 +02:00
wmayer 619fb173df fix crash when argument list of openTransaction() is empty 2017-06-18 16:20:12 +02:00
wmayer fe1f0dce3c due to branding reasons avoid a direct mentioning of FreeCAD 2017-06-18 15:52:21 +02:00
wmayer 6415b4699b fix build failure on FreeBSD, support colored output to terminal 2017-06-18 12:26:05 +02:00
Yorik van Havre d28bae3f52 Added pref option to disable the FreeCAD logo in the FCStd file thumbnail 2017-06-16 00:25:42 -03:00
wmayer 07fd41f4fc use assertAlmostEqual for comparison with floating numbers 2017-06-16 00:15:22 +02:00
Kurt Kremitzki 944a111c2f Add PartDesign_Mirrored test based on additive primitive 2017-06-16 00:15:22 +02:00
Kurt Kremitzki 01cca0ba53 Add PartDesign_Mirrored offset failure test 2017-06-16 00:15:22 +02:00
Abdullah Tahiri ab48fdb6f5 render both faces 2017-06-16 00:15:22 +02:00
Kurt Kremitzki 6f18ce63ed Show failure message when part design transformation does not intersect 2017-06-16 00:15:22 +02:00
Kurt Kremitzki 90f0e5ceb8 Remove redundant matrix scale factor multiplication 2017-06-16 00:15:22 +02:00
Abdullah Tahiri ff188383a1 Fix transformation support, so that support is updated with any previous transformation executed 2017-06-16 00:15:22 +02:00
Abdullah Tahiri 9e215721b0 Reverting to checkIntersection via boolean operation
The extrema algorithm fails on touching (the manyfold detection fails to return a face, but several vertex, although a face is clearly touching and if bypassed the boolean succeeds), see
https://www.freecadweb.org/tracker/view.php?id=3065

This commit enables the older boolean based intersection check.
2017-06-16 00:15:22 +02:00
Yorik van Havre e02430f5bf Draft: Added icons to select plane buttons 2017-06-15 18:26:57 -03:00
Zheng, Lei 294551a2fb Path.Area: fix Path.fromShapes retraction threshold 2017-06-15 14:43:49 -03:00
Zheng, Lei 56f8de75e6 Path.Area: fix plane finding on face shape 2017-06-15 14:43:49 -03:00
Zheng, Lei 561c48acc5 Path.Area: deep copy on makeSection output 2017-06-15 14:43:49 -03:00
Zheng, Lei d257f1bfa5 Path.Area: section intermediate shape output for debugging 2017-06-15 14:43:49 -03:00
Zheng, Lei d6e16019fd Path.Area: fixed random wrong section output 2017-06-15 14:43:49 -03:00
sliptonic 1065dc5d97 Path: Contour works on clones and other objects with proxy and shape. 2017-06-15 14:42:30 -03:00
sliptonic e169085959 Path: disable diameter checking in Drilling
I'm turning this off for now.  tolerance
problems are making it less than useful.
2017-06-15 14:42:30 -03:00
sliptonic aeec1c8c88 Path: added a hidden property to store the areaparams
Useful for debugging.
2017-06-15 14:42:30 -03:00
sliptonic b5e233d3aa Path: fix bug in drilling
hemispherical faces have an odd edge that doesn't have a Curve attribute.
2017-06-15 14:42:30 -03:00
sliptonic f44cae2f44 Path: remove obsolete NC sources 2017-06-15 14:42:30 -03:00
sliptonic cc4abd21b9 Path: usecomp setting toggles the availability of the side property 2017-06-15 14:42:30 -03:00
sliptonic 0766a7387f Path: first experiments with collision detect 2017-06-15 14:42:30 -03:00
sliptonic c97724ef30 Path: remove Pocket OCC algorithm 2017-06-15 14:42:30 -03:00
sliptonic 936bbedaeb Path: bug fixes 2017-06-15 14:42:30 -03:00
sliptonic dcbfc880ff Path: add output precision option to linuxcnc post.
Modified unit tests to use it.
2017-06-15 14:42:30 -03:00
wmayer eb64ecc06f improve exception message if proximity function fails 2017-06-15 14:28:10 +02:00
Yorik van Havre 1854d3de69 Draft: Fixed typo 2017-06-13 14:08:38 -03:00
Pekka Roivainen dd48cc5f2b Path: Add PathDressupRampEntry.py to CMakeList 2017-06-12 11:32:29 +02:00
Zheng, Lei c3bd7b6b9b Path.Area: fixed projection tolerance problem 2017-06-12 11:26:39 +02:00
Yorik van Havre e24aa3fb23 Arch: Fixed small bug in Space 2017-06-11 22:37:31 -03:00
Amritpal Singh fb62c91366 Added RebarShape property to the Rebar object and defined setEdit() function in Rebar object 2017-06-11 14:03:44 -03:00
wmayer c1070e5e8e NULL is defined as nullptr on FreeBSD and causes a build failure
For more information see: https://forum.freecadweb.org/viewtopic.php?f=4&t=22897&p=177660#p177660
2017-06-11 18:48:23 +02:00
triplus acdf40e467 Navigation indicator orbit style improvements
- Orbit style settings improvements
- Tooltip information improvements
- Expose orbit style options to shortcuts
2017-06-11 17:55:33 +02:00
triplus 780bede885 Add Tux to translation scripts 2017-06-11 17:53:11 +02:00
Pekka Roivainen af68de8231 Path: PathArray support for Polar and 2D arrays 2017-06-11 17:49:38 +02:00
Pekka Roivainen d7b139957a Add ToolController property to PathCompound 2017-06-11 17:49:38 +02:00
Pekka Roivainen 2a3f1cb749 Add ToolController property to PathCopy 2017-06-11 17:49:38 +02:00
Pekka Roivainen 44bbffe48a Path: Add ToolController property to PathArray Object 2017-06-11 17:49:38 +02:00
Pekka Roivainen b7876acc43 Path: DressupRampEntry Method3 improvement + flake8 2017-06-11 17:46:03 +02:00
Pekka Roivainen 3209eca10e Path: DressupRampEntry bug fix + added RampMethod3 2017-06-11 17:46:03 +02:00
Pekka Roivainen 8dac1d0b15 Added Helix. Other cleanup and fixes. 2017-06-11 17:46:03 +02:00
Pekka Roivainen 40fe7a04ba added second method for ramping 2017-06-11 17:46:03 +02:00
Pekka Roivainen f03eee36f8 DressupRampEntry initial commit 2017-06-11 17:46:03 +02:00
wmayer a405b4dae0 issue #0003070: VRML 2 crashes with corner cases 2017-06-11 16:41:52 +02:00
Yorik van Havre ab1b344410 AddonManager: Further older ssl/urllib2 version support 2017-06-09 11:05:17 -03:00
Bernd Hahnebach 2ea7a1fc6f FEM: ccx input writer, do not write EigenmodeLimits if they are set to -1.0 2017-06-09 06:49:18 +02:00
Bernd Hahnebach 63a2153eb4 FEM: prerequisites check, add a check to proof if all material objects do have the same ref shape type 2017-06-09 06:46:50 +02:00
Bernd Hahnebach a8dbc81a59 FEM: material task panel, fix in reference shape type test 2017-06-09 06:42:13 +02:00
Yorik van Havre 5c5292cf4f AddonManager: Support older versions of ssl module 2017-06-09 00:06:46 -03:00
Yorik van Havre f2fff7225c Draft: Fixed unicode conversion bug in DXF export 2017-06-09 00:00:08 -03:00
Bernd Hahnebach 086d2ed0bb FEM: ccx input writer, better writing code in ccx elsets 2017-06-07 23:32:36 -03:00
Bernd Hahnebach c85d8c61e3 FEM: ccx input writer, move some defs from ccx input file writer to input file writer:
- get the material sets and write them to material objects
- get the geometry beam and shell sets as well as the fluid beam sets and write them to the objects
2017-06-07 23:32:36 -03:00
Bernd Hahnebach 85deb88789 FEM: ccx input writer, use variables for elementset names instead of hardecoded values 2017-06-07 23:32:36 -03:00
Bernd Hahnebach de8d421cef FEM: ccx input writer, code typo, use an elif instead of if 2017-06-07 23:32:36 -03:00
Bernd Hahnebach a9fb191de1 FEM: ccx input writer, check for string type instead of the specific string Eall 2017-06-07 23:32:36 -03:00
Bernd Hahnebach e6642d43b1 FEM: ccx input writer, split ccx element set writing and 1D-Flow element set id retriving from each other 2017-06-07 23:32:36 -03:00
Bernd Hahnebach 94775af24b FEM: ccx inputwriter, get rid of a duplicate in 1DFlow section 2017-06-07 23:32:36 -03:00
Bernd Hahnebach 2fed6fd10c FEM: ccx input writer, code formating 2017-06-07 23:32:36 -03:00
Bernd Hahnebach 6fe8b38c06 FEM: input writer, constraint force, move the refshape type code into fem tools 2017-06-07 23:32:36 -03:00
Bernd Hahnebach 1ca27a2f9d FEM: abaqus writer, fix precision 2017-06-07 23:32:36 -03:00
Bernd Hahnebach cd0014b16c FEM: abaqus writer, use better names for elementsets 2017-06-07 23:32:36 -03:00
Bernd Hahnebach b01e482e07 FEM: abaqus writer, some comments 2017-06-07 23:32:36 -03:00
Bernd Hahnebach 546c02a71e FEM: unit tests, add some comments 2017-06-07 23:32:36 -03:00
Bernd Hahnebach bf45cb16ee FEM: unit tests, use FreeCADs native Python API to create the meshes 2017-06-07 23:32:36 -03:00
Bernd Hahnebach c06cbdee70 FEM: unit tests, use better file name for unv read write test 2017-06-07 23:32:36 -03:00
Bernd Hahnebach cb90f46a05 FEM: unit tests, use the lately commited dev in Test to run unit tests of FEM 2017-06-07 23:32:36 -03:00
Bernd Hahnebach 20b4865061 FEM: gmsh mesh tool, get rid of the error pop up in the regard of BooleanFragments Compound 2017-06-07 23:32:36 -03:00
Yorik van Havre 6e0f060e96 Fixed typo errors 2017-06-07 16:01:22 -03:00
wmayer bf693725f4 py3: support of Python 3.4 2017-06-07 15:28:46 +02:00
Yorik van Havre 3c96803d12 Draft: move the planetrack when drawing a polyline 2017-06-06 20:09:30 -03:00
Yorik van Havre 0544ecbd3e Arch: Allow Arch objects to be arrayed if their Axis property is set 2017-06-06 19:30:26 -03:00
Yorik van Havre 4031e758f8 Arch: Fixing wrong normal direction in structures 2017-06-06 19:29:06 -03:00
wmayer 9513792292 py3: support of Python 3.4 2017-06-06 23:49:42 +02:00
Yorik van Havre 2b323670c7 Arch: Added Axis System 2017-06-05 20:06:01 -03:00
Yorik van Havre 255b28138f Arch: Allow axes to have labels 2017-06-05 18:08:54 -03:00
Yorik van Havre 43a8a94e64 Arch: Safeguards in Arch cutplane command - fixes #3023 2017-06-05 12:57:36 -03:00
Markus Lampert f1186599a9 Fixing translate refactoring error. 2017-06-05 12:02:12 -03:00
Yorik van Havre 5424fcd19d Draft: Better msg in dxf import/export to inform the possibility to use the addon manager - issue #3064 2017-06-05 11:59:31 -03:00
wmayer 5f54fc0298 py3: fix several crashes 2017-06-04 11:12:53 +02:00
Markus Lampert 4c3cee03c5 Replaced default context argument with explicit call for pylupdate to pick up the strings and contexts. 2017-06-03 15:37:41 -07:00
Markus Lampert 617cea6679 Fixed M6 tool index for linuxcnc and opensbp. 2017-06-03 15:37:41 -07:00
Markus Lampert 6d57a0ff10 Removed obselete tooltable editor implementations. 2017-06-03 15:37:41 -07:00
Markus Lampert 3368c8682e Moved almost all translate implementations away from QtGui. 2017-06-03 15:37:41 -07:00
Markus Lampert fa9166b738 Fixed post processing output if document is in current working directory. 2017-06-03 15:37:41 -07:00
Markus Lampert 5261b5bc06 Removed unused properties from PahJob; fixed post processing arguments 2017-06-03 15:37:41 -07:00
wmayer 8ce343291b py3: fox compiler warnings
issue 0000995
2017-06-04 00:17:57 +02:00
Yorik van Havre d52f9f5d1a Draft: autogroup arrays 2017-06-03 14:50:15 -03:00
wmayer 88bd341ad2 fixes #0002926: Trying to access Part.Shape.children() before doc.recompute() crashes the whole program 2017-06-03 13:46:05 +02:00
wmayer 98f8879e24 Py3: in Py2 use string instead of unicode for identifier 2017-06-03 10:51:05 +02:00
wmayer 69d0e8bd7f py3: partially revert of getattr -> getattro because getattro is only needed for the static callback function
issue 0000995
2017-06-03 10:51:05 +02:00
looooo f2e1b0df72 py3: PyFindMethod -> GnericGetAttr
issue 0000995
2017-06-03 10:51:05 +02:00
looooo bc696e5ab5 py3: change of getattr -> getattro
issue 0000995
2017-06-03 10:51:05 +02:00
triplus 3168f8ed3f Don't create AppImage on Travis 2017-06-03 10:37:26 +02:00
triplus a9007015b0 Redefine complete workbench purpose 2017-06-03 10:32:50 +02:00
Yorik van Havre 83095ca574 Draft: Fixed clone bug - fixes #3066 2017-06-02 23:43:47 -03:00
wmayer 369cc735e1 py3: port external FreeCAD module to Python3
whitespace improvement
2017-06-02 10:18:41 +02:00
wmayer 8164722a71 py3: port external FreeCAD module to Python3
issue 0000995
2017-06-02 06:43:18 +02:00
looooo eb60d4f65d py3: some fixes to make start-workbench load on python3
issue 0000995
2017-06-02 06:41:04 +02:00
Peter Lama 8a6d61329f py3: win: Link required vc14 CRT libs
issue 0000995
2017-06-02 06:40:32 +02:00
Yorik van Havre 3aa61531a8 Draft: Added snapping between mid of two hold points 2017-06-01 19:02:15 -03:00
Yorik van Havre a0901f57f0 Addon manager: Added a button to check for available updates (git mode only) 2017-06-01 18:47:16 -03:00
looooo b91e960c5c py3: /cMake gathering commits for cmake
mostly this changes are necessary to build FreeCAD with py3 (and conda) on windows.
issue 0000995
2017-06-01 19:42:13 +02:00
Yorik van Havre 38544db282 Draft: Added visual feedback when modifying x,y,z values manually 2017-06-01 14:16:43 -03:00
Yorik van Havre 99e400e87a Addon manager: Added check for optional py dependencies 2017-06-01 12:07:46 -03:00
wmayer 749d666099 fixes #0002156: Sketcher Visualization fails to represent sketch properly 2017-06-01 12:43:41 +02:00
Abdullah Tahiri bc6a52ee94 fixes #0002499 2017-06-01 07:47:31 +02:00
Yorik van Havre 58909797a0 Addonmanager: Small fix 2017-05-31 22:53:50 -03:00
Yorik van Havre e2e1f44b45 Addon manager: strip possible whitespaces in dependencies checking 2017-05-31 19:23:28 -03:00
Yorik van Havre 590c57d29f Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-05-31 19:18:31 -03:00
Yorik van Havre 456d3b80f1 Addon manager: Added dependency checking 2017-05-31 19:18:18 -03:00
Abdullah Tahiri 1a33f3bf99 Fixes #0002735 2017-05-31 23:59:17 +02:00
sliptonic f6e0f06a63 Path: add output precision option to linuxcnc post.
Modified unit tests to use it.
2017-05-31 23:38:59 +02:00
sliptonic 69a797b99c Path: trying to fix unit test again 2017-05-31 23:38:59 +02:00
sliptonic 0405a67c24 Path: added use of return_last to contour.
Path: bug fixes
2017-05-31 23:38:59 +02:00
sliptonic aad865375b Path: fixes for unittest
Path: precision fix to unittest pathpost
2017-05-31 23:38:59 +02:00
sliptonic 6768a70a2d Path: PathArea logging 2017-05-31 23:38:59 +02:00
sliptonic 8f690e676a Path: Cleanup MillFace Dialog 2017-05-31 23:38:59 +02:00
sliptonic 39631cf4ef Path: Area logging 2017-05-31 23:38:59 +02:00
sliptonic 68ca689e94 Path: minor fixes to PathMillFace 2017-05-31 23:38:59 +02:00
sliptonic 098ca483d3 Path: add cursor waiting decorator to long running functions.
Remove obsolete ToolDescription code from label change.
2017-05-31 23:38:59 +02:00
sliptonic 9b1b12d87c Path: TC panel bug. Loses decimal part of float spindle rate 2017-05-31 23:38:59 +02:00
sliptonic 29a8cbf114 Path: make cursor reflect busy
Path: fix label buy in PathProfileEdges

Path: cleanup
2017-05-31 23:38:59 +02:00
sliptonic 2ef59ac0b6 Path: More work on PathMillFace to remove old heeks dependency 2017-05-31 23:38:59 +02:00
sliptonic 0917fcb37b Path: TD version of getEnvelope for testing. 2017-05-31 23:38:59 +02:00
sliptonic c7afbd1e12 Path: Engrave was using safeheight and clearance incorrectly. 2017-05-31 23:38:59 +02:00
sliptonic 474282f595 Path: engrave will do arrays 2017-05-31 23:38:59 +02:00
sliptonic 775b91d1a2 PATH: conversion of PathContour to PathArea nearly complete
Path: improve contour to use makeSections
2017-05-31 23:38:59 +02:00
sliptonic 018ba981f8 Path: use verbose mode for fromShapes() to get relative arc centers 2017-05-31 23:38:59 +02:00
sliptonic 9524ef8100 PATH: Smoothie post for laser
includes spindle speed (power) on every line
2017-05-31 23:38:59 +02:00
sliptonic 697fd74bb3 Path: Convert Contour and MillFace to use PathArea 2017-05-31 23:38:59 +02:00
looooo 947c10a4fd py3: src/Tools: python3 diff, 2. part
issue 0000995
2017-05-31 23:23:21 +02:00
Markus Hovorka 36a0b5173c Honor CMAKE_INSTALL_RPATH in SET_BIN_DIR
set_target_properties used up until now in the SET_BIN_DIR macro sets
the INSTALL_RPATH property and discards whatever it contained before.
The INSTALL_RPATH target property is initialized with the cache variable
CMAKE_INSTALL_RPATH (possilbly given via the -D option of cmake). To
preserve this "default" value this commit replaced set_target_properties
with set_property(... APPEND ...).
2017-05-31 23:08:16 +02:00
Zheng, Lei 0c8a8733ff Path.Command: fix toGCode() bug introduced in 0e9c1c07
* output 6 digits instead of 5
* fixed negative value output
2017-05-31 23:50:05 +08:00
looooo 11dcd18e0f py3: src/Tools: python3 diff, 1. part
issue 0000995
2017-05-31 12:04:48 +02:00
Abdullah Tahiri 4b042536f8 Notification to the user that a body is not active when inserting a datum entity - fixes #2511 2017-05-31 02:41:29 +02:00
Abdullah Tahiri 7863a63659 Fillet Feature: Return if radius <= 0 2017-05-30 23:09:29 +02:00
Zheng, Lei 0e9c1c076e Path.Command: rounding instead of truncate in toGCode
Also changed default Path.Area pareameter ClipperScale to 1e6 which
corresponds to the default 5 digits output of Path.Command toGCode()
2017-05-30 18:49:34 +02:00
crobarcro 4a08048901 TopoShapeEdgePy.xml: improved docstrings
Corrected docstrings for *At methods (valueAt, tangentAt etc.) to explain parameter position meaning

Improved docstrings for FirstParameter, LastParameter, Length and getParameterByLength
2017-05-30 18:09:33 +02:00
triplus d31de98c4b Create AppImage on Travis
Please wait until merged:

https://github.com/probonopd/AppImages/pull/241

Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=4&t=22606
2017-05-30 18:03:55 +02:00
WandererFan 052704eb0c Fix #1937 mis-shapen projections in TechDraw and Drawing
Complex curves need more bezier segments for accurate representation.
2017-05-30 15:44:38 +02:00
Kurt Kremitzki fabc8007d2 Add ctags tag files to gitignore 2017-05-30 15:38:08 +02:00
wmayer 8032a7a492 replace hard-coded values with enum values 2017-05-30 15:21:23 +02:00
wmayer 455b646854 set Restore flag also for copy&paste operation 2017-05-30 14:16:29 +02:00
Abdullah Tahiri b7067c0237 minimal improvement of Document documentation 2017-05-30 13:01:45 +02:00
Abdullah Tahiri 2686f51c57 Checking for Document Restoring when extension has a null property
==================================================================

The problem:

OriginGroupExtension::OriginGroupExtension () {

    initExtensionType(OriginGroupExtension::getExtensionClassTypeId());

    EXTENSION_ADD_PROPERTY_TYPE ( Origin, (0), 0, App::Prop_Hidden, "Origin linked to the group" );
}

initializes the Origin property to null.

Then Document::Restore => readObjects => addObject => slotNewObject => ViewProviderDocumentObject::updateView => ViewProviderBody::updateData => ViewProviderGeometryObject::updateData =>
ViewProviderDocumentObject::updateData => ViewProvider::updateData => ViewProviderOriginGroupExtension::extensionUpdateData => updateOriginSize() => OriginGroupExtension::getOrigin,

the latter throws an exception because the origin property is null.

Afterwards, the origin property is initialized during Document::Restore => readObjects => ExtensionContainer::Restore() => PropertyContainer::Restore() => App::PropertyLink::Restore()
=> App::PropertyLink::setValue() => Property::hasSetValue, which triggers an onChange: Body::onChanged => BodyBase::onChanged => Feature::onChanged => DocumentObject::onChanged =>
Document::onChangedProperty => Document::slotChangedObject => ViewProviderOriginGroupExtension::slotChangedObjectGui => ViewProviderOriginGroupExtension::updateOriginSize =>
OriginGroupExtension::getOrigin,

now, the latter that is the same that was throwing the exception and generating the error message above, does not throw anymore because Origin has been initialized.

When creating a new object, isNew==true; whereas when loading a file, isNew==false. Therefore, when loading a file setupObject is not executed. SetupObject, effectively initializes
the extension via: Body::setupObject => DocumentObject::setupObject => OriginGroupExtension::onExtendedSetupObject.

DocumentObject * Document::addObject(const char* sType, const char* pObjectName, bool isNew)
{
    [more code here]
    // Call the object-specific initialization
    if (!d->undoing && !d->rollback && isNew) {
        pcObject->setupObject ();
    }
    [more code here]

As DocumentObject code is generic for all objects (workbenches), by design it was chosen to initialize the object only if new. Therefore a object or an extension of a object being restored,
between the addition (addObject) and the restoring of the properties, must by design expect it not to be initialized.

The solution:

Making use of the Restore flag at document level (the one at object level is not sufficient), no exception regarding the null property is reported during document restoring.

Ticket:
https://freecadweb.org/tracker/view.php?id=2530

fixes #2530
2017-05-30 13:01:45 +02:00
Abdullah Tahiri 548a79af16 App:Document new status bit to mark Restoring 2017-05-30 13:01:45 +02:00
Yorik van Havre 1a136c960e Arch Fixed wrong direction of preset structures 2017-05-29 18:02:36 -03:00
Yorik van Havre f55592755e Draft: First version of Draft Label object 2017-05-29 16:57:25 -03:00
wmayer f5a8ffb92e check for valid vertexes when measuring angles between two edges 2017-05-29 20:49:35 +02:00
wmayer abc5c2ab07 handle OCC exception when accessing point of a vertex 2017-05-29 20:36:06 +02:00
Kurt Kremitzki ee1d9533ee Invert test case 2017-05-29 12:59:00 -03:00
Kurt Kremitzki 5dceccda52 Add PartDesignMirrored test 2017-05-29 12:59:00 -03:00
Kurt Kremitzki 24728b4fa1 Change TestPartDesignApp to spaces and unix line endings 2017-05-29 12:59:00 -03:00
Kurt Kremitzki 7858b470bc Add PartDesignMirrored test 2017-05-29 12:59:00 -03:00
Kurt Kremitzki 0ca3f6c4b3 Change TestPartDesignApp to spaces and unix line endings 2017-05-29 12:59:00 -03:00
wmayer 2a6a58e587 properly raise exception in TopoShapePy::check 2017-05-29 16:52:44 +02:00
Yorik van Havre 1224705b0d Arch: Small fix in site creation 2017-05-28 19:49:32 -03:00
Yorik van Havre 1096d825ec Using PropertyFont in Arch, Draft 2017-05-27 22:55:56 -03:00
Bernd Hahnebach 68540134ea Test: add a def to run all test case clases from a test module 2017-05-27 20:38:50 -03:00
Chris Johnson ccbc0c68f6 Fix for CMake failure from empty Homebrew Python site-packages
CMake Error at src/MacAppBundle/CMakeLists.txt:25 (string):
      string sub-command STRIP requires two arguments.
2017-05-27 20:34:19 -03:00
Amritpal Singh ff049b573e added PlacementList property for the Rebar object 2017-05-27 20:02:40 -03:00
looooo 852a984195 py3: CXX: remaining diff:
win: exernalize missing CXX-functions
define PYCXX_PYTHON_2TO3
2017-05-27 20:00:57 -03:00
Bernd Hahnebach d5c5870764 FEM: group meshing, add some checks and output to catch some problems 2017-05-27 19:57:28 -03:00
Bernd Hahnebach 612bfcc12c FEM: code formating, change tabs in spaces 2017-05-27 19:57:28 -03:00
Bernd Hahnebach 3708c760ec FEM: Fenics meshes, flake8 2017-05-27 19:57:28 -03:00
joha2 85c2e6a1ee FEM: Fenics meshes, add support for xdmf format, some more improvements 2017-05-27 19:57:28 -03:00
Bernd Hahnebach 7ed786cf86 FEM: constraint pressure, add support for shell meshes if they have group data 2017-05-27 19:57:28 -03:00
Bernd Hahnebach 34cac07b43 FEM: ccx writer and mesh tools, fix bug in mesh group search 2017-05-27 19:57:28 -03:00
Bernd Hahnebach c26671c094 FEM: unittest, move mesh creation at end of test object creation 2017-05-27 19:57:27 -03:00
Bernd Hahnebach 85702031d3 FEM: unittest, get rid of not useful self. 2017-05-27 19:57:27 -03:00
Bernd Hahnebach 413c7ede90 FEM: unittest, move all CCX analysis tests in one test case class 2017-05-27 19:57:27 -03:00
Bernd Hahnebach 661fdbd307 FEM: unittest, get rid of duplicates and move them to helpers 2017-05-27 19:57:27 -03:00
Bernd Hahnebach 288406dc23 FEM: unittest, move unv test out of analysis test case 2017-05-27 19:57:27 -03:00
Bernd Hahnebach b616eea266 FEM: unittest, update result files and FreeCAD files 2017-05-27 19:57:27 -03:00
Sabin Iacob 6fbeead3fb Path: use the actual values instead of absolute values when calculating distance 2017-05-27 19:52:21 -03:00
Sabin Iacob 2c862f0f72 Path: add zmax to the job weight so we drill the holes that are closer to the surface first 2017-05-27 19:52:21 -03:00
Sabin Iacob d0bad0a3fc Path: re-add the fix from https://github.com/FreeCAD/FreeCAD/pull/725 2017-05-27 19:52:21 -03:00
Sabin Iacob bed4255b0d Path: make PathUtil.sort_jobs more generic, allow tuning job weights 2017-05-27 19:52:21 -03:00
Simon 53770dfade Fix incomplete creation of an SVG path from edges.
* Observed bug: If an ArchWindow has two opening symbols (i.e. two sides
  that can be opened), only one was printed in SVG.
* In Draft.getSVG.getPath, some edges got lost in the call of
  Part.__sortEdges__. In contrast, Part.sortEdges does not skip edges. All
  edges are retained.
* With this fix, both opening symbols are rendered in Draft.getSVG.
* While it works for my test case, I suppose, Draft.getSVG.getPath is
  used in some other places as well. Thus, side effects must be checked
  by experienced people.
2017-05-27 19:49:20 -03:00
Simon c4b1685728 Add opening symbols to clones of windows
The method execute must create the sshapes and vshapes objects. They must
1. exist in the cloned (parent) object (by calling the execute function)
2. and be copied to the clone object.
Then the SVG rendering in ArchSectionPlan can find it.
2017-05-27 19:49:20 -03:00
Abdullah Tahiri c6e0c6aa80 fixes #0003018 2017-05-26 23:28:08 +02:00
Yorik van Havre b604b27ad3 AddonManager: Introduced SSL fix discussed on FreeCAD-addon issue #11 2017-05-25 10:48:17 -03:00
Yorik van Havre 335da6a0ad Arch: Fixed moving and rotating spaces 2017-05-25 10:46:52 -03:00
Yorik van Havre 2a2ab3c4ef Updated translations 2017-05-25 10:04:05 -03:00
Yorik van Havre 379ffe073f Merge pull request #773 from realthunder/PathArea
Path.Area: bug fix and new feature
2017-05-24 12:09:49 -03:00
Zheng, Lei ae9f699e20 Path.Area: make Path.fromShapes optionally return end pos 2017-05-24 09:16:52 +08:00
Zheng, Lei fe8d32854a Path.Area: removed LogLevel from setDefaultParams
Use App.setLogLevel('Path.Area', <level>) instead.
2017-05-24 09:16:52 +08:00
Zheng, Lei c94ffe1d93 Path.Area: fix side effect on projection 2017-05-24 09:16:52 +08:00
Yorik van Havre a0da4b16a8 Display the number of selected elements in Selection View 2017-05-21 19:10:19 -03:00
Yorik van Havre ee58881f18 Draft: Leave all clones selected after cloning 2017-05-21 18:21:01 -03:00
looooo 94c68d72c3 py3: base: repair compile-fail 2017-05-21 12:35:41 +02:00
Yorik van Havre 0e9e49cbcc py3: Base: files R-Z ported to python3
issue 0000995
2017-05-21 12:35:41 +02:00
wmayer 1ec3e5da82 workaround for broken tree indicators with Qt 5.6 under Windows 2017-05-21 10:02:26 +02:00
wmayer 6bdc3eb29f workaround for broken tree indicators with Qt 5.6 under Windows 2017-05-20 21:21:30 +02:00
Yorik van Havre 08b7d9154a Arch: Fixed error in DXF export of Arch Panel sheets 2017-05-20 12:24:08 -03:00
wmayer 945313c6d3 fix crashes with FEM post-processing commands 2017-05-20 16:18:34 +02:00
Yorik van Havre 8da45638be Draft: Allow to set the Working Plane from 3 selected vertices 2017-05-20 00:53:11 -03:00
wmayer c30c325537 fix build failure if VTK is not enabled 2017-05-19 12:53:31 +02:00
wmayer e239a70ffd fix crash caused by PR761 2017-05-18 19:44:10 +02:00
wmayer d3895d03f2 fix crash in pipeline command 2017-05-18 18:40:56 +02:00
wmayer a72a4d9a75 Add Python wrapper for pipeline object 2017-05-18 18:40:25 +02:00
wmayer 5fbca1a4ad py3: port PR changes to be compatible with Py3 2017-05-18 16:25:13 +02:00
Keith Sloan ce8a423f2e Fix for Polyhedron with faces 2017-05-18 16:18:53 +02:00
Yorik van Havre 2becb8a0e8 py3: Base: files I-R ported to python3
PyObjectBase.cpp and PyObjectBase.h not included
issue 0000995
2017-05-18 16:00:05 +02:00
looooo ef22d5202d py3: define xrange for python3
this is done in files where the xrange is used.
replace this with range once python2 is not supported anymore.
issue 0000995
2017-05-18 15:56:09 +02:00
lorenz fed9d79153 StringIO/ io fix for addonmanager
io.StringIO handles unicode in py2 and 3. StringIO.StringIO handles str in python2
2017-05-18 15:56:09 +02:00
wmayer 1b2b964c35 extend error text set in Python console by additional information if present 2017-05-17 19:59:17 +02:00
wmayer f3e722c6de in Python console check if exception is dict and set more readable text 2017-05-17 19:37:34 +02:00
looooo b1e3777834 vs 2013 has already version info grater 18 2017-05-17 16:39:28 +02:00
Yorik van Havre 7114667d64 py3: Base: files A-I ported to python3
issue 0000995
2017-05-17 16:39:28 +02:00
Keith Sloan 22cbd5b825 Fix for cylinder with polygon number as a decimal 2017-05-17 11:24:29 -03:00
Yorik van Havre 6ba7a109f8 Merge pull request #758 from KeithSloan/zero-rad
Fix for circle with zero radius
2017-05-17 11:22:57 -03:00
Keith Sloan 8904d65aab Fix for circlee with zero radius 2017-05-17 05:45:55 +01:00
Keith Sloan ca4884625d Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-05-17 05:36:19 +01:00
wmayer 1be8c73dca handle possible exceptions from onDocumentRestored() 2017-05-16 23:48:55 +02:00
wmayer 4d7554197e fix crash when Part model changes with VBO activated 2017-05-16 19:30:13 +02:00
wmayer f66562942c issue #0003025: Unhandled unknown exception caught in GUIApplication::notify when opening file 2017-05-16 10:37:34 +02:00
wmayer e02db451dd fix crash when Part model changes with VBO activated 2017-05-16 06:03:22 +02:00
wmayer dc413acc42 fix build failure and make Py2/Py3 specific change 2017-05-15 22:36:21 +02:00
wmayer 7d47a723fb Fix various issues:
+ fix dangling pointers when fetching Python error text
+ initialize members in overloaded constructors of Exception class
+ implement assignment operator in sub-class
+ move to PyCXX API to simplify handling with reference counting and reading values from the dict
2017-05-15 18:49:09 +02:00
looooo 869e42e062 try to repair add-on manager 2017-05-15 12:21:14 +02:00
Zheng, Lei fa00b4f06a Path.Area: use FC tag based logging 2017-05-13 18:52:09 +02:00
Zheng, Lei dbbc32d3af Console: fix getLogLevel 2017-05-13 17:46:38 +02:00
Zheng, Lei a6abf0b25a Console: added tag based log support 2017-05-13 17:46:38 +02:00
wmayer 2fa2370ef1 remove const from exception handler to fix build failure 2017-05-13 17:33:13 +02:00
wmayer 4971818321 fix -Woverloaded-virtual 2017-05-13 16:46:49 +02:00
wmayer ff82e88413 remove commented code 2017-05-13 16:09:30 +02:00
wmayer 017752b9d8 improve whitespaces and reduce code duplication 2017-05-13 16:00:32 +02:00
wmayer 33bed8d412 remove export macro from template class to fix linker errors on Windows 2017-05-13 15:48:17 +02:00
Abdullah Tahiri a7bc962ce5 Renaming getPyDict to getPyObject for consistency with BaseClass 2017-05-13 15:27:57 +02:00
Abdullah Tahiri b410f8857c Enable exceptions to save/restore information in a python dictionary and enable throwing exception from dictionary information 2017-05-13 15:27:57 +02:00
Abdullah Tahiri 9c698f1710 Exception Factory pre-compiled header 2017-05-13 15:27:57 +02:00
Abdullah Tahiri 80c91a5de7 SketchObject:ModifyBSplineKnotMultiplicity re
written to use THROW macro and CADKernelError exception
2017-05-13 15:27:57 +02:00
Abdullah Tahiri db8511883c Enable PyException to reconstruct the original exception 2017-05-13 15:27:57 +02:00
Abdullah Tahiri 9a5f782399 pytools fix 2017-05-13 15:27:57 +02:00
Abdullah Tahiri d28424933a Extend PyTools to export exception dictionary if present 2017-05-13 15:27:57 +02:00
Abdullah Tahiri fbca57bd36 Use PyErr_setObject with a PyDict to set Base::Exception information to BaseFreeCADError Python exception 2017-05-13 15:27:57 +02:00
Abdullah Tahiri ea725a8b7a Register exception producers in Application 2017-05-13 15:27:57 +02:00
Abdullah Tahiri fe0c4987b6 Exception Factory and producers 2017-05-13 15:27:57 +02:00
Abdullah Tahiri 57698ef73c Provide default constructors for all exception types 2017-05-13 15:27:57 +02:00
Abdullah Tahiri d7fafbf5a6 Exception: Extension to access debug information and change of line to int type 2017-05-13 15:27:57 +02:00
Zheng, Lei 39025e4316 Path.Area: fix projection code for OCE 2017-05-13 14:36:42 +02:00
Zheng, Lei d4c0813e31 Path.Area: fix work plane direction 2017-05-13 14:36:42 +02:00
Zheng, Lei a0e280e961 Path.Area: outline now supports solid and non-planar faces 2017-05-13 14:36:42 +02:00
Zheng, Lei dd36a9fc45 Path.Area: force CW orientation on pocket mode offset 2017-05-13 14:36:42 +02:00
Zheng, Lei 997200d3b4 Path.Area: add parameter 'Outline' to remove inner holes 2017-05-13 14:36:42 +02:00
Zheng, Lei 9120d6db77 Path.Area: fix path orientation setting 2017-05-13 14:36:42 +02:00
Zheng, Lei 2d23673dd5 Path.Area: rename Clearance parameter to ResumeHeight 2017-05-13 14:36:42 +02:00
Zheng, Lei a1e8bb13eb Path.Area: fixed zigzag pocket mode 2017-05-13 14:36:42 +02:00
wmayer e97d9c3721 add keyword support to MakePipeShell.add, support overloaded method 2017-05-13 14:12:37 +02:00
wmayer 9b28b563ce exception handling in BRepOffsetAPI_MakePipeShellPy 2017-05-13 13:28:31 +02:00
Jeff Terrace 36c60d3f8d Use xrange instead of range when exporting to collada.
This avoids creating a giant temporary list for large meshes.
2017-05-12 09:28:54 -07:00
Keith Sloan 781fa78f3c Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-05-12 14:28:25 +01:00
Bruce B. Lacey 42d6b1b1c9 Specify Eigen3 include path on macOS
* Orocos KDL depends upon Eigen 3.2, an older version than
    the Homebrew default, requiring that the EIGEN3_INCLUDE_DIR
    be specified to cmake providing the Eigen3 include path
2017-05-11 23:06:05 -07:00
wmayer a8bd3e95e5 fix creation of NaN that invalidates the view frustum 2017-05-12 08:05:12 +02:00
wmayer 32176dba86 fix possible freeze when creating sketch grid 2017-05-11 23:34:01 +02:00
Keith Sloan 1e04f7da75 Fix for linear_extrude request of null object i.e. null text 2017-05-11 20:21:54 +02:00
Keith Sloan 513efcba0e Fix for linearextrude with twist 2017-05-11 20:17:26 +02:00
Richard Crozier 56e023a37a AppPartPy.cpp: improved docstrings for Part.makeLine and Part.makePolygon 2017-05-11 20:01:37 +02:00
looooo b07075db76 py3: AddonManager: use urllib.request insted of urllib2
issue 0000995
2017-05-11 19:50:43 +02:00
wmayer b77d8cac4f minor fixes for pr749 2017-05-11 19:47:54 +02:00
looooo ca3e58e2f3 py3: App: files D-Z ported to python3
issue 0000995
diff to py3-branch will remain in the following files in src/App:
- ExtensionContainer.cpp
- FeaturePythonPyImp.h +.inl
most likely these files depend on Tools and Base
2017-05-11 19:19:17 +02:00
wmayer f9bfd77555 add method to get ancestors of a sub-shape 2017-05-11 11:20:21 +02:00
Keith Sloan 02ee820e76 Resolve merge conflict 2017-05-11 08:22:35 +01:00
Pekka Roivainen 2b42295391 Path: PathDrilling updates
-Log Level to INFO
-PEP8 formatting
-move sort_jobs to PathUtils
2017-05-10 22:57:14 +02:00
Pekka Roivainen e0ed65eeb1 Some input field validating 2017-05-10 22:57:14 +02:00
Pekka Roivainen 69bbd95ef2 Change a button text to a more sensible one 2017-05-10 22:57:14 +02:00
Pekka Roivainen 3e7cab0297 Polishing PathDrilling 2017-05-10 22:57:14 +02:00
Pekka Roivainen 5150ea3a3e Added support for Arch Panels. Added possibility to add custom features to drill 2017-05-10 22:57:14 +02:00
Pekka Roivainen b4ae9b69b2 Drilling refactoring and cleanup 2017-05-10 22:57:14 +02:00
Pekka Roivainen 0b8b5768cb enable removing of drilled features in BaseList. Activate Find All button 2017-05-10 22:57:14 +02:00
wmayer 51d7949409 add optional parameter to TopoShape.check() to run bop check 2017-05-10 22:40:12 +02:00
Yorik van Havre 0d033757ae py3: App: files A-C ported to python3 2017-05-10 20:49:10 +02:00
WandererFan 36960df73e Fix #2971 segfault on hide() current page from Python 2017-05-10 17:43:48 +02:00
WandererFan 5a0f53d75a Fix #2972 Export Pdf Page Not in Foreground
exposes TechDrawGui.exportPageAsPdf(page,file)
also adds TechDrawGui.exportPageAsSvg(page,file)
2017-05-10 17:43:48 +02:00
WandererFan 5cc00e0c4d Fix Dimension double child collection
if a dimension references 2 geometries in a View - ie
Vertex-Vertex - only count it as 1 child of View
2017-05-10 17:43:48 +02:00
WandererFan 76280891a1 DrawGeomHatch improvements
-draw & align dash patterns correctly on all QPainters using QGPathItem
-Allow patterns to start with space
-ensure horiz & vert lines pass through pattern origin
-Scalable complex patterns
2017-05-10 17:43:48 +02:00
WandererFan ae269dfc28 Prevent ghost centre marks in ViewDetail 2017-05-10 17:43:48 +02:00
WandererFan f60464e545 implement detail view highlight in base view 2017-05-10 17:43:48 +02:00
WandererFan eb34dc5103 fix confusing class name 2017-05-10 17:43:48 +02:00
WandererFan 75397d9e43 clean up GeomHatch feature, gui & dialog
Refactor code, allow dialog to edit feature, update graphics on change
prep for dash line start positioning.
2017-05-10 17:43:48 +02:00
WandererFan 0ab0a92bf2 Correct property names in Prefs 2017-05-10 17:43:48 +02:00
WandererFan 24698be5ae Apply HiRez mods to ViewClip 2017-05-10 17:43:48 +02:00
wmayer 980145c495 make creation of sub-elements in selection view more flexible 2017-05-10 15:01:36 +02:00
wmayer e8d14012f5 fix implementation of Module attribute 2017-05-10 11:23:34 +02:00
wmayer 03bf3ac606 Expose method to Python to get property name of main geometry
fix inheritance of MeshFeaturePy
fix inheritance of PartFeaturePy
remove useless test() method
implement getPyObject in GeoFeature in case a sub-class doesn't implement it
2017-05-10 10:36:22 +02: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 84a9f74633 Added a 'show' option to the Selection View's context menu 2017-05-09 19:55:40 -03:00
Yorik van Havre 4174aac5ab Arch: Changing the Length of a Wall now affects its baseline 2017-05-09 19:32:48 -03:00
wmayer 0ad2e47f4d add command to merge point clouds 2017-05-08 21:50:03 +02:00
DeepSOIC 164b8c7f93 Draft: use viewer.redraw() in interactive operations
improves responsiveness of Draft on Windows dramatically
2017-05-08 11:44:41 -03:00
DeepSOIC 1137d5e6a8 Gui: expose ViewerPy.redraw() method 2017-05-08 11:44:41 -03:00
Yorik van Havre 73f2307390 Draft: Fixed encoding in importDXF message - issue #3019 2017-05-08 10:51:04 -03:00
Jean-Marie Verdun 4355b2864c Compute the document before inserting STEP file.
Consider that inserted Tree Element are computed and remove the Touched flag
before recomputing lately the document
This is accelerating the STEP file
2017-05-07 21:45:31 +02:00
Jean-Marie Verdun 6642022bea Step Reader Improvements
Call new functions which allows to allocate in a single call Object into the document instead of multiple calls
Put into a Compound, STEP Compound instead of a Sub Tree which was creating far
too much object (aka replicate what CAD Assistant and EDrawings are doing when
opening a complex STEP tree)
2017-05-07 21:37:48 +02:00
wmayer 1543566716 fix memory leak in DocumentObject::execute and return ASAP on errors 2017-05-07 16:21:41 +02:00
Abdullah Tahiri 91a6dd7285 Base::Type extension to get Type by key 2017-05-07 16:06:39 +02:00
wmayer 3e862bd557 Add addObjects to add multiple objects in one step 2017-05-07 16:06:39 +02:00
wwmayer 77386684fb Merge pull request #742 from looooo/gui_1
py3: Gui: files P-Z ported to python3
2017-05-07 13:29:58 +02:00
Yorik van Havre 4f044dcbe4 py3: Gui: files P-Z ported to python3 2017-05-06 20:11:31 +02:00
looooo a3539c5168 py3: resolve dangling-pointer issues 2017-05-06 17:23:27 +02:00
Yorik van Havre aa3f9288d6 py3: Gui: files A-P ported to python3 2017-05-06 17:23:27 +02:00
looooo 226dd17e5f py3: path: some fixes to make path py3-compileable 2017-05-06 17:11:52 +02:00
looooo 6ba65d4d63 py3: Fem: PyGui: use relative imports for PyGui 2017-05-06 15:30:46 +02:00
triplus d27afa1ac7 Improved persistent toolbars start logic 2017-05-06 15:22:24 +02:00
wwmayer 65c7138231 Merge pull request #740 from DeepSOIC/gesture_fix1
Gesture navigation style fixes
2017-05-06 14:03:33 +02:00
DeepSOIC 6e39a78721 Gui: GestureNav: disable rotation when over a dragger 2017-05-06 12:48:26 +03:00
DeepSOIC 2d614154a4 Gui: GestureNav: fix constant hand cursor 2017-05-06 02:15:45 +03:00
Yorik van Havre 297b20e9b5 Arch: small fix to last commit 2017-05-05 12:52:17 -03:00
Yorik van Havre aa65230d4c Arch: Fixed multilayer wall colors + added control in wall creation panel + fixed default roles 2017-05-05 12:45:41 -03:00
Yorik van Havre 37a62b4096 Draft: Fixed snapping to intersection of Arch axes 2017-05-05 10:42:48 -03:00
Abdullah Tahiri 2c5bc5d69a Exception: FUNCSIG instead of PRETTY_FUNCTION for Microsoft compiler 2017-05-05 15:15:49 +02:00
wwmayer af2f37e5bb Merge pull request #733 from triplus/BootPhase
Boot phase reference point
2017-05-05 13:55:51 +02:00
triplus bd64f4c038 Boot phase reference point 2017-05-04 20:03:34 +02:00
looooo bf5f3484f6 Test: simplified command to run single test 2017-05-04 00:19:37 +02:00
Abdullah Tahiri 1091511c77 Base::Exception extension
=========================

1. Enable automatic storing of information (function, file, line) when throwing the exception via macro:

Examples:

THROWM(Exception, "BSpline GeoId is out of bounds.")
THROWM(ValueError, "BSpline GeoId is out of bounds.")

THROW(AbortException)

Output:

a) Python Console (what()):
App.ActiveDocument.Sketch004.modifyBSplineKnotMultiplicity(16,3,0)
Traceback (most recent call last):
File "<input>", line 1, in <module>
Base.FreeCADError: FreeCAD exception thrown (BSpline GeoId is out of bounds.)

b) ReportException (report()):
Exception (Thu Apr 27 19:15:24 2017): BSpline GeoId is out of bounds. in bool Sketcher::SketchObject::modifyBSplineKnotMultiplicity(int, int, int) in src/Mod/Sketcher/App/SketchObject.cpp:4102

2. Extend the basic framework so as to allow more control over the mangling of the message introduced by the user, setting the basis to allow, where needed,
 to preserve the original message while allowing full legacy behaviour.

3. Supporting FileDialog reporting as legacy
2017-05-03 22:08:10 +02:00
Abdullah Tahiri c974e9d752 Exception: Add CADKernelError exception for specialized OCC exception propagation to App::DocumentObject 2017-05-03 22:08:10 +02:00
wmayer 378a1e4f58 Qt5: workaround for undocking of mdi view
fix minor issues reported by clang static analyzer
2017-05-03 22:01:46 +02:00
wwmayer 1a9c878b60 Merge pull request #729 from DeepSOIC/PickRadius_fix1
PickRadius support for View3DPy.getObjectInfo()
2017-05-03 17:59:47 +02:00
Yorik van Havre 0fc9e2be04 Arch Multimaterial 2017-05-03 11:52:24 -03:00
DeepSOIC b4b882fb5b Gui: PickRadius support for View3DPy.getObjectInfo()
requested by Chris_G in forum thread "ActiveView.getObjectInfo ignores
pickRadius ?"
https://forum.freecadweb.org/viewtopic.php?f=22&t=22196
2017-05-03 16:51:36 +03:00
Keith Sloan a328e1fe73 Support of OpenSCAD offset command 2017-05-02 15:53:30 +02:00
wwmayer 192dbf1f08 Merge pull request #725 from m0n5t3r/path-helix-sort-duplicates
[path] Remove duplicate first drill job in PathHelix
2017-05-02 13:51:27 +02:00
Sabin Iacob 6acbdad01d [path] Remove duplicate first drill job in PathHelix 2017-05-02 07:10:00 +03:00
Abdullah Tahiri 7bee2c5412 Sketcher: Visualization of horizontal alignment constraint 2017-05-01 23:35:13 +02:00
Abdullah Tahiri 40c6d4be1a Sketcher: Vertical alignment constraint command 2017-05-01 22:39:37 +02:00
Abdullah Tahiri cfc2d86c2e Sketcher: Horizontal alignment constraint command 2017-05-01 22:39:08 +02:00
wmayer d02a34c03b Qt5 port: workaround to keep multi-sampling when undocking mdi window 2017-05-01 18:53:58 +02:00
wmayer 9ec00ebce8 correct method name 2017-05-01 17:51:19 +02:00
wmayer ad06765804 if set display node name in scene inspector panel 2017-05-01 17:45:42 +02:00
wmayer f76a9a773e add SwitchBoard node class 2017-05-01 17:42:03 +02:00
wmayer d679bba659 Revert "Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints"
This reverts commit 5b2e2b3d2f.
2017-05-01 16:17:20 +02:00
wmayer 7628f2bbb6 Revert "Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints"
This reverts commit 03a9d58db6.
2017-05-01 16:16:49 +02:00
wmayer d25d7a2be2 Revert "Sketcher: hidding constraints - fix entry into empty sketch"
This reverts commit e94a86dd70.
2017-05-01 16:16:13 +02:00
Abdullah Tahiri e94a86dd70 Sketcher: hidding constraints - fix entry into empty sketch 2017-04-30 10:06:15 +02:00
Abdullah Tahiri 03a9d58db6 Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints 2017-04-30 10:06:15 +02:00
Abdullah Tahiri 5b2e2b3d2f Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints 2017-04-30 10:06:15 +02:00
Sabin Iacob 0556edf6f6 [path] Make PathHelix use the new tool controllers 2017-04-30 10:05:18 +02:00
wwmayer d31bbd2090 Merge pull request #719 from m0n5t3r/path-helix-sort
[path] Sort helix drill jobs to improve efficiency
2017-04-30 10:02:34 +02:00
Sabin Iacob bac7aa9d64 [path] Sort helix drill jobs to improve efficiency 2017-04-29 11:06:41 +03:00
wmayer 38388cf650 remove undesired virtual keyword from ViewProviderPythonFeatureImp 2017-04-28 21:15:53 +02:00
Yorik van Havre 765e164b0b Gui: implemented isShow() for python viewproviders 2017-04-28 15:03:47 -03:00
Keith Sloan 6ffe8837c4 Fix for null string and single blank string 2017-04-28 19:59:29 +02:00
wmayer 18f723cb03 use specialized Python exception classes 2017-04-28 19:33:51 +02:00
wmayer 1673ab801e use specialized exception classes 2017-04-28 18:49:11 +02:00
Keith Sloan 26be4cf112 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-04-28 17:04:56 +01:00
Keith Sloan 3b7ca72d3c Remove OpenSCAD run time file 2017-04-28 16:39:18 +01:00
Abdullah Tahiri 0a32b91b6b Convert OCC exceptions into Base::Runtime exceptions for App:DocumentObject handling 2017-04-28 15:46:49 +02:00
Abdullah Tahiri e3b47cac97 Correct copy-paste typos in exception throwing 2017-04-28 15:46:30 +02:00
Abdullah Tahiri 9cfca05c90 Change all exceptions thrown within AttachExtension::positionBySupport from Base::Exception to a meaningful derivative 2017-04-28 15:46:13 +02:00
Abdullah Tahiri c3eb3e7fc7 Part Design: Allow attachment error messages and error setting propagation 2017-04-28 15:45:54 +02:00
Keith Sloan 8c391f07d7 Fix for null string and single blank string 2017-04-28 13:28:02 +01:00
wmayer df1e2642d0 replacement for PR 698 2017-04-27 23:05:40 +02:00
wmayer 9aac25b763 fixes #0003000: View property Angular Deflection can freeze FC 2017-04-27 19:20:22 +02:00
wmayer 8679950b89 fix crash when setting invalid selection filter, improve doc strings 2017-04-27 18:55:09 +02:00
looooo 84f8644244 py3: part-design: involute-gear 2017-04-27 13:17:51 -03:00
Yorik van Havre ead006131f Draft: fixed getSVG to work in non-GUI mode 2017-04-27 13:07:28 -03:00
wmayer bd57dbfc4e add warning to generated file not to make manual changes 2017-04-27 15:52:15 +02:00
wmayer 63cb979328 fix reference leak 2017-04-27 15:26:46 +02:00
wmayer a2dd176bc2 issue #0002996: PyObjectBase notification chain can lead to unexpected changes to document 2017-04-27 15:09:28 +02:00
Ian Rees 6368b2f822 TechDraw: Tidy, and fix Qt5 template text edition 2017-04-26 18:23:21 +12:00
wwmayer 20828b3cb3 Merge pull request #711 from realthunder/PathArea
Path.Area: add abs_center parameter to Path.fromShapes
2017-04-25 11:24:40 +02:00
Zheng, Lei e1fcdcf3bb Path.Area: add abs_center parameter to Path.fromShapes
Set to true to enable absolute arc center mode (G90.1)
2017-04-25 11:51:54 +08:00
wwmayer 3e7b6b359d Merge pull request #710 from wwmayer/SurfaceFilling
Surface filling task panel
2017-04-24 21:29:00 +02:00
wmayer fa50729aeb reset highlighting of references if object is being deleted, fix crash with invalid sub-element names 2017-04-24 19:18:58 +02:00
wmayer 2cfb029fe5 highlighting of point constraints 2017-04-24 17:20:41 +02:00
wmayer 35544db84a fix vertex highlighting 2017-04-24 17:19:21 +02:00
wmayer 7e977a8ecc rename material binding class member for faces to make clear its purpose 2017-04-24 14:53:05 +02:00
wmayer 6a4171c243 implement highlighting of surface in filling task panel 2017-04-24 14:43:30 +02:00
wmayer aad1777443 fix include dir on cmake 2017-04-24 11:12:12 +02:00
wmayer d73fd1e8ab Extend task panel for filling function 2017-04-24 11:12:12 +02:00
wmayer e50dff0f02 Extend task panel for filling function 2017-04-24 11:12:12 +02:00
wmayer b47805dcc6 Extend task panel for filling function 2017-04-24 11:12:12 +02:00
wmayer b0eed05a73 Extend Py interface of PropertyStringList to accept all sequence types 2017-04-24 11:12:12 +02:00
wmayer 29673491e9 Extend task panel for filling function 2017-04-24 11:12:12 +02:00
wmayer e2065ec5b9 Extend task panel for filling function 2017-04-24 11:12:12 +02:00
Sabin Iacob 4a51171593 [path] Add feeds to PathDressupHoldingTags output 2017-04-23 20:56:42 -03:00
Sabin Iacob afd6057def [path] Set ToolController before calling setup in PathDressupHoldingTags 2017-04-23 20:56:42 -03:00
Sabin Iacob 9df156472a [path] Fix AttributeError when attempting to export holding tags gcode 2017-04-23 20:56:42 -03:00
Simon 1815a9ef4d Fix wrong variable name symbolLineWidth -> svgSymbolLineWidth. 2017-04-23 19:42:25 -03:00
Simon e2b5c16c05 ArchSectionPlane: Fix incomplete SVG because of = instead of +=. 2017-04-23 19:42:25 -03:00
Simon f673658a22 ArchSectionPlane: Remove placeholders in getSVG and more clean up.
getSVG puts placeholders in the generated SVG code and replaces them
afterwards with length values. With the changes of the previous commits
this seems not to be necessary anymore.

I replace them in a separate commit so this change can be reverted easily.
2017-04-23 19:42:25 -03:00
Simon 99247f57d7 ArchSectionPlane: Add properties for the line color and the fill color
* Both properties are automatically added to old section planes
  with the help of onDocumentRestored.
* A bit of style clean up to improve the readability of touched code lines.
2017-04-23 19:42:25 -03:00
Simon 9633c94515 ProjectionAlgos: Make the style of the lines in the SVG file configurable.
* getSVG provides new style parameters for every kind of line:
  V, V0, V1, H, H0, H1.
* Old line width parameters are removed. The style parameters
  can be used instead.
* A style is a map container for svg attribute keys and values
  (string, string).
* The Python interface is updated to offer the new style parameters
  accordingly as a dict.
* Because there are many parameters on the function call now,
  the Python interface supports keyword parameters.
* Update ArchSectionPlane to take advantage of the new style parameters.
  This simplifies the code. String replacements could be removed
  (done in a later commit).
* FeatureViewPy.cpp is – to my knowledge – the only function that used the
  old line width parameters. I rewrote it to use the new style parameters.
2017-04-23 19:42:25 -03:00
Zheng, Lei 2bda3a3207 Path.Area: return Py_None with ref counting 2017-04-23 19:15:19 -03:00
Zheng, Lei c9be3b3676 Path.Area: added Line, Grid, Triangle pocket mode 2017-04-23 19:15:19 -03:00
Zheng, Lei b623b20c87 Path.Area: suppress holes when project
When doing projection, there doesn't seem to have a reliable way of
knowing which edges are for inner holes. So we just suppress holes
altogether, and make it as outline only projection.
2017-04-23 19:15:19 -03:00
Zheng, Lei 4680488a7f Path.Area: make XY plane selection explicit 2017-04-23 19:15:19 -03:00
Zheng, Lei 041c403f5d Path.Area: support open path direction control 2017-04-23 19:15:19 -03:00
Zheng, Lei e8704891f4 Path.Area: change Distance() to SquareDistance() 2017-04-23 19:15:19 -03:00
Zheng, Lei 17a57a3165 Path.Area: added outline projection support 2017-04-23 19:15:19 -03:00
Zheng, Lei 5eba2cb851 Path.Area: replaced sort_Edges with WireJoiner 2017-04-23 19:15:19 -03:00
Zheng, Lei 7f25fe6ddb Path.Area: fixed plane finding 2017-04-23 19:15:19 -03:00
Zheng, Lei 1094dcb47b libarea: fixed open curve clipping 2017-04-23 19:15:19 -03:00
Zheng, Lei 9e3f461f43 Path.Area: added feedrate to Path.fromShapes
'feedrate' for normal move, and 'feedrate_v' for vertical only move if
not zero. Also added 'verbose' parameter to include complete cooridnate
and feedrate parameter in each motion GCode.
2017-04-23 19:15:19 -03:00
Zheng, Lei 13e4a1bafb Path.Area: added orientation param to Path.fromShapes
The 'orientation' parameter allows to enforce loop direction
2017-04-23 19:15:19 -03:00
Zheng, Lei b26945b0ad Path.Area: use normal move for step down 2017-04-23 19:15:19 -03:00
asiersarasua 43704f31ee Fix typos 2017-04-23 18:48:21 -03:00
Yorik van Havre 0d5176700a Draft: bugfix in DXF export of panel cuts 2017-04-23 15:17:50 -03:00
Yorik van Havre 42e785b2ba Draft: Array now propagates DiffuseColor of base object 2017-04-23 15:17:18 -03:00
Yorik van Havre 447cbefe46 AddonManager: support for qt5 2017-04-23 15:16:33 -03:00
wwmayer eb5c56b502 Merge pull request #708 from abdullahtahiriyo/fix_driving_angle_value
Sketcher: Force solver to return non-driving angles in [-pi,pi]
2017-04-23 10:25:01 +02:00
Abdullah Tahiri eefc51ee7a Sketcher: Force solver to return non-driving angles in [-pi,pi] 2017-04-23 06:00:40 +02:00
wmayer 444cfc397a encode names of constraints when writing to XML 2017-04-22 19:09:13 +02:00
Abdullah Tahiri b619b844cf Sketcher: Consistency in terminology 2017-04-22 18:16:27 +02:00
Abdullah Tahiri c57e594ad7 Sketcher: On reference constraint double click, change it to driving and enter edit mode 2017-04-22 18:16:27 +02:00
Abdullah Tahiri e44208d56c Sketcher: Lock constraint bug fix 2017-04-22 18:16:27 +02:00
Abdullah Tahiri 0aa9438c0a Sketcher: Lock constraint relative mode and group locking 2017-04-22 18:16:27 +02:00
wmayer 44e5ee4da6 fix clang warning: -Wunused-private-field 2017-04-22 15:55:18 +02:00
wmayer bd23414dcf fix build failure 2017-04-22 15:23:21 +02:00
wmayer a4d2a9f77f Extend task panel for filling function 2017-04-22 15:07:09 +02:00
wmayer 0335e2a21c Extend task panel for filling function 2017-04-22 14:46:26 +02:00
wmayer a76ebbcec9 Initial task panel for filling function 2017-04-22 11:12:13 +02:00
wmayer 5b0c93f57c add lineedit class with clear button 2017-04-22 11:11:13 +02:00
wmayer 71de6009aa make EdgeSelection an internal class 2017-04-21 22:36:17 +02:00
wmayer 0f1c66724b rename task panel class to be conform with the feature class 2017-04-21 19:30:03 +02:00
wmayer 6e5bba3999 fix crash ExpressionDelegate::paint 2017-04-20 22:31:18 +02:00
Peter Lama a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
asiersarasua ea3d86b735 Fix typos 2017-04-20 09:49:19 +02:00
Sabin Iacob e12be7aaad [path] Set ToolController before calling setup in PathDressupHoldingTags 2017-04-20 09:41:25 +02:00
Sabin Iacob a547cebcf1 [path] Fix AttributeError when attempting to export holding tags gcode 2017-04-20 09:41:09 +02:00
wwmayer cc0c09fdc3 Merge pull request #704 from wwmayer/Curveonmesh
project polyline on mesh and create edge
2017-04-20 07:32:38 +02:00
wmayer 48a6bca7d8 project polyline on mesh and create edge 2017-04-19 23:30:15 +02:00
Yorik van Havre 67fc70dada Added AlephObjects to credits 2017-04-17 23:25:14 -03:00
Yorik van Havre a967c41b0b Small improvements to the PropertyLink editor
* The "Edit" link is now a button, same as the Placement editor
* Added a "None" entry on top of the Link dialog
2017-04-17 23:00:14 -03:00
Abdullah Tahiri ad112ca8ab Sketcher: Remove unused variable 2017-04-17 20:53:12 +02:00
Abdullah Tahiri 09d774631c Sketcher: Elements Widget add construction information 2017-04-17 20:53:12 +02:00
Abdullah Tahiri b06150ba02 Sketcher: Hide Internal Alignment Constraints 2017-04-17 20:53:12 +02:00
Abdullah Tahiri 937c6179e2 Sketcher: Rendering order widget 2017-04-17 20:53:12 +02:00
Abdullah Tahiri 4c3ffb57ca Sketcher: Fixes #3009 error with geompoints in sketcher
=======================================================

Introduction of construction points as fixed solver entities introduced this bug, as there was no specific code to check for points as they were by default construction.
2017-04-17 20:47:30 +02:00
Abdullah Tahiri b6833e882e Sketcher: Basic symmetry for angle constraint
Fixes #0002804
2017-04-17 19:14:42 +02:00
wmayer b2c2e3ffda fix material binding of indexed lineset when highlighting an edge 2017-04-17 19:02:11 +02:00
wmayer f44c2000e8 fix unused variable warnings 2017-04-17 16:20:44 +02:00
wmayer 6b391fa7f3 set shortcut for deletion of items 2017-04-17 16:20:44 +02:00
wmayer f87c6ff2db implement highlighting of references 2017-04-17 16:20:44 +02:00
wmayer 884b8202ea rename SurfaceFeature to GeomFillSurface 2017-04-17 16:20:44 +02:00
wmayer 951bf59ef4 remove superfluous classes BezierSurface and BSplineSurface 2017-04-17 16:20:44 +02:00
wmayer ff34c3eece move handling of Bezier and BSpline surface creation into a common class to increase flexibility 2017-04-17 16:20:44 +02:00
wmayer 3eed50918b improve undo/redo handling 2017-04-17 16:20:44 +02:00
wmayer 3857e5200a implement Remove command in context menu 2017-04-17 16:20:44 +02:00
wmayer 5689e4c13b remove superfluous FillType enum 2017-04-17 16:20:44 +02:00
wmayer f96d374250 improve usability of surface function 2017-04-17 16:20:44 +02:00
wmayer ffa88e559b do not make property read-only in property editor 2017-04-17 16:20:44 +02:00
wmayer 6a71dd23d3 fix edit mode of view provider 2017-04-17 16:20:44 +02:00
wmayer 39f433a410 choose more comprehensive class and file names 2017-04-17 16:20:44 +02:00
wmayer 4b25a0febc polish filling feature 2017-04-17 16:20:44 +02:00
wmayer a5452e9363 polish sewing feature 2017-04-17 16:20:44 +02:00
wmayer 1fd27d18df port Surface module to v0.17 2017-04-17 16:20:44 +02:00
wmayer e29636a88d + fix bugs in edge checking 2017-04-17 16:20:44 +02:00
wmayer a303b76334 + fix design flaw to reduce side effects 2017-04-17 16:20:44 +02:00
wmayer 88b15392eb + move FillType.h to App folder 2017-04-17 16:20:44 +02:00
wmayer d3ac517146 + make surface module compile with v0.17 and occ 7 2017-04-17 16:20:44 +02:00
wmayer 7706124df7 + use PyCXX for module initialization 2017-04-17 16:20:44 +02:00
wmayer 6bf1dc8144 + delete superfluous files 2017-04-17 16:20:44 +02:00
balazs-bamer a8adbaa125 Fix: edges of a solid can be used as surface input
Edges of a solid can be used as surface input. The real subName is
passed instead of the constant 'Edge1'
2017-04-17 16:20:44 +02:00
balazs-bamer 307105f1ab Curve validation is done in a common ancestor of App and GUI
Curve validation is done in a common ancestor class of Surface::BSurf
and SurfaceGui::CmdSurfaceBSurf
2017-04-17 16:20:44 +02:00
balazs-bamer d980889b3a Check for null shape before calling ShapeType
Check for null shape before calling ShapeType
2017-04-17 16:20:44 +02:00
balazs-bamer e681dc3771 Unhide surface props and set the filltype to read-only in data tab
I made the surface property (FillType and boundary) default again.
Status bit 2 is set on fill type to hide it in data tab.
2017-04-17 16:20:44 +02:00
balazs-bamer 0af6fc0894 allow wires as surface input
Now an arbitrary mixture of edges and wires can be used as input.
However, the total count of edges together with the wire members
can only be 2, 3 or 4.

For some reason, wires do not work in Python script:
test1.BoundaryList = [(Draft.upgrade([bs1a, bs2a]), 'Wire1')]
yields an empty BoundaryList
2017-04-17 16:20:44 +02:00
balazs-bamer 724fa4fe4e try to convert non-b-splines into b-splines; further parameter check
Non b-spline curves are converted into b-splines if possible.
This means circles, lines etc are allowed.

Further parameter checks prohibiting surfaces being accepted as input.
2017-04-17 16:20:44 +02:00
balazs-bamer 05335359ea Surface properties are hidden
Surface properties are now hidden. Read-only made creation
2017-04-17 16:20:44 +02:00
balazs-bamer d3fb21f93b PropertyEnumerator for fill type
Fill type is now of type PropertyEnumerator, allowing enumerated names
in the Data tab. However, it has 2 problems:
1. Invalid shows up
2. The user has the illusion to see the result after changing the value.
However, the result gets updated only
2017-04-17 16:20:44 +02:00
balazs-bamer 2d5119c266 Corrected feature property names
aBList -> BoundaryList
filltype -> FillType
2017-04-17 16:20:44 +02:00
balazs-bamer d8e48f3a92 Surface icon in the object tree
Bezier- and b-spline surfaces now have a surface icon in the tree.
2017-04-17 16:20:44 +02:00
balazs-bamer 7c95f25abf Warning for surfaces with 2 edges only
If the user creates a surface from 2 edges, a warning dialog appears.
Some refactoring in Command.cpp to make it simpler.
2017-04-17 16:20:44 +02:00
balazs-bamer 76c357ad70 Cancelling the just created surface deletes it
Now if the user creates a surface, the cancel in the widget deletes it.
If an already existing one is opened for editing, cancel rejects the
user change in fill type, but the surface remains.
2017-04-17 16:20:44 +02:00
balazs-bamer 29eed4a3f6 Unified UI for Bezier and b-spline surfaces
I have unified the user interface for Bezier and b-spline surfaces.
Based on the selection contents the CmdSurfaceBSurf::isActive method
determines which one can be created, and marks it for the activate
method.

For any sort of inappropriate selection contents, including foreign
shapes or mixture of Bezier and b-spline curves, the tool remains
disabled.
2017-04-17 16:20:44 +02:00
balazs-bamer 8aeb5ae971 Cancel by fill type edit did not work
After clicking Apply the old fill type was overwritten and canceling the
whole edit did not revert the fill type into the original value.
2017-04-17 16:20:44 +02:00
blobfish 1920b407ee use taskbox in taskdialog 2017-04-17 16:20:44 +02:00
blobfish e83189b9bf header clean up 2017-04-17 16:20:44 +02:00
blobfish 4372355e4c createFace function signature 2017-04-17 16:20:44 +02:00
blobfish 17946ce033 task widget based from qwidget instead of qdialog 2017-04-17 16:20:44 +02:00
blobfish 9d1dc7d23e task flow
synchronize fill types on setEdit
    finishing up command
    make activate for commands similar
    don't call execute directly
    remove unneeded update calls
2017-04-17 16:20:44 +02:00
blobfish 64bc5abe30 class hierarchy and macros 2017-04-17 16:20:44 +02:00
balazs-bamer d5a999447e Dialog with radio buttons for choosing Bezier and b-spline surface fill type
A regular common dialog with apply, cancel and OK buttons allowing
surface fill type selection for Bezier and b-spline surfaces.

The Bezier and b-spline surface functionality now seems to be complete.
2017-04-17 16:20:44 +02:00
balazs-bamer 486578e5b3 diagnostics
Some diagnostics to let me see what happens
2017-04-17 16:20:44 +02:00
balazs-bamer 405fa9c39a One more experiment
No success yet
2017-04-17 16:20:44 +02:00
balazs-bamer 0c76e1f1e1 One step towards the dialog
Problem registering the own ViewProvider
2017-04-17 16:20:44 +02:00
balazs-bamer 90ad7e3470 Next try for showing dialog
Does not work yet.
2017-04-17 16:20:44 +02:00
balazs-bamer 65bd9da6d2 fill type radio buttons - incomplete
I tried to implement a dialog with fill type radio buttons, but no
success yet.
2017-04-17 16:20:44 +02:00
balazs-bamer 328d525a82 Bezier and B spline cleanup, fixed B spline error
I have made further cleanup in Bezier and B spline surface code, and
corrected the bug in face creation for B splines (Nate has also written
that that was incomplete).
2017-04-17 16:20:44 +02:00
balazs-bamer c85368bfc0 B-spline surface operation enabled
I have converted Nate's b-spline generation to use my superclass
FeatureBSurf and added it to the GUI. Other half-ready operations as
filling and cut are commented out.

Missing:
- the fill type must be queried from the user. The data panel lets it
modify, but it is not user-friendly.
- b-spline surface is generated, but it covers only a fraction of the
supporting curves. It may lie on OCC error.
2017-04-17 16:20:44 +02:00
balazs-bamer 37406a968e Bezier surface: check selected objects
As the GUI selection changes, the Bezier surface tool avaibility is
always updated, so it is active if and only if 2-4 Bezier curves are
selected.
2017-04-17 16:20:44 +02:00
balazs-bamer 1311d5cf2c cleanup: fill type into superclass
Fill type translation gets into superclass BSurf
2017-04-17 16:20:44 +02:00
balazs-bamer 1fb63c097e Refactor and cleanup: FeatureBezSurf
Refactored and cleaned up code for FeatureBezSurf and created a new
common ancestor class for this and FeatureBSplineSurf.
2017-04-17 16:20:44 +02:00
balazs-bamer 186bd33585 WMayer's fix: subshape copy
The subshape is copied to prevent the wire tool from modifying it. This
lets the user modify any supporting Bezier curves and the Bezier surface
will follow them.
2017-04-17 16:20:44 +02:00
balazs-bamer 14014bc61a Fix build failures on Windows by WMayer
Patch request from WMayer to fix build failures on Windows.
2017-04-17 16:20:44 +02:00
balazs-bamer 00f245efdd Transformed Bezier curves work now
One gets the curve and the location from the healed wire. However, the
curve has the original coordinates, the transformation the user used to
obtain it need to be applied before adding it to the surface builder.
2017-04-17 16:20:44 +02:00
balazs-bamer 66e44578f5 Specify edge name correctly
PropertyLinkSubList does not work without a correctly specified edge name.

Signed-off-by: balazs-bamer <kolaloka@freemail.hu>
2017-04-17 16:20:44 +02:00
balazs-bamer 4f96fa2300 Let the Surface workbench appear and try to create a Bezier surface
Modifications for:
 - let the surface workbench appear
 - use only one Surface menu and toolbar instead of two separate ones
 - create a Bezier surface using 2..4 Bezier curves (does not work yet)
 - use enums for fill type

Signed-off-by: balazs-bamer <kolaloka@freemail.hu>
2017-04-17 16:20:44 +02:00
NateAM 6f4e3acce4 Added Surface module
I have added Nate's SurfaceTools module with the name changed to Surface in all files and filenames.
2017-04-17 16:20:44 +02:00
wmayer 6b26fa6ca7 fix segmentation fault in TaskFeaturePick::makeCopy 2017-04-17 11:07:54 +02:00
Yorik van Havre 5f1158ce49 Moving Arch BIMServer, Arch Git and Web Sketchfab to new external WebTools workbench 2017-04-16 16:37:25 -03:00
Yorik van Havre cf7bc5bdf0 Draft: Clones now adopt color/transparency of their cloned objects on creation 2017-04-16 15:37:34 -03:00
Yorik van Havre 66884ef2c8 Arch: Allow to set which wire cuts the hole in Arch Windows 2017-04-16 14:54:59 -03:00
Yorik van Havre ff9b027ddb Draft: Adding missing stuff from last commit 2017-04-16 14:09:57 -03:00
Yorik van Havre fcae6ef451 Draft: Finally fixed Draft UI focus bug - fixes #2810 2017-04-16 14:07:15 -03:00
Yorik van Havre 17b597fb6e TechDraw: Fixed scaling of Draft/Arch views 2017-04-16 13:51:34 -03:00
Yorik van Havre b7d81a836c Arch: Support for Panels based on other shapes in PanelCut 2017-04-16 13:13:14 -03:00
Yorik van Havre 3b06b86162 Draft: Fixed weaknesses in Draft Edit command 2017-04-16 12:18:21 -03:00
wmayer 9a3b2a976e when removing faces in thickness tool via context menu then remove selection gate 2017-04-15 13:29:19 +02:00
wmayer eb02efa004 do not use translated text for icon names 2017-04-15 12:58:35 +02:00
wmayer 8f5057a88b readd removed preferences icon for sketcher 2017-04-14 11:57:17 +02:00
Yorik van Havre b32e9806e1 Arch: Fixed support of v/vt/vn notation in OBJ importer 2017-04-12 20:30:38 -03:00
wwmayer 6661d048d3 Merge pull request #690 from abdullahtahiriyo/_more_sketcher_fixes_
more sketcher fixes
2017-04-12 17:00:41 +02:00
Abdullah Tahiri e57dc5c37c Sketcher: change carbon copy alignment by-pass from ALT to ALT+CTRL for Linux compatibility 2017-04-12 14:28:43 +02:00
Abdullah Tahiri 4909c02892 Sketcher: fix incresing bspline degree fails to show new poles 2017-04-12 14:21:54 +02:00
wmayer c2e83c7818 consistently use term 'B-spline' in the sketcher GUI 2017-04-12 09:37:58 +02:00
Amritpal Singh 10ce910c03 updated recompute() function 2017-04-11 15:23:30 -03:00
Amritpal Singh 91121a8793 added recompute() function to reflect changes in the GUI 2017-04-11 15:23:30 -03:00
Kurt Kremitzki 0a2a02ff2d Fix AddonManager sorting for Macros 2017-04-11 15:10:44 -03:00
Kurt Kremitzki 7e5d0ed0af Fix AddonManager sorting 2017-04-11 15:10:44 -03:00
wmayer cababe1269 fix scan coverity issues 2017-04-11 19:01:32 +02:00
wmayer ce36b29cb7 fix scan coverity issues 2017-04-11 15:06:37 +02:00
wmayer 004324bbc5 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
wmayer 292fdebe49 fix scan coverity issues: unchecked dynamic_cast 2017-04-11 12:45:02 +02:00
Abdullah Tahiri 09dfcf6bd7 Part Design: Keep body transparency when adding a new feature
=============================================================

Prior this commit, if a body has transparency (let's say 55%) and a new feature is added, the transparency is lost until you update it again in the body.

This prevents to actually see through while editing the feature (e.g. while setting the length of a pad) and is very annoying as the user
is required to go back to the body properties, where the old value (e.g. 55%) would still be there and change it to another value (56%) to effect it.
2017-04-11 10:41:27 +02:00
Yorik van Havre fcd459e6e3 AddonManager: Disabling list sorting for now - fixes #3003 2017-04-10 17:56:32 -03:00
Abdullah Tahiri 3b50a786f3 BSpline: Comb representation factor with hystheresis to avoid continuous comb variations on geometrically independent geometry 2017-04-10 18:55:23 +02:00
Abdullah Tahiri 147bf899d5 Sketcher: addGeometry list addition using copy to avoid copying tags 2017-04-10 18:55:23 +02:00
Abdullah Tahiri 96fcedbd30 Sketcher: Carbon Copy - Allow cross-body sketcher links
=======================================================

The instructions are shown on the status bar.

press CTRL to allow cross-body link

press ALT to by-pass directional requirements

press CTRL+ALT to allow a cross-body link and by-pass directional requirements
2017-04-10 18:55:23 +02:00
Abdullah Tahiri 8323917423 Sketcher: Carbon Copy - Correct inverted logic (worked but it is not clear) 2017-04-10 18:55:23 +02:00
Abdullah Tahiri 7818f1f08b Sketcher: Carbon Copy enable checks when not in a body 2017-04-10 18:55:23 +02:00
wmayer 7463aa7efd fixes #0002994: Validate Sketch's missing coincidence tool finds false positives 2017-04-10 17:17:40 +02:00
Zheng, Lei 92623c3a62 TreeView: fix children order when cyclic ref is found 2017-04-10 10:17:59 +02:00
Abdullah Tahiri 71a555a6bb Sketcher: using copy in addGeometry instead of clone to avoid that python users inadvertendly generate two geometries with the same Geometry tag 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 4fe698e1ee Sketcher: Carbon Copy
=====================

Carbon copy checks for parallel planes, translated origin and rotated axes, so that it can provide flipping detection when using reverse mappings.

This commit enables you to press CTRL will activating the tool in order to bypass this checks. Without the checks you will get a sketch exactly as the one
you want to copy, there are no corrections at all. This enables you to copy a profile on a new plane at a different direction for example for lofting purposes.
2017-04-10 08:57:25 +02:00
Abdullah Tahiri f6126ba9c0 Part: hiding tag handling functions as protected until a need for them is clear 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 7e37d469da Part: Modify python copy to use c++ copy() instead of clone() 2017-04-10 08:57:25 +02:00
Abdullah Tahiri e54b6a12c1 Sketcher: Fix sketchobject copy/clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri c3c670e162 Part: Geometry refactoring copy/clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 3f17292a05 Sketcher: Updated resource file 2017-04-10 08:57:25 +02:00
Abdullah Tahiri e84a6fa54d Sketcher: Bspline knot multiplicity icons 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 2a58ac0cf8 Sketcher: New function to reuse of python exception message text in the UI 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 7685823ecd Part: Geometry assignTag function 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 6a67a7dbb7 Sketcher: Carbon Copy - inform user of the limitations and disallow selection 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 68445dea1f Sketcher: Carbon Copy - refactoring of code 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 0d70996ec4 Sketcher: Carbon Copy aware of sketch orientation and location 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 30ffd1db0c Sketcher: Carbon copy using copy instead of clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 9382de15a9 Part: Geometry creation of copy method to distinguish from clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri e9764d89e4 Sketcher: CarbonCopy link values via expression engine 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 88b75cd53a Sketcher: SketchObject basic carbon copy functionality - without expressions engine 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 97090f3e0a Sketcher: Carbon Copy toolbar command 2017-04-10 08:57:25 +02:00
Abdullah Tahiri cf339a4d01 Sketcher: Updating resource file 2017-04-10 08:57:25 +02:00
Abdullah Tahiri 15e88ba1c7 Sketcher: Carbon copy icons 2017-04-10 08:57:25 +02:00
Abdullah Tahiri b9ffb09a22 Sketcher: Carbon copy Python command 2017-04-10 08:57:25 +02:00
triplus 73212a2d13 Reusable Draft Snap toolbar commands
- Reusable Draft Snap toolbar commands
- Use default size for toolbar/toolbuttons
2017-04-09 19:01:06 -03:00
asiersarasua ba3274cf1a Fix typos 2017-04-09 18:29:11 +02:00
wwmayer 727c835227 Merge pull request #680 from ianrrees/20170409-improve-docstrings
Improve Python docstrings in Part and MeshPart
2017-04-09 18:26:05 +02:00
Ian Rees 9ac1994a8f Improve Python docstrings in Part and MeshPart 2017-04-09 12:00:24 +12:00
Yorik van Havre 4fbfd8dbfe Draft: Added InPlace property to shape2Dviews 2017-04-08 16:09:24 -03:00
wmayer ce68a5b9dd expose Geometry::getTag to Python 2017-04-08 16:56:59 +02:00
Ian Rees f13aac4dd7 Send console Log/Warning/Error to stderr vs stdout 2017-04-08 14:29:02 +02:00
Ian Rees ec715e36fd Linux/MacOS - only write colour codes to TTYs
This prevents the colour codes from showing up in piped output, file
redirects, etc.
2017-04-08 14:29:02 +02:00
Ian Rees 4976c0dc4a Use colour output from main executable on MacOS 2017-04-08 14:29:02 +02:00
wmayer 3abc019af0 fix -Wsign-compare 2017-04-08 13:57:29 +02:00
wmayer 497728a6d2 add method to create new tag id 2017-04-08 13:31:28 +02:00
wmayer 16e09ea01c fix warning of unused variable 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 418beea589 Sketcher: Only Reference constraints allowable on construction points like bspline knots 2017-04-08 12:58:06 +02:00
Abdullah Tahiri a0917493bd Sketcher: Increase/Decrease knot multiplicity toolbar commands adapted to provide more meaningful error messages 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 7e9571ae87 Sketcher: SketchObject Modifyknotmultplicity adapted to raise exceptions on errors 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 4786473523 Sketcher: Adapt increase multiplicity toolbar command to use unique identifier 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 99d64ff33f Part: Geometry - implement missing setHandle functions and refactoring 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 391eaff6cf Sketcher: Decrease multiplicity command adaptation to unique identifier 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 2a4d5a422d Sketcher: Adapt modify knot multiplicity code to preserve the unique identifier 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 9580440d31 Part: Add unique identifier to Geometry 2017-04-08 12:58:06 +02:00
Abdullah Tahiri a61e032f81 Sketcher: Clear knot selection after multiplicity operation 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 99da93192b Sketcher: OCC checks for knot functionality 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 7601cdcffa Sketcher: Dropdown toolbar button for increase/decrease BSpline knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 8ca728a12f Sketcher: BSpline Decrease knot multiplity toolbar command 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 7b60a97465 Sketcher: SketchObject BSpline reduce knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri e9798b06b1 Sketcher: Increase knot multiplicity auto-reconstruction of pole circles for UI user 2017-04-08 12:58:06 +02:00
Abdullah Tahiri a17ac10b0b Sketcher: Expose Internal Geometry for BSplines
===============================================

New convenience for the user. If the first pole is radius length constraint, then any newly exposed internal geometry is created with equality constraint to the first pole.

This is really convenient in the case the user is working with polynomic bsplines, as any operation involving losing/gaining a pole (for example increase in multiplicity of a knot).
2017-04-08 12:58:06 +02:00
Abdullah Tahiri d96c8421d4 Sketcher: Assertion on solver bspline control point creation to expose any potential index miscalculation and memory overflow 2017-04-08 12:58:06 +02:00
Abdullah Tahiri debff30d92 Sketcher: Increase multiplicity command - no creation of unsolicited internal geometry 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 3fa87fd1d8 Sketcher: Fixing crash on undoing knot multiplicity increase 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 47820e207f Sketcher: TestSketcherApp.py fix AppConveyor sporadic failures 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 56ab9d8cb9 Sketcher: Curvature comb general representation scale fix 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 6653d96697 Sketcher: Cleaning up BSpline knot multiplicity increase SketchObject implementation 2017-04-08 12:58:06 +02:00
Abdullah Tahiri f6dc312681 Part: Fixing signed vs unsigned warning 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 41a1d703e2 Sketcher: BSpline creation adapted to the more flexible python constructor 2017-04-08 12:58:06 +02:00
Abdullah Tahiri d825c4cb61 Part: BSplineCurve Python creation change for greater flexibility 2017-04-08 12:58:06 +02:00
Abdullah Tahiri bc4ae73861 Sketcher: SketchObject - Python command to increase knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 2f6ee0673f Sketcher: SketchObject functionality to increase knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 02e370d392 Sketcher: Enable reuse of constraint helper functions in other toolbars
=======================================================================

bool checkBothExternal(int GeoId1, int GeoId2);
void getIdsFromName(const std::string &name, const Sketcher::SketchObject* Obj, int &GeoId, Sketcher::PointPos &PosId);
bool inline isVertex(int GeoId, Sketcher::PointPos PosId);
bool inline isEdge(int GeoId, Sketcher::PointPos PosId);
bool isSimpleVertex(const Sketcher::SketchObject* Obj, int GeoId, Sketcher::PointPos PosId);
bool IsPointAlreadyOnCurve(int GeoIdCurve, int GeoIdPoint, Sketcher::PointPos PosIdPoint, Sketcher::SketchObject* Obj);
2017-04-08 12:58:06 +02:00
Abdullah Tahiri bd2f7a0924 Sketcher: Add toolbar command to increase knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri e34788b6fc Part: GeomBSpline enable direct construction from parameters 2017-04-08 12:58:06 +02:00
Abdullah Tahiri ca48841b8c Part: GeomBSplineCurve extension to get, increase or reduce multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri d80437ed90 Sketcher: Enable showing knots on BSpline creation 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 1d8ba29d86 Sketcher: Bspline toolbar command show/hide knot multiplicity geometry information layer 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 9ecb24c94b Sketcher: Bspline knot multiplicity geometry information layer 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 8bdae94ef3 Sketcher: Bspline - SketchObject - Delete Unused geometry extended to knots 2017-04-08 12:58:06 +02:00
Abdullah Tahiri ea99ba5897 Part: Geometry - Ensure that no point is set as construction by mistake/user mistake 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 325eb2799d Sketcher: Ensure that no point is set as construction by mistake/user mistake 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 63ce5df76b Sketcher: Solver bypass of knotpoints
Internal geometry knot points, which were added as fixed parameters to the solver according to a previous commit, are tracked in the corresponding bspline as solver level,
without being a parameter to the solver, and upon solving, the position thereof is updated by means of OCC functionality.

This allows to show the knot points and solidarily move them when moving a bspline.
2017-04-08 12:58:06 +02:00
Abdullah Tahiri 4ace8e7b79 Sketcher: Construction points added as fixed parameters 2017-04-08 12:58:06 +02:00
Abdullah Tahiri ed3f5a5419 Sketcher: SketchObject Expose internal geometry extended to knots
=================================================================

Very important remark:

Until now, points could not be construction = true.

For now on, if a point is construction = true, the solver will ignore it.
2017-04-08 12:58:06 +02:00
Abdullah Tahiri 409cbb7199 Part: Geometry add support for getting the number of knots in a B-Spline 2017-04-08 12:58:06 +02:00
Abdullah Tahiri 2369112fb5 Sketcher: Bspline solver knot support - unfinished 2017-04-08 12:58:06 +02:00
Abdullah Tahiri b5c4a8a880 Sketcher: Elements widget external geometry identification fix 2017-04-08 12:58:06 +02:00
Yorik van Havre 43ab645670 Draft: Fixed buggy Trimex in non-XY planes 2017-04-07 16:03:35 -03:00
wmayer 0c0b2126ec add unit test to check for order of nodes of quadratic mesh elements 2017-04-07 20:51:02 +02:00
wmayer 1b7224cdf9 set enum size dependent on word size 2017-04-07 20:51:02 +02:00
Yorik van Havre 04a3283000 Draft: Better block handling in dxf import & export 2017-04-07 14:08:09 -03:00
Sabin Iacob 3ef2e05764 path: Look up the parent job, set units accordingly for each selected object 2017-04-07 16:02:43 +02:00
Sabin Iacob 218482e1f5 Make linuxcnc_post use the job unit system and output <unit>/min 2017-04-07 16:02:43 +02:00
wmayer 1d336fe72e avoid possibly crash when trying to add objects to the wrong document 2017-04-07 15:32:22 +02:00
wmayer 52c3b4580e properly close task dialog when document is getting closed 2017-04-07 15:16:04 +02:00
wmayer aaac13c2d3 add new signal to Document class for convinience and add method to DocumentObserver 2017-04-07 15:14:45 +02:00
wmayer bf542266c4 close sketch selection task panel on undo 2017-04-07 13:07:52 +02:00
wmayer 394ea471c6 perform auto view fit when creating body object on sketch creation 2017-04-07 10:22:40 +02:00
Yorik van Havre 8643f1cf1f Arch/Draft: Autoselect results of Up/downgrade and arch component 2017-04-06 18:08:39 -03:00
Ian Rees ac2f9f8902 Make Body object on creation of Sketch/Primitive 2017-04-06 19:26:19 +02:00
Ian Rees e2b73e5bb1 Add abort method to PartDesign TaskDlgFeaturePick 2017-04-06 19:26:19 +02:00
Ian Rees 05b5b48af8 Refactor PartDesign create primitive commands 2017-04-06 19:26:19 +02:00
wmayer a86583e833 fix crash when trying to drag and drop origin object in body object 2017-04-06 19:16:27 +02:00
Yorik van Havre aa086c1dd9 Draft: Hold snapping points
When drawing (snapping) using the Draft module, it is now possible
to press the Q key to record points. Additional snap locations then
become available orthogonally to these hold points.
2017-04-05 19:04:05 -03:00
Yorik van Havre f4edb7aed4 Arch: Rebars can now be based on any wire, not only sketches 2017-04-05 17:25:57 -03:00
Yorik van Havre 8337a7909f Added App::PropertyPlacementList 2017-04-05 17:22:51 -03:00
Alexander Gryson c014840fce Spin icon a little after forum feedback 2017-04-05 16:09:03 -03:00
Zheng, Lei 1d60277c1f TreeView: fix tree view performance
It seems on some system calling QTreeWidgetItem::takeChildren and then
addChild back is expensive. This fix avoids that but still keeps track
of item order in claimed children
2017-04-05 19:41:16 +02:00
Yorik van Havre 275732a281 AddonManager: Misc fixes
* Fixed wrong WB description
* Enabled list sorting
* Blacklisted FCGear macro (it is a WB now)
2017-04-05 13:42:31 -03:00
Yorik van Havre d8b8bbda31 Merge pull request #675 from kkremitzki/issue0002998
Create Macro dir for AddonManager if nonexistent
2017-04-05 13:15:02 -03:00
Kurt Kremitzki c902422f63 Create Macro dir for AddonManager if nonexistent
This commit implements the directory-existence-check already used for
the Mod folder when AddonManager attempts to install something into it
and is associated with bug #00029998
2017-04-04 19:17:09 -05:00
Yorik van Havre a253af0b9f Merge pull request #673 from gdoffe/path_dogbonedressup
path: use findParentJob() in getToolControllers()
2017-04-04 18:03:59 -03:00
Gilles DOFFE 428c56788e path: use findParentJob() in getToolControllers()
When applying dressup, the dressup became the new parent of the path feature object.
Then, in the getToolControllers() function, obj does not point systematically to the parent job.
An existing function findParentJob() is more suitable as it looks for the job also into grandparents.
2017-04-04 14:23:20 +02:00
Ulrich Brammer 42efec9b23 fixes 0002978 spreadsheet row problem for rows above AA 2017-04-04 13:46:15 +02:00
Ulrich Brammer e58b74793a More precise real values for Calculix input files. 2017-04-04 13:46:15 +02:00
triplus e46a8fe75f Navigation indicator support 2017-04-04 12:38:17 +02:00
wmayer d7d7aa238f add methods firstVertex and lastVertex to TopoEdge 2017-04-04 10:05:46 +02:00
wmayer add9bf910b fix memory leak on IGES import 2017-04-03 19:09:47 +02:00
wmayer a289538e03 fixes #1999: Tessellation data or OpenInventor data memory leak 2017-04-03 18:21:49 +02:00
WandererFan 97ca11f9f2 Increase tolerance for overlapping Vertexes
Some "valid" shapes are being passed to findShapeOutline where edges
that should be connected are in fact separated 10x the expected tolerance
(2*Precision::Confusion) for 2 overlapping TopoDS_Vertex.
IntTools_Tools:ComputeVV also reports these Vertices as further apart than
their combined tolerances should allow.
This change introduces a tolerance into DrawUtil and EdgeWalker vertex
comparisions that is quite "sloppy" (0.00001) but which handles the sample
objects correctly. This tolerance is adequate for drawings.  Other uses
should be considered on case by case basis.
2017-04-02 20:04:34 -03:00
Yorik van Havre 21f683e86a Merge pull request #666 from ianrrees/20170402-path-add-geom-tolerance
20170402 path add geom tolerance
2017-04-02 20:03:14 -03:00
Ian Rees a079b415ae Path: Use Deflection param for PathSurface meshes
The MaxLength option is quite slow and doesn't give as well-defined of
control over meshing accuracy as the deflection parameter.
2017-04-02 20:33:54 +12:00
Ian Rees c913481ec1 Path: Add Property to Job for geometry tolerance 2017-04-02 19:58:50 +12:00
wwmayer 78d8272d77 Merge pull request #665 from realthunder/TreeViewFix
TreeView: fixed disappearing item
2017-04-02 09:51:02 +02:00
Zheng, Lei b42c45becc TreeView: fixed disappearing item
The problem occurs when a child object is no longer claimed by its
former parent. The child tree item is not added back to Document root
even if it is the only instance left, which resulting the child object
disappearing entirely from the tree view.
2017-04-02 12:24:54 +08:00
WandererFan 1bde45172e fix wrong size svg export page 2017-04-01 16:41:50 +02:00
wmayer b01a51dbf5 extend API of TimerFunction class 2017-04-01 16:39:44 +02:00
wmayer c80f6f0941 add missing header 2017-04-01 16:11:25 +02:00
Zheng, Lei 38d41f935c PathGui: added selection style preference 2017-04-01 11:09:03 -03:00
Zheng, Lei 151d8a7b08 Gui: allow bounding box style to be customized 2017-04-01 11:09:03 -03:00
Alexander Gryson b2f937ee9f Update "as-is" icon based on forum feedback 2017-04-01 11:01:08 -03:00
Alexander Gryson e7dd0ba083 Align core icons to guidelines 2017-04-01 11:01:08 -03:00
wmayer 47847513a8 extend API of TimerFunction class 2017-03-31 22:18:06 +02:00
Kunda 784edd3f82 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
Yorik van Havre ce56bdb045 Merge pull request #659 from sliptonic/feature/stock
path: enable stock
2017-03-30 17:33:40 -03:00
sliptonic defb75b315 path: enable stock 2017-03-30 08:14:51 -05:00
tomate44 3b6020cda8 add doc and a couple of new methods to MakePipeShell 2017-03-29 19:47:52 +02:00
Yorik van Havre 7667875e0d Fixed error in addon manager 2017-03-29 10:39:59 -03:00
Bruce B. Lacey 0ca5ebe784 Fix commit 7741f74ae - Show more mac versions in about dialog 2017-03-28 11:05:05 -07:00
wwmayer 7983a79bca Merge pull request #655 from gdoffe/toolimprove_dogbonedressup
path: make dogbone dressup using new tool controller
2017-03-28 19:33:25 +02:00
Yorik van Havre 7741f74ae6 Show more mac versions in about dialog 2017-03-28 10:17:30 -03:00
Gilles DOFFE 5af90ff7b1 path: make dogbone dressup using new tool controller 2017-03-28 11:26:22 +02:00
Mateusz Skowroński c5b7c987c4 Fix building with GCC and Qt5.
issue #0002986
2017-03-28 09:56:54 +02:00
wmayer 7e9da5e957 fix possible crash in view provider of boolean algorithm features 2017-03-27 22:43:13 +02:00
DeepSOIC 64754a655e Gui: Gesture: fix for conda
@peterl94 said anaconda's Qt doesn't offer private headers. The
definitions used have almost no code associated with them, I simply
copied them to the cpp file.

See thread "ana(conda) windows packaging", starting from this post:
https://forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=70#p167370
2017-03-27 13:40:21 +03:00
Zheng, Lei f323b8c956 Gui.TreeWidget: check cyclic dep when populating 2017-03-26 18:53:36 +02:00
Zheng, Lei a5dead1717 Gui.TreeWidget: removed incorrect assertion 2017-03-26 18:53:36 +02:00
Zheng, Lei 752f7a3d29 Gui: fixed ambiguous boost::bind 2017-03-26 18:53:36 +02:00
Zheng, Lei 535762ea4f Gui: improved TreeView drag and drop
* support undo of drag and drop
* support drop only (i.e. no item removal from dragged parent item) when
    Ctrl key is pressed at the time of drop.
2017-03-26 18:53:36 +02:00
Zheng, Lei b95674db03 Gui: made the TreeView stable
The TreeView item (DocumentObjectItem) and DocumentObject now have a N:1
relationship. Adding or removing object with claimed children no longer
affects existing TreeView items.
2017-03-26 18:53:36 +02:00
wmayer 7901cf7ad2 issue #0002698: Exported STEP-File contains surplus PRODUCTS 2017-03-26 18:29:27 +02:00
DeepSOIC 809758b739 Gui: expose claimChildren to Python 2017-03-26 14:45:20 +02:00
DeepSOIC 2decd50368 App: add "Expanded" to DocumentObject.State
Looks like it was impossible to figure out if tree item of object is
expanded or collapsed. Now, it can be queried by e.g. `"Expanded" in
App.ActiveDocument.Fusion.State`
2017-03-26 14:45:20 +02:00
DeepSOIC 03f9d8121f App: expose recompute controlling to Python
Add readable-writeable attribute "RecomputesFrozen" to DocumentObject.
2017-03-26 14:45:20 +02:00
wwmayer 1e546b3280 Merge pull request #651 from agryson/fem-feedback
Edit warp icon based on forum feedback
2017-03-26 14:38:47 +02:00
Alexander Gryson e20d6d56f6 Edit warp icon based on forum feedback
[See forum post for relevant discussion](https://forum.freecadweb.org/viewtopic.php?f=34&t=21391&start=19)
2017-03-26 08:51:17 +02:00
Harald Geyer 3074c2e756 Arch: Add property to stairs object for making ladder style stairs
The StringerOverlap property allows to raise the stringers realtive to
the treads, so that they are actually beside them.

This type is often used for building wooden stairs.
2017-03-25 12:06:05 -03:00
wwmayer 2365dd6f8b Merge pull request #649 from realthunder/PathColorCorrect
PathGui: restore Path default color
2017-03-24 21:30:42 +01:00
Zheng, Lei 244492f629 PathGui: restore Path default color 2017-03-25 01:55:30 +08:00
wwmayer e006178f70 Merge pull request #648 from wwmayer/fix_warnings
Qt5OpenGL: replace gluOrtho2D for macOS
2017-03-24 14:07:32 +01:00
wmayer e96390e4c7 Qt5OpenGL: replace gluOrtho2D for macOS, move includes of GL stuff from header to source 2017-03-24 10:28:57 +01:00
wwmayer 4a639b661c Merge pull request #647 from kkremitzki/python_wordwrap_fix
Fix preferences Python console bug
2017-03-24 10:22:01 +01:00
Kurt Kremitzki b68fa265c6 Fix preferences Python console bug 2017-03-23 20:19:35 -05:00
wmayer abe15bbd83 fix signed vs unsigned warning 2017-03-23 22:18:48 +01:00
Zheng, Lei 15e3da350c Path.Area: fixing boost windows build error
Indirectly caused by the use of boost::geometry on Windows boost 1.55.
See https://svn.boost.org/trac/boost/ticket/9332
2017-03-23 22:04:52 +01:00
Zheng, Lei dbf30308e5 Path.Area: fixing boost::geometry compilation issue 2017-03-23 22:04:52 +01:00
Zheng, Lei 1d64d1e91c Path.Area: wire sorting fix and improvement
Wire sorting no longer uses libarea. Performance improvement using
boost::geometry::rtree
2017-03-23 22:04:52 +01:00
Zheng, Lei dbfc65d535 Path.Area: improved FeatureAreaPy error message 2017-03-23 22:04:52 +01:00
Zheng, Lei 40033ac3e8 Path.Area: avoid FeatureArea recompute on doc load 2017-03-23 22:04:52 +01:00
Zheng, Lei b0e9d4b213 Path.Area: fixed getShape with index 2017-03-23 22:04:52 +01:00
Zheng, Lei d447257e0b Path.Area: changed section transformation 2017-03-23 22:04:52 +01:00
Zheng, Lei b49a8ec376 Path.Area: improved section tolerance
Previously, a small offset in the same direction of section is added to
the section height to avoid tagent plane cut. Now we'll retry by adding
offset in the oppsite direction if the first attemp fails.
2017-03-23 22:04:52 +01:00
Zheng, Lei 796a8f3cd5 Path.Area: support arc plane selection 2017-03-23 22:04:52 +01:00
Zheng, Lei 80850e176d Path.Area: improved section plane tolerance issue 2017-03-23 22:04:52 +01:00
Zheng, Lei abd4f6a424 Path.Area: refined properties in FeatureArea 2017-03-23 22:04:52 +01:00
Zheng, Lei 102998208f Path.Area: support negative stepdown
Negative stepdown means going from bottom up. Some machine may have
reversed Z axis.
2017-03-23 22:04:52 +01:00
Zheng, Lei 31e82f089c Path.Area: fixed handling of shape with placement 2017-03-23 22:04:52 +01:00
Zheng, Lei 721a256268 Path.Area: fixed missing brace 2017-03-23 22:04:52 +01:00
Zheng, Lei c1ab98098e Path.Area: Changed FeatureArea WorkPlane behavior
FeatureArea will return the user defined workplane if there is one, or
else it returns auto selected plane by its internal Area object
2017-03-23 22:04:52 +01:00
Zheng, Lei b8843ec8c5 Path.Area: improved code readablity 2017-03-23 22:04:52 +01:00
Jean-Marie Verdun e9c782234b Move Step reader to New Part Design workflow 2017-03-23 21:43:46 +01:00
wwmayer bd7d094bd3 Merge pull request #645 from sliptonic/master
Path: fix bug with non-planar objects
2017-03-23 19:20:15 +01:00
sliptonic a93382af24 Path: fix bug with non-planar objects 2017-03-23 10:19:26 -05:00
Yorik van Havre 14041ebe31 Draft: Fixed buggy ungroup function 2017-03-23 09:40:27 -03:00
wwmayer b5e2df3133 Merge pull request #643 from ianrrees/20170323-remove-mac-opengl-warning
Remove warnings about Qt4 + OpenGL + MacOS issues
2017-03-23 09:32:13 +01:00
Ian Rees a3c4c6016d Remove warnings about Qt4 + OpenGL + MacOS issues 2017-03-23 21:06:46 +13:00
Zheng, Lei 44a9ecd25f PathGui: increase pre-select GCode display decimal 2017-03-22 09:23:57 +01:00
Zheng, Lei b091acd877 PathGui: speed up path marker display
User SoPointSet instead of SoMarkerSet
2017-03-22 09:23:57 +01:00
Zheng, Lei 3f7c4bc042 PathGui: fixed potential crash on Path object delete 2017-03-22 09:23:57 +01:00
Zheng, Lei 9e5f6b212e PathGui: ViewProviderPath default to bbox selection style
* Hide DisplayMode property
* Exclude initial position from bounding box
2017-03-22 09:23:57 +01:00
Zheng, Lei 0c68b691c5 PathGui: show path marker in front of path wire 2017-03-22 09:23:57 +01:00
wwmayer 5e9d9af51e Merge pull request #640 from realthunder/PreSelectCoord
Gui: do not round pre-select coord display
2017-03-22 09:18:29 +01:00
wwmayer 10bb4898ba Merge pull request #639 from kkremitzki/startwbfix2
Make Start WB Py3 friendly and consistent width
2017-03-22 09:17:12 +01:00
wwmayer ac663ead76 Merge pull request #637 from sliptonic/master
Path: Panel Bugs.
2017-03-22 09:15:03 +01:00
Zheng, Lei 5744cd5ba9 Gui: do not round pre-select coord display 2017-03-22 15:51:21 +08:00
Kurt Kremitzki ff50942914 Make Start WB Py3 friendly and consistent width 2017-03-22 02:50:38 -05:00
sliptonic 34324c6547 Path: Several small bugs related to Arch Panel support in Path.
Sheet tag placement not including the sheet offset
contour not using sheet attributes
Engraving not using sheet attributes
Profile not using transform.
2017-03-21 15:04:53 -05:00
wmayer 4d9169faf7 Qt5OpenGL: add missing header for macOS/Linux builds 2017-03-21 20:37:03 +01:00
wmayer 3da36c1682 Qt5OpenGL: add missing header for macOS/Linux builds 2017-03-21 20:37:03 +01:00
wmayer c193dbe2b3 enable FREECAD_USE_QTOPENGL_WIDGET by default for Qt5, fixes #0002952, fixes #0001401 2017-03-21 20:37:03 +01:00
wmayer 08a901a0d0 Qt5OpenGL: fix to make the 3d viewer fit into the mdi area after re-docking it 2017-03-21 20:37:03 +01:00
wmayer 2ec2ea5ac0 Qt5OpenGL: fix flickering on resize 2017-03-21 20:37:03 +01:00
wmayer 2ba7d8e632 Qt5OpenGL: update flags when dragging or removing 2017-03-21 20:37:03 +01:00
wmayer 0568209a52 Qt5OpenGL: add OpenGL debug logger (deactivated) 2017-03-21 20:37:03 +01:00
wmayer 3ac834c734 Qt5OpenGL: use OpenGL debug logger to locate problems, fix a couple of errors 2017-03-21 20:37:03 +01:00
wmayer 2c6f1fd56a Qt5OpenGL: fix transparency issue with framebuffer objects with old OpenGL API 2017-03-21 20:37:03 +01:00
wmayer e1c5597a5e Qt5OpenGL: implement grabFramebuffer 2017-03-21 20:37:03 +01:00
wmayer ed33adc35d Qt5OpenGL: make off-screen renderer working 2017-03-21 20:37:03 +01:00
wmayer 5bf326c1fb Qt5OpenGL: fix creating thumbnals, pdf, print preview and snapshot 2017-03-21 20:37:03 +01:00
wmayer 4bf14e7096 Ot5OpenGL: fix phantom objects in sketcher selection mode, get texture with the exact content of the 3d viewer 2017-03-21 20:37:03 +01:00
wmayer f04badda03 Qt5OpenGL: at startup determine some basic information about OpenGL setup 2017-03-21 20:37:03 +01:00
wmayer 6638ff90d9 Qt5OpenGL: do not use pixel buffer for the moment 2017-03-21 20:37:03 +01:00
wmayer b0cd0a5163 Qt5OpenGL: release context when finished 2017-03-21 20:37:03 +01:00
wmayer 749ace7e6b Qt5OpenGL: Framebufferobject rendering works and handles transparency and anti-aliasing 2017-03-21 20:37:03 +01:00
wmayer 27d76f3a47 Qt5OpenGL: port Image rendering mode to make box zoom & selection and cutting work again 2017-03-21 20:37:03 +01:00
wmayer 1abc9d3c42 port Flag class to use QOpenGLWidget 2017-03-21 20:37:03 +01:00
wmayer f587ec5b29 disabling depth test makes 3d viewer work again 2017-03-21 20:37:03 +01:00
wmayer a1dd462de9 move QuarterWidget to QOpenGLWidget 2017-03-21 20:37:03 +01:00
wmayer ef5d3920db move Image viewer to QOpenGLWidget 2017-03-21 20:37:03 +01:00
wmayer c17e9a2964 add option to switch between old and new OpenGL classes of Qt 2017-03-21 20:37:03 +01:00
Ian Rees caee7cae1c Get path on OSX when imported from external Python 2017-03-21 20:13:51 +01:00
Ian Rees e7beb51430 Fix minor potential memory leak. 2017-03-21 20:13:51 +01:00
sliptonic dbe9d75c8f Path: small bugs. remove deprecated setting of first rapid.
minor fixup to smoothiepost to set ip address in post arguments
2017-03-21 10:27:51 -03:00
sliptonic 975f4032b5 Path: first iteration of a post processor for smoothie.
This post will take an argument for IP address and stream gcode directly
2017-03-21 10:27:51 -03:00
sliptonic 8a3ac337f6 Path: Drilling checks for bit size to determine drillability 2017-03-21 10:27:51 -03:00
sliptonic ffc4fb28aa Path: additional functionality for arch panels 2017-03-21 10:27:51 -03:00
sliptonic 8699d14057 Path: add linuxcnc export for tooltable 2017-03-21 10:27:51 -03:00
sliptonic 09ac25f089 Path: more bug fixes 2017-03-21 10:27:51 -03:00
sliptonic 4926bfade4 Path: Engrave can handle other 2D objects including sketch 2017-03-21 10:27:51 -03:00
sliptonic 7d4ae8a851 Path: ToolLibraryManager copy button is smarter. 2017-03-21 10:27:51 -03:00
sliptonic 57da9b70c3 Path: bug fixes 2017-03-21 10:27:51 -03:00
sliptonic 424fb81cc3 Path: drilling panel 2017-03-21 10:27:51 -03:00
sliptonic ec1028aa73 path: make linuxcnc post respect F parameter as velocity 2017-03-21 10:27:51 -03:00
sliptonic a66e8b434e Path: A possibly il-advised revision to library
# Conflicts:
#	src/Mod/Path/Gui/Resources/panels/DrillingEdit.ui
#	src/Mod/Path/PathScripts/PathDrilling.py
2017-03-21 10:27:51 -03:00
sliptonic 493d346bdc Path: adapt other operations
# Conflicts:
#	src/Mod/Path/Gui/Resources/panels/DrillingEdit.ui
#	src/Mod/Path/PathScripts/PathDrilling.py
2017-03-21 10:27:51 -03:00
sliptonic d312681f9f Path: contour handles arch panels 2017-03-21 10:27:51 -03:00
sliptonic 1250576709 Path: PathEngrave converted to use use TC tools
Handles panel and panelsheet engraving
2017-03-21 10:27:51 -03:00
sliptonic 9bce3b3a70 Path: PathMillFace correctly determines TC 2017-03-21 10:27:51 -03:00
sliptonic 0ca39606ba path: contour gets correct TC 2017-03-21 10:27:51 -03:00
sliptonic 53bc54b40c path: drilling asks for correct tc on create 2017-03-21 10:27:51 -03:00
sliptonic 95a4728c6d Path: drilling mostly working again 2017-03-21 10:27:51 -03:00
sliptonic 25e4b13156 Path: fix PathContour panel 2017-03-21 10:27:51 -03:00
sliptonic 3b54157024 Path: fix drilling panel
Path: Make drilling work with local tc tools

also make hole identification more robust
2017-03-21 10:27:51 -03:00
sliptonic 9e4a6fe5b0 Path: convert pathmill face to use tc tools 2017-03-21 10:27:51 -03:00
sliptonic 2dee821d1a Path: adjust ops to use TC tools
Path: fix contour panel
2017-03-21 10:27:51 -03:00
sliptonic 4ec8f2f8b3 path: add TC selector to panels 2017-03-21 10:27:51 -03:00
sliptonic eb8e5b4c6f Path: Make post-processing aware of tool changes
Postprocessing command now makes reasonable guess about what user wants to post
and asks if it can't derive.
2017-03-21 10:27:51 -03:00
sliptonic aaee72cba8 Path: Make operations use tool from adapted TCs 2017-03-21 10:27:51 -03:00
sliptonic c633e59805 Path: make toolcontrollers seamless 2017-03-21 10:27:51 -03:00
AjinkyaDahale 7bdcfb0a20 Issue #2682
Modifying a check in SketchObject::validateExternalLinks() for datums.
Hopefully will not cause trouble.
There is still a problem where if the check fails, all constraints will
be lost!
2017-03-21 12:10:21 +01:00
Zheng, Lei f852e6b789 Gui: increase pre-select information display
The pre-select sub-element string maybe clipped depending on the main
window size. This patch increased sub-element display width by
increasing MainWindow::showMessage text width and shortening pre-select
coordinate information.
2017-03-21 10:05:52 +01:00
Kurt Kremitzki 8093a95f71 Remove debug code 2017-03-21 10:00:57 +01:00
Zheng, Lei a210cc5bc9 Gui: added bbox selection style to GeometryObject 2017-03-21 09:29:15 +01:00
Yorik van Havre 69af452bc3 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-03-20 18:02:12 -03:00
Yorik van Havre 8ba6896cf4 Arch: little fix in IFC exporter 2017-03-20 18:01:54 -03:00
Sergo 969f5cc8aa test MultiTransformed applied to a box outside the body 2017-03-20 21:39:53 +01:00
Sergo 86cb37b3d0 issue #2808 2017-03-20 21:39:53 +01:00
wmayer 2c9d5e3010 render full selection of huge part models in real time 2017-03-20 20:36:31 +01:00
Bruce B. Lacey f9c8c9dc08 Use PULL_REQUEST_TEMPLATE for FreeCAD pull requests 2017-03-20 08:35:39 -07:00
Bernd Hahnebach a8fc6b39b4 Part: BOPTools and CompoundFilter, remove not needed overwrting of setEdit and unsetEdit which prevents some C++ sedEdit modes to work 2017-03-20 10:59:02 -03:00
Yorik van Havre e737993833 Merge pull request #629 from agryson/assembly-artwork-alignment
Assembly artwork alignment
2017-03-20 10:54:44 -03:00
Alexander Gryson b413a7edc0 Create main workbench icon 2017-03-19 22:19:53 +01:00
Alexander Gryson c02004820a Update Metadata 2017-03-19 22:19:52 +01:00
Alexander Gryson 468dbb057b Align Assembly Workbench icons to guidelines 2017-03-19 22:19:52 +01:00
AjinkyaDahale c4fdc924bc fixes #2964, #2968
0002964: PartDesign Datum geometry invisible in 3D view if no geometry
present in Body
0002968: Datum items invisible on opening saved files
2017-03-19 18:09:15 -03:00
AjinkyaDahale b60fe48564 Fixed Typos 2017-03-19 18:09:15 -03:00
AjinkyaDahale 6a385f5ee3 Possible solution to a problem in pad/pocket up-to-face
Somehow we weren't able to pad/pocket up-to-face when the profile sketch
is made on a datum plane
2017-03-19 18:09:14 -03:00
Zheng, Lei d920cf419d Path: fixed Command unit test 2017-03-19 10:26:27 +01:00
Zheng, Lei b6b678b4fd PathGui: shorten preselect GCode display length 2017-03-19 10:26:27 +01:00
Zheng, Lei 2f1880cf7b PathGui: enable ViewProviderPath pre-select
Pre-select will show the corresponding GCode in the status bar, and also
the direction of the movement.
2017-03-19 10:26:27 +01:00
Zheng, Lei b9573b7491 Path: improved Command efficiency 2017-03-19 10:26:27 +01:00
Bernd Hahnebach 36c9944199 FEM: ccx tools, highlight nodes of elements with nonpositive jacobian if ccx fails 2017-03-18 22:07:24 +01:00
Bernd Hahnebach f2a0263f4b FEM: import frd, import all steps of peeq, by sodelo 2017-03-18 22:07:24 +01:00
Bernd Hahnebach 9568fa412a FEM: import tools, move calculate abs disp from import vtk to import tools 2017-03-18 22:07:24 +01:00
Bernd Hahnebach 2134e815cb FEM: fluid material, fix command to add such material 2017-03-18 22:07:24 +01:00
Bernd Hahnebach 90df4d1d21 FEM: material task panel, check if material properties have the appropriate units 2017-03-18 22:07:24 +01:00
Bernd Hahnebach aaefe9d94a FEM: material task panel, typo in KinematicViscosity 2017-03-18 22:07:24 +01:00
Bernd Hahnebach 0f90e25638 Base: add unit for kinematic viscosity 2017-03-18 22:07:24 +01:00
Alexander Gryson e3d5584106 Forgotton in initial commit 2017-03-18 21:38:37 +01:00
Alexander Gryson f6ecd5a319 Update Metadata 2017-03-18 21:38:37 +01:00
Alexander Gryson 1fcde51e6a Replace png icons with 64px svgs 2017-03-18 21:38:37 +01:00
Alexander Gryson 46d4e2b2d4 Align FEM workbench icons to guidelines 2017-03-18 21:38:37 +01:00
sergo dd9c27d4ae fix tests 2017-03-18 19:09:16 +01:00
Sergo 02166ed4be couple of tests and fix to avoid crash on selected edge 2017-03-18 19:09:16 +01:00
usakhelo d23e603b4e fix groove 2017-03-18 19:09:16 +01:00
Sergo ea452806b5 make relinkToOrigin to NOT modify subnames on PropertyLinkSub-s. Fixes TaskRevolution crash on 'Select Reference' 2017-03-18 19:09:16 +01:00
Sergo 4325ea4e53 same axis and profile only for sketches 2017-03-18 19:09:16 +01:00
sergo e77e6aa115 fix getAxis for faces 2017-03-18 19:09:16 +01:00
Sergo bd3fef03a7 set referenceaxis properly and fix getaxis 2017-03-18 19:09:16 +01:00
Sergo 934f473b13 fix revolve and groove when no sketches in selection or when no sketches in active body 2017-03-18 19:09:16 +01:00
Sergo e5f0de83b3 stop revolve if no sketches in selection 2017-03-18 19:09:16 +01:00
tomate44 3e195d5d94 in approximate, don't autocorrect continuity. Explain requirements in UserDocu instead 2017-03-18 19:01:45 +01:00
tomate44 fedbf42e9c BSplineSurface approximate, add parametrization type and smoothing algo 2017-03-18 19:01:45 +01:00
tomate44 281e5935fb BSplineCurve approximate, fix function sometime failing with smoothing algo 2017-03-18 19:01:45 +01:00
looooo e219f5c2d4 App: FreeCADInit.py: force downstream modules to use either from FreeCAD import Mod or old style 2017-03-18 18:20:59 +01:00
looooo 0caad785d4 App: FreeCADInit.py: add newStyleModule function
FreeCAD._newStyleModule("MyMod") # removes MyMod from the sys.path
2017-03-18 18:20:59 +01:00
looooo 2a7fdef7e6 App: FreeCADInit.py: remove unused import + add local Mod dir 2017-03-18 18:20:59 +01:00
looooo bcfac0e9b7 use __ModDirs__ for module directories and set the search path of FreeCAD to the base directories, which contain all the modules 2017-03-18 18:20:59 +01:00
looooo c2cdc9eded py3: Gui: FreeCADGuiInit.py 2017-03-18 18:20:59 +01:00
looooo 067e661342 py3: App: FreeCADInit.py 2017-03-18 18:20:59 +01:00
wmayer de414f0737 copy scripts at compile time to build directory 2017-03-18 18:14:42 +01:00
wmayer b0b89986c5 partially revert changes of 7054346 to again copy image resources at compile time 2017-03-18 17:17:16 +01:00
Yorik van Havre c7d01a7c33 Arch: fixed bug in panel tools 2017-03-17 20:39:35 -03:00
Yorik van Havre 4f165179e3 Arch: Add more metadata to exported DAE files 2017-03-17 17:23:16 -03:00
Yorik van Havre 256a5b6ca7 Web: Add freecad version in iv files exported by the sketchfab exporter 2017-03-17 16:50:18 -03:00
Yorik van Havre 58ed7c3688 Arch: fixed bug in panels 2017-03-17 13:12:46 -03:00
Yorik van Havre 5372865ac5 Arch Added extra panel tools for sliptonic:
* ArchPanelCut.getWires(): returns (outlines,holes,tags) of this panel
* ArchPanelSheet.getOutlines(): returns the outlines of inner panels
* ArchPanelSheet.getHoles(): returns the holes of inner panels
* ArchPanelSheet.getTags(): returns the tags of inner panels
2017-03-16 18:12:10 -03:00
Zheng, Lei 378f99f1b3 Added App::PropertyPrecision
The purpose of this property and the associated property item is to
properly display floating value of many decimal points, such as
Precision::Confusion()
2017-03-15 10:46:32 -03:00
triplus 9c821564df Persistent toolbars for FreeCAD 2017-03-15 10:41:25 -03:00
Zheng, Lei 78ad6b9986 Path: support plane select command G17,18,19 2017-03-15 10:38:58 -03:00
Zheng, Lei 48e54a05a9 Path: ignore N command 2017-03-15 10:38:58 -03:00
Kurt Kremitzki c80f680cbd Remove unused sketcher commands in PDN 2017-03-15 10:35:52 -03:00
Kunda 2dc12cd541 Profiles for Arch pipes (fixes issue #2954)
Submitting this PR for user simsiem
MantisBT ticket #2954
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=21079
2017-03-15 10:34:25 -03:00
DeepSOIC 0d81472fa8 PartDesign: fix non-selectable datum features 2017-03-15 10:32:43 -03:00
DeepSOIC 7e6ad7412c TempoVis: fix container detection 2017-03-15 10:30:50 -03:00
DeepSOIC dc227dc7aa Show: TempoVis: made to accept any iterable as list of objects 2017-03-15 10:30:50 -03:00
Kurt Kremitzki 70543465f7 Fix image installation for Start WB 2017-03-15 10:26:49 -03:00
Bruce B. Lacey 0b2ac1d9f6 ports-cache timeout
* Use travis_wait for prime_local_ports_cache to increase ports-cache
    time limit imposed when restoring a ports-cache
2017-03-15 10:24:01 -03:00
Yorik van Havre 981cca940f Merge pull request #614 from DeepSOIC/BOPTools2
BOPTools imporvements
2017-03-15 10:22:39 -03:00
DeepSOIC e89e97c284 Part.BOPTools: fix wire making
Use Part.sortEdges instead of Part.getSortedClusters. Thanks
@realthunder!
2017-03-14 02:07:07 +03:00
DeepSOIC 932c31b60a Part.BOPTools: drag-drop support
Drag-drop support for Connect, BooleanFragments and XOR.
2017-03-14 01:51:50 +03:00
Yorik van Havre b6150097e9 Web: misc fixes to sketchfab exporter 2017-03-13 19:37:17 -03:00
Yorik van Havre bf3b6d43b5 Using sketchfab API v3 2017-03-11 16:32:51 -03:00
Yorik van Havre 623fcea1c9 Web: Added sketchfab exporter 2017-03-11 15:27:12 -03:00
Kurt Kremitzki 78b986a265 Fix startpage auto height and width 2017-03-11 14:56:27 -03:00
Kurt Kremitzki ea2ed3440e Reorganize start WB 2017-03-11 14:56:27 -03:00
Kurt Kremitzki a4375178ba Update getting started wiki link 2017-03-11 14:56:27 -03:00
Kurt Kremitzki 6decf61192 Remove commits list from Start WB 2017-03-11 14:56:27 -03:00
Kurt Kremitzki d844f02c27 Update background image reference 2017-03-11 14:56:27 -03:00
Kurt Kremitzki 0f705f7248 Remove commits from start wb 2017-03-11 14:56:27 -03:00
Kurt Kremitzki c4fa50ee8d Break out html and js into files 2017-03-11 14:54:53 -03:00
Kurt Kremitzki 22d4797545 Break translation texts out into own file 2017-03-11 14:54:53 -03:00
Kurt Kremitzki 214b044a38 Break off css into separate file 2017-03-11 14:54:53 -03:00
Kurt Kremitzki b4171fd372 Delete unused html file 2017-03-11 14:54:53 -03:00
Kurt Kremitzki bcf1f0027c Move start WB images to separate folder 2017-03-11 14:53:36 -03:00
Yorik van Havre 4466768fa3 Merge pull request #608 from triplus/master
Navigation indicator translations support
2017-03-11 14:48:58 -03:00
triplus 80ab56e592 Navigation indicator translations support 2017-03-11 14:43:56 +01:00
Yorik van Havre 91c59c7910 Arch: Material improvements
* Fix in material editor when loading existing material
* Added some properties to Arch materials that reflect the contents of the material dictionary
* Added some similar properties to Arch equipment
* Fixed standard code button in Arch material panel to go to Omniclass website to pick a code
2017-03-08 20:39:38 -03:00
Yorik van Havre 09cc396711 Arch: small bugfix in IFC export 2017-03-08 16:41:05 -03:00
Yorik van Havre 177c350a16 Arch: misc minor bugfixes 2017-03-08 15:55:07 -03:00
Yorik van Havre 08d8f70691 Part: Support subcomponent transparencies in compounds 2017-03-08 15:54:44 -03:00
wwmayer 09c1ee77a3 Merge pull request #600 from triplus/macOS-Integration
Fine tune statusbar integration
2017-03-08 13:01:21 +01:00
wwmayer 02efa6a7a4 Merge pull request #601 from jsmaniac/patch-print-radius
str(Sketcher.Constraint('Radius', 1, 2)) should not return "<Constraint '?'>"
2017-03-08 13:00:54 +01:00
Georges Dupéron 07d224e25f str(Sketcher.Constraint('Radius', 1, 2)) should not return "<Constraint '?'>"
str(Sketcher.Constraint('Radius', 1, 2)) should not return "<Constraint '?'>", it should return "<Constraint 'Radius'>"
2017-03-08 00:04:04 +01:00
triplus 93ade86c25 Fine tune statusbar integration 2017-03-07 23:31:38 +01:00
looooo 0196d50c48 cmake: reset shiboken-cmake-suffix for python < 3 2017-03-07 13:57:11 -03:00
Sergo 256791d42e stop profile based and primitives if file is in undetermined workflow 2017-03-07 13:51:42 -03:00
Sergo fdc3772c25 stop dressup features when applied to non-acitve body 2017-03-07 13:51:42 -03:00
Sergo 1d8ef64925 fixing transformed features and guessworkflow 2017-03-07 13:51:42 -03:00
Sergo 6cbb76b667 fixing dressup features 2017-03-07 13:51:42 -03:00
Sergo f8e836221c fix pd tools from running when no active parts 2017-03-07 13:51:42 -03:00
Bruce B. Lacey 8300306f82 Use CMAKE_PREFIX_PATH for Qt 5 builds
* To obivate creating Qt symlinks in /usr/local and simplify
    build/install
2017-03-07 13:49:59 -03:00
Kunda 17d2f2b458 ascii weirdness
Upstreamed fixes to stepcode in https://github.com/stepcode/stepcode/pull/356 were accepted. Please merge as ongoing typo fix effort in issue #2914
2017-03-07 13:48:16 -03:00
Eivind Kvedalen 338ca55622 Spreadsheet: Fixed issue #2894: Unit strings could be used as aliases. 2017-03-07 13:45:53 -03:00
Kunda 3017173c9a source typo fixes pt6 2017-03-07 13:43:46 -03:00
Bernd Hahnebach ec5f19ac4b FEM: example 2D, update to the new element geometry object 2017-03-07 13:40:18 -03:00
Bernd Hahnebach 19a0f85708 FEM: cmakes, object fem, init gui modules, sort by name 2017-03-07 13:40:18 -03:00
Bernd Hahnebach 092a5dae48 FEM: fluid section and elment fluid 1D object, make name fit in FEM name system 2017-03-07 13:40:18 -03:00
Bernd Hahnebach 34ad6af337 FEM: shell thickness and elment geometry 2D object, make name fit in FEM name system 2017-03-07 13:40:18 -03:00
Bernd Hahnebach 977fd8995e FEM: beam sectiong and element geometry 1D object, make name fit in FEM name system 2017-03-07 13:40:18 -03:00
Bernd Hahnebach 77e4a6d20d FEM: code formating, flake8 2017-03-07 13:40:18 -03:00
Bernd Hahnebach bda1b62818 FEM: icon file, sort by names 2017-03-07 13:40:18 -03:00
joha2 7f72f9ed0e FEM: fenics import/export: one line documentation, fixed make_femmesh call 2017-03-07 13:40:18 -03:00
Yorik van Havre a6cfb18e37 Arch: Renaming Hires to HiRes 2017-03-07 13:36:33 -03:00
Yorik van Havre 5625bab170 Arch: Added Hires property + display mode to all Arch objects 2017-03-07 00:34:30 -03:00
wmayer 84ac526f62 fallback handling if in VBO rendering no normals are set 2017-03-06 19:18:47 +01:00
wmayer ed0727a606 move VBO rendering code into its own method 2017-03-06 18:36:11 +01:00
Yorik van Havre 6b66a38ee3 Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
wmayer 7ff58ef0a8 split sketcher settings page and move to its own group 2017-03-06 14:37:40 +01:00
wmayer 7711d71410 replace deprecated gluPickMatrix 2017-03-06 11:18:19 +01:00
wmayer b1347ec12b support of highlighting and selection if shading is disabled 2017-03-06 09:29:26 +01:00
Bruce Lacey 6612e7c753 Deploy artifacts when DEPLOY is true (#595)
* Deploy artifacts when DEPLOY is true

 * Do not build or deploy deployable artifacts unless
   the environment variable DEPLOY=1 (defaults to 0).
   This reduces build time for repos where deployment
   is not required or desired.

* Rename legacy Qt 4 formula

  * Cartr/Qt4 renamed legacy formula to avoid namespace conflicts
2017-03-05 14:56:23 -08:00
wmayer db66835c63 add option to placement dialog to rotate around center of mass 2017-03-05 18:47:34 +01:00
wmayer 35e8edeb08 extend interface to get actual property with geometric data, get center of gravity of a geometry 2017-03-05 18:05:11 +01:00
wmayer 45bf8ed91e fix -Wunused-private-field, -Woverloaded-virtual 2017-03-05 10:10:53 +01:00
DeepSOIC 1ee6dcf75e PartPesign: Py: expose some methods of ViewProvider
* setBodyMode(bool)
* makeTemporaryVisible(bool)
2017-03-04 19:16:39 -03:00
DeepSOIC 0160478242 PartDesign: add ViewProviderPython
+ bind PartDesign::Feature to PartDesign::ViewProvider, and adjust
viewprovider of PartDesign::FeaturePython accordingly.
2017-03-04 19:16:39 -03:00
DeepSOIC 722ffe5ecb PartDesign: update primitives to use PartDesign::FeaturePy 2017-03-04 19:16:39 -03:00
DeepSOIC d9c803ffce PartDesign: add FeaturePython
Opens a window to extend PartDesign with Python
2017-03-04 19:16:39 -03:00
Yorik van Havre 271bc7450e Draft: Fixed Shape2DView's Cut Face mode bug when cutting through multi solids 2017-03-04 16:08:52 -03:00
Bruce Lacey 8f5c7b447a Use new FreeCAD/freecad homebrew formula API for Qt4 & Qt5 (#590) 2017-03-04 10:37:24 -08:00
Jean-Marie Verdun f66307e4ba Disable pyra13 output within UNV file, as this element is not officially supported
by this file format.

Fix bug 2649
2017-03-04 13:10:14 -03:00
Jean-Marie Verdun 732bd85c47 Properly fix the Tetrahedron node ordering with VTK. This was reported into
PR #203 back this summer 2016. A memory overwrite is happening if the enum are not
properly sized
2017-03-04 13:10:14 -03:00
Kunda 19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
joha2 d751423dbd FEM: fenics xml mesh format, add mesh import 2017-03-04 13:02:11 -03:00
Yorik van Havre 2f93571c46 Fixed python3 mistake in main cmake file 2017-03-04 12:59:48 -03:00
Yorik van Havre cafd49d62e Fixed another typo 2017-03-03 21:39:48 -03:00
wmayer 404debb9f2 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-03-03 22:38:19 +01:00
Jean-Marie Verdun 569f2636bd Move glortho2d to GLKMatrix4MakeOrtho as to avoid Deprecated Warning on Mac OS 2017-03-03 22:37:23 +01:00
wwmayer 09510f0014 Merge pull request #583 from triplus/Font-size
Configurable coordinate info font size in Sketcher
2017-03-03 22:25:56 +01:00
wwmayer 0d7a8e1c1d Merge pull request #582 from kkremitzki/sketch_hex_fix
Fix hexagon creation error
2017-03-03 21:47:37 +01:00
triplus 288239c443 Configurable coordinate info font size in Sketcher
Useful on HiDPI displays and occasionally requested feature on the forum.
2017-03-03 19:27:10 +01:00
Kurt Kremitzki fa472ec075 Fix hexagon creation error 2017-03-03 11:17:37 -06:00
Yorik van Havre 624ac0d4df Removed wrong typo fix 2017-03-03 13:42:06 -03:00
wmayer adca327b34 add 'no shading' and 'hidden line' styles 2017-03-03 16:41:38 +01:00
looooo 81884f787a py3: gathering diff for CMakeList.txt
fe96347c28039e97a0acdc37f7df9861ffc96eda
33073603bd3b20a2debb9444a7247266f658baaa
6400fcca2cb8f5fde95013d4de97c2c45f3bb4e7
7c50633c8efc6d65d96f1b6f820c89320eabe1dc
2017-03-03 12:06:42 -03:00
Priit Laes 4db04840b1 python: We only support 2.7.x
Python 2.7 is currently the only upstream-supported 2.x version.
Python 2.6 is not supported by upstream since 2013 and there will be no 2.8
2017-03-03 12:06:42 -03:00
Bruce B. Lacey 61658e60ad Qt5: Enabled HiDPI scaling and Use HiDPI Qt Pixmaps
* Enable HiDPI scaling on displays that support it
    on Qt 5.6 and later
  * Enable HiDPI Pixmaps on Qt 5.1 and later
2017-03-03 11:58:38 -03:00
Bernd Hahnebach 69a9a0ca61 FEM: examples, update them to the updated result object with folw results 2017-03-03 11:54:25 -03:00
Bernd Hahnebach e9e09a5fa4 FEM: make object module, sort methods by name 2017-03-03 11:54:25 -03:00
Bernd Hahnebach 8afbd2b81e FEM: result task panel, add Fem to module name 2017-03-03 11:54:25 -03:00
Bernd Hahnebach 85bfe10485 FEM: FEM mesh 2 mesh command, make name fit in FEM name system 2017-03-03 11:54:25 -03:00
Bernd Hahnebach 8411d03de5 FEM: command modules, add Fem to file and class name 2017-03-03 11:54:25 -03:00
Bernd Hahnebach f5c717b771 FEM: mesh clear command, make name fit in FEM name system 2017-03-03 11:54:25 -03:00
Bernd Hahnebach f19481b083 FEM: mesh print info command, make name fit in FEM name system 2017-03-03 11:54:25 -03:00
Bernd Hahnebach 11166f971e FEM: result show command, make name fit in FEM name system 2017-03-03 11:54:25 -03:00
Bernd Hahnebach dc39edd9a5 FEM: results purge command, make name fit in FEM name system 2017-03-03 11:54:25 -03:00
Bernd Hahnebach ef0a253f4e FEM: solver control command, make name fit in FEM name system 2017-03-03 11:54:25 -03:00
Bernd Hahnebach 8cf0001e97 FEM: solver run command, make name fit in FEM name system 2017-03-03 11:54:25 -03:00
Bernd Hahnebach fb833d4a8a FEM: code formating, use better variable name in the regard of codespell tool 2017-03-03 11:54:25 -03:00
ml 886ba74bfd Fixed G2/3 command generation for flipped arcs. 2017-03-03 11:52:42 -03:00
ml ad8cc9b07b Using fuzzy comparison for half circle detection. 2017-03-03 11:52:42 -03:00
wmayer 450e3d8383 use consistent display mode names 2017-03-03 14:25:16 +01:00
wmayer f560398f30 add boolean parameter to MeshKernel::AddFacets to disable check for manifold edges of new faces 2017-03-02 22:33:38 +01:00
wmayer 24793f0d82 fix doc strings, replace label with check box in export panel 2017-03-02 21:55:04 +01:00
Ian Rees da0f810282 Avoid empty meshes. Improve object type detection. 2017-03-02 17:41:14 +01:00
Ian Rees 2231baa060 Throw Python exception if format is unknown. 2017-03-02 17:41:14 +01:00
Ian Rees 095bb48c22 Tidy up. 2017-03-02 17:41:14 +01:00
Ian Rees 944aa01e6b Export Part and Group objects. 2017-03-02 17:41:14 +01:00
Ian Rees e6f7c9d83c Clean up docstrings to conform to PEP 8, tidy up. 2017-03-02 17:41:14 +01:00
Ian Rees 3792f259d3 Add setting to export compressed/uncompressed AMFs 2017-03-02 17:41:14 +01:00
Ian Rees e178d93c61 Added some metadata to exported AMF 2017-03-02 17:41:14 +01:00
Ian Rees 0bd3e5d4ab Added AMF compression. Works with Cura, not Slic3r 2017-03-02 17:41:14 +01:00
Ian Rees 0b76013a0c Renamed AmfExport.(h|cpp) to Exporter.(h|cpp) 2017-03-02 17:41:14 +01:00
Ian Rees 3eefe3e8ba Refactoring mesh export code 2017-03-02 17:41:14 +01:00
Ian Rees a9949ab0a4 Basic AMF writing support
TODO:
  * Compression
  * Understand translations, constellations
  * Curved surfaces
  * Material parameters
  * Metadata, etc
2017-03-02 17:41:14 +01:00
Ian Rees ff1ac5fdad Add AMF to understood extensions/formats. 2017-03-02 17:41:14 +01:00
looooo 7a0a997481 py3: Arch: mostly print-statements
7247937288be85fe217c2d57cdb96c9a666e4e28
00528f4b445fd851df53a79b4be6f1ff480f74d0
b7e3a874dbadbac1c1ecfade4b8676c15fdf25ee
2017-03-02 14:59:31 +01:00
Kurt Kremitzki 9d85f3bb66 Update arch exception catching for py3 2017-03-02 14:59:31 +01:00
Kunda 99c99006b8 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
wmayer 30979dcd64 resolve merge conflict 2017-03-02 13:47:10 +01:00
looooo f94e1ff280 py3: web: gathering diff of py3-branch
76b3397762
ec9dcf7453d44ce21e6ab5e460293006a49e7ccc
11eb995a2e88df1125056403fb302ce85749f83c
2017-03-02 12:46:57 +01:00
looooo 99131438c6 py3: Test: gathering diff of py3-branch
ec9dcf7453d44ce21e6ab5e460293006a49e7ccc
2017-03-02 12:46:57 +01:00
looooo dcdce7bab2 py3: Test: print 2017-03-02 12:46:57 +01:00
Priit Laes 91e2e0043b python: Test: *.py: Fix python3 syntax 2017-03-02 12:46:57 +01:00
looooo 946c126866 py3: Start: gathering diff of py3-branch
ec9dcf7453d44ce21e6ab5e460293006a49e7ccc
2017-03-02 12:46:57 +01:00
looooo 52fc8191c3 py3: start: make the startpage load again 2017-03-02 12:46:57 +01:00
wmayer 55545fbcad py3: ported Start to python3 2017-03-02 12:46:57 +01:00
wwmayer 742d2c1627 Merge pull request #575 from bblacey/develop
Eigen 3.3.3 on Linux and spelling corrections

Great job!
2017-03-02 09:55:52 +01:00
Bruce B. Lacey 6844e7ed29 Upgrade to Eigen 3.3.3 to avoid spurious compiler warnings 2017-03-01 15:33:52 -08:00
Kunda a3e01788df Trivial typos
CmakeLists
.travis.yml
2017-03-01 15:33:52 -08:00
wmayer cd1f010fe7 revert commit 1255ac62c and fix original code 2017-03-01 22:54:14 +01:00
Ian Rees d343bb00fa Cleanup clang inconsistent override warnings-smesh 2017-03-01 22:00:41 +01:00
Ian Rees ac9f475702 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
wmayer 02fb687844 do code cleanup
move BOPTools from Part to PartGui because it depends on GUI
2017-03-01 21:58:04 +01:00
wwmayer 4664e5bb48 Merge pull request #573 from looooo/python3-Part+PD+Sketcher
Python3 part+pd+sketcher
2017-03-01 20:58:46 +01:00
looooo dd02fc12b4 py3: Sketcher: remaining diff of python3-branch 2017-03-01 17:21:19 +01:00
wmayer bcde3cd5a3 py3: ported Skechter to python3 2017-03-01 17:20:20 +01:00
Priit Laes 3a27378844 python: Sketcher: *.py: Fix python3 syntax 2017-03-01 17:20:12 +01:00
wmayer 381419c267 py3: ported PartDesign to python3 2017-03-01 17:19:33 +01:00
Priit Laes da1081bc98 python: PartDesign: *.py: Fix python3 syntax 2017-03-01 17:19:24 +01:00
looooo 8b45976c8d py3: Part: Gui: gathering commits from python3-branch 2017-03-01 17:16:55 +01:00
looooo 69828c2662 py3: Part: BOPTools:
to make the BOPTools available in python3 the way to import these tools had to be changed:
old: ```from Part import BOPTools``` -> new: ```import BOPTools```
this is also changed for python2
2017-03-01 17:12:49 +01:00
looooo a388a9d72d py3: Part: App: gathering commits relevant for Mod/Part/App 2017-03-01 17:10:46 +01:00
wmayer ed23c0d3c4 py3: ported Part to python3 2017-03-01 16:38:53 +01:00
wwmayer e594ade52e Merge pull request #572 from berndhahnebach/femdev
FEM typos
2017-03-01 12:30:43 +01:00
Kunda c110499d06 FEM typos 2017-03-01 09:39:25 +01:00
Bruce B. Lacey d964187504 Install macOS bundle executables into MacOS
* Previously, the macOS bundle executables were installed into
    bin which does not adhere to Apple guidelines and causes
    issues with certain frameworks like Qt.  The install has
    been refactored to install the executables into MacOS

Fixes #2928
2017-03-01 09:33:28 +01:00
wwmayer 8b86bfb2ce Merge pull request #569 from luzpaz/typos-pt3
source typo fixes pt3 (only on py3 merged code)
2017-03-01 09:05:59 +01:00
Kunda a78e8ffd95 source typo fixes pt3 (only on py3 merged code) 2017-02-28 14:32:33 -05:00
wmayer 6c720ced84 resolve merge conflict 2017-02-28 19:14:46 +01:00
hgutsche 6226d2bc9e Improved comment about Quarter doxygen commands 2017-02-28 18:52:04 +01:00
hgutsche 0e3db30311 fiel --> file 2017-02-28 18:52:04 +01:00
hgutsche 942d30c057 Address is actually spelled with two "d" 2017-02-28 18:52:04 +01:00
hgutsche 63ccfdde82 fix typo and and add explanation for a cell address 2017-02-28 18:52:04 +01:00
hgutsche de8f66f857 Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows 2017-02-28 18:52:04 +01:00
wmayer df67368134 resolve merge conflict 2017-02-28 18:51:53 +01:00
wmayer 1a4385e0a5 py3: fix Python2 build 2017-02-28 18:08:06 +01:00
wmayer 70aebe98f1 py3: ported Sandbox to python3 2017-02-28 17:39:08 +01:00
looooo 4705980598 py3: Robot: gathering remaining diff of Robot-Modul
d90e334005baa59805a9c812203ef107ca3be2a8
2017-02-28 17:39:08 +01:00
wmayer 21ffbeafb9 py3: ported Robot to python3 2017-02-28 17:39:08 +01:00
Priit Laes 8b5fb47e76 python: Robot: *.py: Fix python3 syntax 2017-02-28 17:39:08 +01:00
looooo b265030d1d py3: ReverseEngeneering: port Py_InitFunc to python3 2017-02-28 17:39:08 +01:00
wmayer 1558e920db py3: ported ReverseEngineering to python3 2017-02-28 17:39:08 +01:00
wmayer 125fd78fa3 py3: ported Raytracing to python3 2017-02-28 17:39:08 +01:00
Priit Laes a39ef71dfc python: Raytracing: *.py: Fix python3 syntax 2017-02-28 17:39:08 +01:00
looooo 0e9189e770 py3: Points: gathering commits:
5f682d2a97a0b965813077d03fa2aee65377f3b2
5ccfa18e8c8471639a7f98e294625c5532e7440e
24836b36d5214db6823d6ac409afa42ce47ce263
2017-02-28 17:39:08 +01:00
wmayer e90ddefbd3 py3: ported Points to python3 2017-02-28 17:39:08 +01:00
Bernd Hahnebach 5f5797ecb0 FEM: visible command names, use FEM instead of Fem 2017-02-28 17:35:26 +01:00
Bernd Hahnebach 5a6ccfbe37 FEM: vtk import, comment not used part of the code 2017-02-28 17:35:26 +01:00
Bernd Hahnebach e98d6321bb FEM: code formating, flake8 in import Fenics mesh 2017-02-28 17:35:26 +01:00
joha2 10dd719631 FEM: fenics xml mesh format, add export module 2017-02-28 17:35:26 +01:00
Bernd Hahnebach 474ab30121 FEM: mesh view provider, add property to adjust max faces to show inner mesh data 2017-02-28 17:35:26 +01:00
Bernd Hahnebach d8edf3967e FEM: gmsh mesh object task panel, fix import 2017-02-28 17:35:26 +01:00
Bernd Hahnebach 30941ac975 FEM: z88 result reader, use generic result fill method 2017-02-28 17:35:26 +01:00
Bernd Hahnebach cf7bc38e16 FEM: fill imported result object, some refactor work 2017-02-28 17:35:26 +01:00
Bernd Hahnebach 7dce02b96d FEM: result reader, replace try except by if key in dict 2017-02-28 17:35:26 +01:00
Bernd Hahnebach 6f105c4b67 FEM: import tools, move fill result obj with imported results inside import tools module 2017-02-28 17:35:26 +01:00
Bernd Hahnebach a569319510 FEM: import tools, move imported mesh creation def inside new import tools module 2017-02-28 17:35:26 +01:00
Kunda 90aeb372f5 FEM: source code typos, issue 0002914 2017-02-28 17:35:26 +01:00
Bernd Hahnebach 35e66aca8e FEM: gmsh mesh, make geo file better readable 2017-02-28 17:35:26 +01:00
Bernd Hahnebach 07d1dccebb FEM: code formating, flake8 2017-02-28 17:35:26 +01:00
Bernd Hahnebach cc2c51b81d FEM: ccx input writer, write object labels as comments 2017-02-28 17:35:26 +01:00
Bernd Hahnebach de0cf45543 FEM: ccx input writer, typo 2017-02-28 17:35:26 +01:00
Bernd Hahnebach f482f6d78b FEM: vtk post processing, add peeq strain 2017-02-28 17:35:26 +01:00
Bernd Hahnebach a8ded939ff FEM: result task panel, add peeq strain results and add peeq to result stats, by sodelo 2017-02-28 17:35:26 +01:00
Bernd Hahnebach 1cfd041edb FEM: result object, view provider, move task panel checks inside the setEdit 2017-02-28 17:35:26 +01:00
Bernd Hahnebach f838e5fc8d FEM: 1DFlow, fix unit tests 2017-02-28 17:35:26 +01:00
Bernd Hahnebach 20f4325dba FEM: 1DFlow, fix z88 input file writer 2017-02-28 17:35:26 +01:00
kgoao 919823dfb9 FEM: 1DFlow, result reading and display results 2017-02-28 17:35:26 +01:00
kgoao 8bb1df3736 FEM: 1DFlow, ccx solver handling 2017-02-28 17:35:26 +01:00
kgoao 1e1b9a8726 FEM: 1DFlow, gui command 2017-02-28 17:35:26 +01:00
kgoao 5c0660dbdd FEM: 1DFlow, object modules 2017-02-28 17:35:26 +01:00
kgoao f087a650b4 FEM: 1DFlow, icon 2017-02-28 17:35:26 +01:00
Kunda 0485edd560 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
triplus 06b10a4061 Improved macOS statusbar integration 2017-02-27 21:29:48 +01:00
Kunda dde52952f4 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
Alexander Gryson 681b6a398c Update Metadata 2017-02-27 11:26:43 +01:00
Alexander Gryson 9c29475736 Align Robot workbench icons to guidelines 2017-02-27 11:26:43 +01:00
AjinkyaDahale 2ecacef35e Sketcher: fix issue #0002788 2017-02-27 10:34:16 +01:00
Bruce B. Lacey 5084b96759 Qt5: build FreeCAD for macOS with both Qt5 and Qt4
* Extend Travis config to build and deploy FreeCAD on
     macOS with Qt5, in addition to Qt4
   * Link PySide wrapper to <bundle>/MacOS
   * Warn on install_name_tool failures (work-around to
     confirmed Apple install_name_tool bug)
   * Reference XCTest "Current" framework versus "A"
2017-02-27 10:30:36 +01:00
Wolfgang E. Sanyer 1255ac62c2 Fixed typo. 2017-02-27 10:26:00 +01:00
triplus 2bc020d509 Don't manage button arrow
On Windows it can result in undesired styling (reported by saso). Decision to show/hide the arrow if left to the user/stylesheet.
2017-02-27 10:17:30 +01:00
wmayer 441ce4a158 issue #0002741: Crashes when drawing tutorial 2017-02-27 09:02:22 +01:00
Yorik van Havre dd7b65a585 Draft: Added utilities -> create Working Plane Proxy command 2017-02-25 20:34:43 -03:00
Yorik van Havre 5bb2a5d4dd Draft: Added a couple of missing tooltips 2017-02-25 19:24:42 -03:00
Yorik van Havre dbb8afbe1f Arch: Added option to create new material as a copy of an existing one in Arch Material dialog 2017-02-25 15:55:56 -03:00
Yorik van Havre 89035021fb Draft: Added checkbox to center working plane on current view in Select Plane dialog 2017-02-25 15:55:17 -03:00
wmayer 5eedcc4651 make cmake configure version with older versions 2017-02-25 13:52:45 +01:00
Bruce B. Lacey 9d4f8fadf6 Enable all VTK components available on macOS
Fixes #2919
2017-02-25 01:13:25 -03:00
Yorik van Havre aab99ad968 Arch: Added materials support to Arch OBJ import/exporter - fixes #2139 2017-02-25 01:07:48 -03:00
wmayer 10191e9086 fixes #0002921, fixes #0002922 2017-02-24 19:54:16 +01:00
wmayer b217fe2287 set continuous constraint mode consistently to true by default 2017-02-24 16:30:13 +01:00
wmayer a90014c646 add missing word, fix layout 2017-02-24 16:24:24 +01:00
wmayer b4bf37e9c5 fix wrong return type 2017-02-24 15:44:28 +01:00
AjinkyaDahale fc08fa1c09 Sketcher: costraint creation mode uses toolbar icons 2017-02-24 15:20:26 +01:00
AjinkyaDahale 6be9a9bc53 Sketcher: Added option to turn constraint creation modes on/off
Can be found below geometry creation "continous mode" option
2017-02-24 15:20:26 +01:00
AjinkyaDahale e757c57a30 Sketcher: External edges in constraint modes (Symmetry) 2017-02-24 15:20:26 +01:00
AjinkyaDahale 31456a7e30 Sketcher: External edges in constraint modes (Angle) 2017-02-24 15:20:26 +01:00
AjinkyaDahale 167b28d200 Sketcher: External edges in constraint modes (Equal) 2017-02-24 15:20:26 +01:00
AjinkyaDahale ff74ba32a8 Sketcher: External edges in constraint modes (radius) 2017-02-24 15:20:26 +01:00
AjinkyaDahale 2ffd94df5f Sketcher: External edges in constraint modes (tangent) 2017-02-24 15:20:26 +01:00
AjinkyaDahale daf5a1fdbf Sketcher: External edges in constraint modes (perpendicular) 2017-02-24 15:20:26 +01:00
AjinkyaDahale 29761fc90d Sketcher: External edges in constraint modes (parallel) 2017-02-24 15:20:26 +01:00
AjinkyaDahale 89664982fb Sketcher: External edges in constraint modes (DistanceX/Y) 2017-02-24 15:20:26 +01:00
AjinkyaDahale c6fd807bd4 Sketcher: External edges in constraint modes (point on object) 2017-02-24 15:20:26 +01:00
AjinkyaDahale ab4a222dc6 Sketcher: External edges in constraint modes (distance) 2017-02-24 15:20:26 +01:00
AjinkyaDahale 39725ff777 [Sketcher] Moved angle to constraint creation mode
plus some cosmetic changes
2017-02-24 15:20:26 +01:00
wmayer b32c102f0f add missing header files for Linux build 2017-02-24 15:07:31 +01:00
wmayer 43a19ac8cc need to also copy __init__.py files to make local build working properly 2017-02-24 15:05:33 +01:00
Bernd Hahnebach dacf91c3a6 FEM: examples, update them to the updated 2017-02-24 14:41:22 +01:00
Bernd Hahnebach 8944ae2fdb FEM: module moving, fix cmake, init, modulimports 2017-02-24 14:41:22 +01:00
Bernd Hahnebach 7bfd50e482 FEM: move python modules:
- object modules to new PyObjects directory
- Gui modules to new PyGui directory
2017-02-24 14:41:22 +01:00
Bruce B. Lacey 7f884e8bff Qt5: cmake install dependencies on macOS
* Define QT_PLUGINS_DIR when building Qt5 on macOS
   * Add Xcode XCTest search path
2017-02-24 14:38:43 +01:00
looooo d5348c60bc py3: Mesh: fix py3 Long/Int problem with python2 2017-02-24 14:20:50 +01:00
looooo 6c8c3dc71e py3: gathering diff from Mod/Mesh
98a8275938388992ef1b7bb76dcd43438f61bf7e  py3: make most of the unit test to succeed
2017-02-24 14:20:50 +01:00
wmayer 2673f9ed59 py3: ported MeshPart to python3 2017-02-24 14:20:50 +01:00
Yorik van Havre 3803896ff2 py3: ported Mesh to python3 2017-02-24 14:20:50 +01:00
Priit Laes f6b6e62a57 python: TemplatePyMod: *.py: Fix python3 syntax 2017-02-24 13:48:41 +01:00
wmayer a101d426a4 py3: ported Drawing to python3 2017-02-24 13:48:41 +01:00
Priit Laes 744724af51 Drawing: Remove broken and unused DrawingAlgos.py file 2017-02-24 13:48:41 +01:00
Priit Laes 55826040d2 python: Drawing: *.py: Fix python3 syntax 2017-02-24 13:48:41 +01:00
Ian Rees 5574da58d8 Add git commit info to Doxygen index page. 2017-02-24 13:33:33 +01:00
wwmayer 2e4e9e8b28 Merge pull request #551 from bblacey/macOS-app-icon-2920
Use scalable application icon resources on macOS
2017-02-24 13:28:16 +01:00
wwmayer 9f4ad7044e Merge pull request #547 from bblacey/bundler
Packaging: macOS relocation of libraries without children
2017-02-24 13:24:00 +01:00
wmayer 1073d06ef5 if possible then keep canonical curve and avoid to get a B-spline 2017-02-24 12:32:06 +01:00
wmayer 2dcbba9c33 call BRepLib::BuildCurves3d after mapping a 2d curve onto a surface to correctly create a 3d curve 2017-02-24 09:42:54 +01:00
Bruce B. Lacey 21080af2a7 Packaging: macOS relocation of libraries without children
* macOS install path must be <bundle>/MacOS in order for
    QLibrary to find qt.conf to set the correct bundle paths
  * Refactored to add an explicit graph traversal to set the
    dynamic loader id to handle the case where a bundled
    resource does not have any children
  * Fixed the case where rpaths were not removed from
    libraries without children
  * Improved diagnostics when bundling fail to finds
    a dependent library in the search path

Mantis: #0002886
Refs: #535
2017-02-23 20:28:17 -08:00
Bruce B. Lacey 28f7944027 Use scalable application icon resources on macOS
Fixes #2920
2017-02-23 20:27:55 -08:00
Yorik van Havre 402aef2e63 Arch: Support for object colors in DAE importer/exporter 2017-02-23 22:46:32 -03:00
wmayer 64912a59cc allow to pass also a face to Curve2d.toShape 2017-02-23 21:31:03 +01:00
wmayer dd20ba3d06 use Ctrl+MMB for zooming 2017-02-22 10:22:11 +01:00
wwmayer e5fe3d8e10 Merge pull request #544 from luzpaz/short-url-cont
Cleanup non-short-url wiki links in translations
2017-02-21 22:52:58 +01:00
wmayer 97c9174840 fix various warnings 2017-02-21 22:51:26 +01:00
Yorik van Havre 3136b42830 Fixed typos 2017-02-21 15:59:16 -03:00
Kunda d61de347ea Cleanup non-short-url wiki links in translations
...to avoid translators translating the url varable names
2017-02-21 12:35:25 -05:00
Alexander Gryson cd7e49f6ae Updates based on forum feedback 2017-02-21 14:13:23 +01:00
Alexander Gryson 4cd58223e1 Update metadata 2017-02-21 14:13:23 +01:00
Alexander Gryson d18655d390 Align PartDesign Workbench icons to guidelines 2017-02-21 14:13:23 +01:00
Bernd Hahnebach 51c40e9f3c FEM: examples, update them to the updated python result mechanical object 2017-02-21 14:09:27 +01:00
Bernd Hahnebach 0c0cf1e49c FEM: result mechanical object, use same name sheme as for all other FEM objects 2017-02-21 14:09:27 +01:00
Bernd Hahnebach eb14ba516e FEM: ccx writer, write peeq output request to input file if nonlinear material analysis,
by sodelo
2017-02-21 14:09:27 +01:00
Bernd Hahnebach b3bcef5189 FEM: frd importer, import peeq strain if available,
by sodelo
2017-02-21 14:09:27 +01:00
Bernd Hahnebach 9091c475d5 FEM: mechanical result object, add peeq strain propert,
by sodelo
2017-02-21 14:09:27 +01:00
Bernd Hahnebach b203725ae2 FEM: cmake, sort a entry 2017-02-21 14:09:27 +01:00
Bernd Hahnebach 168c253889 FEM: objects FEM, initialize names if they where not given 2017-02-21 14:09:27 +01:00
Bernd Hahnebach fe1a733ced FEM: mesh region object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach b7d69d9ba8 FEM: mesh group object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach c5008f90d7 FEM: mesh gmsh object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach 907a14d73a FEM: nonlinear material object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach de9b534366 FEM: material object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach feae6513bb FEM: mechanical result object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach b03b0800ea FEM: constraint selfweight object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach 99c5b57b42 FEM: solver z88 object, move make def into make objects FEM modul 2017-02-21 14:09:27 +01:00
Bernd Hahnebach 4f0f3aa4fa FEM: solver calculix object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach 6ffbac3e6b FEM: shell thickness object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach b7111c3fa8 FEM: beam section object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach c63f1e7753 FEM: analysis object, move make def into make objects FEM module 2017-02-21 14:09:27 +01:00
Bernd Hahnebach b7c1bb024d FEM: create a make objects module to make python object creation more consistent 2017-02-21 14:09:27 +01:00
wmayer e76870173b fix insecure implementation of debugprint 2017-02-21 14:01:26 +01:00
looooo b61a95c7de py3: TechDraw: Int->Long 2017-02-21 13:59:30 +01:00
Yorik van Havre e13d4a7882 py3: ported Measure and TechDraw 2017-02-21 13:59:30 +01:00
wmayer f2dc8c5d31 Some fixes of pr 538
fix -Wreturn-type
homogenous naming style
use official spelling of B-spline
2017-02-21 13:30:43 +01:00
Abdullah Tahiri 5133a874ad Sketcher: Delete non-suported BSpline constraints on NURBS conversion 2017-02-21 13:24:10 +01:00
Abdullah Tahiri c1f4fd9490 Sketcher: BSpline toolbar command support for Convert to NURBS external geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 4c9073eeb6 Sketcher: SketchObject convert to NURBS support for External Geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 2b6292a07b Sketcher: Convert to NURBS command improvement - abortcommand 2017-02-21 13:24:10 +01:00
Abdullah Tahiri f1cf2fca44 Sketcher: Expose Internal Geometry for BSplines
===============================================

This commit changes the behaviour of expose internal geometry for bsplines and makes it converge with the implementation for other complex forms.

This functionality now does not introduce constraints (the DoF is not affected by its execution).

BSplines, when created, are still created as polynomic. However, exposing previously deleted or otherwise hidden (increase of degree) poles does not
constraint them.

why?

While a priori the old behaviour is advantageous for the user in many situations, it severely breaks NURBS-ized shapes and gets in the way of bsplines after
increasing the degree of the bspline.
2017-02-21 13:24:10 +01:00
Abdullah Tahiri f291942d45 Part: Add support for reversing a geomcurve 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 4fe4792f4d Sketcher: Fix zero curvature normal exception 2017-02-21 13:24:10 +01:00
Abdullah Tahiri ca05f86f6e Sketcher: Convert to NURBS toolbar via python to enable undo 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 0531411df6 Sketcher: Increase Degree toolbar via python to enable undo 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 55f373eef7 Sketcher: IncreaseBSplineDegree python implementation 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 4abe462a41 Sketcher: ConverttoNURBS python implementation 2017-02-21 13:24:10 +01:00
Abdullah Tahiri ce7e186049 Sketcher: Adaptation of code to handle the icons 2017-02-21 13:24:10 +01:00
Abdullah Tahiri afd761041d Sketcher: BSpline Increase Degree tool 2017-02-21 13:24:10 +01:00
Alex Gryson 8ddc9cb901 Add metadata 2017-02-21 13:24:10 +01:00
Alex Gryson 2a7cdf77e9 Add extra icons based on new feedback 2017-02-21 13:24:10 +01:00
Alex Gryson 3c28937e14 Create BSpline Toggle icons
Create icons as [discussed on the forum](http://forum.freecadweb.org/viewtopic.php?f=34&t=20286&start=34)
2017-02-21 13:24:10 +01:00
Abdullah Tahiri d5b068e0ab Sketcher: Shape to NURBS conversion 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 90bec55660 Sketcher: Automatic calculation of divisions for comb 2017-02-21 13:24:10 +01:00
Abdullah Tahiri fcc08656d3 Sketcher: Bspline comb - change representation to be convex 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 2ecfb6743b Sketcher: Bspline support for external geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri d92b3fcc07 Sketcher: Settings - Allow to set the number of segments per geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 00aadc4581 Sketcher: BSpline show/restore geometry information commands as a dropdown menu 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 99dee8ab36 Sketcher: Switch of comb geometry information 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 135137ed3d Sketcher: BSpline degree/comb hide/show commands 2017-02-21 13:24:10 +01:00
Abdullah Tahiri e3487368d7 Sketcher: Comb appropriate scaling for closed and periodic BSplines 2017-02-21 13:24:10 +01:00
Abdullah Tahiri feb29bd630 Sketcher: BSpline curvature comb 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 9c10b3219d Part: Geometry functionality extension
======================================

Added for curves:
getFirstParameter
getLastParameter
curvatureAt
length

Modified:
normalAt(double u, Base::Vector3d& dir)

as it was not working properly.
2017-02-21 13:24:10 +01:00
Abdullah Tahiri 1bac54e63e Sketcher: new BSpline toolbar / command to hide control polygon 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 2a4f24695a Sketcher: Information Layer show/hide node support 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 9e6beb1a01 Sketcher: Information layer scenography update on geometry change 2017-02-21 13:24:10 +01:00
Abdullah Tahiri 4cffdfe183 Sketcher: Geometry Information layer for BSplines 2017-02-21 13:24:10 +01:00
Ulrich Brammer 693f4c759e update of xlsx-importer: new parser,
trigonomic functions give the same result in the FreeCAD-spreadsheet,
support of celltype "inlineStr".
2017-02-20 22:59:18 +01:00
wmayer f55635900f fix setEdit, unsetEdit and doubleClicked methods of Python view provider 2017-02-20 22:16:56 +01:00
wwmayer ced83be2da Merge pull request #541 from wwmayer/vbo_cleanup
Vbo cleanup
2017-02-20 21:04:33 +01:00
Jean-Marie Verdun 4a3252e445 Fix Face color display issue with Vbo turned on 2017-02-20 18:54:07 +01:00
wmayer 399cdd803a use Coin API to deal with vbo and add methods to cleanup GL resources on destruction 2017-02-20 13:16:30 +01:00
wmayer 6630bcf9fa issue #0001999: [STEP] Tessellation data or OpenInventor data memory leak 2017-02-20 10:08:18 +01:00
wwmayer 112749bc97 Merge pull request #537 from agryson/sketcher-icon-updates
Update icons based on forum feedback
2017-02-19 20:40:16 +01:00
wmayer 448ac27e56 fix crash in uIso of Sphere 2017-02-19 20:36:40 +01:00
wmayer c1c4a90411 move vbo handling to private class 2017-02-19 19:40:37 +01:00
Alexander Gryson c7652d7c74 Update icons based on forum feedback
See [@NormandC's forum
post](https://forum.freecadweb.org/viewtopic.php?f=34&t=20286&sid=43e2b6766d1b74c4e6e4337dfcbd1084&start=32)
2017-02-19 15:05:56 +01:00
Bernd Hahnebach 1f12a3f65c py3: FEM, more convert map to list 2017-02-19 14:21:34 +01:00
Bernd Hahnebach be2b5777f6 py3, FEM, redifine open in all import modules 2017-02-19 14:21:34 +01:00
looooo 9a5d920f6a py3: FEM, redefine open in import modules 2017-02-19 14:21:34 +01:00
looooo 7045113525 py3: FEM, convert map to list 2017-02-19 14:21:34 +01:00
looooo 8bc6936bcc py3: FEM, fix import Units module 2017-02-19 14:21:34 +01:00
looooo 3617fc365b py3: FEM, put print in brackets and import print_function 2017-02-19 14:21:34 +01:00
looooo 5c0bcf611f py3: FEM, PyMods, preprocessor conditions, Py::Long vs Py::Int 2017-02-19 14:21:34 +01:00
wwmayer 3fab41f567 Merge pull request #535 from bblacey/mantis-2886
Packaging: Set macOS dynamic loader paths
2017-02-19 14:09:46 +01:00
wmayer 46f5554c43 command to creation section from plane and mesh 2017-02-19 14:05:00 +01:00
Bruce B. Lacey b52b94ae85 Packaging: Set macOS dynamic loader paths
*  DYLD paths are set properly to prevent loading libraries external
     to the bundle
  a. LC_ID_DYLD is set to the basename of the library name (i.e.
     not the absolute path) when it is copied into the bundle
  b. Existing LC_RPATH entries in libraries are removed before adding
     the bundle-relative RPATH
  *  Added configurable diagnostic logging to aid in debugging

Fixes 0002886
2017-02-19 01:16:59 -08:00
wmayer 845d6766f9 implement tearDown to close document 2017-02-18 21:34:19 +01:00
looooo 48f9987172 part: bspline: tests use copy instead of deepcopy 2017-02-18 21:20:59 +01:00
looooo 2b35bb3ae3 part: bspline: tests 2017-02-18 21:20:59 +01:00
triplus 978978f7dd Navigation indicator for FreeCAD 2017-02-18 16:03:52 +01:00
Bernd Hahnebach 4169e94b69 Part: code formating, white spaces 2017-02-18 15:57:54 +01:00
Bernd Hahnebach 54bbd79b03 Part: compound filter, GUI command 2017-02-18 15:57:54 +01:00
Bernd Hahnebach 8369d68c8f Part: compound filter, core module 2017-02-18 15:57:54 +01:00
Bernd Hahnebach ba9e342633 Part: compound filter, icon 2017-02-18 15:57:54 +01:00
wmayer 787b930a58 improve exception handling in BSplineCurvePy class 2017-02-18 12:53:36 +01:00
wmayer 72375db71b clear error state when creating spline 2017-02-18 12:30:00 +01:00
Jean-Marie Verdun 2209c7d5d7 Fix ProgressBar rendering following STEP reader enhancement 2017-02-18 10:08:48 +01:00
wmayer 67a0bd4750 improve whitespaces 2017-02-18 09:44:58 +01:00
Mateusz Skowroński 7e42975556 Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
wmayer bc525a41e6 fix crash due to GIL 2017-02-18 08:19:25 +01:00
looooo 4d21adf476 py3: spreadsheet: gathering spreadsheet relevant commits:
356b3b5736d6a83a91050973f77db9fc005b8551 Update Arch,Fem,Material,Spreadsheet for py3 print
70967107210481e362eab1cef78d15b8ba08c300 py3: Fixes from last rebase
2017-02-18 08:19:25 +01:00
Yorik van Havre 9b6ef8563b py3: fixed error in spreadsheet 2017-02-18 08:19:25 +01:00
Yorik van Havre 3efc4fee9e py3: python3-related fix in Spreadsheet 2017-02-18 08:19:25 +01:00
wmayer 3d3a8d0141 py3: ported Spreadsheet to python3 2017-02-18 08:19:25 +01:00
Priit Laes f9cb89a9cb python: Spreadsheet: *.py: Fix python3 syntax 2017-02-18 08:19:25 +01:00
Yorik van Havre b115d794a7 Arch: Add default storey when exporting to IFC + allow all Arch objects to have Undefined role 2017-02-17 20:47:39 -02:00
Bernd Hahnebach 686ba7094d FEM: python import modules, use same method structure in all modules,
methods where only moved around, no changes inside the methods
2017-02-17 22:07:56 +01:00
Bernd Hahnebach 4387a4adcb FEM: result task panel, only activate button if result really exists 2017-02-17 22:07:56 +01:00
Bernd Hahnebach 80e68bd764 FEM: result task panel, reorder signal and slots and add comments 2017-02-17 22:07:56 +01:00
Bernd Hahnebach 68ec258268 FEM: result task panel, fix restore result settings for some result types 2017-02-17 22:07:56 +01:00
Bernd Hahnebach e25c67f10b FEM: result task panel ui, move user defined equation in separate frame 2017-02-17 22:07:56 +01:00
Bernd Hahnebach a2374d0156 FEM: result task panel ui, reorder result radio buttons 2017-02-17 22:07:56 +01:00
Bernd Hahnebach 2cdaba4b89 FEM: code formating, white spaces 2017-02-17 22:07:56 +01:00
Lorenz Hüdepohl e38d0ada6c PathHelix: Fix locale issue for Gui::InputField setText() method 2017-02-17 20:55:37 +01:00
Lorenz Hüdepohl 837f2eabb8 PathHelix: Be more liberal in what constitues a straight cylinder 2017-02-17 20:55:17 +01:00
wmayer 5cb17a6036 implement toNurbs for ellipse 2017-02-17 18:43:20 +01:00
Bernd Hahnebach 1463a26b70 FEM: examples, update them to the new mechanical python result object 2017-02-16 14:00:40 +01:00
Bernd Hahnebach 8736bdc8d7 FEM: result task panel, use better object names 2017-02-16 14:00:40 +01:00
Bernd Hahnebach 18dafb469c FEM: result view provider, implement checks for open result task panel 2017-02-16 14:00:40 +01:00
Bernd Hahnebach e4bd9054a6 FEM: result task panel, reset mesh color and deformation in taskpanel and not by use of FemTools, fixes if mutlip
fixes if problems if multiple meshes or results are in an analysis
2017-02-16 14:00:40 +01:00
Bernd Hahnebach c9f843a359 FEM: result task panel, fix option hide constaints and parts and make a small change inside 2017-02-16 14:00:40 +01:00
Bernd Hahnebach 28d0d737e5 FEM: result task panel, changes in the way the task panel is called be the commands in Gui 2017-02-16 14:00:40 +01:00
Kunda 91bd0fc536 FEM: Doxygen tweeks
Discussion in [FEM subforum](https://forum.freecadweb.org/viewtopic.php?f=18&t=12833&start=40#p158684)
...Calculix FRD Reader doxygen tweek
...Calculix INP Reader doxygen tweek
...Result import and export VTK file library doxygen tweek
...Z88 Mesh reader and writer doxygen tweek
...Z88 Disp Reader doxygen tweek
...Command show result doxygen tweek
2017-02-16 14:00:40 +01:00
fandaL a01aceffa7 FEM: frd reader, missing mode_strain_found = False 2017-02-16 14:00:40 +01:00
Bernd Hahnebach e111440c6b FEM: ccx writer, better handling of different analysis types 2017-02-16 14:00:40 +01:00
Bernd Hahnebach 2de20b8547 FEM: gmsh mesh class, small improvement in gmsh binary handling 2017-02-16 14:00:39 +01:00
Bernd Hahnebach e07b45d59d FEM: better module names for CalculiX result reader modules 2017-02-16 14:00:39 +01:00
Bernd Hahnebach 9431d8ed4c FEM: better module name for Z88 o2 result reader 2017-02-16 14:00:39 +01:00
Bernd Hahnebach e651a3f867 FEM: vtk result file import, workaround for calculating the DisplacementLengths 2017-02-16 14:00:39 +01:00
Bernd Hahnebach 12f53b6098 FEM: move the new python FemResult object to FemMechanicalResult object derived from C++ FemResult object 2017-02-16 14:00:32 +01:00
Bernd Hahnebach aa49586766 FEM: result task panel, codeformating and a comment 2017-02-16 13:11:23 +01:00
makkemal 08b51b496c FEM: result task panel, fix user defined result errors on new refactoring 2017-02-16 13:11:22 +01:00
Bernd Hahnebach b4b41ff3e8 FEM: result task panel, fix because empty result are really empty now and do not have a 0.0 in list 2017-02-16 13:11:22 +01:00
Bernd Hahnebach 17eac77144 FEM: code formating, white spaces 2017-02-16 13:11:14 +01:00
Bernd Hahnebach b55a7688cc FEM: result object refactor, fix frd, vtk, z88 result file import 2017-02-16 07:54:37 +01:00
qingfengxia c13ca92792 FEM: result object refactor, move most properties from C++ to a new Python result object 2017-02-16 07:54:32 +01:00
Bernd Hahnebach ea1829c9fa FEM: vtk result file reading, activate import in python vtk import module 2017-02-16 07:54:26 +01:00
qingfengxia 1c18867d1e FEM: VTK post processing, changes:
- vtk result file reading
- some changes in vtk post processing pipe line
2017-02-16 07:54:16 +01:00
wwmayer 99fa203f32 Merge pull request #522 from looooo/python3-import+inspect
Python3 import+inspect
2017-02-15 23:07:59 +01:00
wwmayer 52f420d848 Merge pull request #515 from kkremitzki/view-mappings
Update view mappings to sensible defaults
2017-02-15 23:05:26 +01:00
Mateusz Skowroński 49a8705b1d Fix some Quarter High DPI Display issues. Ported from code by Randall O'Reilly.
https://grey.colorado.edu/svn/coin3d/quarter/trunk/
2017-02-15 22:16:46 +01:00
wmayer bf66153f9c Increment year in copyright info 2017-02-15 21:32:23 +01:00
wwmayer f95eba01d9 Merge pull request #524 from agryson/update-copyright
Increment year in copyright info
2017-02-15 21:30:28 +01:00
Yorik van Havre c1dad1bdf4 Path: Fixed wrong display of non-displayable paths - fixes #2484 2017-02-15 15:40:25 -02:00
Alexander Gryson 0c7587a86c Increment year in copyright info
Just increments the year in the console output when launching FreeCAD
2017-02-14 17:44:21 +01:00
wmayer 3076b5938f Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-02-14 16:41:32 +01:00
wmayer f4d8945dd8 issue #2902: add unit test 2017-02-14 16:41:14 +01:00
wmayer 19111f1ed7 issue #2902: track attribute objects in parent structure to notify about changes 2017-02-14 16:38:38 +01:00
wmayer 4f23b569b3 issue #0002902: replace members of PyObjectBase with a PyDictObject 2017-02-14 13:09:09 +01:00
Yorik van Havre 88689439bd Arch: Testing opening property for windows 2017-02-14 10:07:59 -02:00
wmayer b72aa9f369 issue #0002902: PyObjectBase notification chain can lead to unexpected changes to document 2017-02-14 00:32:30 +01:00
wmayer 89925e21a3 implement NURBS converson of circle 2017-02-13 15:13:35 +01:00
wmayer 27fd215e1c add methods to convert a curve to a B-Spline or NURBS 2017-02-13 10:38:09 +01:00
Yorik van Havre 1cbe0be416 Arch: Fix in Arch Test 2017-02-12 21:02:51 -02:00
wmayer 04e0620d8a py3: ported Inspection to python3 2017-02-12 21:01:48 +01:00
wmayer 944d62efc9 py3: ported Import to python3 2017-02-12 21:01:22 +01:00
wwmayer 05544f395c Merge pull request #521 from looooo/python3-OpenSCAD
python3: OpenSCAD
2017-02-12 19:06:07 +01:00
wwmayer 87bf0d9184 Merge pull request #520 from f3nix/gcc-warnings-1
Fix some GCC warnings.
2017-02-12 19:04:53 +01:00
wwmayer ec0089395f Merge pull request #519 from f3nix/qt5-warnings-1
Fix some Qt5 build warnings
2017-02-12 19:01:27 +01:00
looooo d925db17af py3: Material: print to python3
taken from: 23fa650261ed346b2c5a6216b7720b87e063b27d
author: kkremitzki

Update Arch,Fem,Material,Spreadsheet for py3 print
2017-02-12 18:57:54 +01:00
Priit Laes de89c2e178 python: Material: *.py: Fix syntax for Python 3 2017-02-12 18:57:54 +01:00
Priit Laes 159dbe2cb8 python: OpenSCAD: *.py: Fix python3 syntax 2017-02-12 17:40:07 +01:00
wmayer 34a3039577 declare hasExtension of Python wrapper as const method 2017-02-12 15:28:33 +01:00
wmayer 69e027a607 fix rendering problems by using the cache context 2017-02-12 14:41:55 +01:00
wmayer 6d6fbdcd8d implement correct way to query VBO status of viewer from SoBRepFaceSet node 2017-02-12 14:41:55 +01:00
wmayer 0700345049 make vboAvailable a static variable and extend interface of renderShape to avoid side effects 2017-02-12 14:41:55 +01:00
wmayer 8612c4f99f write custom action class to notify shape node about vbo changes 2017-02-12 14:41:55 +01:00
wmayer 56ff88ea46 cleanup experimental code, improve whitespaces 2017-02-12 14:41:55 +01:00
wmayer 968a597aa7 get VBO support for SoBrepFaceSet working on Windows 2017-02-12 14:41:55 +01:00
Jean-Marie Verdun 8383f7222f Accelerate 3D rendering with VBO support
*First step to move Part rendering using VBO instead of direct rendering
*Update comments inside the code
*Assume VBO is available if OpenGL > 3.0 is detected
*Add initial Color support to VBO rendering !
*Initial full feature VBO rendering implementation
*Modify some include issue for linux build
*Try to fix linux include header
*Reupdate header include for linux support
*Fix compilation on linux
*Fix linux and MacoOS build
*Fix glGetString definition
*Fix Windows build
*Add VBO support as an option into the Preference menu
*Fix crash while running FreeCAD test bench with new VBO rendering infrastructure (in both cases)
*Improve performances
*Compute material index only when a VBO update is required (improve frame rate by 10%)
*Clean the code
*Fix Travis compilation warning
*Try to fix Windows compilation issue
*Update include for Windows
2017-02-12 14:41:55 +01:00
wmayer b9e8b4f74f revert previous change in main() for POSIX systems 2017-02-12 13:16:08 +01:00
Mateusz Skowroński fd2a1785f8 Fix some GCC warnings. 2017-02-12 06:28:55 +01:00
Mateusz Skowroński d7541bcd28 QStyleOptionViewItemV4 is deprecated in Qt5. Replace it with QStyleOptionViewItem. 2017-02-12 05:46:07 +01:00
wmayer 1a8d535263 handle Coin3d version older than 4.0 2017-02-11 22:35:04 +01:00
Kurt Kremitzki 04071b4481 Update view mappings to sensible defaults 2017-02-11 02:22:33 -06:00
Yorik van Havre d7ed8c4383 Part: Set per-face transparency in boolean ops - fixes #1029,#2806 2017-02-10 21:53:57 -02:00
Yorik van Havre ebb3c84bcb Gave keyboard shortcuts (V,1 -> V,5) to Draw Styles 2017-02-10 20:15:58 -02:00
wmayer 40abcf5dcc fix OSX build failure due to outdated Coin3d version 2017-02-10 22:09:53 +01:00
Johannes Obermayr 79d7f3e571 Fix build with VTK 7.1 which introduces vtkMTimeType. 2017-02-10 21:09:49 +01:00
Johannes Obermayr 7ec37c9e39 Fix RPATHS for area-native and area libs on Linux. 2017-02-10 21:09:49 +01:00
Jean-Samuel Reynaud b77188e35c Adding Normals in OBJ exports 2017-02-10 18:51:10 +01:00
AjinkyaDahale cc46acf10e [Sketcher] Moved radius to constraint mode framework 2017-02-10 17:32:18 +01:00
AjinkyaDahale 3d9b46d9f3 [Sketcher] corrected artifact introduced by faulty conflict resolution 2017-02-10 17:32:18 +01:00
AjinkyaDahale 3cf00a1314 [Sketcher] Moved distance to constraint mode 2017-02-10 17:32:18 +01:00
AjinkyaDahale 47624cf3e1 Moved vertical and horizontal distance to constraint creation mode 2017-02-10 17:32:18 +01:00
AjinkyaDahale 5ff6895080 Moved symmetric to general constrain creation mode framework
That makes all of the non-dimensioned constraints
2017-02-10 17:32:18 +01:00
AjinkyaDahale 45cb028f34 Moved equal to general constrain creation mode framework 2017-02-10 17:32:18 +01:00
AjinkyaDahale adc13eda06 Move tangent to general constraint mode framework 2017-02-10 17:32:18 +01:00
AjinkyaDahale df658ae889 Replace some of the allowedSelSequences with more general form
Greatly shortens the number of sequenses needed if you replace SelVertex
and SelRoot with SelVertexOrRoot and similar for the edges/axes.
For e.g. implemented sequences for perpendicular dropped from the older
25 to now 6.
2017-02-10 17:32:18 +01:00
wmayer 798a57e2b7 issue #0002503: Invisible pad object 2017-02-10 17:19:01 +01:00
Yorik van Havre e1110bbec9 Arch: Allow the hi-res version of Equipment objects to be a shape too 2017-02-10 12:41:41 -02:00
Yorik van Havre 819b3e8e96 Draft: Fixed buggy task panel of Facebinder 2017-02-10 12:40:42 -02:00
wwmayer 72d2349429 Merge pull request #512 from WandererFan/Fix2888
TechDraw Fix #2888
2017-02-09 22:12:49 +01:00
wmayer 81c3bc6ef5 make new Part.Line behaviour the default 2017-02-09 21:47:25 +01:00
WandererFan 513decf8c8 Cleanup orphan features on DVP delete 2017-02-09 15:45:04 -05:00
WandererFan 63d5749b67 Fix crash if BaseView null on Section delete 2017-02-09 15:45:04 -05:00
WandererFan 69163cb016 Fix #2888 Crash on Delete View 2017-02-09 15:45:04 -05:00
wwmayer 43a54839de Merge pull request #511 from luzpaz/Short-urls
Replace old wiki URLs with new Short URLs
2017-02-09 19:36:16 +01:00
wmayer 9925e9028e issue #0002183: Mesh View . Use Bounding-Box Not Working For Flat Lines 2017-02-09 18:30:48 +01:00
Yorik van Havre 8b8b4237e1 Added crowdin badge to README 2017-02-09 13:01:34 -02:00
wmayer aa59757000 fix 'Flat Lines' display mode of meshes 2017-02-09 15:22:31 +01:00
wmayer 6c2a7b479f issue #0002891: Sketching impossible, Type.Error Exception 2017-02-09 12:46:58 +01:00
Kunda 364f53aa89 Replace new Short URLs with old wiki URLs pt2
Continuing to replace URLS
2017-02-08 23:38:54 -05:00
Kunda bb52cd1f15 Replace new Short URLs with old wiki URLs
Changing
2017-02-08 17:58:55 -05:00
wmayer 0598af8a08 unset PYTHONHOME on Windows to avoid eventual problems with a conflicting Python installation 2017-02-08 21:43:55 +01:00
wmayer b3ca0ba4b6 fix German translation 2017-02-08 17:08:58 +01:00
wmayer f33c7b3f00 issue #0001203: Allow User to Adjust Size of Constraint Points 2017-02-08 12:46:32 +01:00
wmayer 2ab9ef93cd Qt4/Qt5 neutral changes
fix interface of slot functions in DlgSettingsEditorImp to avoid warnings with Qt5
2017-02-08 12:45:16 +01:00
Yorik van Havre 0a6b382d71 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-02-07 10:59:09 -02:00
Kurt Kremitzki f2467d7044 Add persistence to Python console word wrap 2017-02-07 10:58:38 -02:00
wwmayer c0b29a4a54 Merge pull request #504 from kkremitzki/master
Fix doc header references to be http/https agnostic
2017-02-07 13:58:22 +01:00
Yorik van Havre b9fea9ce73 Merge branch 'JanPatch' of https://github.com/WandererFan/FreeCAD 2017-02-07 10:52:35 -02:00
WandererFan 2c31b01ffe Fix 2889 Toggle Frames for DrawViewSymbol 2017-02-07 10:51:42 -02:00
WandererFan 18cd5b5166 Feature Request 1880 - hide Template 2017-02-07 10:51:42 -02:00
WandererFan 12346a67ef Fix 2884 crash on page delete 2017-02-07 10:51:42 -02:00
WandererFan 0a05394581 Copy/Paste error referencing Image WB 2017-02-07 10:51:42 -02:00
WandererFan 79a5a6adde Change Scale to PropertyFloatConstaint to prevent OCC loop when Scale == 0 2017-02-07 10:51:42 -02:00
WandererFan d5bb03b75f hidden pref setting for face debugging 2017-02-07 10:51:42 -02:00
Alexander Gryson 64b36a2801 Update Metadata 2017-02-07 10:50:00 -02:00
Alexander Gryson 5965f48867 Align Part workbench icons to guidelines 2017-02-07 10:50:00 -02:00
Yorik van Havre c23d885bac Draft: Fixed point tool 2017-02-07 10:38:18 -02:00
Kurt Kremitzki 9591e9397e Fix doc header references to be http/https agnostic 2017-02-06 05:14:53 -06:00
WandererFan 70049dac4b Fix 2889 Toggle Frames for DrawViewSymbol 2017-02-05 20:32:58 -05:00
WandererFan c47d043529 Feature Request 1880 - hide Template 2017-02-05 20:32:58 -05:00
WandererFan 2c7afffd9a Fix 2884 crash on page delete 2017-02-05 20:32:58 -05:00
WandererFan 86363caa56 Copy/Paste error referencing Image WB 2017-02-05 20:32:58 -05:00
WandererFan e0231e20aa Change Scale to PropertyFloatConstaint to prevent OCC loop when Scale == 0 2017-02-05 20:32:58 -05:00
WandererFan 7c3e2447b0 hidden pref setting for face debugging 2017-02-05 20:32:58 -05:00
wwmayer 15ab763652 Merge pull request #503 from agryson/vulture-artwork-feedback
Integrate forum feedback on icons
2017-02-05 22:35:30 +01:00
Alexander Gryson 6fde63273c Integrate forum feedback on icons 2017-02-05 21:58:13 +01:00
wwmayer c797b478e3 Merge pull request #501 from luzpaz/doxygen-typo-fix
fix doxygen typo introduced to DraftVecUtils.py
2017-02-05 19:28:36 +01:00
wwmayer 48c620b640 Merge pull request #500 from pekkaroi/pathcompound-fix
PathUtils findParentJob fixed to work from within a PathCompound
2017-02-05 19:27:59 +01:00
wmayer 6b0a0ff9c7 issue #0001935 2017-02-05 19:00:45 +01:00
luzpaz 09b1c5c488 fix doxygen typo introduced to DraftVecUtils.py
typo from previous commit 019b0e2529
2017-02-05 10:33:33 -05:00
pekkaroi 00c850f339 Merge branch 'master' into pathcompound-fix 2017-02-05 13:30:17 +02:00
wmayer 60ae927fcb issue #0002031: show object name when hovering tree view 2017-02-05 09:56:35 +01:00
Pekka Roivainen 63ee215122 findParentJob fixed to work from within a PathCompound 2017-02-05 00:23:02 +02:00
wmayer 36b7e0338b fix eval flsw: do not use GUI stuff in App modules! 2017-02-04 18:19:00 +01:00
Yorik van Havre 095d462cba Arch: Added oddtopus's fixes to Arch Frame 2017-02-04 14:41:32 -02:00
wmayer 216d8c66dc commit 10000 2017-02-04 16:24:32 +01:00
wmayer 5cf9eb069a commit 9999 2017-02-04 16:17:56 +01:00
luzpaz 019b0e2529 Draft: doxygen tweaks
Getting familiarized with doxygen by starting some initial work on Draft module
typo introduced from commit
2017-02-04 16:09:49 +01:00
wmayer 76b3397762 py3: ported module init to python3 2017-02-04 15:56:31 +01:00
looooo 915a1b18c4 py3: Draft: use ordered dicts 2017-02-04 15:48:43 +01:00
looooo 76a4e7469b py3: Draft: Trackers integer division 2017-02-04 15:48:43 +01:00
looooo 8165b2ab85 py3: Draft: python3 translate 2017-02-04 15:48:43 +01:00
Kurt Kremitzki 2deaf4f2f2 Update to Python 3 print 2017-02-04 15:48:43 +01:00
lorenz_l da2b9f38ce py3: error with decode translation.
translation already is a function defined in DraftTools and is responsable for right decoding. Not doing it twice.
2017-02-04 15:48:43 +01:00
Yorik van Havre 742d92c6bd py3: fix in draft translate function 2017-02-04 15:48:43 +01:00
wmayer 8696ecdf9b py3: ported Draft to python3 2017-02-04 15:48:43 +01:00
Priit Laes 81464b5ef0 python: Draft: *.py: Fix syntax for Python3 2017-02-04 15:48:43 +01:00
wmayer 09ef1e9ca9 undo removal of function caused by PR494 2017-02-04 15:40:41 +01:00
sliptonic 899e57fc35 PATH: post processor tweaks and loop select.
rename generic_post.py: This is actually a post specific to a machine.  The generic name is confusing
fix test case. Contour has no plunge angle
scrubbing postprocessors for python 2 style prints
Keep loop select usable when task panel is open.
2017-02-04 15:36:33 +01:00
wmayer 17a3d1e81f fix warnings: -Wmaybe-uninitialized 2017-02-04 15:16:47 +01:00
wmayer 16a23d1694 disable Path module on Win32 if cmake version is less than 3.4.3 2017-02-04 14:48:33 +01:00
wwmayer c014fe17d8 Merge pull request #460 from realthunder/PathArea
Added Path.Area and Path::FeatureArea
2017-02-04 11:36:21 +01:00
wmayer 850bba7926 prework for issue #0002698 2017-02-04 11:34:55 +01:00
wmayer 709d2f325d fixes #0002887: add FC logo (watermark) in Save Picture Tool 2017-02-03 23:25:42 +01:00
wwmayer 9b58d8bd6f Merge pull request #495 from luzpaz/grammar-fixes
Grammar fixes
2017-02-02 22:04:00 +01:00
wmayer 33e0bc3a46 fix various warnings 2017-02-02 20:42:56 +01:00
luzpaz bb5c01ba84 typo r/scema/scheme/ 2017-02-02 14:01:10 -05:00
luzpaz ad7f6b960c fix --log-file description grammar 2017-02-02 13:56:42 -05:00
wmayer 1afa150585 raise error if parameters of ellipse are invalid 2017-02-02 15:52:28 +01:00
Kurt Kremitzki 25496adcbe Add Addon Manager to Tools menu 2017-02-02 11:20:41 +01:00
Abdullah Tahiri 66982e21bd Sketcher: Polyline continuous mode support 2017-02-02 10:42:38 +01:00
Abdullah Tahiri b708957080 Sketcher: BSpline deletion/special hideunused internal geometry
===============================================================

The implementation of BSpline differs from previous complex forms.

The BSpline is created constraint to be polynomic (non-rational), with radius of first circle and equality constraints.

Hide unused internal geometry considers as unused the following constraints:
- A pole which has equality constraints with another pole of the same bspline
- Any radius constraint on a pole

Deletion of a BSpline will delete the internal geometry that is unused as per the definition above.

If there is another constraint (other than the Internal alignment constraint) it will leave the internal geometry having such constraint undeleted.
2017-02-02 10:42:38 +01:00
Eivind Kvedalen 4750bd40dd Expressions: Generalized FunctionExpression::simplify(...) function. 2017-02-02 10:27:29 +01:00
Eivind Kvedalen 0d6f777099 Expressions: Fixed issue #2879. 2017-02-02 10:27:29 +01:00
Yorik van Havre 715fa81fe2 Arch: Upgraded Equipment tool - fixes #2573 2017-02-01 23:04:14 -02:00
wwmayer 6c3b78e97b Merge pull request #490 from AjinkyaDahale/patch-1
Minor bug in PartDesignGui::ViewProviderPipe
2017-02-01 13:51:53 +01:00
wmayer 2623ca4fd4 fix whitespaces 2017-02-01 12:35:50 +01:00
wwmayer a97fbc344e Merge pull request #489 from vejmarie/step
Add an update timer to the progress bar set to 500ms
2017-02-01 12:33:25 +01:00
wmayer 5d21eb614b fix crash in ViewProviderGeoFeatureGroupExtension::getLinkedObjects 2017-02-01 12:04:41 +01:00
Zheng, Lei 14c98d252e Path.Area: added python static method setDefaultParams()
set/getDefaultParams controls the default parameters used when
creating Path.Area object. It also has extra parameter to control
Path.Area log level.
2017-02-01 12:02:01 +08:00
Ajinkya Dahale 7a9fecbbf0 Minor bug in PartDesignGui::ViewProviderPipe
Assert excludes any "Edge1"
2017-02-01 09:08:05 +05:30
Jean-Marie Verdun 7b5707b1c6 Add an update timer to the progress bar set to 500ms instead of
nothing. STEP Reader is updating the progress bar every time a new
Shape is decoded/transferred and loaded, which is a huge amount
of "interrupt" and slow down drastically the global performance
2017-01-31 23:02:40 +01:00
Yorik van Havre 2780edd903 Arch: fixed import of IFC Site geometry 2017-01-31 18:58:02 -02:00
Zheng, Lei fa6c31aaee Merge remote-tracking branch 'upstream/master' into PathArea 2017-02-01 02:48:45 +08:00
Zheng, Lei e66f4c5d6f Path.Area: added python abort() to abort lengthy operation 2017-02-01 02:45:13 +08:00
Zheng, Lei 6f862fe4a1 Part.Area: fixed sortWires3D 2017-02-01 02:02:07 +08:00
Zheng, Lei a6380f64a5 Path: fixed fromShapes and sortWires parameter parsing 2017-02-01 02:01:33 +08:00
AjinkyaDahale e8c822c93e Changes based on wwmayer's comments 2017-01-31 17:07:45 +01:00
AjinkyaDahale fb2cd4d7b3 Moved Perpendicular to constraint mode framework
A couple of combinations, endpoint-endpoint and endpoint-curve, do not
work, and the latter probably should not work ever since endpoint-curve-
curve exists.
2017-01-31 17:07:45 +01:00
AjinkyaDahale 5e997fed02 Brought back select then constraint for all constraint tools yet converted 2017-01-31 17:07:45 +01:00
AjinkyaDahale a881d30a70 Miscellaneous changes to constraint creation modes
Parallel constraints can also be made by select-then-constraint way.
Preliminary preparations for perpendicular constraint making mode.
Selection actually works when for constraints involving multiple
elements few of them are selected (thanks abdullah).
etc.
2017-01-31 17:07:45 +01:00
Abdullah Tahiri 9ec7bd4650 Sketcher: Fixing Green selection on new style constraints 2017-01-31 17:07:45 +01:00
AjinkyaDahale a39d2545a6 Moved point on object to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale 643e61ccf6 Moved parallel to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale 180772b7ee Moved coincident and vertical to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale dad03ca347 Moved CmdSketcherConstrainLock to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale 4ad41e1ad1 Generalize DrawSketchHandlerGenConstraint::releaseButton
The select-then-constrain method has been temporarily sacrificed
2017-01-31 17:07:45 +01:00
AjinkyaDahale 99f93f357b CmdSketcherConstraint::applyConstraint() is now used in DrawSketchHandlerGenConstraint 2017-01-31 17:07:45 +01:00
AjinkyaDahale 61324d8887 Initial commit with DrawSketchHandlerGenConstraint
Plus made CmdSketcherConstrainHorizontal subclass of
CmdSketcherConstraint, and made it use DrawSketchHandlerGenConstraint.
2017-01-31 17:07:45 +01:00
AjinkyaDahale 583bb48ad4 Replace All SelectionFilterGates in Constraint Modes by GenericConstraintSelection 2017-01-31 17:07:45 +01:00
AjinkyaDahale b2c5e84e5d Addition to CmdSketcherConstraint and GenericConstraintSelection
Also making CmdSketcherConstrainLock a subclass of CmdSketcherConstraint
2017-01-31 17:07:45 +01:00
AjinkyaDahale 93cb552d2f Coincident constraint mode works on root (origin) too 2017-01-31 17:07:45 +01:00
AjinkyaDahale 3f02c72f85 Skeleton of general CmdSketcherConstraint Class 2017-01-31 17:07:45 +01:00
wwmayer 9f68469d89 Merge pull request #486 from agryson/icon-sizes
Icon sizes Preferences update
2017-01-31 16:51:38 +01:00
wwmayer bcc2e45195 Merge pull request #487 from berndhahnebach/bhbdev066
Bhbdev066
2017-01-31 12:30:09 +01:00
wwmayer 0b4374e184 Merge pull request #488 from mlampert/QtGui-import-fix
Path: Fixed QtGui import.
2017-01-31 12:24:45 +01:00
Zheng, Lei f834206ba7 Path.Area: added segmentation and 3D wire support 2017-01-31 19:09:33 +08:00
Zheng, Lei c3293f00be libarea: make ChangeStartToNearest path breaking optinoal 2017-01-31 19:08:39 +08:00
Markus Lampert c4a552e958 Fixed QtGui import. 2017-01-30 21:21:04 -08:00
wmayer 2d84615219 include required header under Linux 2017-01-30 23:13:05 +01:00
wmayer 321ca984c9 use names directly from document to set them in scene inspector 2017-01-30 22:29:26 +01:00
Bernd Hahnebach 71fe91189b FEM: Z88 result reader, fix open Z88 results files directly 2017-01-30 18:22:38 +01:00
Bernd Hahnebach 3f08dd5739 FEM: import Z88 results, change module name to import... 2017-01-30 18:22:28 +01:00
Bernd Hahnebach 469e391f66 FEM: import VTK results, change module name to import... 2017-01-30 18:22:23 +01:00
Bernd Hahnebach df66ce0bc3 FEM: export results to vtk, code formating and documatation information 2017-01-30 18:22:18 +01:00
qingfengxia 9ce1662ae1 Fem: add FemResult export to VTK files for visualization externally 2017-01-30 18:22:11 +01:00
Alexander Gryson 1b44eff87c Show current icon size if not in list 2017-01-30 18:19:13 +01:00
Alexander Gryson ce416f2a18 Show icon units 2017-01-30 18:19:12 +01:00
Alexander Gryson 616f45f151 Remove reliance on PM_ToolBarIconSize 2017-01-30 18:19:12 +01:00
Jean-Marie Verdun fc4a1c6081 Activate only UI tree leaf as to display properly colors when browsing a STEP (there is currently a limitation within the reader which creates compound which are totally grey) and accelerate browsing by de-activating Compound rendering 2017-01-30 17:59:07 +01:00
wmayer bcea759287 fix crash with null pointer links
in PropertyLinkList handle case with null pointers as value
in STEP reader avoid to create coumpound objects with null pointer links
2017-01-30 16:47:31 +01:00
Yorik van Havre 3a3fa30595 Arch: fixed small bug in Site area calculation 2017-01-30 13:13:13 -02:00
wmayer 64d0eb95f3 can't assign nullptr to a QPixmap 2017-01-30 14:13:57 +01:00
wmayer 303f0886df fix linking error in TechDraw 2017-01-30 14:07:42 +01:00
wwmayer 2a1d02e491 Merge pull request #485 from WandererFan/January
TechDraw January Upgrade
2017-01-30 13:58:43 +01:00
wwmayer c63627840d Merge pull request #483 from looooo/python3-path
Python3 path
2017-01-30 13:54:05 +01:00
Kurt Kremitzki 541ff3726e Fix tuple unpacking issue 2017-01-30 10:21:33 +01:00
Kurt Kremitzki 06a5bfb0de Remove py3-incompatible tuple argument from Path 2017-01-30 10:21:28 +01:00
Kurt Kremitzki e47edae9c3 Update Path to py3-compatible printing 2017-01-30 10:21:22 +01:00
Zheng, Lei 94c4cecb27 Path.Area: fixed workplane orientation issue 2017-01-30 16:29:36 +08:00
WandererFan 5f72efa610 Avoid issue if ViewProvider deleted while graphic still active 2017-01-29 19:40:34 -05:00
WandererFan 49c2be14ba Fix potential race when cancelling DPG creation 2017-01-29 19:40:34 -05:00
WandererFan 722b2d1c04 Install default PAT file 2017-01-29 19:40:34 -05:00
WandererFan 7cb3e93686 Preferences for GeomHatch 2017-01-29 19:40:34 -05:00
WandererFan b1a5fd971c Add dialog for GeomHatch creation 2017-01-29 19:40:34 -05:00
WandererFan 84b858a142 fix naming conflicts 2017-01-29 19:40:34 -05:00
WandererFan 42bb64736d update tooltips, menu order 2017-01-29 19:40:34 -05:00
WandererFan 299ac94c9f Geometric hatch for Section face 2017-01-29 19:40:34 -05:00
WandererFan 1d3a8a910f minor fixes: debug message/tooltips/etc 2017-01-29 19:40:34 -05:00
WandererFan f51b5818cc Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -05:00
WandererFan 54fed5ccfb Improve handling of broken references (changed Edge/Vertex names) 2017-01-29 19:40:34 -05:00
WandererFan afa8c9fece Prevent DetailView crop circle marker 2017-01-29 19:40:33 -05:00
WandererFan 0cb29cfa45 Fix Diamter/Radius Dimensions in Detailview 2017-01-29 19:40:33 -05:00
WandererFan 935c4f8099 Make detail crop circle public 2017-01-29 19:40:33 -05:00
WandererFan c0ab95aab0 Add Vector2D conversion 2017-01-29 19:40:33 -05:00
WandererFan fad1edb9ce Add formatVector for Vector2d 2017-01-29 19:40:33 -05:00
WandererFan 7959d846fc remove debug messages 2017-01-29 19:40:33 -05:00
WandererFan 98c8394c5e Handle corrupted 2D references 2017-01-29 19:40:33 -05:00
WandererFan 3d8622dd67 ViewSection inherits Scale from Base 2017-01-29 19:40:33 -05:00
WandererFan 3ce9c48c64 Clean up children on Page delete 2017-01-29 19:40:33 -05:00
WandererFan 6cad2bc834 Delete DPGI's when parent DPG deleted
Ensure Gui/QGIVxx is removed when App/DVxxxx is deleted
2017-01-29 19:40:33 -05:00
WandererFan 0204b77766 Warn if Anchor view deleted in Projection Group 2017-01-29 19:40:33 -05:00
WandererFan 1738107590 Correct handling of deleted Features in QGraphicsScene 2017-01-29 19:40:33 -05:00
WandererFan c0c4569546 Change DPG freature name from "cView" to "ProjGroup" 2017-01-29 19:40:33 -05:00
WandererFan a6129b9198 Remove SectionLine on delete or cancel 2017-01-29 19:40:32 -05:00
WandererFan 78c07ced57 Remove section line from DVP on delete of DVS 2017-01-29 19:40:32 -05:00
WandererFan 60ba62c09f Fix non-rotation of QGIDecorations with QGIViewPart 2017-01-29 19:40:32 -05:00
WandererFan 429c32bdde Reset edit after dialogs 2017-01-29 19:40:32 -05:00
WandererFan 9e7d56d4da Fix NaN in iso sections 2017-01-29 19:40:32 -05:00
WandererFan 0623e8fecb Fix DPG positioning on mouse move 2017-01-29 19:40:32 -05:00
WandererFan 94a647a94c Fix Svg export page & text size in HiRez 2017-01-29 19:40:32 -05:00
WandererFan 5e62c6b2b8 Add arrowstyle preference 2017-01-29 19:40:32 -05:00
WandererFan 5007193541 Initial Bitmap fills for Faces
- also texture from svg (not used yet)
2017-01-29 19:40:32 -05:00
WandererFan ad98ff1707 Restore lost dimension tail 2017-01-29 19:40:32 -05:00
WandererFan fe617e1433 Make SVG hatches scalable 2017-01-29 19:40:32 -05:00
WandererFan f68cbc83e3 Basic working HiResolution TD 2017-01-29 19:40:32 -05:00
wmayer 32bacd0b63 py3: ported Path to python3 2017-01-29 22:35:52 +01:00
Priit Laes 71f6a289c6 python: Path: *.py: Fix python3 syntax 2017-01-29 22:35:36 +01:00
wwmayer 8ed62e3965 Merge pull request #482 from agryson/multi-workbench-artwork-alignment
Multi workbench artwork alignment
2017-01-29 22:18:57 +01:00
Alexander Gryson 49c02b988b Update Plot icon metadata 2017-01-29 20:21:22 +01:00
Alexander Gryson 1c07ca7a31 Align Plot Workbench icons to guidelines 2017-01-29 20:21:22 +01:00
Alexander Gryson 35c817e986 Update Ship icon Metadata 2017-01-29 20:21:22 +01:00
Alexander Gryson 806df184f7 Align Ship Workbench icons to guidelines 2017-01-29 20:21:22 +01:00
Alexander Gryson ab196b5f8d Correct outline color in sketcher icon
The select constraint icon incorrectly showed icon as having an orange outline. This was corrected, but after merge of PR.
2017-01-29 20:21:22 +01:00
Zheng, Lei fb5b69cdec Force BOOST_PP_VARIADIC for clang
Current clang has full support for all variadic macro feature required
by Boost.Preprocessor. However, older Boost turned off variadic feature
for clang by default, probably because clang was broken at that time. It
should be safe to turn it on now.
2017-01-29 19:01:10 +00:00
Zheng, Lei c4b599d691 Path.Area: fixed compiler warning 2017-01-29 18:59:52 +00:00
Yorik van Havre ea2f8731e9 Start: misc fixes in startpage 2017-01-29 15:33:00 -02:00
wwmayer fa4b5d29b5 Merge pull request #480 from drallod/master
Path: Issue #0002817:
2017-01-29 17:52:15 +01:00
drallod 357ecb5800 Path: Issue #0002817:
Check if default post processor hasn't been lost
2017-01-29 10:42:13 -06:00
Yorik van Havre fc2010baa8 Arch: Export rebars to IFC as SweptDiskSolids + fixed half-done py3 compatibility - fixes #2684 2017-01-29 14:27:42 -02:00
Zheng, Lei 65f01daee2 Path.Area: fixed auto workplane correction 2017-01-29 20:25:13 +08:00
Zheng, Lei fbcffa12d2 Path.Area: fixed auto workplane finding logic 2017-01-29 20:17:18 +08:00
wwmayer 1e4b6ed00b Merge pull request #479 from abdullahtahiriyo/bspline_stage1b_2017_firstdeliverable_fixes
Bspline stage1b 2017 firstdeliverable fixes
2017-01-29 11:40:26 +01:00
Zheng, Lei 228a0dc905 Path.Area: fixed non-circular curve handling, etc.
* Fixed non-circular curve orientation handling

* Section changed to use Part::CrossSection, because it seems
BRepAlgoAPI_Section has trouble with non-circular curves (LastParameter
becomes huge which causes discretization to produce many many points)

* Exposed Area.makeSections() to section with variable heights

* Modified Area.setPlane() to accept non-planar shape

* Exposed Area.getPlane() to obtain current workplane

* Exposed Area.Shapes attribute to return the current holding children
shape.
2017-01-29 18:24:01 +08:00
Abdullah Tahiri 9725be8686 Sketcher: Documentation of delete functions 2017-01-29 00:25:34 +01:00
Abdullah Tahiri 0edf17245c Sketcher: Fix deletion of geometry having internal geometry inserted before the geometry 2017-01-28 23:08:27 +01:00
wwmayer 175d17764a Merge pull request #467 from mlampert/path-unit-test-fixes
Path: Path unit test fixes issue #2870
2017-01-28 22:15:51 +01:00
Markus Lampert d4da536d4c Restored exception masking - although i'm not sure it's a good thing. 2017-01-28 11:46:17 -08:00
Markus Lampert c9c7d19a82 Import pivy only if gui is up. 2017-01-28 11:46:17 -08:00
Markus Lampert 013043b18c Refactored cmake file once again - exposing root exception. 2017-01-28 11:46:17 -08:00
Markus Lampert e1a22b796e Fixed unit tests for the case where LineOld is not set to false. 2017-01-28 11:46:17 -08:00
Markus Lampert 831e467f9e Refactored cmake file and added TestPathCore. 2017-01-28 11:46:16 -08:00
ml ea7789b8b6 Fixed merge issues and re-enabled tests. 2017-01-28 11:46:16 -08:00
Markus Lampert f0db6b824e Hooked Path tests into global unit test target. 2017-01-28 11:46:16 -08:00
Markus Lampert 7805dce66e Fixed holding tags unit tests. 2017-01-28 11:46:16 -08:00
wwmayer 33a3c5fcf0 Merge pull request #478 from agryson/sketcher-artwork-alignment
Sketcher artwork alignment
2017-01-28 15:55:19 +01:00
Alexander Gryson 9512b463bf Update Metadata 2017-01-28 09:29:20 +01:00
Alexander Gryson f254987a87 Update xpm icons 2017-01-28 09:29:19 +01:00
Alexander Gryson 0746a8ed9e Align Sketcher Workbench icons to guidelines 2017-01-28 09:29:19 +01:00
wmayer 0df4af4ba5 issue #0002540: Crash on startup 2017-01-28 00:14:15 +01:00
wmayer a240f5dd70 issue #0002540: Crash on startup 2017-01-27 23:53:48 +01:00
Zheng, Lei 41c7827287 libarea: fixed linux build 2017-01-28 01:30:13 +08:00
Zheng, Lei 64fc4b5d35 Path: fixed Path.h line ending issue 2017-01-28 01:22:09 +08:00
wwmayer 9b49777700 Merge pull request #475 from abdullahtahiriyo/bspline_stage1b_2017_firstdeliverable
Bspline stage1b 2017 firstdeliverable
2017-01-27 18:20:16 +01:00
Zheng, Lei b9c06fdc2a Path: fixed FeatureAreaView negative SectionIndex behavior 2017-01-28 01:19:09 +08:00
wmayer 7756c27685 use triangular tabs in property view only on Windows 2017-01-27 17:05:08 +01:00
wmayer 36e1d072a6 fix -Wunused-variable 2017-01-27 16:10:19 +01:00
wwmayer a460c540f4 Merge pull request #472 from looooo/python3-complete
py3: ported Complete to python3
2017-01-27 15:53:10 +01:00
wmayer f47fc489a6 code cleanup 2017-01-27 15:48:27 +01:00
Jean-Marie Verdun f10a436787 STEP reader improvements
Create Global STEP Tree when assemblies are present
Make TBB usage dependant of its activation status at CMake Level
Fix hierarchy opening into STEP Assembly
2017-01-27 15:23:49 +01:00
Zheng, Lei a3f46a40e9 Path: added Path.fromShapes and Path.sortWires
* Path.fromShapes can now convert any number of shapes to Path with
optimzied travel distances. It internally uses Path.sortWires to
minimize travel distances, and also sort wires by its Z height in case
of sectioned wires.

* The above python function is impelmented in Path::Area class.

* Path::FeatureShape is rewrote to take advantage of these two
functions.

* Add Path::FeatureAreaView to partially display a Path::FeatureArea's
sections.
2017-01-27 17:13:16 +08:00
Markus Lampert dd63fe9210 Changed comparison of adjecent edge points to use PathGeom.pointsCoincide to deal with the higher precision of doubles underneath. 2017-01-26 23:07:32 -02:00
Yorik van Havre bef81531ee Merge pull request #474 from mlampert/logging
Path: minor fix in dogbones and introduction of PathLog module (with initial use).
2017-01-26 21:23:41 -02:00
Abdullah Tahiri 80e7ece429 Sketcher: BSpline - avoid tiny circles on removal of equality 2017-01-26 23:41:02 +01:00
Abdullah Tahiri 6ad51826d4 Sketcher: BSpline Creation - as single command for one-step undo 2017-01-26 21:31:03 +01:00
Abdullah Tahiri bad73abe84 Sketcher: BSpline Creation fix - Remove introduced pole if creation cancelled 2017-01-26 21:31:03 +01:00
Abdullah Tahiri cc31dac143 Sketcher: BSpline Creation improvement - Add constraints by groups 2017-01-26 21:31:03 +01:00
Abdullah Tahiri ec8c514547 Sketcher: BSpline Creation acceleration - pole constraining on pole creation 2017-01-26 21:31:02 +01:00
Abdullah Tahiri 38fc7071c7 Sketcher: BSpline Creation solver call reduction 2017-01-26 21:31:02 +01:00
Abdullah Tahiri bdc81aae2e Sketcher: BSpline Creation - pole circle on click
=================================================

This method creates the pole circles on every click. This allows to properly detect the closing of the curve
2017-01-26 21:31:02 +01:00
Abdullah Tahiri f4a882093b Sketcher: InternalAligment Python extension to InternalAlignmentIndex
=====================================================================

Extension of Constraint Python code to consider the case with 4 ints, where the last int is InternalAligmentIndex for InternalAligment constraint
2017-01-26 21:31:02 +01:00
Markus Lampert f92e5db8a7 Fixed moved dogbone to use logging module - and fixed a bug while I was at it. 2017-01-26 10:47:57 -08:00
Markus Lampert 7cc843c3c0 Fixed secondary debug logging in holding tags. 2017-01-26 10:47:57 -08:00
Markus Lampert dfb1094318 Path logging interface and bulk transfer of HoldingTags dressup to use module. 2017-01-26 10:47:57 -08:00
Zheng, Lei 79a261e868 Merge remote-tracking branch 'upstream/master' into PathArea 2017-01-26 15:47:26 +08:00
Yorik van Havre fdd34efa43 Draft: Fixed small bug in SVG output 2017-01-25 21:29:33 -02:00
Yorik van Havre 9a6191f572 Draft: AutoGroup system 2017-01-25 14:55:14 -02:00
wmayer 38921cf3e1 py3: ported Complete to python3 2017-01-25 10:18:29 +01:00
looooo 9f2a389dbc py3: add PyMOD_INIT_FUNC
from: py3: ported module init to python3, wwmayer
2017-01-25 10:16:06 +01:00
Zheng, Lei 1913f6c582 Path: added support to get Path.Area from Path::FeatureArea 2017-01-25 00:23:21 +08:00
Zheng, Lei 9afefdc05a Path.Area: fixed error handling in Python constructor 2017-01-25 00:21:45 +08:00
wmayer bebda4c6ad fix crash when pressing cancel on pipe task panel 2017-01-24 15:00:41 +01:00
drallod d9dda3fa1d Path: Fixed issue where GCodeEditorDialog wouldn't appear for some post processors 2017-01-24 10:30:14 -02:00
Zheng, Lei 087853bfc5 Draft: improved makeSketch backward compatibility 2017-01-24 10:25:58 -02:00
Zheng, Lei 820439781f Draft: various fixes and improvements of makeSketch
* Fixed extra conincidence constraint on closed wire
* Fixed Part::Feature arc handling
* Added support for Part.Shape
* Added radius and radius equal constraint
* Added support for auto deleting objects and all of its linked children
* Improved performance of autoconstraint
2017-01-24 10:25:58 -02:00
Bernd Hahnebach 1d5d539f6b FEM: GMSH mesh object, in some cases the task panel did not open 2017-01-24 10:16:44 -02:00
wmayer 09846721f2 make sure that the passed 'self' pointer to a method of the Python wrapper is never null 2017-01-24 12:34:23 +01:00
Zheng, Lei aec39ec6ff Path.Area: added Sections python attribute 2017-01-24 14:37:52 +08:00
Zheng, Lei 67a16db6cb Path.Area: fixed plane finding for edge only shapes 2017-01-24 14:37:12 +08:00
wmayer 294b2308d6 fix crash when cancelling revolution task panel 2017-01-23 23:24:40 +01:00
wmayer 8a100bf627 issue #0002836: Crash in sketcher 2017-01-23 22:48:02 +01:00
wmayer 43e8c21743 issue #0002816: Trimming tool crashes 2017-01-23 19:06:48 +01:00
wmayer 417f074aff handle stricter tolerance of Vector3d for equality in Draft unit test 2017-01-23 17:42:15 +01:00
wwmayer 654da13ee9 Merge pull request #468 from cconnett/master
Grammar fix
2017-01-23 14:27:04 +01:00
Yorik van Havre 9f859a0912 Draft: Fixed encoding bug in dwg import - fixes #2872 2017-01-23 10:15:59 -02:00
Zheng, Lei 736cd39851 Path.Area: clean up python binding error handling 2017-01-23 17:27:58 +08:00
Zheng, Lei 2acc29de8f Path.Area: fixed handling of closed edge 2017-01-23 17:26:45 +08:00
Chris Connett 9134a1e613 Grammar fix 2017-01-22 23:27:55 -05:00
wwmayer 1c0c848a36 Merge pull request #464 from berndhahnebach/bhbdev064
FEM
2017-01-22 19:38:59 +01:00
wmayer 27c4136f58 TaskTransformedParameters derives from Gui::DocumentObserver to handle deletion of view provider when clicking Cancel button 2017-01-22 19:07:07 +01:00
wmayer bc84e88e31 add observer for GUI documents 2017-01-22 19:05:13 +01:00
Bernd Hahnebach 529e1418f4 FEM: unit tests, get rid of duplicate defs 2017-01-22 17:31:08 +01:00
Bernd Hahnebach b8403d4645 FEM: unit tests, update result files to start with element numbering with 1 2017-01-22 17:31:08 +01:00
Bernd Hahnebach dbe6efb01f FEM: unit tests, start element numbers of the unit test FEM meshes with 1 2017-01-22 17:31:08 +01:00
Bernd Hahnebach 94ddfdb01f FEM: unit tests, make all FEM unit test in one directory in tmp directory 2017-01-22 17:31:08 +01:00
Bernd Hahnebach 227beac03f FEM: unit tests, fix def to update results 2017-01-22 17:31:08 +01:00
Bernd Hahnebach cfa97b0163 FEM: unit tests, reorder paths 2017-01-22 17:31:08 +01:00
Bernd Hahnebach a5d6c29c32 FEM: unit tests, convert result stat file from win to unix line ending 2017-01-22 17:31:08 +01:00
Bernd Hahnebach d553d50432 FEM: splitted input file, fix if there is no constraint fix but constraint displacement and plane rotation instead 2017-01-22 17:31:08 +01:00
Bernd Hahnebach 1347c7b645 FEM: examples, update them to the new solid material category 2017-01-22 17:31:08 +01:00
Bernd Hahnebach d87d0a925d FEM: imports, comment not used imports 2017-01-22 17:31:08 +01:00
Bernd Hahnebach 56d43c2373 FEM: code formating, flake8 2017-01-22 17:31:08 +01:00
wmayer 72c7a8ab00 change old DAG implementation to pass unit tests 2017-01-22 17:03:59 +01:00
wwmayer 6105ea7a69 Merge pull request #463 from qingfengxia/fluidmaterial
Fem: add push button to export customed fluid and solid material to FCMat file
2017-01-22 15:46:10 +01:00
wmayer 66b91b1cdf partially revert changes of issue #0002858 and add IsEqual method 2017-01-22 15:33:26 +01:00
wmayer db0fe5b200 change old DAG implementation to pass unit tests 2017-01-22 15:32:31 +01:00
qingfengxia 66fcaf6796 Fem: add push button to export customed fluid and solid material to FCMat file 2017-01-22 13:22:29 +00:00
qingfengxia b788503b0a Fem: add icon for FemMaterialFluid command toolbar item 2017-01-22 13:20:34 +00:00
qingfengxia a90d221546 Fem: add length scaling (metre to mm) option for VTK mesh import 2017-01-22 13:19:24 +00:00
wwmayer 0afb7b6a32 Merge pull request #462 from looooo/fix_translation
py3: fix for translation in start wb
2017-01-22 14:01:55 +01:00
wmayer 172206f58e restore old DAG implementation and fix some build failures 2017-01-22 13:31:49 +01:00
Abdullah Tahiri c43b39d001 Sketcher: BSpline creation mode end on right-click
==================================================

Now the BSpline ends with right-click, but creates the BSpline if at least two poles have been entered.

If continous creation mode is enabled, then it only exits when right-clicking without having entered any pole.
2017-01-22 00:38:23 +01:00
looooo 4915a0993b py3: code from python3-branch broke the translation in Start-wb. This commit should fix this 2017-01-21 22:43:45 +01:00
wmayer f21fa3e17f fix compiler warning 2017-01-21 21:49:13 +01:00
wmayer f3f7b01202 improve whitespaces 2017-01-21 19:15:36 +01:00
Stefan Tröger 69857f37f7 DAG: remove early return to avoid update chain changes 2017-01-21 19:15:36 +01:00
Stefan Tröger b42740930e DAG: remove defined but unused function 2017-01-21 19:15:36 +01:00
Stefan Tröger 4f8e046f7f DAG: Fix preprocessor definition inconsistencies 2017-01-21 19:15:36 +01:00
Stefan Tröger d9adc9cd6c DAG: Add document graph recompute test 2017-01-21 19:15:36 +01:00
Stefan Tröger 665eb63d4c DAG: Change object graph handling to be bidirectional 2017-01-21 19:15:36 +01:00
Yorik van Havre 93262e98b4 Draft: more coherent rectangle creation 2017-01-21 13:18:46 -02:00
wwmayer 700ed333d9 Merge pull request #461 from f3nix/layout-fix
Fix layout issue in DraftGui's _inputfield.
2017-01-21 15:21:30 +01:00
wmayer 92c3165df3 fix possible crash in destructor of FeaturePythonPyT template 2017-01-21 13:25:26 +01:00
Zheng, Lei 8fdb235d8f Path.Area: various fixes for Path.Area python object 2017-01-21 18:21:46 +08:00
Mateusz Skowroński 37b7513268 Fix layout issue in DraftGui's _inputfield. 2017-01-21 08:37:24 +01:00
wmayer ad57478ab4 fix a couple of compiler warnings 2017-01-20 22:54:10 +01:00
wmayer f5c0f579cb write consistently 'B-spline' in menus and tooltips 2017-01-20 20:59:32 +01:00
wmayer 62b4782ed6 Several fixes:
+ use different iterator variable for nexted loops
+ avoid loss of data warnings
+ improve layout
2017-01-20 19:40:49 +01:00
wmayer 0955ccf594 fix whitespaces 2017-01-20 19:22:50 +01:00
wmayer 7a3c8d0a81 make indexes of GeomBSplineCurve consistent to OCC API 2017-01-20 18:49:59 +01:00
wmayer 5dab557dfd in geometry classes raise RuntimeError instead of basic exception type 2017-01-20 18:09:02 +01:00
wwmayer ad2940888b Merge pull request #447 from abdullahtahiriyo/bspline_2017
Bspline 2017
2017-01-20 17:34:01 +01:00
wmayer eeb7dd458a spend own type for Python wrappers of FeaturePrimitive and BodyBase 2017-01-20 15:42:50 +01:00
wmayer ac7750fab6 issue #0002867: AttachExtension crash 2017-01-20 13:17:11 +01:00
Zheng, Lei 797793b4ac Path.Area: make Area.Reorder default to true 2017-01-20 18:32:57 +08:00
Zheng, Lei 298ad1eb26 libarea: fixed memory leak in CAreaOrderer 2017-01-20 18:32:30 +08:00
Zheng, Lei 2c249e8356 Part: fixed missing export declare of sort_Edges 2017-01-20 18:30:56 +08:00
Zheng, Lei c0ba9700aa Path.Area: added support for solid
* Path.Area/FeatureArea can now section solid shapes.
* Added command to select workplane for FeatureArea
* Generalized ParamsHelper
2017-01-20 17:47:28 +08:00
Zheng, Lei eb0f89f477 Part: exported Part::sort_Edges
Fixed export of Part::shape2pyshape
2017-01-20 17:46:47 +08:00
WandererFan 14ae74f468 Use contour area for wire size instead of bounding box 2017-01-20 00:09:38 -02:00
WandererFan 306ad7fcee Replace Vector3D ==/!= with difference < Precision::Confusion() 2017-01-20 00:09:38 -02:00
looooo e9b5722220 python3: dict.has_key("key") --> "key" in dict 2017-01-20 00:06:58 -02:00
Yorik van Havre 7c15e1407f Added a search box to the PropertyLink dialog 2017-01-20 00:03:42 -02:00
Yorik van Havre c241beda67 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-01-19 23:42:34 -02:00
Yorik van Havre bce02da0e3 Using system link color in property editor 2017-01-19 23:42:20 -02:00
wmayer 39bd5ea525 issue #0002867: AttachExtension crash 2017-01-19 21:48:17 +01:00
Yorik van Havre 67fdbfdbeb Arch: Fixed bug in Section Plane + TechDraw view when the section is empty 2017-01-19 17:54:58 -02:00
Zheng, Lei 1517418ba0 Path.Area added coplanar check parameter 2017-01-20 02:36:59 +08:00
Zheng, Lei 36423f24de Path: added Path.Area and Path.FeatureArea 2017-01-19 23:08:19 +08:00
Zheng, Lei 4a0e037893 Part: export Part::shape2pyshape 2017-01-19 23:05:30 +08:00
Zheng, Lei a79013e7f3 libarea: added CArea::Clip to handle open wires
CArea::Clip enables ClipperLib open wire boolean operation as well as
other settings (PolyFillType) for closed wires.
2017-01-19 19:03:59 +08:00
Zheng, Lei b58e45a04c libarea: make CArea::Record skip open wires 2017-01-19 19:03:11 +08:00
Zheng, Lei 04888f6961 libarea: split into area-native and area python 2017-01-19 19:01:48 +08:00
Zheng, Lei 9cf075a806 libarea: added OffsetWithClipper function
Also added a few extra setting variables.

OffsetWithClipper perform offset operation using
ClipperLib::ClipperOffset.
2017-01-19 18:58:09 +08:00
wwmayer 2a67c7f0ae Merge pull request #453 from qingfengxia/fluidmaterial
add air and water Fluidmaterial to FemWorkbench
2017-01-19 11:04:40 +01:00
wwmayer 4d5fab1e5a Merge pull request #456 from mlampert/develop
Path: fixes issue 2865 and 2854
2017-01-19 10:56:00 +01:00
wwmayer 632f1f5c25 Merge pull request #454 from bblacey/develop
Use Gitter notifications
2017-01-19 10:40:52 +01:00
Markus Lampert 81ae4f94aa Fixed z=0 issues; added rapid move for square tag that is at the maximum height (or higher). 2017-01-18 22:08:09 -08:00
Bruce B. Lacey 6ead01eb11 Use Gitter notifications
* Added a webhook notification for Gitter notifications.
   * Disabled email notifications because @yorik's configuration
     effectively did that but setting email to false is shorter
2017-01-18 20:06:42 -08:00
qingfengxia 82526160af Fem: add air and water fluid material into data/Mod/Material 2017-01-19 00:08:02 +00:00
qingfengxia a378a16b27 Fem: modify taskpanelFemMaterial to support simple Fluid Material 2017-01-18 23:32:40 +00:00
abdullahtahiriyo 3f0c9d7bc3 Merge branch 'master' into bspline_2017 2017-01-18 22:48:27 +01:00
wwmayer 0f4a5b4f95 Merge pull request #452 from luzpaz/travis-mascot
fix TravisCI mascot logo
2017-01-18 13:02:33 +01:00
luzpaz cfe2aa7e45 fix TravisCI mascot logo 2017-01-18 06:19:08 -05:00
wwmayer 2f44192cdb Merge pull request #451 from kkremitzki/master
Streamline README.md
2017-01-18 11:27:19 +01:00
Kurt Kremitzki 38c888490f Streamline README.md 2017-01-17 16:42:05 -06:00
Yorik van Havre 370d4f582b Merge pull request #450 from kkremitzki/master
Add gitter.im badge
2017-01-17 20:14:33 -02:00
Kurt Kremitzki 79f99b3f4b Move gitter.im badge 2017-01-17 10:10:45 -06:00
Kurt Kremitzki 8624711ae3 Add gitter.im badge 2017-01-17 09:16:21 -06:00
wwmayer c0ec75eb5a Merge pull request #449 from looooo/python3-arch
Python3 Arch
2017-01-17 13:39:24 +01:00
looooo f3fb6762e8 py3: Arch: some more fixes 2017-01-17 12:08:16 +01:00
wwmayer 636804f0f9 Merge pull request #448 from sliptonic/master
two minor bug fixes
2017-01-17 11:49:55 +01:00
looooo 2bc1162193 py3: Arch: print fixes 2017-01-17 11:13:36 +01:00
looooo 1a21a4bc96 py3: cherry-picking fixes
a cherry pick for the arch module introduced problems with python2 and the start-wb.
2017-01-17 11:03:42 +01:00
looooo 31e4489518 py3: resolving diff in Arch 2017-01-17 09:28:07 +01:00
Yorik van Havre 8ad2c699f8 py3: open function is in module 'io' in py3 instead of __builtin__ 2017-01-17 09:24:59 +01:00
wmayer 4f43cfac50 py3: adapt scripts to work with Python3 2017-01-17 09:24:59 +01:00
Priit Laes 1591601654 py3: Arch: *.py: Fix syntax for python3 2017-01-17 09:24:46 +01:00
sliptonic ed373673e8 Path: Make contour default final depth to part bottom instead of 0 2017-01-16 21:19:10 -06:00
sliptonic c4405f8356 Path: fix missing field in profile edges 2017-01-16 21:19:10 -06:00
wmayer 987630700d fix crashes in creation of parabola or hyperbola 2017-01-16 23:07:09 +01:00
Abdullah Tahiri 46075f31ba Sketcher: Symmetry support for BSpline 2017-01-16 21:47:03 +01:00
wwmayer 5956d03bb6 Merge pull request #446 from agryson/openscad-artwork-align
Openscad artwork align
2017-01-16 21:34:45 +01:00
Abdullah Tahiri 252d84ff4f Sketcher: Array/Copy/Clone support for BSpline 2017-01-16 21:28:40 +01:00
Alexander Gryson 8d81a71002 Update Metadata 2017-01-16 20:55:46 +01:00
Alexander Gryson 7744fcfa45 Align OpenSCAD icons to guidelines 2017-01-16 20:55:45 +01:00
wmayer 45b898985a set layout of text of progress bar in unit test dialog 2017-01-16 18:48:18 +01:00
wmayer 5b5189a8d6 workaround for running graphviz under Qt5 2017-01-16 00:09:39 +01:00
Yorik van Havre 177f36ad59 Merge pull request #445 from agryson/drawing-artwork-alignment
Drawing artwork alignment
2017-01-15 19:47:36 -02:00
Abdullah Tahiri 2e789dc523 Sketcher: BSpline SnellsLaw - unsupported 2017-01-15 22:34:14 +01:00
Abdullah Tahiri f935f33345 Sketcher: BSpline point-on-object - unsupported 2017-01-15 22:29:21 +01:00
Abdullah Tahiri c1decd3bb4 Sketcher: Enable relative movement of BSpline edge 2017-01-15 22:21:18 +01:00
Alexander Gryson f35d739720 Update Page template icons 2017-01-15 21:08:08 +01:00
Alexander Gryson df91ee5338 Don't depend on svg contents for file info 2017-01-15 21:08:08 +01:00
Alexander Gryson 8ba60dad27 Updated Metadata 2017-01-15 21:08:08 +01:00
Alexander Gryson ce4ee4baf4 Update Drawing Workbench icons to Tango 2017-01-15 21:08:08 +01:00
Yorik van Havre 17c6921341 Draft: Fixed bug in line UI - fixes #2860 2017-01-15 17:55:11 -02:00
Yorik van Havre c6144c218a Draft: improvements to Stretch code, added support for rectangles 2017-01-15 17:32:13 -02:00
Sebastian Stetter 0f7d4ac46c PATH: Fix for x10 input field issue in tool table 2017-01-15 17:39:37 +01:00
AjinkyaDahale a588349173 Horizontal and Vertical Constraint creation modes 2017-01-15 17:00:45 +01:00
wmayer 6e7c4915a3 fixes #0002858: Vector2d Equality Incorrect 2017-01-15 16:34:14 +01:00
wwmayer cd6c918f5a Merge pull request #443 from dev-at-stellardeath-org/path_helix
Path helix update
2017-01-15 16:07:08 +01:00
wwmayer adb9353d27 Merge pull request #444 from looooo/python3-fixes
python3: neutral fixes
2017-01-15 16:00:19 +01:00
wmayer 2f66ff6929 wrapper for QVariant <> Base::Quantity <> PyObjectWrapper 2017-01-15 15:24:04 +01:00
lorenz 67c1bcac7c Merge branch 'master' into path_helix 2017-01-15 13:52:27 +01:00
Abdullah Tahiri 4da262dd33 Sketcher: BSpline solver improvement
===================================

In the unusual event that endpoint knot multiplicity is edited, avoid trying to force the bspline end-point
to match the corresponding control point (aka pole), as this leads to unsolvable sketches.
2017-01-15 01:49:45 +01:00
Abdullah Tahiri 6b5622a661 Sketcher: BSpline - Equality not supported user indication 2017-01-15 01:40:04 +01:00
Abdullah Tahiri 2eec558ce7 Sketcher: BSpline - UI Perpendicularity 2017-01-15 01:27:46 +01:00
Abdullah Tahiri 340d33f3a5 Sketcher: BSpline - Informing the user of non-supported tangencies 2017-01-15 00:57:05 +01:00
Abdullah Tahiri e53dc90c9a Sketcher: BSpline simplified endpoint tangency/perpendicularity solver implementation
=====================================================================================

Support for tangency/perpendicularity using angle via point for BSpline with appropriate
endpoint multiplicity so that the endpoints goes thru the first and last poles (control points).

Warning: Not applicable to periodic BSplines.
Warning: Not applicable to any non-periodic BSpline with inappropriate endpoint conditions.
2017-01-15 00:42:25 +01:00
Abdullah Tahiri 9bf1e8f4f4 Sketcher: BSpline box selection 2017-01-14 19:33:40 +01:00
looooo 42331bde1b python3: neutral fixes 2017-01-14 19:22:15 +01:00
Lorenz Hüdepohl f2faa50802 PathHelix: Switch to QToolBox based task panel
This makes it more consistent with the other Path operations
2017-01-14 17:04:36 +01:00
WandererFan d8afbe563e Fix 2843 DrawProjGroup Restore 2017-01-14 16:56:30 +01:00
WandererFan 2fef05c718 Revise edge & vector compare function for clarity 2017-01-14 16:56:30 +01:00
wwmayer 70f0a3c056 Merge pull request #437 from tomate44/SavePicture
Add Transparent background to Save picture options
2017-01-14 16:54:12 +01:00
wwmayer df82247b0e Merge pull request #441 from agryson/draft-stretch-align
Minor grid alignments
2017-01-14 16:08:18 +01:00
wwmayer a631730caf Merge pull request #439 from agryson/spreadsheet-artwork-align
Spreadsheet artwork align
2017-01-14 16:06:34 +01:00
wwmayer 6115e78e63 Merge pull request #438 from berndhahnebach/bhbdev063
FEM
2017-01-14 16:06:00 +01:00
Bernd Hahnebach e2b5623170 FEM: code formating, flake8 2017-01-14 10:44:20 +01:00
Bernd Hahnebach 73b9c7300c FEM: unit tests, update FreeCAD files of FEM unit tests 2017-01-14 10:44:20 +01:00
Bernd Hahnebach 4360c0b8b3 FEM: unit tests, fix some issues and save FreeCAD files of the unit tests 2017-01-14 10:44:20 +01:00
Bernd Hahnebach eb9f1d0409 FEM: pre checks, do not allow youngs modulus and thermal conductivity (later for thermomech analysis) to be 0.0 2017-01-14 10:44:20 +01:00
Alexander Gryson bfc3c3f509 Minor grid alignments 2017-01-14 10:16:28 +01:00
Abdullah Tahiri 512fd62c41 Sketcher: Enable BSpline edge and enpoints movement 2017-01-14 01:23:04 +01:00
Alexander Gryson 9914e41f11 Update Metadata 2017-01-13 23:46:20 +01:00
Alexander Gryson 1c7e0984c8 Align Spreadsheet icons to Tango 2017-01-13 23:46:19 +01:00
Abdullah Tahiri 1b59e74568 Sketcher: Solver Simplification for basic case
==============================================

This commit is intended to allow to early merging to master of BSpline support. Parts of it will be reverted when a more advanced solver implementation is available.

The intention is to have an advances solver implementation in the future.

This commit cripples part of the potential functionality, but allows a very simplistic solver structure (no de Boor, no recursion).

In particular:
1. Knots are not solver parameters and the solver acts as if such a parameter did not exist.
2. For non-periodic case, the start point and the endpoint coincide with the first pole and the last pole respectively. This is only valid under certain first and last
knot multiplicity. If the user manually changes this multiplicities, the sketch will remain unsolved. For the periodic case, end and start points are not even solver
parameters as an end and start point is an ilusion and we really do not care where that happens. It is not reasonable to ask the user to constrain where this point should
be.
2017-01-13 23:42:57 +01:00
Abdullah Tahiri 0ef082bcd4 Sketcher: Construction of periodic BSplines 2017-01-13 22:25:10 +01:00
Abdullah Tahiri 348d4cf320 Sketcher: Periodic bspline icons 2017-01-13 22:24:55 +01:00
wwmayer e441c2a2fd Merge pull request #436 from sliptonic/feature/removeoldtags
PATH: remove old holding tag code and GUI elements
2017-01-13 22:10:03 +01:00
wmayer 8924cb194e avoid changing scenegraph while traversing it 2017-01-13 22:01:47 +01:00
Yorik van Havre 09d80342d6 Doc: Fixed typo 2017-01-13 16:18:24 -02:00
tomate44 5a884c9d71 Add Transparent background to Save picture options 2017-01-13 18:36:47 +01:00
sliptonic b0abdd1c1d PATH: remove old holding tag code and GUI elements 2017-01-13 09:20:04 -06:00
Yorik van Havre c704c28920 Draft: Added stretch tool - fixes #1163 2017-01-13 11:25:25 -02:00
Alexander Gryson 5929ad3957 correct clipping issue 2017-01-13 11:23:11 -02:00
Alexander Gryson 42a2faf05a Update Helix Metadata 2017-01-13 11:23:11 -02:00
Alexander Gryson 62b08cd4a4 Update helix icon 2017-01-13 11:23:11 -02:00
Yorik van Havre 1ceb71874d Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-01-13 11:21:52 -02:00
Yorik van Havre bbd606ac45 Merge pull request #434 from mlampert/HoldingTagArcs
Path: Holding tags fixes issue 2848
2017-01-13 11:21:33 -02:00
Yorik van Havre e4c3573dfb Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-01-13 11:21:07 -02:00
Markus Lampert e76333f300 Fixed segmentation of xy-plane arcs, made # segments factor a property. 2017-01-12 17:42:29 -08:00
Abdullah Tahiri 671e588739 Sketcher: BSpline autoconstraints on creation 2017-01-12 23:45:03 +01:00
Abdullah Tahiri b255ada03a Sketcher: Sketcher Elements support for BSpline 2017-01-12 22:55:31 +01:00
Abdullah Tahiri 1076b70056 Part: BSpline creation method corrected as per Werner's indication
==================================================================

http://forum.freecadweb.org/viewtopic.php?f=10&t=19700
2017-01-12 22:44:07 +01:00
wwmayer 0c34f1b749 Merge pull request #433 from agryson/arch-artwork-alignment
Arch artwork alignment
2017-01-12 22:01:59 +01:00
wwmayer f2c884a859 Merge pull request #432 from mlampert/HoldingTags
Path: Holding tags dressup, fixes tracker #2751
2017-01-12 21:57:29 +01:00
Yorik van Havre 675cd5207f Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-01-11 22:31:48 -02:00
Abdullah Tahiri c9de3687af Sketcher: BSpline restore internal geometry 2017-01-11 23:51:06 +01:00
Abdullah Tahiri 2a4353a940 Sketcher: BSpline delete internal geo on deletion 2017-01-11 23:44:45 +01:00
Abdullah Tahiri d66242bd08 Sketcher: Contraint class extension
===================================

An additional index for internal geometry elements is introduced, to be stored only Internal Aligment constraint and backwards compatible.
2017-01-11 23:00:43 +01:00
Alexander Gryson 032ead09b5 fix broken shadow 2017-01-11 21:23:15 +01:00
Alexander Gryson 8e87cd6611 Revert modifications to 3rd party icon
3rd party icons will be reviewed after alignment of all other icons
See [this forum discussion for more on this issue](http://forum.freecadweb.org/viewtopic.php?f=23&t=19556&p=151812#p151812)
I'm mainting this as it's own commit for easy reversion in the future should we decide to update 3rd party icons
2017-01-11 21:23:15 +01:00
Alexander Gryson 1f43ad7943 Minor updates and polish
* New icon had been added since I started work, so aligned that
* Removed a copy/paste artefact on a clone icon
2017-01-11 21:23:15 +01:00
Alexander Gryson 4bf8b512c8 Update Arch Workbench icon metadata 2017-01-11 21:23:14 +01:00
Alexander Gryson 39e48dd10f Align Arch Workench icons to Tango 2017-01-11 21:23:14 +01:00
Markus Lampert 9d544209a8 Added support for rounded tags. 2017-01-11 12:05:23 -08:00
Markus Lampert 126fe81689 Translation of strings. 2017-01-11 12:05:23 -08:00
Markus Lampert 3cbf1c32b4 Reduced debug logging. 2017-01-11 12:05:23 -08:00
Markus Lampert 891add9bd3 Added preferences for holding tags. 2017-01-11 12:05:23 -08:00
Markus Lampert 70c3fc8686 Automatically disable tags if they overlap with previous tag and/or do not fall on the base wire. 2017-01-11 12:05:23 -08:00
Markus Lampert 2403890965 Minimum # tags is 2, makes sense and avoids the endless loop. 2017-01-11 12:05:23 -08:00
Markus Lampert 190aa1fc74 Retrieve colors from settings. 2017-01-11 12:05:22 -08:00
Markus Lampert 45893d7783 Fixed adding new tags - sorting required. 2017-01-11 12:05:22 -08:00
Markus Lampert 706875b3cc Fixed v-scrollbar issue and added edit button. 2017-01-11 12:05:22 -08:00
Markus Lampert f89eea7b59 Using InputField for width and height and use proper properties. 2017-01-11 12:05:22 -08:00
Markus Lampert 6792e2c4b9 Minor name cleanups. 2017-01-11 12:05:22 -08:00
Markus Lampert 0781cf75d6 Added support for manual point input. 2017-01-11 12:05:22 -08:00
Markus Lampert 8f7102e2bf Adding and modifying tags with mouse works - event and selection handlers are properly registered and removed again. 2017-01-11 12:05:22 -08:00
Markus Lampert e6c968cb79 Basic tag visualization and selection. 2017-01-11 12:05:22 -08:00
wmayer c2f2a25054 issue #0002739: Mac users must Command click instead of Ctrl click multiple elements. 2017-01-11 20:58:49 +01:00
wmayer 675bcc2510 fixes #0002125: CMake shouldn't generate Version.in for release tarballs. 2017-01-11 16:31:37 +01:00
wmayer a9530bc678 issue #0002739: Mac users must Command click instead of Ctrl click multiple elements. 2017-01-11 13:25:46 +01:00
wwmayer cbcbd48a01 Merge pull request #431 from sliptonic/feature/coretests
PATH: some simple core tests
2017-01-11 10:09:21 +01:00
Eivind Kvedalen 57850b5947 fix crash in graphviz export due to invalidated iterators 2017-01-11 10:06:19 +01:00
sliptonic 678f36c989 PATH: some simple core tests 2017-01-10 22:00:56 -06:00
Abdullah Tahiri 1155022a82 Sketcher: BSpline Weights internal geometry support 2017-01-11 01:17:07 +01:00
Abdullah Tahiri 6bd801d363 Sketcher: expose Bspline pole internal geometry 2017-01-11 01:16:33 +01:00
Abdullah Tahiri d949f52878 Sketcher: BSpline solver Internal Geometry for poles 2017-01-10 23:34:49 +01:00
Abdullah Tahiri 07eebb1c52 Sketcher: Constraint Third Redefinition for internal geometry
=============================================================

Internal alignment of BSplines requires an extra index for unbounded same-type internal geometry (poles, probably also in the future knots).

Value shall not be used, as it interferes with the update mechanism for constraint values.

An alternative solution would be to add another int to all the constraints just for this case.

As internal geometry does not use Third, it seems reasonable to reuse it for this indexing purpose.
2017-01-10 23:26:28 +01:00
Abdullah Tahiri 609c80b71a Part: Fixes triggered by Werner's comments on my branch 2017-01-10 20:05:18 +01:00
Abdullah Tahiri e7dacb9178 Part: Bezier serialization support extension to periodic
=======================================================

Extension for periodic + suggestions by Werner.
2017-01-10 14:44:43 +01:00
wmayer 0e2cf2ebca fixes #0002837: Misspell in PY module 2017-01-09 21:21:36 +01:00
Sebastian Stetter b7c012775c PATH: changed default opened tabs in panel ui files back to base gemoetry 2017-01-09 13:24:51 +01:00
Sebastian Stetter 21b116649e PATH: fix for 2805
changed TaskPanels to use unit conversions via FreeCAD.Units
commented out references to segLen since it si used nowhere
2017-01-09 13:24:23 +01:00
wmayer 0e65256f3f issue #0000466: Sketcher: allow moving the dimension datums in two directions 2017-01-09 13:17:27 +01:00
wmayer f5367d7afc fix warning and improve code formatting 2017-01-09 10:16:11 +01:00
wwmayer 61c3f2c8ad Merge pull request #428 from vejmarie/step
Step import code update
2017-01-09 10:11:06 +01:00
wwmayer 5d817c7a28 Merge pull request #426 from brawaga/patch-2
Update Part_ru.ts
2017-01-09 10:08:59 +01:00
wwmayer d88fd4cfb1 Merge pull request #424 from brawaga/patch-1
Update Fem_ru.ts
2017-01-09 10:08:42 +01:00
wmayer 186b9e2edf make code a bit more readable 2017-01-09 10:07:59 +01:00
wwmayer 6668a86c90 Merge pull request #420 from ChrisLuck/stepdown_2
support stepdown greater than total depth, 2nd try
2017-01-09 09:28:30 +01:00
qingfengxia 61fb3d429a Fem: add _CommandMaterialFluid.py and FemMaterial.makeFluidMaterial method 2017-01-08 21:46:27 +00:00
Jean-Marie Verdun 358238f745 Merge remote-tracking branch 'origin/master' into step 2017-01-08 21:55:46 +01:00
Jean-Marie Verdun 7ccd9a95d6 Create Compound per STEP file definition within FreeCAD interface
STEP hierarchy is in that case respected
2017-01-08 21:50:25 +01:00
wwmayer 5a370d6a78 Merge pull request #421 from dev-at-stellardeath-org/master
Fix non-GUI usage in BOPTools
2017-01-08 18:48:14 +01:00
wwmayer 2a977c335a Merge pull request #419 from f3nix/qt-keywords-1
Cosmetic change. Replace Qt keyword emit with Q_EMIT.
2017-01-08 18:43:48 +01:00
wwmayer 0c5ac71250 Merge pull request #418 from triplus/master
Update BOA common and section documentation
2017-01-08 18:42:02 +01:00
Yorik van Havre 59ef8d8b62 Doc: Cosmetic fixes in doxygen output 2017-01-08 15:29:57 -02:00
wmayer 81e9228cf0 issue #0000753: angle constraint auto places the constraints visuals including its value in the wrong place 2017-01-08 16:47:06 +01:00
Abdullah Tahiri 61b685fd53 Part: BSpline serialization
===========================

It stores a rational BSpline even if non-rational.

It should be extended to store in addition whether it is periodic or not, i.e. to support periodic BSplines.
2017-01-08 00:42:30 +01:00
Abdullah Tahiri c20b17f721 Sketxher: Basic creation method
===============================

For non-periodic case.

No autoconstraints or internal geometry at this point.
2017-01-07 20:21:19 +01:00
Bernd Hahnebach 40aafe7452 FEM: remove precheck for load since an static analyis could be valid without loads 2017-01-07 15:16:44 -02:00
Bernd Hahnebach aa83257b73 FEM: code formating, remove trailing whitspaces 2017-01-07 15:16:44 -02:00
makkemal f9f682640a FEM: VTK tools, add stress and strain vectors (x,y,z) 2017-01-07 15:16:44 -02:00
makkemal 57a94af0e1 FEM: result task panel, add stress and strain vectors to possible user defined results 2017-01-07 15:16:44 -02:00
makkemal 3003b7d9c4 FEM: frd reader, add reading strain data and calculate stress and strain vector 2017-01-07 15:16:44 -02:00
makkemal dc3b45458c FEM: result object, add properties for stress and strain vectors 2017-01-07 15:16:44 -02:00
makkemal 01b3db5de6 FEM: frd reader, add B32 beam elements 2017-01-07 15:16:44 -02:00
Bernd Hahnebach 2537cf512c FEM: mesh group, add a needed def to mesh tools and use the new mesh group object in gmsh mesh class 2017-01-07 15:16:44 -02:00
Bernd Hahnebach 1973efac20 FEM: mesh group, add task panel 2017-01-07 15:16:44 -02:00
Bernd Hahnebach d1954aef48 FEM: mesh group, add command to FreeCAD GUI menu and tool bar 2017-01-07 15:16:44 -02:00
Bernd Hahnebach c72cd509bc FEM: mesh group, add object 2017-01-07 15:16:44 -02:00
makkemal edb1f0249e FEM: VTK tools, only import results into vtk if they exists 2017-01-07 15:16:44 -02:00
makkemal 3ec0a50a06 FEM: VTK tools, fix value assignment 2017-01-07 15:16:44 -02:00
makkemal b5bfc01a3f FEM: frd reader, typo 2017-01-07 15:16:44 -02:00
makkemal ba38e06bd2 FEM: result object, typo 2017-01-07 15:16:44 -02:00
Yorik van Havre 162c74c22e Draft: Moved dimension decimals preference setting to the dimension preferences tab - issue #2832 2017-01-07 14:20:58 -02:00
Yorik van Havre 5d2e834bc3 Draft: Fixed spline bug in DXF importer 2017-01-07 14:04:24 -02:00
brawaga 58844feaa1 Update Part_ru.ts
Added translations, corrected some existed for grammar, syntax or style.
2017-01-07 23:55:55 +08:00
ml a0533b7c46 Changed comparison for points - fixes issue if bone is at plunge point. 2017-01-07 13:27:49 -02:00
Abdullah Tahiri e7daf5a90e Sketcher: BSpline icons courtesy of Jim 2017-01-07 14:35:43 +01:00
brawaga 2830179054 Update Fem_ru.ts
Added some more translations, corrected some existed.
2017-01-07 15:01:59 +08:00
Yorik van Havre 25fc1d3ddf Merge pull request #422 from mlampert/issue-2664
Path: fix for issue 2664
2017-01-07 00:21:53 -02:00
Abdullah Tahiri 8ea8699d14 Part: Enable BSpline creation from poles 2017-01-07 02:00:12 +01:00
Markus Lampert 9d555859ad Check for 0 pointer in initialisation for assigning default values. 2017-01-06 14:14:14 -08:00
wmayer 95b7610536 show exceptions when activating a workbench as error message, not log message 2017-01-06 18:40:20 +01:00
Lorenz Hüdepohl b6cf0e2500 Fix non-GUI usage in BOPTools
Only define the translation related functions if the GUI is up
2017-01-06 18:25:56 +01:00
wmayer bf5dcbd062 move import statement to fix error 2017-01-06 18:04:07 +01:00
ChrisLuck fea0e02fc1 support stepdown greater than total depth, 2nd try 2017-01-06 16:03:11 +01:00
Lorenz Hüdepohl 0de0d8f930 PathHelix: fix most of the PEP8 issues
Dealt with most issues expect for overly long lines
2017-01-06 15:50:21 +01:00
Lorenz Hüdepohl ec5faafd86 PathHelix: typo in error path 2017-01-06 15:14:04 +01:00
Lorenz Hüdepohl 1edc151c5d PathHelix: Drop requirement of scipy.spatial
It was deemed that scipy is too heavy a requirement for FreeCAD just for
this little feature. Fortunately it was possible to extract the k-d tree
module from scipy with just minor modifications - it is quite
self-contained.

Now, only numpy is required.
2017-01-06 13:20:18 +01:00
Abdullah Tahiri cb687b8e74 Sketcher: ViewProvider BSpline Representation 2017-01-06 00:08:30 +01:00
Mateusz Skowroński 9b07616fe6 * Cosmetic change. Replace Qt keyword emit with Q_EMIT.
* Whitespace fixes.
2017-01-05 22:57:30 +01:00
Abdullah Tahiri 6fc4ade7c6 Sketcher: Validation of BSpline 2017-01-05 22:10:31 +01:00
Abdullah Tahiri 36a5d5f9b6 Sketcher: Enable BSpline creation in SketchObjectPy 2017-01-05 21:52:35 +01:00
Abdullah Tahiri d60613364b Sketcher: BSpline basic SketchObject support 2017-01-05 21:45:47 +01:00
triplus 8ac67eae80 Update BOA common and section documentation 2017-01-05 20:11:18 +01:00
wmayer 96dc57c068 replace Qt keyword slots with Q_SLOTS 2017-01-05 14:27:19 +01:00
wmayer 524ee4a679 fix Qt5 port of messageHandler 2017-01-05 14:24:03 +01:00
wwmayer 899c5c337e Merge pull request #417 from dev-at-stellardeath-org/path_helix
Path: helix machining for circular holes
2017-01-05 14:05:28 +01:00
Abdullah Tahiri 6c456e9182 Sketcher: BSpline solver sketch basic implementation
====================================================

Creation of solver geometry definitions from Part::BSpline geometries and update of solved geometry back.
2017-01-05 12:01:11 +01:00
Abdullah Tahiri 80adf30da3 Sketcher: BSpline FreeGCS geometry definition
=============================================

multiplicities, degree and periodic are left as non-parameters of the solver, while still allowing certain manipulations to be effected from the solver
in certain situations (for example modifying the multiplicity of start/end nodes when applying G1,G2,G3 constraints between BSplines).
2017-01-05 11:58:35 +01:00
Abdullah Tahiri b277620138 Part: GeomBSpline extension for basic BSPline Sketcher support
==============================================================

1) Basic set/get interface for poles, weights, knots and multiplicities

2) Introduction of GeomBoundedCurve class replicating OCC hierarchy. Why? To provide seamless start/end point interface for any bounded curve, i.e. Bezier, BSpline,

Note: The ArcOfConic start/end point interface relies on GeomTrimmedCurve, and introduces CCW/CW correcting code which relies on Axis. Axis are introduced in GeomConic and are
not part of GeomBounded.

Note 2: In the future, it may be thought to make GeomArcOfConic (the equivalent of GeomTrimmedCurve) deriving from GeomBoundedCurve, as to fully replicate OCC hierarchy. GeomBoundedCurve
defines the functions as virtual to allow seamless integration.
2017-01-05 11:58:33 +01:00
Yorik van Havre b334197116 Arch: decompose multifuse objects when exporting to IFC 2017-01-04 21:08:54 -02:00
Lorenz Hüdepohl cd3c1d574e Path: Helix taskpanel shows interdependencies of holes
Instead of a flat list of holes now a tree is shown, with the various
machining operations for the individual holes grouped together.
2017-01-04 20:11:49 +01:00
wmayer 4efd3e894a fix -Wunused-parameter 2017-01-04 18:20:43 +01:00
wwmayer 6dff7f1f1d Merge pull request #413 from realthunder/sortEdges
Add C++ implementation of Part.sortEdges
2017-01-04 17:12:10 +01:00
Stefan Tröger 109f8690ee Extensions: Fix GeoFeatureGroup drag&drop 2017-01-04 16:01:58 +01:00
Stefan Tröger dd0b7144f8 Extensions: Fix wrong group test and prevent crash 2017-01-04 16:01:58 +01:00
Stefan Tröger c4ec348fbd PartDesign: Show origin for primitive editing 2017-01-04 16:01:58 +01:00
Stefan Tröger 40cc2880e0 PartDesign: Fix test for new group body 2017-01-04 16:01:58 +01:00
Stefan Tröger d2764a3c7a PartDesign: Adopt python interface to body group 2017-01-04 16:01:58 +01:00
Stefan Tröger b4a569e013 PartDesign: Change body viewprovider to group 2017-01-04 16:01:58 +01:00
Stefan Tröger 9a3b952fb9 PartDesign: Port body to be a origin group 2017-01-04 16:01:58 +01:00
Stefan Tröger 47ed29fffd Extensions: GeoFeatureGroup only for GeoFeature 2017-01-04 16:01:58 +01:00
wmayer dfbd6aa237 cleanup work: overload methods instead of using new method names 2017-01-04 15:39:27 +01:00
triplus 43ad429734 Add Part BOA multiCut, multiCommon and multiSection methods 2017-01-04 14:06:12 +01:00
AjinkyaDahale 8e1f5364af Coincident constraint making mode added
One small problem remains that the origin is not selectable as one point
in coincident constraint making mode.
2017-01-04 12:58:11 +01:00
AjinkyaDahale 75ad582913 Lock doesn't complain "no selection" 2017-01-04 12:58:11 +01:00
AjinkyaDahale 670e59eae7 Lock constraint in always available when sketch is open
Earlier it was available only when a selection is made
2017-01-04 12:58:11 +01:00
AjinkyaDahale 1230f493d5 Lock constraint can be applied with better selection
Can't yet start without selection: the button on toolbar is not active
without a selection yet
2017-01-04 12:58:11 +01:00
AjinkyaDahale ecd1f465b0 Added DrawSketchHandlerLock 2017-01-04 12:58:11 +01:00
HokieEngr f6f8363d8a Updated viewport dimensions to reflect users unit schema
The previous code assumed the user's unit system was MKS. The updated code uses
schemaTranslate() to convert from screen units to the user's chosen system.
2017-01-03 22:34:47 -05:00
Yorik van Havre 0d4b185b80 Arch: Fixed small bug in components 2017-01-03 21:07:46 -02:00
wmayer 608f737170 use normals if available 2017-01-03 19:58:26 +01:00
wmayer 0ad93186b5 compute signed distances of points to shape, show results of visual inspection for point clouds 2017-01-03 17:02:50 +01:00
Yorik van Havre 7943ce4ce4 Merge pull request #412 from mlampert/HoldingTags
Path: Holding tags dressup, partially fixes issue 2751
2017-01-03 09:47:03 -02:00
Zheng, Lei d585499825 Make DraftGeomUtils.findWires use Part.sortEdges
Renamed the original DraftGeomUtils.findWires() to findWiresOld2(). The
original findWires() has a bug which may cause missing edge(s).
Besides, using C++ implementation of Part.sortEdges will have better
performance.
2017-01-03 17:05:28 +08:00
Zheng, Lei e381b2332a Added Part.sortEdges
Unlike Part.__sortEdges__ which only return a list of connected edges,
and discard the rest. Part.sortEdges return a list of list of
connected edges, which includes all input edges.
2017-01-03 16:59:16 +08:00
Markus Lampert e92f315379 Changed default values for tags and disabled old popup menu. 2017-01-02 17:34:37 -08:00
Markus Lampert 556e25e47f Fixed another initialisation issue - depending on how the dressup is created. 2017-01-02 17:34:36 -08:00
Markus Lampert 8efbe9e645 Basic UI for holding tags. 2017-01-02 17:34:36 -08:00
Markus Lampert 807cf80a77 Hide job while editing dressup. 2017-01-02 17:34:36 -08:00
Markus Lampert 34f2105499 Fixed edit dialog initialisation. 2017-01-02 17:34:36 -08:00
Markus Lampert 9bf58b1c94 Reduced logging. 2017-01-02 17:34:36 -08:00
Markus Lampert cb85072bbd Fixed alignment issue and unit tests.
The trick is really to over-extend edges before creationg shapes for the common operation, and trying to avoid alignment of the edge with the cone's seam.
2017-01-02 17:34:36 -08:00
Markus Lampert 27b71ab1ae Maintaining rapid commands. 2017-01-02 17:34:36 -08:00
Markus Lampert f232096eb4 Fixed build and tests. 2017-01-02 17:34:36 -08:00
Markus Lampert 068dc2d72d Reduced logging. 2017-01-02 17:34:36 -08:00
Markus Lampert d6c588e57b Added resiliancy against vertical path elements. 2017-01-02 17:34:36 -08:00
Markus Lampert c1fc88c6a3 Fixed caching issue. 2017-01-02 17:34:36 -08:00
Markus Lampert 6b758e2714 Added support for vertical paths along the edge of a cylindrical tag. 2017-01-02 17:34:36 -08:00
Markus Lampert ab382ce436 Improved tag height based on obj.Base properties, if they exist. 2017-01-02 17:34:36 -08:00
Markus Lampert 5e1efba512 Fixed generation and edge case where there is no wire to cut the tag. 2017-01-02 17:34:36 -08:00
Markus Lampert 1635d73b1b Removed core which isn't used anymore; some debugging info to figure out the save/restore issus. 2017-01-02 17:34:36 -08:00
Markus Lampert b26a7ad794 OCC based tag line generation by extruding the edges cutting through a tag and retreiving the common with the tag solid. 2017-01-02 17:34:36 -08:00
Markus Lampert 9eca75e673 Added pixellation of arbitrary path curve. 2017-01-02 17:34:36 -08:00
Markus Lampert e807094eda Create cones for debugging cone shaped tags. 2017-01-02 17:34:36 -08:00
Markus Lampert f294821f9d Use PathGeom for holding tags dressup. 2017-01-02 17:34:36 -08:00
Markus Lampert 0fabe5c079 Fixed helix construction. 2017-01-02 17:34:36 -08:00
Markus Lampert a3ae53a82b Added arcToHelix. 2017-01-02 17:34:36 -08:00
Markus Lampert 198ab6db2e Rebase on new Line/LineSegment code. 2017-01-02 17:34:36 -08:00
Markus Lampert 23196b4c69 Fixed most of the state machine issues, still a problem with intersection of edges. Need to rebase. 2017-01-02 17:34:36 -08:00
Markus Lampert 4a810bc107 Support for arcs and helix with tests. 2017-01-02 17:34:36 -08:00
Markus Lampert 6462d775e3 Added support for arcs on square tags. 2017-01-02 17:34:36 -08:00
Markus Lampert 88e9d26ecb Added HoldingTags dressup with tests, using PathGeom and PathTestUtils. 2017-01-02 17:34:36 -08:00
Bernd Hahnebach 6ab6603f2e FEM: fix unit tests in the regard of new material module name 2017-01-02 18:03:24 -02:00
Bernd Hahnebach 846637ebc2 FEM: adapt FEM examples to new material module name 2017-01-02 18:03:24 -02:00
Bernd Hahnebach 739fe3ae39 FEM: move modules MechanicalMaterial to a more general FemMaterial 2017-01-02 18:03:24 -02:00
Bernd Hahnebach 1d2857eb76 FEM: GUI, move create node set tool to mesh tools 2017-01-02 18:03:24 -02:00
Bernd Hahnebach 100e1bfc2d FEM: solver ccx task panel, typo 2017-01-02 18:03:24 -02:00
Bernd Hahnebach 97b08f2bd9 FEM: netgen mesh obj, move a new obj inside an active analysis if there is one 2017-01-02 18:03:24 -02:00
Bernd Hahnebach 6df6bae9d8 FEM: GMSH mesh obj, switch to FEM WB on double click on obj 2017-01-02 18:03:24 -02:00
Bernd Hahnebach 437ce69b11 FEM: GMSH mesh task panel, add an ok and cancel button, remove close button 2017-01-02 18:03:24 -02:00
Bernd Hahnebach f562b3d945 FEM: code formating, flake8 and delete not used imports 2017-01-02 18:03:24 -02:00
wmayer a3427c7dbe fix major bug in ExtensionContainer::restoreExtensions 2017-01-02 19:39:13 +01:00
wwmayer 40ad0b743a Merge pull request #410 from mlampert/issue-2825
Path: Setting a minimum # interpolations for displaying an arc - fixes issue 2825
2017-01-02 13:25:48 +01:00
wwmayer ab4fe61ccb Merge pull request #409 from eivindkv/ObjectLabelObserver
Moved ObjectLabelObserver from Gui::Application to App::Application.
2017-01-02 13:24:33 +01:00
Markus Lampert d51188bd07 Setting a minimum # interpolations for displaying an arc. 2017-01-01 22:41:28 -08:00
Eivind Kvedalen ef5fb087a2 Moved ObjectLabelObserver from Gui::Application to App::Application. 2017-01-01 21:41:11 +01:00
Yorik van Havre 164b94c8fa Merge pull request #408 from agryson/raytracing-artwork-alignment
Raytracing artwork alignment
2017-01-01 15:14:03 -02:00
Lorenz Hüdepohl cfb2020786 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-01-01 17:39:55 +01:00
Alexander Gryson 211f771f94 Added Metadata 2016-12-31 21:20:45 +01:00
Alexander Gryson ae3bbf5988 Update Raytracing Workbench icons 2016-12-31 21:20:45 +01:00
Yorik van Havre 2982ecf633 Draft: Do not import non-instanciated blocks - fixes #2822 2016-12-31 15:48:01 -02:00
wwmayer f22f5c819e Merge pull request #407 from dev-at-stellardeath-org/linuxcnc_post_without_gui
Path: linuxcnc_post without GUI
2016-12-31 12:18:56 +01:00
Lorenz Hüdepohl 72f9ec67e7 Path: Fix GUI race condition in helix task panel checkboxes 2016-12-31 00:02:22 +01:00
wmayer 816336ce65 register Quantity type for shiboken2, handle exception to fix abort when setting quantity property of InputField via Python 2016-12-30 22:51:17 +01:00
Lorenz Hüdepohl 32bcc0a579 Rebase onto current master 2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl 2d6ea99035 PathHelix: Add GUI list with selected features 2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl 6ad0a1f64b PathHelix: "Cancel" and some logic in task panel
- "Cancel" now restores the original values as it should.
- The various mutually exclusive uses of UseStartDepth, UseFinalDepth
  and ThroughDepth are now reflected in the GUI by grayed-out components
2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl 00226a9c47 PathHelix: Fixes for clearance, non-aligned centers
The safe Z value was calculated with respect to the current hole, but
the tool should better be always retracted to the safe Z value with
respect to the first hole of a series of holes.

Another fix concerns the detection of holes-within-holes, previously it
was assumed that there the centers must align perfectly, this seems to
be the case only up to some numerical precision. Fixed by just allowing
any hole that is wholly contained in the first hole, even it is not
centered.
2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl 20af62cb9e PathHelix: Fix StartDepth and FinalDepth for recursive holes
These were previously only applied for the first and last operation,
respectively. Now whole operations can be skipped if they are completely
outside the specified range.
2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl cd651d1a42 A TaskPanel for PathHelix 2016-12-30 22:47:46 +01:00
Lorenz Hüdepohl f025636a9c HelixCut: A new Path command to make circular holes 2016-12-30 22:47:46 +01:00
Lorenz Hüdepohl 7d53cc9e6f Path: linuxcnc_post without GUI
A simple fix to be able to easily use the linuxcnc_post module without
the GUI present
2016-12-30 22:33:15 +01:00
Yorik van Havre 0993a525b1 Arch: Fixed bug with arch objects that are a clone and have a material 2016-12-30 19:25:42 -02:00
Yorik van Havre 6aedc47a2c Arch: Correctly export profiles with holes to IFC 2016-12-30 19:24:54 -02:00
Yorik van Havre ac598f5104 Arch: Added utility command to create an undefined Arch component clone of an object 2016-12-30 18:07:13 -02:00
wmayer b16fbcd4ee implement getWrapperName to get class name with shiboken wrapper 2016-12-30 16:52:59 +01:00
Yorik van Havre 541d767335 Arch: fixed typo in yesterdays commmit 2016-12-30 12:10:38 -02:00
wwmayer 172d730e32 Merge pull request #405 from eivindkv/DependencyGraphColors2
Added color to edges contained in a cycle in the dependency graph.
2016-12-30 14:53:52 +01:00
wmayer e770b0c146 comment out unused global functions, fix -Wconstant-logical-operand 2016-12-30 14:38:49 +01:00
wmayer efe14610b7 fix & suppress warnings of generated code 2016-12-30 13:31:31 +01:00
wmayer b2767f7197 rearrange headers to avoid warning 2016-12-30 13:31:08 +01:00
wmayer 3377b42642 suppress -Woverloaded-virtual warnings from smesh 2016-12-30 12:11:35 +01:00
Eivind Kvedalen 5e10505f40 Added color to edges contained in a cycle in the dependency graph. 2016-12-30 09:22:03 +01:00
Yorik van Havre 40c25e0809 Arch: Fixed export of materials to IFC to be understandable by revit 2016-12-29 21:02:54 -02:00
Yorik van Havre 2e380cd581 Arch: Make sure the BaseMaterial property contains a Material object 2016-12-29 20:42:30 -02:00
wmayer 421cb85865 recreate lexer files without deprecated register keyword 2016-12-29 23:18:23 +01:00
wmayer a3ad63a750 suppress -Wself-assign in generated code 2016-12-29 21:44:23 +01:00
wmayer 324ee97f0f suppress -Wdeprecated-register 2016-12-29 21:02:34 +01:00
Yorik van Havre 0249235833 Arch: Faster material handling in IFC import - fixes #2762 2016-12-29 16:05:52 -02:00
wmayer 3114df352d in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
wmayer 35b76c5205 in forward declaration replace class keyword when struct is expected 2016-12-29 16:02:35 +01:00
wmayer 5fbcb99adc fix build failure 2016-12-29 15:01:57 +01:00
WandererFan 16ce8d40f5 Section directions from rotated DPGI's 2016-12-29 14:43:37 +01:00
WandererFan 139edb2415 Working revolving part DPG 2016-12-29 14:43:25 +01:00
WandererFan 90935d0600 Reset/Match 3d buttons working 2016-12-29 14:43:13 +01:00
WandererFan 93fb9273dd Working proof of concept for DPG rots & dirs 2016-12-29 14:43:00 +01:00
WandererFan ca8adc3aab getViewAxis -> DVP virtual method 2016-12-29 14:42:46 +01:00
WandererFan 489a25e462 check vectors parallel, vec rotate arb axis, vec format improve 2016-12-29 14:42:31 +01:00
wmayer d2677d4c17 allow to translate property names 2016-12-29 14:20:55 +01:00
Yorik van Havre f252f54573 Arch: Allow Arch Components to be clone of any other Arch type 2016-12-28 20:27:46 -02:00
Yorik van Havre c084af8473 Arch: Fixed material in non-GUI mode 2016-12-28 17:32:35 -02:00
Yorik van Havre 39491713f2 BOPTools: Fix to work without the GUI 2016-12-28 17:00:59 -02:00
Yorik van Havre 1c35bd8cd9 Fixed typos notified on crowdin 2016-12-28 16:59:24 -02:00
Yorik van Havre 0408aa4a60 Draft: Fixed bug in wire offsets 2016-12-28 14:30:38 -02:00
wmayer 1d3df20b6f Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-12-28 17:05:56 +01:00
wmayer 7004081805 avoid to create a circular dependency when modifying an existing pad or pocket operation 2016-12-28 17:05:20 +01:00
Yorik van Havre 6378f61158 Correct selection/highlight colors for Annotation objects 2016-12-28 12:31:56 -02:00
wmayer cbf717f317 fix whitespaces 2016-12-28 14:22:42 +01:00
wmayer 7496eeef18 move methods setXAxisDir/getXAxisDir to base class 2016-12-28 14:22:12 +01:00
wwmayer 309d46137e Merge pull request #401 from abdullahtahiriyo/parabola_2017
Parabola 2017
2016-12-28 13:48:13 +01:00
Kurt Kremitzki 5c619ee285 Handle right and left hand scalar-vector multiplication 2016-12-28 13:20:03 +01:00
wmayer c3401f89f0 workaround for performance problem with Qt 5.5.x 2016-12-28 10:32:22 +01:00
wmayer 23b0793a68 implement tiny layer for PySide/PySide2 2016-12-28 10:10:59 +01:00
wwmayer 2df8402e9e Merge pull request #400 from wwmayer/vtk_comps
search in list of all available vtk components instead of file system
2016-12-28 09:38:54 +01:00
Abdullah Tahiri c6a8e3d7a9 Sketcher: Arc Of Parabola - Symmetry tool 2016-12-28 01:25:33 +01:00
wmayer d220121e63 search in list of all available vtk components instead of file system 2016-12-27 20:37:20 +01:00
wmayer f065f8eb53 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
wmayer d9b1ce7ca2 remove UnicodeUTF8 2016-12-27 19:31:25 +01:00
wmayer b6c28688fe remove UnicodeUTF8 2016-12-27 18:56:30 +01:00
wmayer 0f53d8224b remove UnicodeUTF8 2016-12-27 18:31:05 +01:00
Abdullah Tahiri 309d9cfc4e Sketcher: Arc Of Hyperbola - Symmetry tool 2016-12-27 02:13:23 +01:00
Abdullah Tahiri 9d65cc5672 Sketcher: Copy/Clone and Array support for Arcs of Parabola and Hyperbola 2016-12-26 23:23:34 +01:00
Abdullah Tahiri ebfbe29d2f Sketcher: Restore internal geometry tool refactoring and extended support
=========================================================================

- Long felt need of refactoring the code so as not to repeat code already existing in SketchObject.
- Refactored code supports preexisting Ellipse and Arc of Ellipse and adds support for Arcs of Hyperbola and Parabola.
2016-12-26 22:54:47 +01:00
Abdullah Tahiri 1a535e5f4e Sketcher: Arc Of Parabola - Delete unused internal geometry on deletion 2016-12-26 22:06:40 +01:00
wwmayer bf94b19116 Merge pull request #399 from f3nix/qt5-fixes-2
Fix building with Qt < 5.5.
2016-12-26 21:49:31 +01:00
Mateusz Skowroński 419a5886a7 Fix building with Qt < 5.5. 2016-12-26 21:08:08 +01:00
Abdullah Tahiri ecc8ba57ac Sketcher: Arc Of Hyperbola - Delete unused internal geometry on deletion 2016-12-26 19:42:57 +01:00
Abdullah Tahiri 359d9dbc1d Sketcher: fix compilation warnings 2016-12-26 19:19:10 +01:00
Yorik van Havre 86b3463ee1 updated ts files 2016-12-26 12:36:24 -02:00
Alexander Gryson ce959ca323 Add Metadata 2016-12-26 12:23:07 -02:00
Alexander Gryson 019f97e02b Update Points Workbench icons 2016-12-26 12:23:07 -02:00
Alexander Gryson eb4e6fdcb9 Update Material Workbench icons 2016-12-26 12:23:07 -02:00
Alexander Gryson aa951d80e2 Integrate forum feedback 2016-12-26 12:23:07 -02:00
Alexander Gryson f680d810a5 Update multiple workbenches
Workbenches updated:
* Complete
* Image
* Inspection
* Material
* MeshPart
* Points
* Reverse Engineering
* Start
* Test
* Web
2016-12-26 12:23:07 -02:00
Yorik van Havre c0abd851eb Updated appendMenu() functions in py workbenches 2016-12-26 12:06:17 -02:00
Johannes Obermayr f907816ab4 Remove keyword on end of VTK_LIBRARIES. 2016-12-25 14:01:07 +01:00
Johannes Obermayr 55160cf50d Support for NETGEN 6.2.
Upstream changed:
https://sourceforge.net/p/netgen-mesher/git/ci/7e4892a

There is also a pending request to fix NETGEN build, installation and version detection after 6.1:
https://sourceforge.net/p/netgen-mesher/git/merge-requests/1/

Just a note:
NETGEN development happens on https://gitlab.asc.tuwien.ac.at/jschoeberl/netgen but it is a very hard/strange way to find that out and get in contact with NETGEN developers as well as getting permission to fork the repository there to create a pull request.
Maybe some other developer can get in contact with NETGEN developers ...
2016-12-25 14:01:07 +01:00
wwmayer cd59747a77 Merge pull request #396 from danielfalck/tledit_units
Tledit units
2016-12-25 11:26:54 +01:00
Mateusz Skowroński a2ef2c9fb6 Remove additional find_package calls. 2016-12-25 11:11:46 +01:00
Mateusz Skowroński d74e2d5a64 Use PySide2 tools for Qt5 build. 2016-12-25 11:11:46 +01:00
wwmayer 3bf2cba53b Merge pull request #395 from f3nix/qt5-fixes-1
Fix crash in Gui::FileOptionsDialog while using Qt5.
2016-12-25 10:49:40 +01:00
Mateusz Skowroński bed8ff747d Fix crash in Gui::FileOptionsDialog while using Qt5. 2016-12-25 02:35:38 +01:00
Dan Falck 388ddcf2b2 PATH:units added Gui::InputField to some parms
old spinboxes were not aware of units so I substituted in the custom FreeCAD Gui:InputField on countour, profile, profile edges, and pocket operations.
2016-12-24 17:28:40 -08:00
Abdullah Tahiri f9eec60b1c Sketcher: Parabola fix loading from file 2016-12-24 22:15:41 +01:00
Abdullah Tahiri 00210c684a Sketcher: Parabola fix y axis in parabola rules constraint 2016-12-24 19:23:53 +01:00
wmayer 239e824334 make some PySide2 specific changes 2016-12-24 17:55:00 +01:00
Abdullah Tahiri 82259f31da Part::Geometry: ArcOfParabola CCW emulation support/fix
=========================================================

Correction of the emulation so that arcs of parabola are always CCW.
2016-12-24 16:11:15 +01:00
wmayer 0c3f52303d switch to PySide2 for Qt5 2016-12-24 15:33:15 +01:00
Mateusz Skowroński 80e8ae63e8 Use PySide2 tools for Qt5. 2016-12-24 15:33:15 +01:00
maurerpe 657ac1f569 Update for PyQt5.
This change is Qt5 specific.
2016-12-24 15:33:15 +01:00
Abdullah Tahiri 9e7d86f1b8 Sketcher: Parabola perpendicularity constraint 2016-12-24 15:24:36 +01:00
Abdullah Tahiri d8b38032cf Sketcher: Parabola tangency support
===================================

Support for tangency with any preexisting supported geometry using angle via point.
2016-12-24 15:02:52 +01:00
Abdullah Tahiri 01ba29ed33 Sketcher: Parabola Element Widget support 2016-12-24 04:08:53 +01:00
Abdullah Tahiri 452394a154 Sketcher: Parabola icons
========================

Slightly modified icons based on Jim's original proposal:

http://forum.freecadweb.org/viewtopic.php?f=10&t=8038&hilit=hyperbola#p66129

N.B. Yes Jim, it took me slightly two years to use your 2014 icons...beter late than sorry :)
2016-12-24 04:08:42 +01:00
Abdullah Tahiri b6919f8627 Sketcher: Parabola creation method autoconstraints 2016-12-24 03:10:44 +01:00
Abdullah Tahiri f03a8adb73 Sketcher: Equality symbol representation 2016-12-24 02:39:51 +01:00
Abdullah Tahiri 5c9cc6221b Sketcher: Parabola solver equality constraint 2016-12-24 02:39:02 +01:00
Dan Falck 605d4da85f PATH:Tooledit:support for units
connected units to ToolEdit and listview in the tooltable library
2016-12-23 17:17:22 -08:00
Abdullah Tahiri 0d93c45d70 Sketcher: Point on Object solver constraint 2016-12-24 01:14:15 +01:00
Yorik van Havre b6d5bc489f Merge pull request #392 from berndhahnebach/bhbdev060
FEM context commands for FEM mesh
2016-12-23 19:01:04 -02:00
Bernd Hahnebach b05f11183b FEM: add icons for clear mesh and mesh info command 2016-12-23 18:37:25 +01:00
Bernd Hahnebach 2733d03be5 FEM: add context command to print dump mesh info 2016-12-23 18:37:25 +01:00
Bernd Hahnebach b026710a30 FEM: add a context command to clear the FEM mesh 2016-12-23 18:37:15 +01:00
wmayer bbadcf614b clear nodes of fem view provider when clearing mesh 2016-12-23 15:36:01 +01:00
wmayer cb1ef11666 make some Qt5 specific changes for session management 2016-12-23 14:14:46 +01:00
wmayer d3ff5171ea check between Qt4/Qt5 build in cmake 2016-12-23 14:13:43 +01:00
wmayer de9aa48618 Qt4/Qt5 neutral changes:
connect to commitDataRequest signal for session management
2016-12-23 12:16:58 +01:00
wmayer fd1c42b3c3 port use of tcp server to Qt5 2016-12-23 10:38:27 +01:00
wwmayer 40791cb0a2 Merge pull request #391 from agryson/correct-path-icon
Fix PathPost/PathJob mixup
2016-12-23 09:15:26 +01:00
Dan Falck 1d2c392738 Merge branch 'master' into tledit_units 2016-12-22 17:09:26 -08:00
Alexander Gryson 83c5b78d4f Fix PathPost/PathJob mixup 2016-12-22 22:27:56 +01:00
Yorik van Havre 21f430da2c Arch: more robust edge ordering in Arch OBJ exporter 2016-12-22 17:28:09 -02:00
Alexander Gryson 6e51d906ed Add metadata 2016-12-22 17:20:57 -02:00
Alexander Gryson 570ae66d0d Integrate forum feedback 2016-12-22 17:20:57 -02:00
Alexander Gryson 68b946c16e Update Path Workbench icons 2016-12-22 17:20:57 -02:00
Abdullah Tahiri 5f36072434 Sketcher: Parabola Skech geometry update fix 2016-12-22 16:10:53 +01:00
Abdullah Tahiri 9858368b65 Sketcher: Parabola Expose Internal Geometry
==========================================

Also automatically on creation
2016-12-22 16:10:52 +01:00
Abdullah Tahiri 3e76189f19 Sketcher: Focus solver internal geometry 2016-12-22 16:10:52 +01:00
Abdullah Tahiri 61fe4bcaee Sketcher: Parabola Arc rules solver constraint 2016-12-22 16:10:33 +01:00
wmayer 938daf5c6d show expressions in axis of placement in property editor 2016-12-22 11:45:18 +01:00
wmayer 26c635a435 use preprocessor macro to build with vtk 6.1 2016-12-21 18:39:50 +01:00
wmayer 7716e94042 fix whitespaces 2016-12-21 17:08:36 +01:00
wmayer 928cc7bcc4 replace invalid characters in VRML string with underscore 2016-12-21 17:02:06 +01:00
wmayer 9b33f4130b add command to select visible objects 2016-12-21 15:21:18 +01:00
vdwalts 5abb99b37f FEM: workaround, Scaling factor needed to obtain correct results when using DFLUX or CFLUX card. 2016-12-21 11:27:42 -02:00
Bernd Hahnebach 3842f9c80b FEM: mesh region, initialize new obj with length 0.0, do not use the obj for mesh creation if references are empty or lenght is 0.0 2016-12-21 11:27:42 -02:00
Bernd Hahnebach a245bf2abc FEM: mesh region: print some info if the shape to mesh is a Compound which could return unexpected meshes 2016-12-21 11:27:42 -02:00
Bernd Hahnebach 7c8b9a4b2c Part: boolean splitt tools, remove trailing whitspaces 2016-12-21 11:27:42 -02:00
Bernd Hahnebach 6378ad3aa7 Part: boolean splitt tools, add type property to the objects 2016-12-21 11:27:42 -02:00
Bernd Hahnebach ebfa179c0a FEM: gmsh mesh obj, element dimension, use From Shape instead of Automatic 2016-12-21 11:27:42 -02:00
Bernd Hahnebach a8b61ba833 FEM: gmsh mesh obj, use 2nd order as standard and remove Automatic 2016-12-21 11:27:42 -02:00
Bernd Hahnebach d64e2cfd5e FEM: implement get_element since getElement does not return Solid elements 2016-12-21 11:27:42 -02:00
Bernd Hahnebach 8b61027de2 FEM: material task panel, add explizit solid selection mode, add support for Solids of Compounds and CompSolids 2016-12-21 11:27:41 -02:00
Bernd Hahnebach c06c150d9b FEM: beam section properties, use diameter instead of radius 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 856b7844c0 FEM: beamsection task panel, add length values and use combobox to choose the section type 2016-12-21 11:27:41 -02:00
Bernd Hahnebach a826a6d2bf FEM: code formating, flake8 2016-12-21 11:27:41 -02:00
kgoao 7110a4e2c7 FEM: BeamSection: Allow other beam section types 2016-12-21 11:27:41 -02:00
Bernd Hahnebach cb6baaaf90 FEM: add length values to task panel of shellthickness 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 443112ce87 FEM: add length values to task panel of meshregion 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 2dd3f6620f FEM: mesh region, add icon 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 6304258975 FEM: mesh region, allow any shape as reference shape, not only elements of the shape to mesh 2016-12-21 11:27:41 -02:00
Bernd Hahnebach be831e78bd FEM: mesh region, taks panel, add a mode to select solids 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 862937080e FEM: mesh region, on edit hide all meshes and shapes, show the part to mesh 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 6822d09208 FEM: mesh region, make mesh region objects childrens of mesh object in tree view 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 3363c1a0a1 FEM: mesh region, use the new mesh region object in gmsh mesh class 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 90bc5255b4 FEM: mesh region, add task panel 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 347d4be25f FEM: mesh region, add command to FreeCAD GUI menu and tool bar 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 36868f3fe5 FEM: mesh region, add object 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 089933d7a3 FEM: add some title to some FEM task panels 2016-12-21 11:27:41 -02:00
Bernd Hahnebach df10569f23 FEM: gmsh mesh tool, set optimize mesh to True for new objects 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 5d7eadc8e6 FEM: cmake, delete dublicates 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 5eb621cbfc FEM: typo in ifndef of a header file 2016-12-21 11:27:41 -02:00
kgoao c11fdbe355 FEM: ConstraintTransform: Allow forces to be transformed 2016-12-21 11:27:41 -02:00
mkhizenz 3cfc9d5dd0 FEM: LinearizedStress: Update 2016-12-21 11:27:41 -02:00
mkhizenz 64e945db75 FEM: linearizedStress: Implementation 2016-12-21 11:27:41 -02:00
mkhizenz d92b8ff8b2 FEM: LinearizedStress: Core implementation 2016-12-21 11:27:41 -02:00
mkhizenz b7e4259676 FEM: LinearizedStress: Icon 2016-12-21 11:27:41 -02:00
mkhizenz ede94ba09c FEM: DataAlongLine: core implementation 2016-12-21 11:27:41 -02:00
mkhizenz 9e12af32da FEM: DataAlongLine: Icon 2016-12-21 11:27:41 -02:00
Bernd Hahnebach 46d8a64389 Base: units, code formating 2016-12-21 11:27:41 -02:00
vdwalts 9a3b750fb7 Base: Units for FEM, new heat and heat flux functions 2016-12-21 11:27:41 -02:00
kgoao 96a705dc7d FEM: FemConstraintHeatflux: Add DFLUX option to heat flux constraint 2016-12-21 11:27:41 -02:00
kgoao 0cddd74255 FEM: FemConstraintTemperature: Add CFLUX option to temperature constraint 2016-12-21 11:27:41 -02:00
wmayer 7e82bd1d7d fix drag and drop of boolean operations 2016-12-21 11:39:26 +01:00
wmayer 1a20ead8da fix typos & whitespaces 2016-12-21 11:19:54 +01:00
wmayer 7fd367a396 handle infinite lines and segments in OpenSCAD2Dgeom.superWireReverse 2016-12-21 10:07:55 +01:00
wmayer a862279d7f fix crash when using ImageView 2016-12-20 20:52:40 +01:00
Yorik van Havre ed57a89afa Merge pull request #386 from mlampert/Dogbone2d
Path: Dogbone dressup fixes for new 2d geometry
2016-12-20 11:59:04 -02:00
Markus Lampert 12d3d6950f Fixed build. 2016-12-19 18:27:27 -08:00
Markus Lampert 6552304323 Renamed dressups to conform to naming scheme. 2016-12-19 17:53:01 -08:00
Markus Lampert d82d050c34 Fixed dogbone for small tool bit radii. 2016-12-19 16:52:28 -08:00
Abdullah Tahiri b2bca80796 Sketcher: Parabola box selection sign fix 2016-12-19 23:21:02 +01:00
Abdullah Tahiri 6f6cc6d961 Sketcher: Parabola Creation Command
===================================

With exception of exposure of internal geometry.
2016-12-19 22:58:20 +01:00
Markus Lampert 5099f2385a Fixed 2d geometry changes for dogbone. 2016-12-19 11:20:58 -08:00
Yorik van Havre ae077f192c Draft: Fixedbug in facebinder 2016-12-19 15:28:16 -02:00
Abdullah Tahiri 0ef1ce9261 Part: Parabola Python Creation from Focus, Center and Normal Vector 2016-12-19 17:35:39 +01:00
wmayer bb7e662e7c issue #0002673: Not memorize the rotation 2016-12-19 17:32:39 +01:00
Dan Falck c84e7662b7 Path:wip on tl edit dialog and units 2016-12-19 07:40:25 -08:00
wmayer 72ab17fb48 fix typos 2016-12-19 14:07:35 +01:00
Abdullah Tahiri d42033191d Sketcher: ViewProvider Parabola Representation 2016-12-19 00:10:59 +01:00
Yorik van Havre 101d280f6a Draft: More solid normal detection in Draft2Sketch 2016-12-18 20:17:16 -02:00
Abdullah Tahiri d600bfa83b Sketcher: Validation of Parabola 2016-12-18 19:29:38 +01:00
wmayer df8783833d issue #0002775: first build fails 2016-12-18 18:26:34 +01:00
wwmayer b05826fc3f Merge pull request #385 from agryson/techdraw-artwork-alignment
Techdraw artwork alignment
2016-12-18 16:17:58 +01:00
wmayer dd0fb7dc84 fix various clang warnings 2016-12-18 16:08:30 +01:00
wmayer d9c206e59d fix obvious errors in kurve geometry classes 2016-12-18 15:21:52 +01:00
Alexander Gryson 291bad6cba Metadata updates 2016-12-18 14:54:52 +01:00
Alexander Gryson 3842310b9c Further feedback on geometry changes 2016-12-18 14:54:52 +01:00
Alexander Gryson 5bf299aafb Add Metadata 2016-12-18 14:54:31 +01:00
Alexander Gryson 6b6a7ca2d2 Update icon geometry and colors (no conflict risk in this workbench) 2016-12-18 14:54:31 +01:00
Alexander Gryson 1ab2e64e73 update TechDraw icons 2016-12-18 14:53:53 +01:00
wmayer 2fe7c2864a comment out unused variables to fix warnings created by clang 2016-12-18 14:20:27 +01:00
wmayer 76c529d47d fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359 2016-12-18 14:12:13 +01:00
wmayer 0ada809ec5 fix CIDs 151701, 151747 2016-12-18 13:46:26 +01:00
wmayer df8f7cfb7e fix CIDs 154873, 154874, 153875, 153876, 154883, 154884, 154886 2016-12-18 13:27:34 +01:00
wmayer 5e0a972999 fix CIDs 154872, 152491, 129453 2016-12-18 13:10:07 +01:00
wmayer c0ad78d21a fix CIDs 129192, 129078 2016-12-18 12:42:43 +01:00
wmayer 45697ae2c7 fix CID 129530 2016-12-18 12:33:43 +01:00
wmayer bd71e62df6 fix CIDs 154877, 154878, 154879, 154880, 154881, 154882, 154885 2016-12-18 12:15:26 +01:00
wmayer 2d68ca2f6e fix CID 154893 2016-12-18 11:57:52 +01:00
wmayer 4f7752419c fix CID 154894 2016-12-18 11:37:39 +01:00
wmayer a68c204bb0 fix CID 154895 2016-12-18 11:32:45 +01:00
wmayer 723cb4f3f8 fixes #0002801: F11 enters fullscreen, but does not exit (should behave as toggle) 2016-12-18 10:50:23 +01:00
wwmayer 8391af97f0 Merge pull request #383 from sliptonic/bug/drilling
PATH: fix for drilling border case
2016-12-18 09:59:36 +01:00
Abdullah Tahiri 9e528420f8 Sketcher: Enable Parabola creation in SketchObjectPy 2016-12-18 00:46:01 +01:00
Abdullah Tahiri 94f3f5879e Sketcher: Parabola SketchObject basic functionality
===================================================

Except Trimming & Expose Internal Geometry, that will be added separately.
2016-12-18 00:41:40 +01:00
Abdullah Tahiri 5f963c8d02 Sketcher: Parabola Solver Sketch Implementation
===============================================

Main Sketch solver parabola addition and update, with exception of the rules of the parabola arc, that will be implemented with the solver constraints.
2016-12-18 00:03:57 +01:00
Abdullah Tahiri 579cbb280b Part: ArcOfParabola extension to set the symmetry axis 2016-12-18 00:03:53 +01:00
sliptonic 4262544bbf PATH: fix for drilling border case
If only single hole of a given size is found, it was ignored.
Doh!
2016-12-17 16:46:17 -06:00
Abdullah Tahiri 8c83f4142b Part: Parabola Extension to support getting occ focus 2016-12-17 22:50:46 +01:00
Abdullah Tahiri e360dc15ef Sketcher: Freegcs Parabola geometry definition 2016-12-17 20:12:16 +01:00
Yorik van Havre 59987231ae Arch: Extended panel tools 2016-12-17 14:39:45 -02:00
wmayer b97f93c5a8 issue #0002802: Set a name to coin rootnodes of objects 2016-12-15 22:16:19 +01:00
Eivind Kvedalen 1ec381a07f Spreadsheet: Coverity issue 151662, 151655, 133440, 129433 are false positives, but code rewritten for readability. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen 614a914926 Spreadsheet: Fixed dead code issue reported by Coverity (128977). 2016-12-15 17:27:18 +01:00
Eivind Kvedalen 25c56b7864 Spreadsheet: Fix for issue #2646: Spreadsheet-Sum-Function does not work with units
This fix also fixes the other aggregates.
2016-12-15 17:27:18 +01:00
Eivind Kvedalen de27adbefa Spreadsheet: Fix for issue #2647, stddev does not work with arrays. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen a3af2902ef Spreadsheet: Save numbers with one more digit. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen eb32b3d831 Spreadsheet: Fixed for issue #2767: In some instances, needed parentheses are dropped from the expression. Fixed and updated unit tests. 2016-12-15 17:27:18 +01:00
wwmayer 089bb79674 Merge pull request #380 from eivindkv/DepGraphFix_20161213
Document: Added label to duplicate edges in dependency graph output.
2016-12-15 17:24:15 +01:00
wmayer 9a1fadd23e add unit test for group extension 2016-12-15 16:26:32 +01:00
blobfish 8ccbff951b Gui: DAGView: adding check for App::DocumentObject 2016-12-15 13:50:03 +01:00
wmayer 92db556a3e do not use Qt4 macros for Qt5 version of fc_wrap_cpp 2016-12-15 13:33:33 +01:00
Alexander Gryson 6d1eddc22f fix for font issue in draft_shapestring 2016-12-14 10:34:07 -02:00
Alexander Gryson 5cf78e86b4 clean up outline after 5558732 2016-12-14 10:34:07 -02:00
Alexander Gryson 6c4e4ebdfc fix svg display issue (rendering bug?) 2016-12-14 10:34:07 -02:00
Alex Gryson 6d1d170609 add metadata 2016-12-14 10:34:06 -02:00
Alex Gryson 81b36ea100 update permissions (644) 2016-12-14 10:34:06 -02:00
Alex Gryson 8eaba24b8b Update draft icons 2016-12-14 10:34:06 -02:00
wwmayer b885c30021 Merge pull request #379 from f3nix/deprecated_auto_ptr
Do not use std::auto_ptr which has been deprecated as of C++11.
2016-12-14 09:38:51 +01:00
wwmayer e5c6bf5bbd Merge pull request #378 from wwmayer/qt5_port
Qt5 port
2016-12-14 09:37:35 +01:00
Mateusz Skowroński 51b6fc3d8b Do not use std::auto_ptr which has been deprecated as of C++11. Use std::unique_ptr instead. 2016-12-13 19:56:57 +01:00
wmayer deddc4b3e2 use Qt WebKit module 2016-12-13 19:48:22 +01:00
wmayer 87f2866884 Linux specific Qt5 port 2016-12-13 19:47:32 +01:00
Eivind Kvedalen 52623a60d8 Document: Added label to duplicate edges in dependency graph output. 2016-12-13 17:54:02 +01:00
wwmayer 411e30bffd Merge pull request #376 from sliptonic/BugFixes
Bug fixes
2016-12-13 16:45:49 +01:00
wmayer 5e375a6238 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer 166fc624eb remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer 433202a881 drop inheritance of PropertyItem from BaseClass 2016-12-13 14:53:43 +01:00
wmayer 0afd327f2a remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
wmayer 57e71e5d55 port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wwmayer c678144272 Merge pull request #374 from mlampert/tracker-2770
Path: Assign Contour label on restore fixes 2770
2016-12-12 19:34:27 +01:00
wmayer d18ad183f9 remove superfluous conversion methods 2016-12-12 17:30:13 +01:00
wmayer b2487828f0 Qt4/Qt5 neutral changes:
+ change inheritance of PropertyItem to not derive from BaseClass (and QObject) any more to fix crashes with Qt5
2016-12-12 17:01:26 +01:00
wmayer 8b51a04943 fix -Wunused-but-set-variable 2016-12-12 16:32:54 +01:00
wmayer ad7234ff9e Qt4/Qt5 neutral changes:
+ add missing header files/remove old headers
+ fix flaws in use of timer
2016-12-12 16:28:28 +01:00
wmayer 4933e17a75 Qt4/Qt5 neutral changes:
+ re-implement built-in HTTP server without using in Qt5 removed classes QHttpResponseHeader and QHttpRequestHeader
2016-12-12 15:31:35 +01:00
wmayer 07943d2a9a Qt4/Qt5 neutral changes:
+ move meta types to own header to avoid double declaration
2016-12-12 15:22:34 +01:00
wmayer d2cb4e4af9 Qt4/Qt5 neutral changes:
+ remove QCoreApplication::UnicodeUTF8/QApplication::UnicodeUTF8
+ remove QCoreApplication::CodecForTr/QApplication::CodecForTr
2016-12-12 14:52:09 +01:00
wmayer 25cfb0bc1e include missing header 2016-12-12 14:50:58 +01:00
wmayer 57e7d3ad61 Qt4/Qt5 neutral changes:
+ remove class DownloadDialog
+ remove class HelpView
+ remove class DlgTipOfTheDay
2016-12-12 14:35:52 +01:00
wmayer 1cdee20953 Qt4/Qt5 neutral changes:
+ replace Q_WS_WIN with Q_OS_WIN
+ replace Q_WS_X11 with Q_OS_LINUX
+ replace Q_WS_MACX with Q_OS_MACX
+ set explicit cast to HWND
2016-12-12 14:09:21 +01:00
wmayer 546656867b fix FemMesh::copyMeshData 2016-12-12 12:43:05 +01:00
Markus Lampert c7761d4a4f New version of gneric_post.py from chrisb. 2016-12-11 16:43:54 -08:00
Markus Lampert 8f0549e965 Switched to std::to_string, MSVC doesn't support snprintf. 2016-12-11 15:33:57 -08:00
Markus Lampert d43a6e6cef Added missing include directive. 2016-12-11 15:33:57 -08:00
Markus Lampert d32b92d00d Fixed contour naming;
only touch dependent TC objects if the tool number changed;
changed formatting of intermediate path representation to be valid g-code and not use exponents.
2016-12-11 15:33:56 -08:00
sliptonic 23a2ee6927 PATH: fix cmake resort 2016-12-11 14:11:47 -06:00
sliptonic 54242963df Merge branch 'feature/probemoves' into BugFixes 2016-12-11 12:49:42 -06:00
sliptonic 4d2b97b521 Revert "PATH: Prevent Job creation without Base object."
This reverts commit 4c66748ade.
2016-12-11 12:48:35 -06:00
sliptonic fe291607a4 PATH: More reasonble defaults for new tools 2016-12-11 12:47:56 -06:00
sliptonic 68d3e18ab4 PATH: Drilling: allow selection of partial circular edges 2016-12-11 12:47:56 -06:00
sliptonic 4c66748ade PATH: Prevent Job creation without Base object.
PathMillFace won't add a base if it isn't known to the parent
2016-12-11 12:47:56 -06:00
sliptonic bafbd27632 PATH: Default values for start/end depths improved 2016-12-11 12:47:56 -06:00
sliptonic 6a447d6d46 PATH: improved stepdown calculation and test 2016-12-11 12:47:56 -06:00
sliptonic 84b3617c97 PATH: Delete misplaced and unused files 2016-12-11 12:47:56 -06:00
sliptonic 7cd375073a PATH: Highlighting in Inspect 2016-12-11 12:43:10 -06:00
wmayer 0074f7c352 minor improvements 2016-12-11 19:27:35 +01:00
Stefan Tröger 9bb3193395 Draft: Fix clone of art object 2016-12-11 19:27:35 +01:00
Stefan Tröger 16787bf1a1 PartDesign: Adopt test to new primitive behavior 2016-12-11 19:27:35 +01:00
Stefan Tröger cd1c753fa2 Extensions: Implement persistence 2016-12-11 19:27:35 +01:00
Yorik van Havre 207432c0bd Arch: Fixed placement of precest structures 2016-12-11 13:48:07 -02:00
Yorik van Havre 223dd70b99 Arch: Small fix in section plane's Drawing view object 2016-12-10 11:23:04 -02:00
wmayer 0ff231c0d4 temporarily disable failing unit test 2016-12-10 12:31:16 +01:00
wmayer 956a21a81a fix dangling pointer, remove superfluous semicolons, avoid excessive report messages of extension object 2016-12-09 23:03:18 +01:00
Sergo 47dd79ac25 check extension, get children 2016-12-09 21:31:51 +01:00
Sergo 12b0e0f999 fixes #0002633 - body disappear if dragged out of Part container 2016-12-09 21:31:51 +01:00
wmayer c770d747ff re-implement FemMesh::copyMeshData based on export&import of unv file 2016-12-09 21:08:44 +01:00
Yorik van Havre 9a285fdb8b Merge pull request #372 from WandererFan/PreProd
TechDraw 3 Small Fixes
2016-12-09 13:10:33 -02:00
WandererFan bb081266b7 Add Diameter Symbol preference for fonts without glyph 2016-12-08 14:51:10 -05:00
WandererFan 5b630c0e36 Fix error in Angle Dimension arc 2016-12-08 14:51:10 -05:00
WandererFan 867c6e1341 Remove old debug message 2016-12-08 14:51:10 -05:00
sliptonic 8df5eb8c78 PATH: Simple command to build a probe grid. 2016-12-08 10:26:58 -06:00
wmayer 14e3221374 PartGui: set export macro to fix linking errors in PartDesignGui 2016-12-08 10:33:47 +01:00
Stefan Tröger 6356636b04 PartDesign: Fix crash on datum abort 2016-12-08 08:17:31 +01:00
sliptonic 7d1a58e593 PATH: Add support to visualize probe moves
G38.2/3/4/5
2016-12-07 19:24:54 -06:00
Stefan Tröger aeea77ab26 PartDesign: Reduce needed primitive task box space 2016-12-07 18:53:01 +01:00
Stefan Tröger c4fe5707cb Extension: remove unneeded debug messages 2016-12-07 06:41:40 +01:00
Stefan Tröger 214722b435 PartDesign: prevent double deletion of TempVis 2016-12-07 06:41:40 +01:00
Stefan Tröger b758df7193 Port attachment UI to Part for general use
Furthermore change PartDesign primitives to use the new task dialog
2016-12-07 06:41:40 +01:00
Stefan Tröger bc133e4de2 PartDesign: Primitives are attachable directly
With the recently introduced AttachExtension the PartDesign primitives can be attachable by themself and don't need anymore the helping coordinate system datum. This simplyfies the code and the TreeView largely
2016-12-07 06:41:40 +01:00
Stefan Tröger d0d4d6bc07 Port Attacher codde to the extension framework
AttachableObjects are desired in multiple occasions, and the current AttachableObject is not flexible enough to handle all cases. Hence the code is portet to an extension, which gives the needed flexibility.
2016-12-07 06:41:40 +01:00
Stefan Tröger cc6bc1b8d9 Extensions: Add changed property handling 2016-12-07 06:37:27 +01:00
Markus Lampert 26e1a24060 Fix for Path visualisatin of helixes. 2016-12-06 20:08:18 -02:00
Yorik van Havre 19b7fde797 Merge pull request #369 from agryson/svg-fix
Use Boolean Diff instead of Mask
2016-12-06 20:06:06 -02:00
Alex Gryson fc4ed238b5 Use Boolean Diff instead of Mask 2016-12-06 19:52:04 +01:00
Alexander Gryson 5e0357b31e Use QToolButton for Draft Snap, not QPushButton 2016-12-05 23:42:33 -02:00
Yorik van Havre 232ad83fe5 Merge pull request #366 from agryson/start-icon
update start page mesh icon to match workbench icon
2016-12-05 23:40:09 -02:00
Alex Gryson be96a53b95 Merge branch 'master' into start-icon 2016-12-05 17:08:53 +01:00
wwmayer d26b0fa5d3 Merge pull request #365 from danielfalck/pppathfix
fix for not being able to use the post code icon
2016-12-05 09:20:54 +01:00
Dan Falck 2e44b6c41b fix for not being able to use the post code icon 2016-12-04 12:45:27 -08:00
wmayer 7a32aed27e run test for extensions in view provider only in Gui mode 2016-12-04 20:53:30 +01:00
Stefan Tröger 831c69e7eb Extensions: Fix ViewProvider extension test 2016-12-04 19:58:46 +01:00
Stefan Tröger 1787a4f978 Extensions: Group fix for python 2016-12-04 19:50:42 +01:00
Stefan Tröger 19e708879f Extensions: Fix ViewProvider python interface 2016-12-04 17:35:00 +01:00
wmayer 3565d4ef18 move Hat and Dyadic product to Matrix class 2016-12-04 17:05:58 +01:00
wmayer 6cde253f67 fix warnings 2016-12-04 17:04:48 +01:00
Alexander Gryson 3815256be7 update start page mesh icon to match workbench icon 2016-12-04 16:27:37 +01:00
WandererFan b845bc7e41 Fix DrawViewDetail behaviour near object edge 2016-12-04 15:27:26 +01:00
WandererFan 0ad0b58ab3 Use current font size preference for Label and Caption 2016-12-04 15:27:07 +01:00
WandererFan 065156eed5 Prevent crash when no document open 2016-12-04 15:26:54 +01:00
WandererFan 83ce64a1d3 Remove spurious messages 2016-12-04 15:26:43 +01:00
WandererFan fa738e3dc0 Fix crash on deleting page 2016-12-04 15:26:31 +01:00
WandererFan f036438e53 Consolidate Section logic in DrawViewSection 2016-12-04 15:26:16 +01:00
WandererFan edab34c6ac Remove old decorative items from scene before redraw 2016-12-04 15:26:01 +01:00
WandererFan 429eb0f727 DPG improvements
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
WandererFan 707681534a Improve ProjectionGroup dialog
Text to icons in dialog
Fix rotation directions
2016-12-04 15:25:32 +01:00
Alex Gryson 7c905e6afd Add metadata
Notes:
* Used earliest available commit as creator (only means I had available)
* License information could not be saved for an unknown reason, added
  this info to the Rights field
2016-12-04 14:25:26 +01:00
Alex Gryson 75a52aab63 fix permissions 2016-12-04 14:25:12 +01:00
Alexander Gryson 54623931f8 finish aligning mesh bench icons to Tango 2016-12-04 14:24:59 +01:00
Alexander Gryson 345057e29c Update dimensions to 64*64 as per guidelines
This icon was incorrectly sized to 32*32 - depending on how the icons are exported this may have an impact on the UI
2016-12-04 14:24:40 +01:00
Alex Gryson 58ba907055 update mesh icons to Tango 2016-12-04 14:24:27 +01:00
Alex Gryson 95e9768bc8 Mesh workbench icons updated 2016-12-04 14:24:13 +01:00
Alex Gryson 5b37ef0f54 Align icons to Tango style 2016-12-04 14:23:57 +01:00
Alexander Gryson f83fc072e6 icon updates (mesh) 2016-12-04 14:23:42 +01:00
Alexander Gryson bb7310723e Update import/export to have more 'meshy' look 2016-12-04 14:23:30 +01:00
Alexander Gryson 3d934f5ee9 update mesh cut icon 2016-12-04 14:23:08 +01:00
Alexander Gryson 688d89d10b initial commit to test build 2016-12-04 14:22:49 +01:00
wmayer 932eab40fc add class GeomArcOfConic to reduce code duplication 2016-12-04 14:20:56 +01:00
wmayer adf3cc0f95 add class GeomConic to reduce code duplication 2016-12-04 11:36:50 +01:00
wmayer 04668901ea code optimization 2016-12-03 22:27:07 +01:00
wmayer 428f099aaf implement BSplineCurve2d 2016-12-03 22:17:04 +01:00
wmayer 3941fc4cea implement BezierCurve2d 2016-12-03 18:23:55 +01:00
Yorik van Havre d76df0ac94 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-12-03 13:01:07 -02:00
Yorik van Havre 365ebf9a81 Draft: Applied Werners patch 2016-12-03 13:00:56 -02:00
wwmayer c70d6f84f5 Merge pull request #362 from mlampert/Line2LineSegment
Path: Fix Path creation for new Line/LineSegment semantics.
2016-12-03 15:55:06 +01:00
Yorik van Havre 8fc41bd9dd Arch: minor cosmetic changes in Draft & Arch preferences pages 2016-12-03 12:50:18 -02:00
wwmayer 400bd11715 Merge pull request #360 from kkremitzki/master
Fix typo
2016-12-03 13:32:27 +01:00
wmayer fa585583d8 set type names of geom classes 2016-12-03 13:26:12 +01:00
wmayer e45a099698 extend generation framework to set Python class name 2016-12-03 12:50:36 +01:00
wmayer 89a896b52e fix bug in Curve class 2016-12-03 11:04:24 +01:00
wmayer 6de10d4fab implement Curve2d 2016-12-03 11:01:44 +01:00
Markus Lampert 9ef90366a5 Fixed Path creation with new Line/LineSegment semantics. 2016-12-03 02:00:11 -08:00
Kurt Kremitzki aa22d1f42a Fix typo 2016-12-02 22:20:26 -06:00
Markus Lampert e597771c5f Fixed SoBrepEdgeSet error (thanks to wmayer). 2016-12-02 12:35:00 -08:00
wwmayer 9864684f1c Merge pull request #359 from mlampert/Line2LineSegment
Path: Changed Part.Line to Part.LineSegment
2016-12-02 17:51:37 +01:00
Sergo 261bc46738 fix #0002662 - crash when create ShapeBinder with origin selected 2016-12-02 17:21:32 +01:00
wmayer 2313b05db5 fix encoding issue in constraint text 2016-12-02 17:04:57 +01:00
Yorik van Havre 63aa773078 Draft: fixes related to LineSegment + more powerful draft2sketch conversion 2016-12-02 11:06:31 -02:00
Markus Lampert 0a1a0b8abc More Line to LineSegment conversions. 2016-12-02 04:42:22 -08:00
Markus Lampert 26263c4bd1 Changed Part.Line to Part.LineSegment 2016-12-02 04:24:52 -08:00
Yorik van Havre 810663025f Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-12-02 09:58:57 -02:00
Yorik van Havre 0d18531d73 Draft: fixed bug when loading VisGroup from existing doc 2016-12-02 09:58:40 -02:00
wmayer 846f062c12 in old mode Edge.Curve returns a line segment instead of an infinite line 2016-12-02 12:51:00 +01:00
Yorik van Havre fcd0465d8f Draft: Minor bugfixes in wire flattening code 2016-12-01 14:42:51 -02:00
wmayer 04a56fbceb apply modification to correct property 2016-12-01 13:35:28 +01:00
wwmayer 01fd5ce6f3 Merge pull request #357 from mlampert/PathGeom
Path: Path->Wire transformation and other goemetry helpers.
2016-12-01 12:48:03 +01:00
wmayer c6529d21fe implement Line class 2016-12-01 00:04:13 +01:00
wmayer 1855c80f36 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
wmayer e96370f820 add class LineSegment 2016-11-30 16:26:21 +01:00
wwmayer 7e8c9a6b1a Merge pull request #356 from kkremitzki/master
Fix English typo
2016-11-30 10:15:03 +01:00
Kurt Kremitzki 6d9ad77868 Fix English typo 2016-11-30 01:14:09 -06:00
Kurt Kremitzki 4ef6d7a387 Fix English typo 2016-11-30 01:13:21 -06:00
wmayer 537cfb2d48 fix segmentation fault when caling setupWithoutGUI 2016-11-29 19:29:12 +01:00
Yorik van Havre 43aae3db37 Arch: fixed makePipe to return the pipe 2016-11-29 11:41:10 -02:00
wwmayer 313d8933f1 Merge pull request #354 from ickby/fixes
Fixes one Extension and two PartDesign bugs
2016-11-29 14:17:24 +01:00
Markus Lampert ad3e3166f5 Some cleanup. 2016-11-29 01:31:12 -08:00
Markus Lampert 0807eaf597 Added wire(s)ForPath functions with test. 2016-11-28 15:52:17 -08:00
Markus Lampert fbc75d9797 Split out PathGeom and created test cases for it. 2016-11-28 15:11:24 -08:00
Markus Lampert fcc187880e Enhance makeHelix to also support helixes that spiral downwards. 2016-11-28 15:10:25 -08:00
Stefan Tröger ddc9d9cf5d Extensions: "hasExtension" for python types -fix 0002785 2016-11-28 22:15:09 +01:00
Stefan Tröger 8bf5f03671 PartDesign: Fix crash on pattern abort 2016-11-28 22:13:41 +01:00
Stefan Tröger bb1ac8bfc6 PartDesign: Fix origin selection for pattern 2016-11-28 22:13:41 +01:00
wmayer 8d1bea8d60 need vtkhdf5 module for certain systems 2016-11-28 18:07:25 +01:00
wwmayer 1f6ed81624 Merge pull request #353 from berndhahnebach/bhbdev058
FEM: GMSH tool
2016-11-28 18:04:20 +01:00
Bernd Hahnebach 9154825889 FEM: gmsh mesh tool, add different mesh element size for Shape elements 2016-11-28 01:18:08 +01:00
Bernd Hahnebach ddef153ef1 FEM: gmsh mesh tool, fix endless loop in task panel 2016-11-28 01:17:58 +01:00
Bernd Hahnebach cb14a50aec FEM: gmsh mesh tool, add some more properties to adjust gmsh mesh 2016-11-28 01:17:54 +01:00
Bernd Hahnebach f9bc29fbc5 FEM: gmsh mesh tool, use gmsh names for properties 2016-11-28 01:17:50 +01:00
Bernd Hahnebach 299d3d1206 FEM: icons, rename some icons to better fit in FEM name scheme 2016-11-28 01:17:45 +01:00
Bernd Hahnebach 37db5ab428 FEM: solver Z88, fix in object attributes 2016-11-28 01:17:36 +01:00
wmayer b503d55299 port hyperbola branch to new tools classes 2016-11-27 22:43:58 +01:00
Abdullah Tahiri bc728c217b Sketcher: Fixing compilation warnings 2016-11-27 18:45:33 +01:00
Abdullah Tahiri 22457c41dd Sketcher: Hyperbola construction endpoints autoconstraints
==========================================================

Support for coincident autoconstraint for endpoints
2016-11-27 18:45:33 +01:00
Abdullah Tahiri a879296ca7 Sketcher: Minor fix - hyperbolic arc icon reference 2016-11-27 18:45:33 +01:00
Abdullah Tahiri 96d664dd88 Part::Geometry: ArcOfHyperbola CCW emulation support/fix
===================================================

Correction of the emulation so that arcs of hyperbola are always CCW. This fixes mismatching of end points and edge in Sketcher.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 8bba2427c3 Sketcher: Hyperbola added supported type
========================================

Allows to restore a saved hyperbola in a sketch.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 1c77657354 Sketch: Hyperbola tangency to line
==================================

As a way to lock a line to hyperbola tangency to a branch has not been identified, this tangency is implemented
by adding a point at the tangency point in order to avoid the jumping.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 73930c4294 Sketcher: Hyperbola perpendicularity constraint
=================================================

Line perpendicular to hyperbola using via point constraint.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 50ab33aeb4 Sketcher: Hyperbola Tangency to Curves
======================================

Implementation of the Tangency via point for all curves to Hyperbola (no line to Hyperbola yet).
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 14a2437b72 Sketcher: Hyperbola element widget support
==========================================

Support added to the Element widgets for hyperbola
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 26bef1d2c8 Sketcher Hyperbola Icons
========================

Slightly modified icons based on Jim's original proposal (with the center instead of the focus point):

http://forum.freecadweb.org/viewtopic.php?f=10&t=8038&hilit=hyperbola#p66129
2016-11-27 18:45:33 +01:00
Abdullah Tahiri cdb14deb99 Sketcher Hyperbola: Creation method autoconstraints
Correction of center and curve on major axis position.

Still to fix the endpoints (determination of CCW or CW drawn curve)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 3a33fc292e Sketcher hyperbola creation fix
removing line to origin during creation
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 96ae5272db Sketcher Hyperbola: Creation Method improvements
- Avoid unnecessary recomputes
- Create as construction
- Continuous mode creation
2016-11-27 18:45:33 +01:00
DeepSOIC 95043e58ea Sketcher: Hyperbola: fix minor diameter ends swapping
Quick and dirty, but seems to work.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 4e2d672e13 fix partials 2016-11-27 18:45:33 +01:00
Abdullah Tahiri 6c612b270a fix in minor axis Expose Internal Geometry for hyperbola 2016-11-27 18:45:33 +01:00
Abdullah Tahiri b6c1e15493 Hyperbola InternalAlignment
Focus is working.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri fb12cb83fc Solver InternalAlignment: Change to diameters instead of radii to be able to draw asymptotes
GCS and Sketch.cpp support
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 4fce95a7da Hyperbola: InternalAlignment solver constraints 2016-11-27 18:45:33 +01:00
DeepSOIC df820bef59 Sketcher: solver: transplant all arc kinds to use CurveValue constraint
arc and arc of ellipse
2016-11-27 18:45:33 +01:00
DeepSOIC 2d0ad5ac11 Sketcher: solver: implement Value for all other curves
for line, circle, and ellipse.
Compiles, but untested.
2016-11-27 18:45:33 +01:00
DeepSOIC 9b71ebf48b Sketcher: Hyperbola: fix - remove periodicity correction
Not needed, since hyperbola is not periodic, unlike circle and ellipse
2016-11-27 18:45:33 +01:00
DeepSOIC 180e01bcfc Sketcher: Hyperbola: fix major radius formula 2016-11-27 18:45:33 +01:00
DeepSOIC 6fce841404 Sketcher: Hyperbola: fix crash when drawing a new one 2016-11-27 18:45:33 +01:00
DeepSOIC c1da7d6125 Sketcher: solver: Value constraint
(morphed from hyperbola arc range constraint)
(compiles, but untested)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 3c6ac70577 Conflict resolution 2016-11-27 18:45:33 +01:00
Abdullah Tahiri 4f6374eef6 Hyperbola UI equality constraint representation fixed 2016-11-27 18:45:33 +01:00
Abdullah Tahiri 5556228d07 Hyperbola solver equality constraint
The Ellipse radii solver constraint was reused generalised to MajorAxisConic class.

UI representation of the Equality sign not yet handled (appears on the origin).
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 8de37eb193 Hyperbola: Support for moving the center of the hyperbola 2016-11-27 18:45:33 +01:00
Abdullah Tahiri 0cf0f5cc6e Hyperbola PointOnObject UI Constraint
You can add a point to be on the hyperbola and it will lock to it.

The endpoints of the hyperbola go crazy because of the

HyperbolicArcRangeToEndPoints code that is the one of Ellipse <= Awaiting DeepSOIC help ;)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 27a76afa94 In Part:Geometry:
- Fixing Hyperbola classes to get CCW emulation (like Ellipse classes).

In Sketcher:
- The Sketcher representation deals with the right branch of the Hyperbola only.
- Solver model is: Center, Focus1 (focus of the right branch), minor radius (b).
- HyperbolicArcRangeToEndPoints code is the one of Ellipse <= Awaiting DeepSOIC help ;)
- ConstraintPointOnHyperbola solver constraint is now implemented and should be working.
- No InternalAligment constraints implemented yet.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri 590e3fbec6 Sketcher: New Feature: Hyperbola/ArcOfHyperbola
===============================================

- ArcOfHyperbola creation method
- Solver representation (undefined moving)
- SketchObjectPyImp (here we still miss the Part->Partdesign conversion)
- Sketch validation for hyperbola
- Hyperbola creation method: shows the "proof of concept", but it is very buggy!!

Notes:
- Missing icons, probably missing geo normal curve implementation - rebasing -
- Fixes to adapt Hyperbola to Derivector implementation and make it compile
2016-11-27 18:45:33 +01:00
wmayer fde9bded28 fix bottleneck in creation of sketcher grid 2016-11-27 14:36:08 +01:00
wmayer 4130f845e2 port TopoShape::exportStep to occ7.1 2016-11-27 11:01:15 +01:00
wmayer d3e0f03650 add method to extract pcurve from an edge 2016-11-26 19:28:06 +01:00
wwmayer 420761df75 Merge pull request #351 from triplus/AppearanceDock
Make appearance widget dockable
2016-11-26 16:02:04 +01:00
wwmayer 9bc714fd50 Merge pull request #350 from berndhahnebach/bhbdev057
New tool to onvert surface of FEMMeshes to a Mesh
2016-11-26 15:48:52 +01:00
wmayer 1348fe6bc1 implement Line2d 2016-11-26 15:30:00 +01:00
wmayer 3105c4b1da fix -Wunused-parameter 2016-11-26 14:11:30 +01:00
wmayer cb1b906bd4 implement Line2dSegment, fix doc strings 2016-11-26 14:08:14 +01:00
triplus d58d973adc Make appearance widget dockable 2016-11-26 12:41:19 +01:00
wmayer de8bfaafc3 implement OffsetCurve2d 2016-11-25 23:45:14 +01:00
Bernd Hahnebach cba80757ea FEM: FEMMesh2Mesh, add a icon 2016-11-25 22:59:39 +01:00
Bernd Hahnebach 3e4cf998d7 FEM: FEMMesh2Mesh, only make the tool active on selection of a femmesh or a femmesh and a result 2016-11-25 22:59:35 +01:00
Bernd Hahnebach 04287d7aa3 FEM: FEMMesh2Mesh, move menu to a submenu Utilities in FEM menu 2016-11-25 22:59:31 +01:00
Bernd Hahnebach f86da74e1d FEM: FEMMesh2Mesh, add a command to FreeCADGui 2016-11-25 22:59:27 +01:00
Bernd Hahnebach 52b5a776c7 FEM: FEMMesh2Mesh, some small changes to work together with FreeCADGui tool 2016-11-25 22:59:21 +01:00
Bernd Hahnebach 10273687bf FEM: FEMMesh2Mesh, add the module to convert the surface of a FEMMesh into a Mesh 2016-11-25 22:59:18 +01:00
Bernd Hahnebach 9e142fd156 FEM: gmsh mesh tool, better handling of min and max element size 2016-11-25 22:59:14 +01:00
Bernd Hahnebach e57febdf7b FEM: icons, sort in qrc file by abc ... 2016-11-25 22:59:10 +01:00
Bernd Hahnebach 10431331f6 FEM: remove the not needed GuiUp check on GUI files 2016-11-25 22:59:03 +01:00
wmayer c817c3334e implement ArcOfParabola2d 2016-11-25 18:11:37 +01:00
wmayer ffa942486a implement Hyperbola2d and ArcOfHyperbola2d 2016-11-25 17:50:52 +01:00
wmayer 3067bd6a85 implement Ellipse2d and ArcOfEllipse2d 2016-11-25 17:20:58 +01:00
wmayer 3374737c5a implement ArcOfConic2d and ArcOfCircle2d 2016-11-25 10:07:55 +01:00
wmayer a0fc75d619 implement Circle2d 2016-11-24 23:45:05 +01:00
Yorik van Havre d50e3b2a53 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-11-24 18:36:55 -02:00
Yorik van Havre 6b8b3ec5cd Arch: Fixed wrong placement of sketch-based windows 2016-11-24 18:36:24 -02:00
wmayer 94248e8da1 implement Conic2d and Parabola2d 2016-11-24 21:16:32 +01:00
Yorik van Havre 21dcfd442c Doc: Further fixes to doxygen docs 2016-11-24 17:59:21 -02:00
WandererFan bcb1534391 Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
WandererFan 906bffba8f Initial DrawingViewDetail 2016-11-24 14:44:37 -02:00
wmayer 95768acf65 declare some PyCXX functions for export, add PyCXX wrapper for Vector2dPy class 2016-11-24 15:25:48 +01:00
wmayer cdf45248dc fix build failure on Linux 2016-11-23 19:27:41 +01:00
wmayer 97346672ea create gp_Trsf2d from gp_Trsf 2016-11-23 18:53:48 +01:00
wmayer 8bd22e4d99 implement methods of Geometry2dPy 2016-11-23 15:05:55 +01:00
wmayer 9c720dde7b use cmake's OBJECTS library option 2016-11-23 15:04:58 +01:00
wwmayer b8f8d61020 Merge pull request #348 from jobermayr/master
ArchSite can now also use Python3 Pysolar.
2016-11-23 13:53:38 +01:00
wwmayer d5dd15099c Merge pull request #347 from berndhahnebach/bhbdev056
FemGmshTool
2016-11-23 13:52:53 +01:00
Johannes Obermayr b1ae6f1eec ArchSite can now also use Python3 Pysolar. 2016-11-22 21:50:04 +01:00
Bernd Hahnebach 4bbd896d4b FEM: GMSH mesh tool, change icons for netgen and gmsh mesh to distingish them in toolbar 2016-11-22 19:50:51 +01:00
Bernd Hahnebach b2827a21e8 FEM: GMSH mesh tool, add a pref page for gmsh binary path 2016-11-22 19:50:51 +01:00
Bernd Hahnebach ae90dd0522 FEM: GMSH mesh tool, the GMSH tool class and a task panel 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 1327589045 FEM: GMSH mesh tool, add command and add it to tool bar and make a menu entry 2016-11-22 19:50:50 +01:00
Bernd Hahnebach c3df2e298d FEM: GMSH mesh tool, new python mesh object 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 9f8a7b8642 FEM: extend the C++ fem mesh object to be able make python mesh object childs 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 1c0920d624 FEM: rename CommandMeshFromShape into _CommandMeshNetgenFromShape 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 30e54ec0e2 FEM: FemMeshTools, some changes need for the GMSH mesh tool 2016-11-22 19:50:50 +01:00
Bernd Hahnebach af9d1371b9 FEM: FemMeshTools, fix input file writing if groups have non expected group names 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 8d786be579 FEM: code formating, make all python module start the same way
- module info
- doxygen documentation
- imports
- code
2016-11-22 19:50:50 +01:00
Bernd Hahnebach 8fb66dcf98 FEM: code formating, cmake and init gui 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 494b508f56 FEM: ccx tools, check if the active analysis has result object before try to open results 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 10b9f686ca FEM: read frd result file, check if nodes could have been read. 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 9262303c0f FEM: catch an error if Result dialog will be opened without an result in the analysis 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 7a97948069 FEM: small change in Fem Z88 tools 2016-11-22 19:50:50 +01:00
Bernd Hahnebach a6f6b8de06 FEM: solver task panel, delete not used def 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 0870fcefcf FEM: do not longer open mesh at analyse creation
better make mesh last as before the constraints because of group meshing
2016-11-22 19:50:50 +01:00
Bernd Hahnebach bd927f71cf FEM: temporary remove not supported tools from tool bar 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 1b43a73da8 FEM: solver obj, delete not needed includes 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 2e984b5237 FEM: solver obj, remove not needed comment since all attributes are implemented in the python solver objects 2016-11-22 19:50:50 +01:00
Bernd Hahnebach e4b0205d85 FEM: typo in solver view providers 2016-11-22 19:50:50 +01:00
Bernd Hahnebach facf23a22f FEM: code formating, add brackets to prints 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 8713b7b29e FEM: code formating, get flake8 quired 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 8ca705c2d9 FEM: activate binary search get_femelement_by_femnodes_bin for volume meshes 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 2a5d445b26 FEM: FemMeshTools, add binary search method for get_femelements_by_femnodes, but do not make it activ 2016-11-22 19:50:50 +01:00
Bernd Hahnebach 9b023b2aef FEM: fix unit test after activating new pressure face search 2016-11-22 19:50:49 +01:00
Bernd Hahnebach 8b24da477a FEM: ccx input writer, make use of the new faster binary search method for getting the pressure faces 2016-11-22 19:50:49 +01:00
Bernd Hahnebach 894d79a57c FEM: FemMeshTools, add new methods to make a faster search for pressure faces:
- get_femnodes_ele_table()
- get_copy_of_empty_femelement_table()
- get_bit_pattern_dict()
- get_ccxelement_faces_from_binary_search()
- thanks to Ulrich Brammer for implementing the methods
2016-11-22 19:50:49 +01:00
wwmayer 3e06d0a090 Merge pull request #346 from wwmayer/geom2dpy
add Python wrappers for Geom2d classes
2016-11-22 17:43:50 +01:00
wmayer 03ab1a4a4d fix build problems on Linux/OSX 2016-11-22 16:16:48 +01:00
wmayer 9bdad96a69 add Python wrappers for Geom2d classes 2016-11-22 14:09:19 +01:00
Markus Lampert 3ce5ea6b35 Tests and fixes for triangular shaped tags. 2016-11-21 21:53:35 -08:00
Markus Lampert 1fd4c49fca Test cases for basic path generation for tags. 2016-11-21 19:51:54 -08:00
wmayer 14594dde32 add simple Python wrapper for Vector2d class 2016-11-21 22:01:34 +01:00
wwmayer d63d7aebb9 Merge pull request #345 from wwmayer/geom2d_wrapper
wrapper for Geom2d package
2016-11-21 19:02:48 +01:00
wmayer 689d2e42a9 wrapper for Geom2d package 2016-11-21 18:17:10 +01:00
wmayer e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wwmayer 31d43b4a12 Merge pull request #344 from mlampert/FileExportPath
Path: fix File menu g-code export, tracker #2789
2016-11-21 10:20:11 +01:00
ml f0f39f9c53 Added arguments to dialog and script call. 2016-11-20 20:07:44 -08:00
Markus Lampert 8ce9c0c305 Straight line intersection with square Tag. 2016-11-20 14:53:03 -08:00
wmayer e008ca6f87 fix coverity issues 2016-11-20 17:47:53 +01:00
wmayer 5d27a49d87 fix coverity issues 2016-11-20 17:16:33 +01:00
wmayer 463106cb59 fix coverity issues 2016-11-20 17:11:32 +01:00
Johannes Obermayr af62262021 Link just against required VTK modules on Linux.
Note:
If VTK is installed below /opt or anywhere else just add a path to GLOB_RECURSE.
2016-11-20 10:18:32 +01:00
WandererFan cf22852ee3 Fix handling of BezierCurves
Replace custom bbox code with OCC/Base code
Refactor duplicate code Geometry/DrawProjectSplit
2016-11-20 10:06:00 +01:00
wmayer cfa2187415 fixes #0002778: Error when building the project. 2016-11-19 18:14:44 +01:00
wmayer 2a145a12e1 expose recompute() of document object to Python 2016-11-19 16:24:11 +01:00
wmayer a16b143664 fixes #0002782: Build error message 2016-11-19 14:27:55 +01:00
wmayer 5e3381be25 fixes #0002781: Build error message 2016-11-19 13:47:37 +01:00
wmayer a4d33ec8ab fixes #0002779: The message of the project build error 2016-11-19 13:32:07 +01:00
Markus Lampert 74ac78276b Tests for all different shapes of Tags. 2016-11-18 17:52:29 -08:00
Markus Lampert ca1fb1238e First Tag unit tests, including a fix for an encountered issue. 2016-11-18 17:07:20 -08:00
Markus Lampert f4480765de Fixed linuxcnc unit test 2016-11-18 16:14:32 -08:00
ml 2aa2560529 Basic unit test for linuxcnc output. 2016-11-18 15:43:20 -08:00
ml dce16252dc First pointless path unit test 2016-11-18 15:41:04 -08:00
Markus Lampert a9f246b466 Moving tag processing into Tag itself. 2016-11-18 15:35:30 -08:00
Yorik van Havre 950207134f Draft: Fixed text orientation bug in SVG projections 2016-11-18 19:11:31 -02:00
Yorik van Havre ebe6e9adfa Arch: Sites can now display a sun path diagram 2016-11-18 16:10:12 -02:00
wmayer c99943f822 support creating Face from support face or surface and outer wire 2016-11-18 15:25:15 +01:00
Yorik van Havre 29d49cd612 Doc: Further improvements to doxygen web output 2016-11-18 11:44:03 -02:00
WandererFan 804dc1cd85 Fix error handling 2016-11-18 10:14:59 +01:00
WandererFan 6f424c1467 Fix missing line in TaskViewSection 2016-11-18 10:14:42 +01:00
WandererFan 1f0899ef3d Improve handling of duplicate edges in projection 2016-11-18 10:14:29 +01:00
WandererFan 3797f7ebc3 Fix segfault on bad input 2016-11-18 10:14:10 +01:00
WandererFan 657264ad49 Add bavariaSHAPE's tolerance symbols 2016-11-18 10:13:55 +01:00
WandererFan 503d718520 Add planar embedding to EdgeWalker 2016-11-18 10:13:41 +01:00
WandererFan eb2490bb33 Add editable text ability to DrawSymbol 2016-11-18 10:13:23 +01:00
wwmayer 140a14c58c Merge pull request #341 from wwmayer/occ_switch
Add cmake switch to choose between official OpenCascade version and c…
2016-11-17 21:10:51 +01:00
ml fc55d7ae23 Fixed angle calculation and deal with round contours properly. 2016-11-17 11:43:00 -08:00
ml 344250b5c2 Renamed tabs to tags. 2016-11-17 11:43:00 -08:00
ml 79935ee025 Changed tabs to be editable. 2016-11-17 11:37:52 -08:00
ml 730e2c523e First shot at base algorithm for inserting holding tabs. 2016-11-17 11:37:52 -08:00
Yorik van Havre af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer aba8006b95 Add cmake switch to choose between official OpenCascade version and community edition 2016-11-17 17:46:42 +01:00
wmayer 8724eaed36 use indexed map to avoid iterating a face twice in case of a compsolid 2016-11-17 15:40:22 +01:00
wwmayer 83444cc414 Merge pull request #340 from WandererFan/PathArray17
Fix #2771 handling of PropertyLinkSubList in Draft.PathArray
2016-11-17 11:02:04 +01:00
WandererFan 3ce0de62f1 Fix #2771 handling of PropertyLinkSubList in Draft.PathArray 2016-11-16 20:59:33 -05:00
wwmayer cb16eda216 Merge pull request #337 from mlampert/tracker-2773
Path: tracker #2773
2016-11-16 10:34:16 +01:00
ml 0c5d5566ab Fix for 2773 and two other minor fixes. 2016-11-15 22:19:57 -08:00
Yorik van Havre 48c118c5e0 Doc: small adjustments to doxygen docs 2016-11-15 16:17:58 -02:00
Yorik van Havre 725f9add3a Techdraw: better icon for image 2016-11-14 21:14:06 -02:00
wmayer 88485684a5 improve unicode support for enumeration properties 2016-11-14 15:22:21 +01:00
Yorik van Havre 425e12ce18 Merge pull request #336 from sliptonic/feature/MillFacing
Feature/mill facing
2016-11-14 11:54:34 -02:00
sliptonic 7c2c541d7a Holding tag bugs
Removed OCC from profile
Add option to suppress profile of perim.
2016-11-13 14:51:36 -06:00
sliptonic a38006b5d5 incorporating TechDraw findShapeOutline 2016-11-13 14:51:36 -06:00
sliptonic 7930db4e5c icons 2016-11-13 14:51:36 -06:00
sliptonic 18ea91cc25 fix for drilling in Compound objects.
Better check of hole face ordering.
2016-11-13 14:51:36 -06:00
sliptonic fe11942afb Toolchange output fixed 2016-11-13 14:51:36 -06:00
sliptonic 50bfaffcd1 PathJob chooser needs to use dialog in resource file 2016-11-13 14:51:36 -06:00
sliptonic bbf4e2954a Initial commit of facing op 2016-11-13 14:51:36 -06:00
sliptonic e1fad4e76f remove unneeded base geometry tab 2016-11-13 14:51:36 -06:00
Yorik van Havre bc2d0135a1 Fixed last commit a bit better this time... 2016-11-13 18:11:43 -02:00
Yorik van Havre e794dd5fc4 Fixed leftover from previous commit 2016-11-13 17:50:33 -02:00
Yorik van Havre 5bfac50eed Doc: Added a new WebDoc cmake target 2016-11-13 17:45:59 -02:00
wmayer 7f58ad2a4b implement ExtensionContainerPy::getCustomAttributes to return a PyCFunction bound to the correct object 2016-11-13 17:49:10 +01:00
Yorik van Havre 0aac72b2eb Fixed setting an empty value to PropertyLinkSubList 2016-11-13 12:13:31 -02:00
Yorik van Havre d1e3cb7ccb Merge pull request #335 from mlampert/Dogbone
Dogbone
2016-11-13 11:58:56 -02:00
ml 7b7e09ce29 Fixed obj reference in custom length path. 2016-11-12 16:34:49 -08:00
ml 1472a2b8ae Removal of extra path segments due to bone smoothing. 2016-11-12 16:34:49 -08:00
ml 788b28bba2 First cut at removing bone path crossings in tight alleys. 2016-11-12 16:34:49 -08:00
ml 17d86e51c8 Created class for Bone to carry it's attributes through the call chain. 2016-11-12 16:34:49 -08:00
ml 2159923c4b Path calculation through intersections - enhanced robustness. 2016-11-12 16:34:49 -08:00
ml e7968a95f6 Calculation of intersections and arcs. 2016-11-12 16:34:49 -08:00
ml 9a93a5775e Calculation of pivot points. 2016-11-12 16:34:49 -08:00
ml c58852a608 Fixed adaptive length calculation. 2016-11-12 16:34:49 -08:00
wmayer e0a0aa7786 fix typos 2016-11-12 17:57:14 +01:00
wmayer 1dffd81295 fix build failure for occ version < 7.0 2016-11-12 16:19:51 +01:00
wmayer a557836597 methods to fix shape tolerances 2016-11-12 16:14:46 +01:00
wmayer ad49a96b14 methods to analyze shape tolerances 2016-11-12 15:31:35 +01:00
Yorik van Havre 1537ecf9e4 Arch: fixed remaining bugs in structures + use facemakers - fixes #2523 2016-11-12 11:48:05 -02:00
wmayer 9683babcc8 adjust vtk warning 2016-11-12 13:18:20 +01:00
wmayer 00829c7753 disable again selection of vtk components since this still causes problems on further systems 2016-11-12 11:22:52 +01:00
wmayer f7c88e927c use vtkParallelMPI only for Linux 2016-11-11 16:45:55 +01:00
wmayer f205b411e3 use list to handle vtk components 2016-11-11 16:12:06 +01:00
wmayer 9b6d4e2f12 do not require vtkParallelMPI on Win32 2016-11-11 15:26:22 +01:00
wmayer a138d1f2a2 add missing vtk component, use VTK_INCLUDE_DIRS for include dirs 2016-11-11 15:08:20 +01:00
Michele Renda ebfba0b863 [PATCH] Fix CMake VTK find_package, specifying which components are used. 2016-11-11 13:38:46 +01:00
wmayer 1df6da7df0 clear expression when setting constraint non-driving 2016-11-11 12:33:20 +01:00
wmayer 025cf18714 do not allow to delete properties in FeaturePythonPyT 2016-11-10 23:57:41 +01:00
Yorik van Havre f345501dec SVG rendering of Arch pipes 2016-11-10 19:27:49 -02:00
wmayer 7f96119321 fix regression in FeaturePythonPyT 2016-11-10 21:43:01 +01:00
wmayer b1b5e59364 fix regression from pr334 2016-11-10 21:07:52 +01:00
Yorik van Havre 2785e83281 Draft: small fix in svg production code 2016-11-10 16:17:36 -02:00
wmayer 53815e7aed use only Python API for FeaturePythonPyT 2016-11-10 13:37:30 +01:00
Stefan Tröger 26daea0c88 Remove unneeded console output 2016-11-09 21:47:01 -02:00
Stefan Tröger ad1cac3867 Fix PythonFeature Group persistance 2016-11-09 21:47:01 -02:00
wmayer 10bb1d6fea make FeaturePythonPyT more flexible 2016-11-09 22:02:42 +01:00
wmayer fc2bbf52f9 remove deprecated macros 2016-11-09 16:58:54 +01:00
wmayer 76279882da move handling of dynamic properties from FeaturePythonPyT to DocumentObjectPy 2016-11-09 16:09:21 +01:00
wmayer 07a2182674 remove obsolete class ViewProviderPythonFeaturePy 2016-11-09 12:15:15 +01:00
wmayer ebb174cd02 make class ViewProviderPythonFeaturePy obsolete 2016-11-09 11:39:27 +01:00
wmayer 3e2400aec1 dynamic properties:
+ move addProperty, removeProperty and supportedProperties from FeaturePythonPyT to DocumentObjectPy
2016-11-09 10:35:49 +01:00
Yorik van Havre c5911b660a Draft: fixed DXF export - fixes #2761 2016-11-08 21:49:36 -02:00
wmayer 569f5c77f9 dynamic properties:
+ reimplment addDynamicProperty and removeDynamicProperty in TransactionalObject to raise exceptions
+ move addProperty, removeProperty and supportedProperties from ViewProviderPythonFeaturePy to ViewProviderPy
2016-11-08 19:55:17 +01:00
Yorik van Havre 00b5dbfa2f Draft: Discretize projected arcs and ellipses - fixes #1612 2016-11-08 15:28:33 -02:00
wmayer f432c42370 move addDisplayMode from ViewProviderPythonFeaturePy to ViewProviderPy 2016-11-08 16:41:36 +01:00
wmayer 5f12a043fa fix several gcc warnings 2016-11-08 14:31:08 +01:00
wmayer 17c8b2c813 performance improvements
+ use const-reference as argument to avoid tmp. copy
+ use prefix incremation operator instead of postfix increment operator
2016-11-08 13:51:22 +01:00
wwmayer 85170b3d9f Merge pull request #333 from WandererFan/PreProd
TechDraw MultiView,ImageView,ShapeOutline
2016-11-08 13:34:53 +01:00
WandererFan 5bfdad804a Basic working ViewImage 2016-11-07 17:20:20 -05:00
WandererFan 4f511f663a Resolve minor merge conflict 2016-11-07 17:20:20 -05:00
WandererFan 256c5ed198 Allow True dimensions to reference multiple Parts 2016-11-07 17:20:20 -05:00
WandererFan 4eab324803 Basic working multipart View 2016-11-07 17:20:20 -05:00
WandererFan dc66106683 Create outline of 3D shape 2016-11-07 17:20:19 -05:00
WandererFan 06e8c6734d Fix scaled QGIViewSymbol boundingRect 2016-11-07 17:20:19 -05:00
wmayer a812ad2d5e copy fem mesh groups 2016-11-07 22:16:53 +01:00
ml 02b3883f7e Support for running specific unit tests without breaking existing tests with argument '0' 2016-11-07 15:38:12 +01:00
wmayer 6347d48449 remove duplicate and unused class 2016-11-07 12:28:22 +01:00
wmayer 57db39bf05 issue #0002760: The result of an 'Undo' is shown too late. 2016-11-06 21:06:28 +01:00
wmayer 3b961bcb5f + add convenience method recomputeFeature()
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
wmayer bbf5548899 break dependency to deleted object on rollback 2016-11-06 15:09:42 +01:00
wmayer 60e6ad2e52 issue #0002757: sketch editing not visible when it is in a part 2016-11-06 11:21:11 +01:00
wmayer 9fe82bfbb9 fixes #0002460: Use keyword 'explicit' for Quantity constructor 2016-11-05 23:21:42 +01:00
Yorik van Havre 96e1b3b16f Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-11-05 15:14:05 -02:00
Yorik van Havre 945d99f982 Draft: implemented dxf export of techdraw pages 2016-11-05 15:13:48 -02:00
wmayer ae8db048b6 support of unicode strings in saveImage function 2016-11-05 18:04:22 +01:00
wwmayer 6f4f92019a Merge pull request #330 from sliptonic/sliptonic/ProcessProfileHoles
Sliptonic/process profile holes
2016-11-05 13:27:51 +01:00
sliptonic 9a3711079c fix for direction/cutside bug 2016-11-04 15:04:32 -05:00
Yorik van Havre 0ea73730f9 Fixed defaut shortcuts for view rotation - fixes #2756 2016-11-04 16:26:19 -02:00
sliptonic cb843391a8 Patch from nahshon
http://forum.freecadweb.org/viewtopic.php?f=15&t=18148&sid=9dcb94b872e170a78e8940bd08880b92&start=10#p143439
2016-11-04 09:19:49 -05:00
Yorik van Havre c465ca261c Arch: Added preference setting to control linewidth of Draft objects seen by Arch Section Planes 2016-11-03 16:40:12 -02:00
Yorik van Havre 6951705835 Arch: Support for opening symbols - fixes #2353 2016-11-02 20:10:20 -02:00
Yorik van Havre b4ae2beb74 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-11-02 20:05:09 -02:00
Yorik van Havre fc41d84577 Merge pull request #329 from berndhahnebach/bhbdev055
FEM: option to split CalculiX input file
2016-11-02 17:39:55 -02:00
Yorik van Havre 64a7b9e129 Draft: Better method to project arcs to SVG - issue #1612 2016-11-02 17:06:48 -02:00
Bernd Hahnebach 45bd4e1ca1 FEM: example files, udate to new solver attributes 2016-11-02 18:09:48 +01:00
Bernd Hahnebach 20dfdbe6a9 FEM: solver, do not initialize the solver working directory, since it is eventually only used if it is left blank in preferences 2016-11-02 18:09:48 +01:00
Bernd Hahnebach c333e069ad FEM: ccx input file splitting, fix restore of pref 2016-11-02 18:09:48 +01:00
Bernd Hahnebach fc91712b85 FEM: ccx input file splitting, small improvements 2016-11-02 18:09:48 +01:00
vdwalts 0d8f42637c FEM: Add separate definitions for split AND non-split input writer files to FemInputWriterCcx.py 2016-11-02 18:09:48 +01:00
vdwalts 890b42a5d4 FEM: Add split input writer option to preferences dialog GUI 2016-11-02 18:09:48 +01:00
wwmayer 1ad6d8004e Merge pull request #328 from triplus/master
Part multiFuse enable SetRunParallel
2016-11-02 17:03:01 +01:00
Yorik van Havre e2e73af4ac TechDraw: Fixed solid rendering of Arch Views 2016-11-02 13:14:31 -02:00
triplus 3d26fec75a Part generalFuse enable SetRunParallel
Test case:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179&p=143225#p143225
2016-11-02 15:52:42 +01:00
triplus e892d09f2e Part multiFuse enable SetRunParallel
Forum discussion:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179

Test case:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179#p142663
2016-11-02 14:44:58 +01:00
Markus Lampert 26f73b4a0e Fixed consecutive abort of job editing and selection of current base object. 2016-11-02 10:58:35 +01:00
Markus Lampert 462c8b362a Support for Cancel in PathJob creation and editing. 2016-11-02 10:58:35 +01:00
Markus Lampert 1fb504e2bd On PathJob creation pre-select the currently selected object. 2016-11-02 10:58:35 +01:00
Markus Lampert 351c605db3 Fixed enumeration issue for task panel. 2016-11-02 10:58:35 +01:00
Markus Lampert 422ac087ed Improved default behaviour and removed output-policy from job settings. 2016-11-02 10:58:35 +01:00
Markus Lampert 18791037be Switched job assignments to be empty which uses the default from the prefrences - if no preferences can't be found the user is prompted. 2016-11-02 10:58:35 +01:00
ml e1a5b9a9e1 Added suppor for default OutputFile with templates and a policy on how to deal with file name conflicts. 2016-11-02 10:58:35 +01:00
ml a3c4903d9b Added tooltip processing to the job preferences page. 2016-11-02 10:58:35 +01:00
ml cfca656d66 Refactored post processor into its own class, concentrating all post processor script operations. 2016-11-02 10:58:35 +01:00
ml 4865a2c39d Refactored post processor into its own class, concentrating all post processor script operations. 2016-11-02 10:58:35 +01:00
ml f5f85eba70 Basic Job preferences dialog 2016-11-02 10:58:35 +01:00
ml 4262094bb6 Consolidated finding post processor scripts into class method. 2016-11-02 10:58:35 +01:00
ml 6b69276342 Fixed post processors and Command constructor (wasn't dealing with parameters being optional). 2016-11-02 10:58:35 +01:00
ml eb9e9096ce Cleaned up Machine removal. 2016-11-02 10:58:35 +01:00
ml 3d3a63deaf Added contributed post-processor scripts. 2016-11-02 10:58:35 +01:00
Markus Lampert 98e93d329f Added reloading of post processor to pick up user changes in the script in case they edited it. 2016-11-02 10:58:35 +01:00
Markus Lampert c2fcb11a7d Sort Post Processor list for dialog and make 'dumper' the default if none is set in the preferences. 2016-11-02 10:58:35 +01:00
Markus Lampert 8e01827dab Path preferences for default post processor and arguments. 2016-11-02 10:58:35 +01:00
Markus Lampert 67e3b13c13 Added tooltip support for PostProcessor scripts. 2016-11-02 10:58:35 +01:00
Markus Lampert da94fb506a Added argument support for post processors - examples in linuxcnc_post.py. 2016-11-02 10:58:35 +01:00
WandererFan 84161038c2 MSVC syntax fix 2016-11-01 20:02:15 -04:00
WandererFan c8f380516a Fix accented characters within SVG symbol 2016-11-01 20:02:15 -04:00
Yorik van Havre 195ea429e6 Arch: fixed rotation of space labels in techdraw 2016-11-01 18:53:48 -02:00
Yorik van Havre 7338398540 Updated Arch detail example file 2016-11-01 00:44:20 -02:00
Yorik van Havre 253907d15f Draft: temporary workaround for techdraw with no utf 2016-10-31 23:54:13 -02:00
Yorik van Havre c0ca2705b7 Arch: minor fix in strucutral nodes calculaiton 2016-10-31 23:53:30 -02:00
wmayer e75fe0d6e3 fix compiler warning 2016-10-31 21:31:35 +01:00
wmayer 6c58963ba5 fix compiler warning 2016-10-31 16:13:16 +01:00
Yorik van Havre 4ee8a2a53d Arch: Section planes can now also include Draft stuff (dimensions, etc) 2016-10-31 11:10:08 -02:00
Yorik van Havre 23c4faf1e9 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-10-31 11:07:59 -02:00
WandererFan 73aea7140d Fix test script to match new code
Fix nullptr bug revealed by bad test script!
2016-10-31 11:06:15 -02:00
WandererFan 83d657985c Fix Travis error re variable length arrays 2016-10-31 11:06:15 -02:00
WandererFan 6e7c4bc838 Rename "Document" selection value to "Page" 2016-10-31 11:06:15 -02:00
WandererFan cd87af3746 Allow manual repositioning of ProjGroup views 2016-10-31 11:06:15 -02:00
WandererFan 70b5c241d1 AutoScaling Fixes for non-DVP objects 2016-10-31 11:06:15 -02:00
WandererFan a5a20701a7 Fix ProjectionGroup Automatic scaling 2016-10-31 11:06:15 -02:00
WandererFan a912ccd9bb Correct delayed update when adding views to ProjectionGroup 2016-10-31 11:06:15 -02:00
WandererFan 6abce56595 Dimension fixes
Prevent _M_range_check on wrong selection

Allow unlinking of linked Dimension

Allow Horiz/Vert projected Dims
Improve error msg for invalid selction
2016-10-31 11:06:15 -02:00
WandererFan a662cad5be Section Rebuild subproject
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan a82a50a60f Fix ProjectionGroup Directions 2016-10-31 11:06:15 -02:00
WandererFan a51b3f7b11 Add Caption property to Views 2016-10-31 11:06:15 -02:00
WandererFan ce9f4f199a Fix XAxis orientation
Remove need for XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan 2f6a779205 Allow hatching of section face 2016-10-31 11:06:15 -02:00
WandererFan 10e03f6c64 Coverity Fixes
*** CID 153360:  Control flow issues  (UNREACHABLE)
*** CID 153359:  Uninitialized members  (UNINIT_CTOR)
*** CID 153358:  Resource leaks  (RESOURCE_LEAK)
*** CID 153354:  Null pointer dereferences  (FORWARD_NULL)
2016-10-31 11:06:15 -02:00
wmayer eda5d7ac6e fix warning with msvc2013 2016-10-31 13:52:08 +01:00
wwmayer e5045f72e9 Merge pull request #325 from KeithSloan/hull_fix
Fix for Import CSG to avoid loop on Hull request for 2D
2016-10-29 15:30:25 +02:00
wwmayer e4481982fe Merge pull request #323 from wood-galaxy/webgl-fix-mesh-export
Fix webgl export for mesh based object
2016-10-29 15:29:50 +02:00
qingfengxia 1f34562354 Fem: clean debug comments in FemVTKTools.cpp and AppFemPy.cpp 2016-10-29 15:12:18 +02:00
qingfengxia 2d29983be7 Cfd: add vtk result import feature 2016-10-29 15:12:18 +02:00
qingfengxia bafbc14fc8 Fem: make FemResultObject droppable into FemAnalysis 2016-10-29 15:12:18 +02:00
qingfengxia b0273a0736 Fem: add CfdResult import for FemPostPipeline 2016-10-29 15:12:18 +02:00
qingfengxia 72be9094ea Fem: add feature off vtk unstructured mesh import and export 2016-10-29 15:12:18 +02:00
wmayer 9ff8260608 + remove GeomHermiteCurve class and add its methods to GeomBSplineCurve 2016-10-29 15:08:17 +02:00
Keith Sloan b031765072 Fix for Import CSG ito avoid loop on Hull request for 2D 2016-10-29 12:12:44 +01:00
Jonathan Wiedemann a83e6f9b48 Fix webgl export for mesh based object 2016-10-29 00:01:03 +02:00
Yorik van Havre 85534c7014 Draft: Allow to override system unit in dimensions 2016-10-28 18:08:13 -02:00
wmayer 9cbcb36280 expose methods to Python to get normal, curvature and center of curvature for curve 2016-10-28 21:19:27 +02:00
wmayer b59bbfffec Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-10-28 21:17:18 +02:00
wmayer 35cb586d44 scale size of loaded image from pixel to mm 2016-10-28 21:16:52 +02:00
Yorik van Havre 801f36cc39 Arch: cosmetic fixes in task panels 2016-10-28 17:14:41 -02:00
Yorik van Havre 54a8e856cc TechDraw: Arch View 2016-10-28 14:58:22 -02:00
Yorik van Havre 5f12a793cc Arch: Fixed small mistake in last recode 2016-10-28 14:56:37 -02:00
Yorik van Havre 65aaf16201 Arch: massive rewrite of extrusion-based Arch objects and IFC export 2016-10-27 15:08:16 -02:00
Yorik van Havre bd8a296be6 Draft: fixed bug in Facebinder + added Extrusion property 2016-10-26 18:02:26 -02:00
wmayer 52980057bf add missing header 2016-10-26 11:23:02 +02:00
wmayer 18a5ff83b1 add support of Hermite curves 2016-10-26 10:28:23 +02:00
wmayer 761d684c79 issue #0000353: Graphical selection 2016-10-24 18:20:18 +02:00
wmayer cb996431e6 update documentation 2016-10-24 16:59:12 +02:00
sliptonic 5ebb079afb really ugly icons.
Maybe someone with talent will help.
2016-10-24 12:49:57 -02:00
sliptonic 0dfbfda195 fix for tool edit index bug. 2016-10-24 12:49:57 -02:00
wmayer b34f58a492 fix several memory leaks:
SketchObject::delGeometry
SketchObject::delExternal
SketchObject::delAllExternal
SketchObject::validateExternalLinks
2016-10-24 16:32:18 +02:00
wmayer bf129d3a33 fix memory leak in SketchObject::transferConstraints 2016-10-24 14:35:24 +02:00
wmayer 9c1134940b fixes #0002502: Inconsistent selection 2016-10-24 01:49:24 +02:00
wmayer d5f02ffde3 fix i18n issues in feature pick panel 2016-10-24 00:34:56 +02:00
wwmayer 16b948ba3a Merge pull request #320 from triplus/master
Name the DrawStyle commands
2016-10-23 18:48:26 +02:00
triplus edb5719630 Merge branch 'master' into master 2016-10-23 16:29:33 +02:00
triplus 07971aa4f2 Name the DrawStyle commands 2016-10-23 16:18:58 +02:00
wmayer efff1b7773 fix linking failure with gcc/clang 2016-10-23 14:10:01 +02:00
wmayer 222e9b6b46 replace hard coded numbers with static constants 2016-10-23 13:44:26 +02:00
wmayer d259aa0784 issue #0002744: FR: check box to export STEP w/without pcurves 2016-10-22 19:44:11 +02:00
Yorik van Havre 96e9b7ee5b Arch: fixed typo in IFC import 2016-10-22 13:24:28 -02:00
wmayer 21260aea61 extend creation of preferences pages from Python 2016-10-22 16:48:02 +02:00
wmayer 01996d8f13 introduce flag to skip recomputes of a document when needed 2016-10-21 22:23:34 +02:00
wmayer 9c49a0bab1 issue #0001649: Changing names on Pads does not change them everywere 2016-10-21 15:45:50 +02:00
wmayer 991d766001 issue #0001649: Changing names on Pads does not change them everywere 2016-10-21 15:40:26 +02:00
wmayer 36b3d331fd issue #0001649: Changing names on Pads does not change them everywere 2016-10-21 15:38:45 +02:00
wmayer 58cb2e2ddc issue #0001649: Changing names on Pads does not change them everywere 2016-10-21 15:33:43 +02:00
wmayer c92dbb3269 issue #0001649: Changing names on Pads does not change them everywere 2016-10-21 15:19:20 +02:00
wmayer 6d5f7650ab allow to create SelectionObject from SelectionChanges structure 2016-10-21 14:56:29 +02:00
wmayer 6fef24f676 replace const char* with QString in removeItemFromListWidget 2016-10-21 13:48:45 +02:00
wmayer e178501c4f install missing file 2016-10-21 12:09:06 +02:00
wmayer 6b1866ccaf issue #0002631: Ctrl-W Doesn't Close Window 2016-10-20 09:46:28 +02:00
wmayer 3e82b3b10d fix Windows build failure 2016-10-20 01:37:49 +02:00
Yorik van Havre dca8fd7334 Arch: fixed bug in schedule generation 2016-10-19 18:17:57 -02:00
Yorik van Havre fff123c474 Arch: fixed offset property of panels 2016-10-19 17:13:39 -02:00
Yorik van Havre f3c9a03613 Arch: Make clones take dimension properties of their master object 2016-10-19 17:03:05 -02:00
Yorik van Havre 7dbf19f2a3 Path: added Path.fromShape() python function - fixes #2423 2016-10-19 15:50:57 -02:00
wmayer 32fff898bd issue #0002711: TAB key switches between Additive Cylinder creation parameters in reverse order 2016-10-19 19:27:46 +02:00
ml f0d6939bcd Fixed adaptive bone length, made it the default again. 2016-10-18 16:53:04 -07:00
ml d6e75ff4f3 Disabling debugging and smooth paths for PR. 2016-10-18 16:53:04 -07:00
ml 23713a2c51 Smooth path with fillets. 2016-10-18 16:53:04 -07:00
ml 0ba1030163 Start of smoothing the bone path. 2016-10-18 16:53:04 -07:00
ml a2dbefcef2 Better naming, also for properties. 2016-10-18 16:53:04 -07:00
Markus Lampert a4b987157f Replaced homebrewn cancel support with using a transaction. 2016-10-18 16:53:04 -07:00
ml 144b385fe8 Added support for cancelling an edit session and restore the original properties. 2016-10-18 16:53:04 -07:00
ml f6fb8ede40 Added tooltips and label for distance. 2016-10-18 16:53:04 -07:00
ml be40ab79cd Added another safety check. 2016-10-18 16:53:04 -07:00
ml 0ae6a862db Fixed Group issue on fetching the tool; - added recursive parent traversal to deal with dressups and dressups of dressups ... 2016-10-18 16:53:04 -07:00
Markus Lampert 892b2522d2 Fixed refactoring issue 2016-10-18 16:53:04 -07:00
Markus Lampert 77a9dc53fd Added support for dressing up another dogbone dressup. 2016-10-18 16:53:04 -07:00
Markus Lampert 8653c60821 Update bone enable/disable list when settings change. 2016-10-18 16:53:04 -07:00
Markus Lampert ea5805e6e7 Sorting dressup menu 2016-10-18 16:53:04 -07:00
markus dd1852368b Added Dogbone to the deployment files. 2016-10-18 16:53:04 -07:00
ml 15c1d153c4 Added adaptive length algorithm. 2016-10-18 16:53:03 -07:00
ml c70cd7b21e Added support for custom lengths. 2016-10-18 16:53:03 -07:00
ml c474b7c50a Added support for enabling and disabling individual bones in the dressup. 2016-10-18 16:53:03 -07:00
ml 089708947d Basic task panel. 2016-10-18 16:53:03 -07:00
ml dffb449fbd Fixed selection of the job for post processing. 2016-10-18 16:53:03 -07:00
ml ebb5bb9ef9 Added support for t-bone long/short edge attachment. 2016-10-18 16:53:03 -07:00
ml 3742eb12fb Added support for vertical t-bones. 2016-10-18 16:53:03 -07:00
ml bbbbe86218 Added support for horizontal t-bones. 2016-10-18 16:53:03 -07:00
ml 43066f98b6 Fixed initial Side determination for CCW paths. 2016-10-18 16:53:03 -07:00
ml 92eaeabc4c Fixed angle calculation for none-square angles. 2016-10-18 16:53:03 -07:00
ml bc696aa84a Added automatic side selection based on Base object. 2016-10-18 16:53:03 -07:00
ml bc38ecccba Basic dogbone dressup for profiles. 2016-10-18 16:53:03 -07:00
wmayer ec0f8082b2 support more Qt options 2016-10-18 13:53:31 +02:00
wmayer fbaf3a1bbc implement method to get GeomSurface from Geom_Surface 2016-10-17 22:39:17 +02:00
wmayer 2502526e4e extend API of several surface types 2016-10-17 21:59:20 +02:00
wmayer 7baeb6e51a simplify generic version of uIso/vIso 2016-10-17 19:04:52 +02:00
wmayer 12c3fde399 fix resource leaks 2016-10-17 16:35:16 +02:00
wmayer 1dbdfc276a fix build failure with older occ version 2016-10-17 16:15:53 +02:00
wmayer 5365678f72 implement generic uIso/vIso methods in GeometrySurfacePy 2016-10-17 16:10:33 +02:00
wwmayer 1f1cd3379e Merge pull request #315 from berndhahnebach/bhbdev054
FEM group meshing
2016-10-17 13:10:59 +02:00
wwmayer c685bd2422 Merge pull request #314 from sliptonic/bugfix
misc regression bugs
2016-10-17 12:51:29 +02:00
Bernd Hahnebach fbca90d0a5 FEM: FemMeshTools, add some methods to retrieve shape elements from Reference shapes for group meshing 2016-10-17 11:23:12 +02:00
Bernd Hahnebach 746ee873aa FEM: constraint pressure, move geting the faces from FemInputwriterCcx to FemInputWriter and FemMeshTools module 2016-10-17 11:23:07 +02:00
Bernd Hahnebach 6ab0937ea0 FEM: input writer ccx, most constraints, use nodes from group data if available 2016-10-17 11:22:57 +02:00
tomate44 d6f2446e57 add uIso and vIso methods to SurfaceOfExtrusion 2016-10-17 10:43:56 +02:00
sliptonic 2f093d74cb misc regression bugs
Translation strings.
dragknifedressup now uses job instead of project
2016-10-16 13:07:40 -05:00
wmayer 1329857359 issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 18:03:45 +02:00
wmayer b322668d4e issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 17:35:08 +02:00
wmayer 43eb0899db fix -Wunused-paremeter 2016-10-16 15:47:53 +02:00
wmayer 2c5c0c2347 set directory of file dialog when opening file by double-click, recent files list or drag and drop 2016-10-16 14:47:13 +02:00
wmayer e71e4bf562 update copyright text 2016-10-16 11:51:23 +02:00
AjinkyaDahale 7535d7a1d1 Shortened decimal check code in QuantitySpinBox 2016-10-16 09:30:49 +02:00
wmayer 001ebc0b70 issue #0002733: Preferences dialog box 2016-10-16 08:14:29 +02:00
Yorik van Havre 91f94443ab Arch small fixes in windows 2016-10-15 19:48:48 -03:00
Yorik van Havre 664e6fbb27 Arch: Added louvres support to windows 2016-10-15 16:13:43 -03:00
sliptonic 8d0af8fcbf PathSurface now uses base object from job.
This means Surface won't work on Meshes directly.
They should be converted so FreeCAD solids first.
Surface still needs lots of work.
2016-10-15 15:25:54 -03:00
sliptonic df38242063 Edge Profile operation 2016-10-15 15:25:54 -03:00
sliptonic 05ff7e40d5 menu cleanup 2016-10-15 15:25:54 -03:00
sliptonic 2f04ea9586 Drilling handles multiple locations
Jog rates started
Automatically create default tool in new job.
2016-10-15 15:25:54 -03:00
sliptonic e790963a45 Another attempt at getting pocket output to consistently include feedrate 2016-10-15 15:25:54 -03:00
sliptonic bbb7c83d44 Making toolcontrollers selectable from operations 2016-10-15 15:25:54 -03:00
sliptonic 5398c58d6b Tool Library replaces ToolTable Job replaces Project 2016-10-15 15:25:54 -03:00
Sergo c08202a520 remove make_unique call 2016-10-15 17:41:56 +02:00
Sergo be249f902d PD: add SelectionFilterGate to filter dependents, fix mirror taskview 2016-10-15 17:41:56 +02:00
Sergo cdf437445c PD: fix #0002582 2016-10-15 17:41:56 +02:00
Yorik van Havre 8c59d59c48 Arch: alternate export method for schedules 2016-10-15 12:22:37 -03:00
wmayer a68364e913 issue #0002712: Can't use more than one decimal in dimension 2016-10-15 16:27:38 +02:00
Yorik van Havre c3a6ac7a7d Arch: Fixed misc bugs in schedule 2016-10-14 17:16:58 -03:00
wmayer ccbd0f02af extend function to mark all selected objects for recompute or all objects of a document 2016-10-14 21:40:05 +02:00
Yorik van Havre 5fa34f519e Arch: Added wave properties to panels 2016-10-14 15:55:09 -03:00
wmayer 3e041850f7 when using --single-instance option make relative path names absolute 2016-10-14 18:01:11 +02:00
Yorik van Havre d515fbc05a added export button to arch schedule UI 2016-10-13 18:57:20 -03:00
Yorik van Havre b8163a03dc Arch: Added NodesOffset property to Structures 2016-10-12 20:20:09 -03:00
Yorik van Havre 33c7ec80c8 Added "mark to recompute" action to tree view 2016-10-12 17:35:01 -03:00
wwmayer ba4f981f3b Merge pull request #308 from bblacey/travis-mac
macOS builds on Travis Optimizations/Cleanup in advance of 10/31 Trav…
2016-10-12 15:25:21 +02:00
Bruce B. Lacey ceb75f0afd macOS builds on Travis Optimizations/Cleanup in advance of 10/31 Travis infrastructure changes
- Leverage FreeCAD/freecad.rb formula --with-packing-utils option
   - Set -DFREECAD_USE_EXTERNAL_PIVY=ON
   - Minimize brew update to reduce build time
   - Eject 3DxWare image after install for appdmg packaging compatability
   - Removed libgdal work-around (no longer needed)
   - Set the GitHub upload asset retention to 1 for sgrogan ;)
2016-10-11 21:43:37 -07:00
Yorik van Havre c8059f2631 Draft: removed debug message 2016-10-11 19:29:08 -03:00
wmayer 356723f121 revert some unneeded changes on netgen plugin 2016-10-11 20:54:36 +02:00
looooo 9f7848aeac missing #if NETGEN_VERSION < 6 2016-10-11 20:54:36 +02:00
looooo 73b6fdfed7 update smesh-netgen interface to netgen version 6.1 2016-10-11 20:54:36 +02:00
Bruce B. Lacey 77cfdfffa6 Fix FindNETGEN.cmake to properly set netgen search path to HOMEBREW_PREFIX, when using homebrew, instead of the netgen cellar 2016-10-10 13:38:21 -03:00
Yorik van Havre 413ce83d00 Arch: allow to toggle nodes on/off when editing structures - issue #2356 2016-10-10 11:45:07 -03:00
Yorik van Havre f8bb9ec90f Arch: Added tools to extend and connect nodes - issue #2356 2016-10-10 00:21:35 -03:00
Yorik van Havre e8e10ed05d Arch: Allow to manually edit structural nodes - issue #2356 2016-10-09 23:18:23 -03:00
Yorik van Havre 9914f3690e Arch: Allow planar structural nodes for slabs - issue #2356 2016-10-09 23:17:49 -03:00
wmayer 58359dd0ba issue #0002723: Vertex ordering of Face 2016-10-09 23:33:23 +02:00
wmayer 776c0bd720 fix crash when creating a second view and closing the first view while the dragger task panel is open 2016-10-09 22:16:21 +02:00
wmayer f712e1cfc3 move disabling of some commands to task panel 2016-10-09 19:45:30 +02:00
Yorik van Havre 0704ad0b71 Draft: Fixed parametric dimensions - fixes #1804, #2614 2016-10-09 14:20:05 -03:00
wmayer 3cac7be520 issue #0002724: Redirecting messages to Python console apply issue. 2016-10-09 18:47:11 +02:00
wmayer ff1b9dde41 issue #0002687: zoomin/out during transform 2016-10-09 18:32:18 +02:00
wmayer c1b1646e2e remove superfluous semicolons 2016-10-09 14:00:58 +02:00
wmayer a90907530f issue #0002714: Segfault in PropertyLinkSubList::Save 2016-10-09 13:49:57 +02:00
wwmayer f2a84b0364 Merge pull request #305 from bblacey/develop
Exit application with non-zero general error status code if an except…
2016-10-09 11:18:34 +02:00
Bruce B. Lacey 400891fcfe Exit application with non-zero general error status code if an exception is raised 2016-10-08 15:57:50 -07:00
Keith Sloan e0b9e29db9 Tidy up of text command support 2016-10-08 22:15:28 +02:00
wmayer b4020f2cc8 fix bug in generation script 2016-10-08 18:48:27 +02:00
wmayer b17ae2a922 fix warnings in smesh 2016-10-08 18:23:04 +02:00
wmayer 68ea7fdac5 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer 6d3e2a396a set -Wextra as default 2016-10-08 15:28:51 +02:00
wmayer 09028b0a7f + fix -Wunused-parameter 2016-10-08 15:13:56 +02:00
wmayer 8a21cd4daa fix crash in DocumentIndex::cloneViewProvider 2016-10-08 12:48:34 +02:00
wmayer 9ac1810ea3 Fix issues:
+ improve formatting
+ remove superfluous semicolons
+ comment unused parameters
+ rename Initialisation to Initialization
+ rename Deinitialisation to Finalization
+ remove spaces
2016-10-08 12:48:34 +02:00
Stefan Tröger 3a51404dd5 Extenions: Drop virtual inheritance
Due to problems onthe windows platform the virtual inheritance approach must be dropped. NExt to the already reimplemented proeprty interface the Type interface is reimplemented too. This change allows to revert some earlier changes.
2016-10-08 12:48:34 +02:00
Stefan Tröger a79b48bbcc Fix rebase errors 2016-10-08 12:48:34 +02:00
Stefan Tröger 790413fdce Extensions: Windows fixes 2016-10-08 12:48:34 +02:00
Stefan Tröger 558e128b39 Extensions: Revert few changes after restructuring 2016-10-08 12:48:34 +02:00
Stefan Tröger b7d2943217 Remove accidently added .orig files 2016-10-08 12:48:34 +02:00
Stefan Tröger 15b14783d1 Extensions: Handle static/dynamic cast
After the change of the virtual inheritance position in the inheritance chain some
formally added dynamic_cast's can be reverted to the old behaviour
2016-10-08 12:48:34 +02:00
Stefan Tröger b101b11c67 Extensions: Fix rebase error 2016-10-08 12:48:34 +02:00
Stefan Tröger 3977ce71c6 Extensions: Add type safety to PropertyData again 2016-10-08 12:48:34 +02:00
Stefan Tröger 22fa3b3922 Extension: Fix order-of-initialisation crash
FreeCADs property system utilises some pointer math to calculate the offset between
property and base class. Due to virtual inheritance of th ePropertyContainer the memory
layout has been changed to rather random, which has lead to crashes dependend on the
order of object initialisation.

The solution is to not make PropertyContaner virtual but a class below, Base::Persitance.
Then the memory layout is random for Persistance, but it is perfectly aligned for the
base class chains from PropertyContainer onwards as well as from Extension onwards.
Hence the proeprty system was changed to take the offset always from those two.
2016-10-08 12:48:34 +02:00
Stefan Tröger 773c79d6b6 Extensions: Fix crash due to wrong reference count 2016-10-08 12:48:34 +02:00
Stefan Tröger 9260b61948 Extension: Dont override PythonFeature proxy name 2016-10-08 12:48:34 +02:00
Stefan Tröger b27875a777 Extension: Delete extensions correctly 2016-10-08 12:48:34 +02:00
Stefan Tröger 258be36aad Extensions: Handle new dynamic_cast's 2016-10-08 12:48:34 +02:00
Stefan Tröger ab692a4c08 Extensions: Fix visibility restore issue 2016-10-08 12:48:34 +02:00
Stefan Tröger ed32752674 Extensions: Add ViewProvider extension python types 2016-10-08 12:48:34 +02:00
Stefan Tröger 51632426a0 Extension: Port ViewProvider of Part 2016-10-08 12:48:34 +02:00
Stefan Tröger fe32f03e63 Extension: Port ViewProvider of OriginGroup 2016-10-08 12:48:34 +02:00
Stefan Tröger 261798da2e Extensions: Port ViewProvider of GeoFeatureGroup 2016-10-08 12:48:34 +02:00
Stefan Tröger cd53eb2280 Remove redundant drag'n'drop interface
In the long time of parallel assembly development an own drag'n'drop interface has been added to master and assembly branch. After merge both have been available. This commit removes one and keeps the more extensive implementation
2016-10-08 12:48:34 +02:00
Stefan Tröger 0a539538de Extensions: Port ViewProvider of groups 2016-10-08 12:48:34 +02:00
Stefan Tröger 8c002f1709 Extensions: Introduce ViewProviderExtension 2016-10-08 12:48:34 +02:00
Stefan Tröger 1287f3007a Extensions: Fix rebase errors 2016-10-08 12:48:34 +02:00
Stefan Tröger 594bb4fecd Extensions: Add Documentation 2016-10-08 12:48:34 +02:00
Stefan Tröger 44d1ee0157 Extension: Fix test case 2016-10-08 12:48:34 +02:00
Stefan Tröger a8cf9a1fb0 Extensions: Fix include 2016-10-08 12:48:34 +02:00
Stefan Tröger 7bcb6519cc Extensions: Make Python Integration work 2016-10-08 12:48:34 +02:00
Stefan Tröger 93222098f0 Extensions: Allow them to be added dynamically 2016-10-08 12:48:34 +02:00
Stefan Tröger c47c34edff Extensions: bring files in correct order 2016-10-08 12:48:34 +02:00
Stefan Tröger a8d0accdad Extensions: special calls for document object extensions 2016-10-08 12:48:34 +02:00
Stefan Tröger 4c42181e34 Extensions: Show up in the python interface 2016-10-08 12:48:34 +02:00
Stefan Tröger c5a2419e14 Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
Yorik van Havre a50bd5dc88 Made Path objects properties translatable - fixes #2524 2016-10-07 22:21:02 -03:00
Yorik van Havre 17a24a4b27 Made Draft objects properties translatable - issue #2524 2016-10-07 21:55:26 -03:00
Yorik van Havre dabccc40b6 Made Arch objects properties translatable - issue #2524 2016-10-07 21:37:15 -03:00
wwmayer 11bbb9e8aa Merge pull request #299 from triplus/master
Fix NameError when test is run in console mode
2016-10-07 21:43:43 +02:00
kgoao 14b45107ce FEM: ConstraintPressure: Arrow direction bug fix 2016-10-07 15:05:28 -03:00
DeepSOIC 5936a2db82 Part: Py API: fix memory leak in Part.Vertex.Point
fix #2728
2016-10-07 15:02:14 -03:00
WandererFan 18302203cb Fix print size issue from pan/zoom mods 2016-10-07 14:55:58 -03:00
Yorik van Havre b48ac103f2 Merge pull request #300 from bblacey/develop
Improved macOS CI builds (declarative dependencies, robust ports-cach…
2016-10-07 14:54:07 -03:00
Bruce B. Lacey 2707ea9af8 Improved macOS CI builds (declarative dependencies, robust ports-cache, custom bottles, ports upgrade)
- Ports dependencies are now declared in FreeCAD formula hosted at FreeCAD/homebrew-freecad/freecad
  - Ports-cache will match on the homebrew major.minor sub-version to increase cache hits during CI builds
  - FreeCAD-specific bottles deployed to FreeCAD/homebrew-freecad (micro-caches)
  - Travis builds request Xcode6.4 on macOS 10.10 dist (10.9 dust is deprecated and will be removed from Travis on 10/31)
  - Salome Med-File and 3DxWare drivers upgraded

Additional details in forum post http://forum.freecadweb.org/viewtopic.php?f=10&t=17832
2016-10-06 21:25:55 -07:00
Yorik van Havre 6861574346 Arch: Added several properties to Equipment, Space, Floor & Site needed for gbXML - issue #2543 2016-10-06 22:35:45 -03:00
triplus 941069e237 Was a bit to quick the first time with the commit. 2016-10-06 20:58:38 +02:00
triplus bca2792f11 Fix NameError when test is run in console mode
http://forum.freecadweb.org/viewtopic.php?f=10&t=17818
2016-10-06 20:43:39 +02:00
Yorik van Havre 7ef31e499c Draft: Disabled builtin ctrl+z shortcut in wire drawing (indicated UI shortcut works) - fixed #2696 2016-10-06 11:23:54 -03:00
WandererFan f343f8e78f Fix clang complaint about const char*
Remove u8 literal for MSVC2013
2016-10-06 11:00:35 -03:00
WandererFan 6b4352f79f Rename properties to fit PropertyEditor window 2016-10-06 11:00:35 -03:00
WandererFan c8f4de5fbc Fix #2707 hidden seam/smooth lines 2016-10-06 11:00:35 -03:00
WandererFan ae5798434a Add options for face detection and cut face edge display 2016-10-06 11:00:35 -03:00
WandererFan 62328bb54c Prepare App side for "show units" preference 2016-10-06 11:00:35 -03:00
WandererFan 8d139816e3 fix utf8 regression caused by a12ecd49 2016-10-06 11:00:35 -03:00
WandererFan 001bbf52d6 Performance Ph2 2016-10-06 11:00:35 -03:00
Bernd Hahnebach 3cf036de4c FEM: pref, if ccx standard path and ccx path are not set, set ccx standard to true 2016-10-05 13:08:47 +02:00
Bernd Hahnebach 469f22da43 FEM: fix, some python objects could not be added by python 2016-10-05 13:08:47 +02:00
fandaL 0ea42e88ce FEM: fix in inp reader, include relative path 2016-10-05 13:08:47 +02:00
Yorik van Havre 024fe267f4 Merge branch 'PartFaceMakers3_fixup2' of https://github.com/DeepSOIC/FreeCAD-ellipse into f 2016-10-04 17:59:34 -03:00
Yorik van Havre ebc1d92893 Arch: New-style Arch Site - fixes #2634 2016-10-04 16:04:09 -03:00
Yorik van Havre 35811f7e3c Added new property type App::PropertyVolume 2016-10-04 16:02:30 -03:00
DeepSOIC d21f339a0f Part: Extrude, Revolve: fix #2720 - relax action of Solid=true
When facemakers were introduced, Solid property of Revolve and Extrude
was made strict: it calls facemaker if Solid==true, and facemaker would
fail if shape being extruded/revolved is a face.

This is fixed by testing there are no faces in source shape prior to
calling facemaker.
2016-10-04 21:51:58 +03:00
wmayer 5a88307e3e support creating Python workbench with fcbt 2016-10-04 19:40:47 +02:00
wmayer 034cc0013e add template for Python workbench 2016-10-04 19:29:53 +02:00
DeepSOIC 7b70711fb3 Part: FaceMaker: check if instance is actually created.
Part::FaceMaker::ConstructFromType() could return null pointer if
abstract class type is supplied.

Here, it is fixed by checking for null pointer in facemaker itself,
rather than in every place  ConstructFromType is being used.
2016-10-04 10:03:19 +02:00
Bernd Hahnebach 56b153070d FEM: use group data for multi body material analysis, if available 2016-10-03 21:46:44 -03:00
Bernd Hahnebach 8a0b745b2a FEM: FemMeshTools, small changes in femelements_count_ok 2016-10-03 21:46:44 -03:00
Bernd Hahnebach a1fe777626 FEM: CaluliX inpfile writer, print file writing time 2016-10-03 21:46:44 -03:00
Yorik van Havre a176b99ca3 Draft: support dimension ticks on Drawing pages 2016-10-03 17:06:16 -03:00
wmayer 27cf73acab suppress warning caused by shiboken header file with gcc 2016-10-02 20:13:02 +02:00
wmayer 147788d8d8 make color dialog in material panel modal but apply color directly to shape 2016-10-02 19:58:08 +02:00
wmayer ddd4c4560c support to auto change color when color dialog is modal 2016-10-02 19:57:01 +02:00
wmayer c833136cde handle possible crashes with FaceMaker and fix a few coding flaws 2016-10-02 14:47:59 +02:00
DeepSOIC 65a935f9ae Show: more general Body detection
Doesn't affect anything in master functionality, but is required for my
custom branch where there is another kind of body.
2016-10-02 12:33:36 +02:00
DeepSOIC 316210fe0f PartGui: Attachment: object unpickable and transparent 2016-10-02 12:33:36 +02:00
DeepSOIC 7e32de2f55 Show: add methods to make stuff unpickable
TempoVis.setUnpickable(App.ActiveDocument.Box) makes box transparent to
mouse clicks, i.e. impossible to select.
2016-10-02 12:33:36 +02:00
DeepSOIC c72a61641c Part: Py API: deprecate Part.Face.makeOffset 2016-10-01 23:13:44 +03:00
DeepSOIC c7f975279c Part: Offset2D: rewrite to use FaceMaker
new features supported:
* fill offset in collective mode when result wires are closed
* offsetting faces in collective mode

Remaining TODOs:
- collective offset of open wires in "skin" mode
2016-10-01 23:13:44 +03:00
DeepSOIC 1757f70cdf Part: Py API: add methods to use FaceMakers
* new Part.Shape.Face() constructor footprints with facemaker class
supplied as string mane of C++ class.
* add Part.makeFace method that uses facemaker.
2016-10-01 23:13:44 +03:00
DeepSOIC 320763d78a PartDesign: port to use FaceMaker
Minimalistic port. Only re-use code that was duplicate before.
2016-10-01 23:13:44 +03:00
DeepSOIC da52d8ea70 Part: TopoShape: deprecate solid flag for revolve method 2016-10-01 23:13:44 +03:00
DeepSOIC 199d3edf13 Part: Revolve: port to use FaceMaker
For old documents, default to old behavior. For new objects, default to
use FaceMakerBullseye
2016-10-01 23:13:44 +03:00
DeepSOIC 399cb4bda3 Part: Extrude: port to use FaceMaker
For old documents, default to old behavior. For new objects, default to
use FaceMakerBullseye
2016-10-01 23:13:44 +03:00
DeepSOIC 86ada8e8ae PartGui: Face: support not only sketches 2016-10-01 23:13:44 +03:00
DeepSOIC e898789cba Part: Face: use facemakers
For old documents, default to FaceMakerCheese. For newly created
objects, use FaceMakerBullseye
2016-10-01 23:13:44 +03:00
DeepSOIC 12d33e841f Part: register facemaker classes into typesystem 2016-10-01 23:13:44 +03:00
DeepSOIC 02286a21d1 Part: implement facemakers: FaceMakerCheese, FaceMakerBullseye
FaceMakerCheese: based on code extracted from Part FeatureExtrude,
exactly the same as facemaking code in PartDesign.

FaceMakerBullseye: new facemaker, that supports nesting like hole inside
a face inside a hole of another face...
2016-10-01 23:13:44 +03:00
DeepSOIC b6db15a5d3 Part: Introduce FaceMaker class
A general class to implement smart making faces from wires (e.g. making
a face from sketch prior to extruding)
2016-10-01 23:13:44 +03:00
wmayer ec624b91d7 fix unicode problem when reading or writing mesh object 2016-10-01 20:41:00 +02:00
wmayer 3de44dfcd7 do not check for solid when computing volume of mesh 2016-10-01 20:40:26 +02:00
wmayer d808f669ce fix linking error in TechDrawGui 2016-10-01 13:48:22 +02:00
wmayer e2d51588f6 suppress annoying boost warning with msvc 2016-10-01 13:35:30 +02:00
wmayer 386e3d7024 do not handle enum value SMDSAbs_NbElementTypes 2016-10-01 13:34:37 +02:00
Bernd Hahnebach efb87dc1c0 FEM: python mesh API, add methods to retrieve group data 2016-10-01 13:20:38 +02:00
Bernd Hahnebach 15ad66a99e FEM: display some nice popup if there are problems with ccx binary 2016-10-01 13:20:38 +02:00
Bernd Hahnebach 6bb681cdf9 FEM: fix for retriving the standard ccx path on Linux 2016-10-01 13:20:38 +02:00
wmayer 7d265c4cdf ObjectIdentifier has virtual method but no virtual destructor
fix 32-bit issues in PythonStuff.cpp
2016-10-01 11:03:15 +02:00
Yorik van Havre cf1f07c311 Draft: Fixed wrong shortcuts info - fixes #2519 2016-09-30 19:42:08 -03:00
Yorik van Havre 40b00e556a Path: remove old dislay if path becomes empty - fixes #2484 2016-09-30 19:35:26 -03:00
Sergo 99076944af PartDesign: points are selectable for Datum support 2016-09-30 11:09:01 -03:00
Sergo 38443008b2 PartDesign: fix test Move_Feature 2016-09-30 11:09:01 -03:00
Sergo ef14bbd88a PartDesign: fix showing base object on newly opened file, cleanup 2016-09-30 11:09:01 -03:00
Sergo 46a218ed24 PartDesign: fix Datum editing, showing/hiding objects 2016-09-30 11:09:01 -03:00
Sergo 8b7b720beb PartDesign: fix Polar and Mirror accepting Datum 2016-09-30 11:09:00 -03:00
WandererFan 8459cdad5a Performance improvements Ph1 2016-09-29 17:37:20 -04:00
WandererFan b27a526cd6 remove unnecessary includes
remove obs code
remove obs initializations
2016-09-28 20:24:47 -04:00
WandererFan 1d281d821a Easier View selection - bigger frame 2016-09-28 20:24:47 -04:00
WandererFan f230967146 Only enable Commands when appropriate
Remove dupl code
2016-09-28 20:24:47 -04:00
WandererFan ecbd8c8dc0 Control Face edges from Part/Section 2016-09-28 20:24:46 -04:00
WandererFan 664168992f Drawing window pan & zoom 2016-09-28 20:24:46 -04:00
wmayer 958686d7b9 fix msvc compiler warnings
fix typo
2016-09-27 19:42:46 +02:00
wmayer 81a6d4f4cc fix some typos 2016-09-27 19:26:45 +02:00
Bernd Hahnebach 17476b25dc FEM: add Groups to mesh property editor info 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 084e163137 FEM: add GroupID to python mesh API 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 80be790af9 FEM: fix unit tests 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 223f6c81f2 FEM: update examples 2016-09-27 13:04:47 -03:00
Bernd Hahnebach eb3d83e8ef FEM: code formating, flake8 2016-09-27 13:04:47 -03:00
makkemal 4615b37b49 FEM: add User Defined to VTK post pipeline 2016-09-27 13:04:47 -03:00
makkemal 95c8769ed2 FEM: User defined result object added 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 12e66a16d0 FEM: nonlinear materials, add an icon 2016-09-27 13:04:47 -03:00
Bernd Hahnebach d39ef34b4a FEM: nonlinear materials, set CalculiX solver to nonlinear analysis if nonlinear material is added 2016-09-27 13:04:47 -03:00
Bernd Hahnebach dd92486ab5 FEM: multiple nonlinear materials, check if each linear material has only one nonlinear material 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 9db81d238a FEM: multiple nonlinear materials, each nonlinear material is based on a linear material 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 31c1f15c9b FEM: nonlinear materials, add check if nonlinear material object is in the analysis when solver is set to nonlinear materials 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 956a13da38 FEM: nonlinear materials, solver CalculiX implementation 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 854002f08b FEM: nonlinear materials, core object implementation 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 8e11d7032c FEM: nonlinear materials, add some new needed attributes to ccx solver object 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 4363a1a6b4 FEM: code formating, make flake8 not complaining about non existing variable 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 86895f2bdd FEM: frd import, better comment in the regard of different node order 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 1cc1d9e562 FEM: code formating, flake8 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 00efd7c8ab FEM: typo in self weight object 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 6e05fb0d29 FEM: change ccx solver property name
from IterationsMaximum to IterationsThermoMechMaximum and
only write if set > 0
2016-09-27 13:04:47 -03:00
Bernd Hahnebach 33efb04d47 FEM: ccx input file, remove trailing whitspaces and not needed comma 2016-09-27 13:04:47 -03:00
Bernd Hahnebach 33b8593438 FEM: change ccx solver property name from SteadyState to TheromMechSteadyState 2016-09-27 13:04:46 -03:00
Bernd Hahnebach 80c95aa555 FEM: transient thermomech analysis (steadystate == true) needs density 2016-09-27 13:04:46 -03:00
Bernd Hahnebach 005f7f6bc8 FEM: constraint transform task panel, fix if analysis name is not analysis 2016-09-27 13:04:46 -03:00
kgoao ccb7b1a11f FEM: ConstraintTransform: Solver implementation
FEM: ConstraintTransform: Flake8 formatting for python files

FEM: ConstraintTransform: TransformType App::PropertyEnumeration
2016-09-27 13:04:46 -03:00
kgoao 15fdb5c402 FEM: ConstraintTransform: add icon 2016-09-27 13:04:46 -03:00
kgoao 086f716e6e FEM: ConstraintTransform: core implementation
FEM: ConstraintTransform: transformable surface comment modification

FEM: ConstraintTransform: re-adjusted GUI layout

FEM: ConstraintTransform: more tweaking

FEM: ConstraintTransform: GUI layout adjustment

FEM: ConstraintTransform: GUI bug fix

FEM: ConstraintTransform: implemented App::PropertyEnumeration for type of transform
2016-09-27 13:04:46 -03:00
Yorik van Havre 83c59bc697 Draft: Support elevation of LWPolylines in DXF importer 2016-09-26 22:18:45 -03:00
wmayer e4a086752f do not grab focus when showing image view 2016-09-26 17:54:34 +02:00
Yorik van Havre 72848a5aef Draft: Fixed filled mode - fixes #2708 2016-09-25 14:31:37 -03:00
wmayer cb3da6ff9c fixes #0002702: Default cylinder angle 10 deg 2016-09-24 18:11:47 +02:00
wmayer ee07ff6231 fix unicode/utf-8 encoding problems 2016-09-24 16:48:30 +02:00
wmayer 816d2ee288 Add enum test 2016-09-24 16:47:41 +02:00
wmayer d7b5fbf214 drop hard dependency of MeshPart to smesh 2016-09-24 11:16:27 +02:00
wmayer 3339374f2c fix build failure on Windows due to removal of deprecated C++ header 2016-09-24 02:44:32 +02:00
wmayer 480191c8ee fix -Wextra in Fem 2016-09-24 02:17:15 +02:00
wmayer 1d84eac025 fix -Wextra in MeshPart 2016-09-24 00:42:52 +02:00
wmayer b1272cb1aa fix -Wextra in Sandbox 2016-09-23 21:58:43 +02:00
wmayer 4afc110e6f fix -Wextra in JtReader 2016-09-23 21:28:53 +02:00
wmayer 3d6b4aa317 fix -Wextra in Path 2016-09-23 21:20:38 +02:00
wmayer 08578273d5 fix -Wextra in Raytracing 2016-09-23 21:20:16 +02:00
wmayer 6462033988 fix -Wextra in Web 2016-09-23 21:19:53 +02:00
wmayer 012d6b038d fix -Wextra in Draft 2016-09-23 21:19:38 +02:00
wmayer e4216d1263 fix -Wextra in Robot 2016-09-23 21:18:57 +02:00
wmayer 5f87cdbf9e fix -Wextra in Reen 2016-09-23 18:25:49 +02:00
wmayer 4c1af037c5 fix -Wextra in Inspection 2016-09-23 18:10:27 +02:00
wmayer b980cf3361 fix -Wextra in Mesh 2016-09-23 17:24:00 +02:00
wmayer c48a9bfead fix -Wunused-parameter 2016-09-23 16:37:12 +02:00
wmayer d1b3cbed75 make box selection consistent with single/multi selection 2016-09-23 10:46:54 +02:00
wmayer ca3a243b8e expose boxZoom to Python 2016-09-23 10:28:11 +02:00
wmayer c457fc468c fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
wmayer fa0b094e6a fix -Wextra & -Wdeprecated in Path 2016-09-22 18:53:24 +02:00
wmayer 664cf65d26 fix -Wextra in PartDesign 2016-09-22 18:34:56 +02:00
wmayer 15d7ae5e2c fix -Wextra in Sketcher 2016-09-22 18:34:35 +02:00
wmayer 65bcaf4b6e fix -Wextra in Measure 2016-09-22 16:46:18 +02:00
wmayer c1034fbe74 fix -Wextra in Import 2016-09-22 16:40:20 +02:00
wmayer 6cf82fbe62 fix -Wextra & -Wdeprecated in Spreadsheet 2016-09-22 16:35:05 +02:00
wmayer 801ac34258 fix -Wdeprecated in Part & FreeCADGui 2016-09-22 15:32:49 +02:00
wmayer 14892bc880 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-09-22 15:29:47 +02:00
wmayer b9c25c8402 fix -Wextra & -Wdeprecated in Drawing 2016-09-22 15:29:10 +02:00
Keith Sloan e26a3bfc58 Remove swp files 2016-09-22 10:18:25 -03:00
Keith Sloan 618fa222d5 First attempt at support for CSG text command 2016-09-22 10:18:25 -03:00
Keith Sloan 186e6512b1 Remove swp files 2016-09-22 10:18:25 -03:00
Keith Sloan b5826607d9 First attempt at support for CSG text command 2016-09-22 10:18:24 -03:00
wmayer 4d2ccdfb72 fix -Wextra in Main & Complete 2016-09-22 14:24:38 +02:00
wmayer 49072208ee fix -Wextra in Image 2016-09-22 14:23:25 +02:00
wmayer f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer 1ce73dda96 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
wmayer 40c79f18e4 fix msvc problems 2016-09-21 22:14:09 +02:00
wmayer 53531b603a fix -Wextra in Start & Web 2016-09-21 21:27:09 +02:00
wmayer 49869ba7a1 fix -Wextra in Test 2016-09-21 21:15:10 +02:00
wmayer a800622620 fix -Wextra in Points 2016-09-21 21:10:41 +02:00
wmayer f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
Yorik van Havre 1ab7e05fce Arch: fixed error in IFC export (typo) 2016-09-21 15:14:37 -03:00
wmayer 71df967fdf fix -Wextra in FreeCADApp 2016-09-21 16:05:36 +02:00
wmayer f408f3180b fix -Wextra in FreeCADBase 2016-09-21 15:02:02 +02:00
wmayer 3f9fd3d54f avoid expensive fromUtf8 method where not needed 2016-09-21 11:42:23 +02:00
wmayer 1c4052bde9 for obj export only create mtl file if color is per face 2016-09-21 10:05:40 +02:00
wmayer 75681ed0a5 improve download manager 2016-09-21 10:04:42 +02:00
wmayer a943434c7c remove non-existing command Path_ToolLibraryEdit from list 2016-09-21 10:04:08 +02:00
Yorik van Havre 97c0838014 Arch: Renamed Arch_ToggleSubcomponentDisplay command to Arch_ToggleSubs 2016-09-20 11:43:54 -03:00
Yorik van Havre de62ff0444 Merge branch 'cfd1' of https://github.com/qingfengxia/FreeCAD into cfd 2016-09-20 11:30:42 -03:00
Yorik van Havre 008fed6f6f Arch: added damian's fix to Arch Remove 2016-09-19 16:11:41 -03:00
Yorik van Havre 12d632dc70 Arch: made IFC importer more compatible with older IfcOpenShell 2016-09-19 16:02:00 -03:00
Yorik van Havre c866df1da2 Merge pull request #285 from DeepSOIC/PartOffset2D_fix1
Part: Offset2D: fix save-load instability (bug #2699)
2016-09-19 15:34:51 -03:00
DeepSOIC 47c745f228 Part: Offset2D: fix save-load instability
Fixes #2699
It was found out that when direction of normal found by FindPlane
depends on if we are using result of offset directly, or after copying.

The fix (workaround) is to copy offset result inside  offset routine, so
that no unstable behavior makes its way to the user.
2016-09-18 18:45:04 +03:00
qingfengxia 0a5b6e1e5c Fem: fix typo of FemGui::ViewProviderResultPython 2016-09-17 14:39:29 +01:00
Yorik van Havre 15c368d982 Arch: Fixed drag-n-drop in Arch groups 2016-09-16 19:57:06 -03:00
qingfengxia b45e4419bd add help text for thermal fluid boundary for CFD 2016-09-16 23:01:09 +01:00
qingfengxia 73377204a1 make FemResultObject extensible in python as FemSolverObject 2016-09-16 23:01:09 +01:00
wmayer e05d2d5de3 switch off dtd validation when reading svg files 2016-09-16 23:09:56 +02:00
wwmayer 279418f032 Merge pull request #283 from sliptonic/master
bug with EngraveEdit
2016-09-16 14:28:48 +02:00
wmayer 3f4f8077e5 comment out problematic asserts 2016-09-16 14:22:17 +02:00
sliptonic abc97f87c3 bug with EngraveEdit 2016-09-15 20:28:33 -05:00
wmayer afa37847b5 remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
Yorik van Havre 0ef07032fd Arch: fixed typo 2016-09-15 15:45:11 -03:00
wmayer 18cc6c1851 remove method Application::runCommand 2016-09-15 19:39:16 +02:00
wmayer f44df3cdf0 do not use doCommand without using format string, add overloaded method of runCommand 2016-09-15 18:53:37 +02:00
Yorik van Havre 1efd9a4b4f Arch: Added new Footprint display mode to walls 2016-09-15 12:38:48 -03:00
Yorik van Havre 4bb97c71ea Arch: Added stairs to structure precast types 2016-09-15 12:38:08 -03:00
wmayer 53ca0eb6a3 support offset curve in edge.Curve for occ 7.0 2016-09-15 10:36:44 +02:00
Yorik van Havre d0dc4d1053 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-09-14 18:56:11 -03:00
Yorik van Havre 0ad956c45b Arch: IFC exporter now exports 2D geometry as IfcAnnotations 2016-09-14 18:55:55 -03:00
wmayer 5b069f993e Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-09-14 21:08:26 +02:00
wmayer 268d7f4656 use 'patch' for segment names and make unique names 2016-09-14 21:07:52 +02:00
Yorik van Havre 8eedc79f35 Draft: Fixed missing end arrow in SVG rendering of wires/splines 2016-09-14 16:07:38 -03:00
Yorik van Havre d8ebfe58c5 TechDraw: Extended Draft View 2016-09-14 12:38:34 -03:00
wmayer fb9fb9873f fix possible crashes in Tools::escapedUnicodeFromUtf8 2016-09-14 15:18:19 +02:00
wwmayer 796c8330fe Merge pull request #280 from DeepSOIC/patch-1
PartDesign: Gui: fix primitive command what's this string
2016-09-14 14:57:41 +02:00
wwmayer cccf1ee613 Merge pull request #279 from WandererFan/PreProd
TechDraw bug fixes
2016-09-14 14:57:00 +02:00
Bernd Hahnebach d20ea7ac90 FEM: add tetras to known elements for retriving face loads if no face data exists 2016-09-13 20:17:31 -03:00
Bernd Hahnebach f17fa5ed71 FEM: fix z88 result reader 2016-09-13 20:17:31 -03:00
Bernd Hahnebach e2f5bba5a9 FEM: prefs, move z88 prefs in an own tab 2016-09-13 20:17:31 -03:00
Bernd Hahnebach fd10984242 FEM: make use of new pref for standard location of ccx on Windows OS 2016-09-13 20:17:31 -03:00
Bernd Hahnebach 28579516b6 FEM: add new pref for use of ccx standard path 2016-09-13 20:17:31 -03:00
Bernd Hahnebach 0da41bb4cc FEM: remove working dir and ccx binary check from InitGui
- they are duplicates of the methods in FemToolsCcx
- FEM could be used without solving too
- they only checked for ccx, but we have more solver already
2016-09-13 20:17:31 -03:00
Yorik van Havre 3dd586b5be Draft: small optimizations of Draft's SVG output and fixed wrong dash scale 2016-09-13 20:11:03 -03:00
Yorik van Havre 217a67ddb2 Arch: support for layer splitting function of ifcopenshell 2016-09-13 20:08:25 -03:00
Yorik van Havre 1749315ead Arch: fixed error message when restoring section planes 2016-09-13 20:06:25 -03:00
DeepSOIC b74b92fe23 PartDesign: Gui: fix primitive command what's this string 2016-09-13 18:54:54 +04:00
wmayer 05a25967bd convert utf-8 encoded path name to escaped unicode when saving document with Python 2016-09-12 20:58:41 +02:00
wmayer a12ecd49bd fix unicode <=> utf-8 conversion issue 2016-09-12 20:52:24 +02:00
WandererFan 4e729f0840 Changes re comments on PR279 2016-09-12 07:41:24 -04:00
WandererFan 254b28ea77 Fix #2692 TaskProjectGroup cancel button 2016-09-11 13:12:24 -04:00
WandererFan 81472a5fd8 Fix over-aggressive input cleansing 2016-09-11 13:12:24 -04:00
WandererFan 4d7f00860e reduce use of "execute" on cosmetic changes. 2016-09-11 13:12:24 -04:00
WandererFan 6dc017a1ce Add notes re Kura. subgraph 2016-09-11 13:12:24 -04:00
WandererFan 884a32fabf Coverty changes:
** CID 152490:  Control flow issues  (DEADCODE)
** CID 152492:  Null pointer dereferences  (FORWARD_NULL)
** CID 152493:  Null pointer dereferences  (FORWARD_NULL)
** CID 152494:  Null pointer dereferences  (FORWARD_NULL)
** CID 152495:  Null pointer dereferences  (FORWARD_NULL)
** CID 152496:  Null pointer dereferences  (FORWARD_NULL)
** CID 152497:  Null pointer dereferences  (FORWARD_NULL)
** CID 152502:  Null pointer dereferences  (REVERSE_INULL)
** CID 152507:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152510:  Uninitialized members  (UNINIT_CTOR)
2016-09-11 13:12:24 -04:00
WandererFan bcb29541aa Suppress extraneous log messages 2016-09-11 13:12:24 -04:00
WandererFan 6c937e1bbe Protect EdgeWalker against bad input 2016-09-11 13:12:24 -04:00
WandererFan d3afb32487 Avoid Bnd_Box is void exception when shapes don't intersect. 2016-09-11 13:12:24 -04:00
WandererFan a5b5104875 Implement Cancel logic for TaskViewSection 2016-09-11 13:12:24 -04:00
WandererFan 17fe63598f Handle case where no faces found in View. 2016-09-11 13:12:24 -04:00
WandererFan 70420d9e3b Fix getViewObject inheritance across all ViewProviders 2016-09-11 13:12:24 -04:00
Yorik van Havre f2f9a938a7 New splash for 0.17 2016-09-11 13:28:59 -03:00
Yorik van Havre 9ae3f1bc6f Arch: Better retrieval of materials from IFC files 2016-09-11 13:28:40 -03:00
Yorik van Havre 23cbb317df Arch: small cosmetic fix in IFC export 2016-09-11 11:41:44 -03:00
Yorik van Havre a181cb0b1b Arch: Prefer vertical extrusions when recreating extrusions from IFC files 2016-09-10 19:06:58 -03:00
Yorik van Havre 1ee839b762 Arch: Fixed bug introduced by a932f7a 2016-09-10 18:54:40 -03:00
Yorik van Havre ee314edeeb Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-09-10 14:44:15 -03:00
Yorik van Havre a932f7a363 Arch: Added Arch/Utilities/Toggle Subcomponent Display command 2016-09-10 14:44:00 -03:00
wmayer 5e0a60b377 fix build problems with netgen under Linux 2016-09-10 19:17:37 +02:00
wmayer 1df315160d remove timeout for status messages related to (pre-)selection 2016-09-10 17:26:40 +02:00
wmayer 7e127c9b6a replace hard-coded shortcut 2016-09-10 14:49:39 +02:00
wmayer ef363f9390 split compound command in separate commands to make shortcus customizable 2016-09-10 14:47:01 +02:00
wmayer 9370378ec7 allow to pass parameter range when creating a line from a line 2016-09-09 13:02:15 +02:00
Yorik van Havre ae02a456bf Draft: minor bugfix in SVG output 2016-09-08 16:18:24 -03:00
wmayer 61f663d117 issue #0002524: Make property docstrings translatable 2016-09-08 18:29:27 +02:00
WandererFan 5fd19bb5f4 Break up try/catch blocks for easier debugging 2016-09-08 16:18:52 +02:00
WandererFan cebe2faee1 Handle degenerate edges in face detection 2016-09-08 16:18:52 +02:00
wmayer 3f2264dc4d fix regression with unicode support 2016-09-08 16:08:01 +02:00
wmayer e15799c40d improve handling of face colors when creating a mesh with segments 2016-09-08 14:01:34 +02:00
wmayer 435cc3786d take care of segments in mesh on export 2016-09-08 13:32:30 +02:00
wmayer adffaf7533 support to pass optional item parameter to Gui.runCommand 2016-09-08 09:40:03 +02:00
Yorik van Havre eac69724aa Arch: more failsafe area computation 2016-09-07 20:15:42 -03:00
Yorik van Havre beb558c521 Arch: small bugfix in equipment 2016-09-07 19:54:38 -03:00
Yorik van Havre f449e052de Arch: special icon for cloned Equipments 2016-09-07 19:37:47 -03:00
Yorik van Havre c9df54b03c Arch: Support for IFC footprint representations 2016-09-07 17:17:24 -03:00
Yorik van Havre 7d698101aa Arch: Misc bugfixes in panel 2016-09-07 17:16:44 -03:00
wmayer 4cb20dc783 support coloring of mesh segments 2016-09-07 21:51:05 +02:00
wmayer 361951eac3 create mesh segments by face colors 2016-09-07 19:20:33 +02:00
wmayer 1ed35628ab add OCC standard meshing algorithm to Mesher class 2016-09-07 16:39:54 +02:00
wmayer f37b70b141 fix accessing freed memory in DocumentPy::openTransaction 2016-09-07 13:00:20 +02:00
wmayer 52aef7348f support of unicode for doc string, fix memory leak 2016-09-07 12:18:57 +02:00
Yorik van Havre 50d0eae513 Arch: different icon for cloned windows 2016-09-06 22:21:34 -03:00
Yorik van Havre 56ff892681 Arch: Removed trailing spaces 2016-09-06 13:05:07 -03:00
Yorik van Havre 8e50c83291 Arch: Added border & ridge length properties to Roofs - fixes #2636 2016-09-06 13:04:23 -03:00
fandaL 676e543a46 FEM: frd mesh import, element nodes read changes 2016-09-06 17:00:57 +02:00
fandaL dda762de69 FEM: frd mesh import, penta15 node order 2016-09-06 17:00:57 +02:00
wmayer 6313528886 improve obj export of mesh with colors 2016-09-06 17:00:34 +02:00
Yorik van Havre cc167bd2c8 Allow to edit PropertyLists directly in the property editor - fixes #2535,#2689 2016-09-05 13:25:32 -03:00
Yorik van Havre 46d02a5186 Merge pull request #272 from berndhahnebach/femloadonquadfaces
Femloadonquadfaces
2016-09-05 10:36:51 -03:00
Bernd Hahnebach 163de1d827 FEM: ConstraintForce: add node load calculation for face loads on faces of tetra, hexa and penta elements 2016-09-05 15:52:51 +02:00
Bernd Hahnebach 781bd43667 FEM: ConstraintForce: add node load calculation for face loads on quad4 and quad8 faces 2016-09-05 09:26:50 +02:00
Bernd Hahnebach 3d4905824f FEM: FemMeshTools: typo and change print error messages to console error messages 2016-09-05 09:26:50 +02:00
Yorik van Havre 1a0efaa491 Raytracing: Yield error when creating a Luxrender view of a shape with no faces - fixes #2685 2016-09-04 23:12:53 -03:00
Yorik van Havre 11952d2062 Arch: area properties for Arch objects - fixes #2635 2016-09-04 15:27:55 -03:00
wmayer d4c47c396b support of Netgen with split libraries and handle Debug & Release libraries on Windows 2016-09-04 02:46:08 +02:00
Yorik van Havre ecb3759178 Implemented python method ParameterGrpPy::GetContents() : lists all the parameters inside a group 2016-09-03 19:49:59 -03:00
Yorik van Havre 5d21e05fc5 Arch: small cosmetic change to ArchSchedule console output 2016-09-03 19:47:44 -03:00
wmayer 31b905ec76 support of Netgen with split libraries 2016-09-03 19:39:51 +02:00
wmayer 848a685c53 fx wrong cast 2016-09-03 14:58:03 +02:00
wmayer 3c88edd007 fix Coverity issues 2016-09-03 14:51:28 +02:00
wmayer 9ed53fea38 fix Coverity issues 2016-09-03 12:35:34 +02:00
wwmayer 04aa24ec00 Merge pull request #271 from DeepSOIC/UIFixes
PartGui: fixes to Revolve and Extrude tasks
2016-09-02 17:30:32 +02:00
DeepSOIC 4e252175ee PartGui: Fixes and updates for Offset2D to task dialog
+ add expression support for offset value
2016-09-02 16:26:02 +02:00
DeepSOIC c5f642e44a PartGui: add 2D Offset feature creation command
(made offset toolbar button into a dropdown button)

Icon for 2D offset was copied from Draft workbench.
2016-09-02 16:26:02 +02:00
DeepSOIC e3ca28baa8 Part: add Offset2D feature
derived from Part::Offset, to re-use task dialog easily
2016-09-02 16:26:02 +02:00
DeepSOIC 1f6174e3f2 Part: Offset feature: split off into separate file
withdrew code from PartFeatures.h/.cpp and created FeatureOffset.h/.cpp
2016-09-02 16:26:02 +02:00
DeepSOIC 7f6872817a Part: Py API: deprecate Part.Wire.makeOffset
(code unchanged. Only added deprecation note to documentation)
2016-09-02 16:26:02 +02:00
DeepSOIC 78d32b6405 Part: Py API: add makeOffset2d method to Part.Shape
+ write documentation to makeOffsetShape
2016-09-02 16:26:02 +02:00
DeepSOIC 5318e03561 Part: TopoShape: add makeOffset2D method
Supports:
* offsetting wire, compound of wires.
* offsetting compounds in collective or independent manners
('intersection' parameter)
* two offset modes (parameter 'allowOpenResult')
* filling offset when offsetting one wire, or compound in independent
manner

Not supported yet (planned):
* filling offset when offset in collective manner (intersection= true)
* offsetting planar faces
2016-09-02 16:26:02 +02:00
DeepSOIC c60e4c944e PartGui: task Extrude: fix remove selection gate on cancel 2016-09-02 15:05:30 +03:00
DeepSOIC 35ed8a8afa PartGui: fixes to Revolve and Extrude tasks by @f3nix
fixes layout issues on KDE of Part Extrude and Part Revolve task dialogs
2016-09-02 12:03:21 +03:00
WandererFan c0428a940b minor fixes SectionFace zOrder, orphan graphics items 2016-09-01 12:14:43 -04:00
WandererFan 7e04c17bdd Fix part/section handling of Face OuterWire 2016-09-01 12:14:43 -04:00
WandererFan b75f82b500 Fix for Wires with same bbox, different areas 2016-09-01 12:14:43 -04:00
WandererFan 13afc71260 Handle zero length TopoDS_Edge in Geometry 2016-09-01 12:14:42 -04:00
WandererFan 0ba0351666 Minor performance improvements 2016-09-01 12:14:42 -04:00
WandererFan 34644e9d71 Fix Section arrows,xDir,label 2016-09-01 12:14:42 -04:00
WandererFan b47eff76ae Changes re const, ref and TopExp per wmayer
Refactor debug routines to DrawUtil
2016-09-01 12:14:42 -04:00
WandererFan 9a93185f7e Py binding for EdgeWalker
refactor EdgeWalker code from DVP,DVS
2016-09-01 12:14:42 -04:00
WandererFan 27ff991d79 Fix ProjectionGroupItem spacing 2016-09-01 12:14:42 -04:00
WandererFan 3901d2fe82 Add View centerlines 2016-09-01 12:14:42 -04:00
wmayer 0fa94ee0a9 improve obj support 2016-09-01 18:07:18 +02:00
wmayer 5c791306d1 fix problems with unv files in UNIX format when reading under Windows 2016-09-01 15:30:12 +02:00
wmayer e6575f65f9 fix compiler warnings 2016-09-01 12:01:22 +02:00
DeepSOIC fa2b70878e PartGui: Extrude: new task dialog
to account for new functionality of extrusion feature.
2016-09-01 11:46:18 +02:00
DeepSOIC 98418a4e0c Part: Extrude: improvements
* split Dir into Dir+Length; added second Length
* support for parametric linked direction: to arbitrary edge, and to
normal
* options: reverse, symmetric
* second taper angle
* changed offset join mode for tapered extrusion on OCCT7
2016-09-01 11:46:18 +02:00
DeepSOIC 616c2f7feb PartGui: Revolve: solid checkbox automation
Solid checkbox will be checked by default, if the shape being revolved
is closed wires.
2016-09-01 11:46:18 +02:00
DeepSOIC f3a3bd14fb [breaking] Part: Revolve: fix forgotten check for reverseness of axis link
I didn't know BRepAdaptor_Curve does not take shape orientation
(reverseness) into account.

The commit can break existing projects. If revolution feature was
created with axis linked to reversed edge, and angle span is not 360,
the revolution direction will now swap. The chances of this situation
are pretty low, and revolution supports axis linkage for not long yet.
So I hope it won't cause any noticeable trouble.

--DeepSOIC
2016-09-01 11:46:18 +02:00
wmayer 6e284fc9ea fix crash when saving a document after aborting a pending transaction 2016-08-31 17:58:55 +02:00
wmayer 9ef81d7d56 optimize download manager 2016-08-31 16:22:21 +02:00
Yorik van Havre 23f39cdf2d Arch: small fix in Schedule tool 2016-08-30 11:23:13 -03:00
Yorik van Havre ab803c7b40 Added App::PropertyArea (same as PropertyLength but uses Area units) 2016-08-29 19:26:11 -03:00
Yorik van Havre 0d25df0c61 Arch: Rewrite of Arch Schedule tool - fixes #2643 2016-08-29 19:24:34 -03:00
Yorik van Havre 8bd57848da Merge pull request #267 from pgilfernandez/Missing_icons
Improved icons: white background for window drawings so that they are…
2016-08-29 11:04:23 -03:00
Pablo Gil 839717c2f7 Improved icons: white background for window drawings so that they are better recognized inside FreeCAD plus theme independent 2016-08-29 10:22:24 +02:00
Yorik van Havre 1843f89659 Draft: fixed export of invalid shapes to DXF 2016-08-28 14:18:12 -03:00
Yorik van Havre ff2ccdd648 Arch: minor bugfixes in Pipes 2016-08-26 18:26:46 -03:00
Yorik van Havre 18e519571a Removed console message emitted by the tree when a PropertyLink is empty 2016-08-26 17:48:40 -03:00
Yorik van Havre 783ec34967 Minor bugfixes in Arch & Draft 2016-08-26 15:10:33 -03:00
Yorik van Havre 77dec4b91d TechDraw: Forgot one icon in last commit 2016-08-26 12:30:25 -03:00
Yorik van Havre f0daa5ae16 TechDraw: Made some icons legible on dark UI theme 2016-08-26 12:25:43 -03:00
WandererFan 4cb4e5f04a Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
WandererFan adb2fdafa5 Add methods for removing equivalent edgeLists from result 2016-08-26 11:39:03 -03:00
Yorik van Havre f1bc0ce25d Draft: Apply clones scaling before the placement - fixes #2681 2016-08-26 11:25:01 -03:00
wmayer 46adbae952 fix whitespaces 2016-08-25 12:27:08 +02:00
Sergo c90da8e5fb fix relinkToOrigin, remove source body from list, etc 2016-08-24 19:11:26 +02:00
Sergo 3177402141 typo 2016-08-24 19:11:26 +02:00
Sergo 8750ac5916 Test: Add case to test attempt when feature is not movable 2016-08-24 19:11:26 +02:00
Sergo f49ddaea45 PD MoveFeature:Check if feature has dependencies in source body 2016-08-24 19:11:26 +02:00
Sergo dcd94203eb Test: test moving features from one part to another 2016-08-24 19:11:26 +02:00
Sergo 85015ef494 PartDesignGui: move feature with its dependencies 2016-08-24 19:11:26 +02:00
wmayer 1944d43f28 add method to dock window manager to unregister a window 2016-08-24 19:09:56 +02:00
wmayer 22d8095b86 fix memory leak 2016-08-24 19:09:12 +02:00
wmayer a830b8feb3 improve whitespaces 2016-08-24 19:08:45 +02:00
wwmayer 1503689d84 Merge pull request #260 from marco-m/macosx-macports-enable-finding-qt4
MacOSX: When using Qt4 installed by MacPorts, give the cmake finder a…
2016-08-24 17:53:14 +02:00
Yorik van Havre 75ec90e519 Arch: Fixed remaining bugs in Pipes 2016-08-24 11:25:57 -03:00
Yorik van Havre 9fbd71af45 Arch: Forgot a file in last commit - issue #2661 2016-08-24 10:25:29 -03:00
Yorik van Havre 4c90410766 Arch: Tube tools - fixes #2661 2016-08-24 10:24:31 -03:00
Pablo Gil b9f454b248 new patterns designed from scratch 2016-08-24 09:35:53 -03:00
wmayer 51e23d854e issue #0002678: file names with underscores are not displayed correctly in recent files menu 2016-08-22 22:52:12 +02:00
Yorik van Havre 51ec213f45 Draft: Added Draft Slope command - allows to change the slope of a selected Line or Wire 2016-08-22 17:34:38 -03:00
wmayer 94f07c85ee Define shortcuts for Save & Discard buttons of message box that appears when closing a document 2016-08-22 18:58:10 +02:00
Yorik van Havre 6f38f91dd0 Arch: Added specials snap
* Remove Arch option to snap to wall base (reimplemented below)
* Added new Specials snap button
* Special snap snaps to wall baselines, structure basepoints, and contents of SnapPoints property, if existing
2016-08-22 13:49:54 -03:00
Marco Molteni 43cbd6a3c8 Merge branch 'master' into macosx-macports-enable-finding-qt4 2016-08-22 17:55:33 +02:00
Sergo 52b98f9cf2 PD ui: Fix Primitive combobuttons icons remember last choice 2016-08-22 16:08:20 +02:00
wmayer 4ba53881b5 fix Coverity issues 2016-08-22 15:33:54 +02:00
Marco Molteni 2f13ff93a3 MacOSX: When using Qt4 installed by MacPorts, give the cmake finder a chance to find it 2016-08-22 15:19:58 +02:00
wmayer 63ad26491f fix Coverity issues 2016-08-22 15:02:18 +02:00
wmayer 7f2a9da5d3 fix Coverity issues 2016-08-22 13:15:21 +02:00
wmayer 8e71e4038b fix Coverity issues 2016-08-21 23:13:22 +02:00
wmayer e8b36592c0 fix Coverity issues 2016-08-21 18:46:40 +02:00
wmayer 82f7944966 Add method to get Gui document from view provider 2016-08-21 18:24:56 +02:00
wmayer 32aa72e94c fix Coverity issues 2016-08-21 15:13:32 +02:00
wmayer 9459938cdc fix Coverity issues 2016-08-21 14:44:14 +02:00
wmayer 0824c5fd3c fix Coverity issues 2016-08-21 14:03:02 +02:00
Ian Rees 8cc3ee64e8 TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
wwmayer 97f6aa86ba Merge pull request #259 from marco-m/missing-deps-wording
cmake: better wording for missing dependencies
2016-08-21 10:18:45 +02:00
wwmayer ce4433339a Merge pull request #261 from marco-m/clang-enable-KDL-build
Enable building the KDL libray with clang
2016-08-21 10:17:40 +02:00
wwmayer 688fb32813 Merge pull request #258 from marco-m/gitignore
Add CLion IDE configuration files to gitignore
2016-08-21 10:16:31 +02:00
Marco Molteni 8f426e5d9c Better wording for missing dependencies 2016-08-20 22:04:36 +02:00
Marco Molteni 666fba6e8b Enable building the KDL libray with clang 2016-08-20 22:01:51 +02:00
Marco Molteni 18afd70001 Add CLion IDE configuration files to gitignore 2016-08-20 22:00:39 +02:00
wmayer d39bd4906b fix Coverity issues 2016-08-20 19:45:36 +02:00
wmayer d80c05e186 fix Coverity issues 2016-08-20 17:21:01 +02:00
wmayer ae663b3b51 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-08-20 15:41:56 +02:00
wmayer f3f0f5bd2e fix Coverity issues 2016-08-20 15:41:33 +02:00
Yorik van Havre 0a8ed56962 Draft: Pressing Wire when several connected lines are selected now turns them into a wire 2016-08-19 20:24:27 -03:00
Yorik van Havre c0a5310511 Arch: fixed typo 2016-08-19 19:09:23 -03:00
Yorik van Havre fa69f105fb Draft: removed trailing spaces 2016-08-19 18:59:24 -03:00
wmayer de7978434d fix Coverity issues 2016-08-19 22:51:33 +02:00
wmayer 40bba1b2e0 activate new icons and remove old icons 2016-08-19 17:08:02 +02:00
wwmayer 3491bb01f8 Merge pull request #256 from pgilfernandez/Missing_icons
Missing icon: "what's this"
2016-08-19 17:01:20 +02:00
wmayer 0d010d0418 fix crash in FemMeshPy::addVolume 2016-08-19 16:56:05 +02:00
Pablo Gil 34d118a9fa Missing icon: "what's this" 2016-08-19 16:25:56 +02:00
wmayer 747bae61dc activate new icons and remove old icons 2016-08-19 16:21:37 +02:00
wwmayer 86e823bfa4 Merge pull request #254 from pgilfernandez/Missing_icons
old XPM icons converted to SVG and placed into Icons folder
2016-08-19 14:25:28 +02:00
Pablo Gil bfcfe38836 old XPM icons converted to SVG and placed into Icons folder
(is it still needed to link them on the code in order to use the new SVG version instead of old XPM)
2016-08-19 13:53:23 +02:00
Yorik van Havre 717fe546f0 Arch: Allow equipments to be non-solid 2016-08-18 12:20:45 -03:00
wmayer 13528b0aec fix more Coverity issues 2016-08-17 21:55:00 +02:00
Yorik van Havre 4e1794f5c8 Draft: Fixed grid that was not working anymore after closing a document 2016-08-17 16:38:23 -03:00
Yorik van Havre 639cb0460a Arch: Added preferences to leave some subcomponents unclaimed by their host object (allows to place them in groups) 2016-08-17 13:21:17 -03:00
Yorik van Havre e739613173 Arch: Fixed transparency bug in windows 2016-08-17 13:19:47 -03:00
wmayer d98337b5f2 Coverity: fix high impact issues 2016-08-17 15:33:04 +02:00
wmayer 9b013f7254 Coverity issues: fix Mesh, Points and Inspection module 2016-08-17 14:08:47 +02:00
wmayer e4f0ddad84 Coverity issues: check return value of dynamic_cast or replace it with static_cast 2016-08-17 10:43:58 +02:00
Yorik van Havre 3dd3461aec Do not get transparency from DiffuseColor if not set per face - fixes #2675 2016-08-16 23:45:17 -03:00
Yorik van Havre 20d6c93fd5 Draft: fixed issues with DXF import when used by OpenSCAD WB 2016-08-16 16:43:47 -03:00
wmayer b20dd3f7ab Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-08-16 16:35:20 +02:00
wmayer ab525189bf Coverity issues:
129097
129098
129099
129101
129102
129132
129134
129203
2016-08-16 16:34:51 +02:00
Yorik van Havre 81c5994e05 Arch: Fixed use of tempfile.mkstemp - fixes #2674 2016-08-16 11:17:45 -03:00
wmayer 58bf4ca455 fix warning 2016-08-16 15:24:33 +02:00
WandererFan 0023758263 Linear dims closer to stds 2016-08-16 14:29:15 +02:00
WandererFan 0d0040355c Fix sections not in xy plane 2016-08-16 14:29:15 +02:00
WandererFan cf90d69319 Implement automatic scaling 2016-08-16 14:29:15 +02:00
WandererFan fa57b7a5de Fix dimension highlighting problems
Derived all lines from PrimPath
2016-08-16 14:29:15 +02:00
WandererFan 5c63c8a957 Remove refs to Dim centerline property from commands 2016-08-16 14:29:15 +02:00
WandererFan 5c62493b31 QGIArrow inherits QGIPrimPath 2016-08-16 14:29:15 +02:00
WandererFan 4fe4c31966 Add vertex-edge dimension 2016-08-16 14:29:15 +02:00
WandererFan af7d257b91 Add centermarks for circles in Views 2016-08-16 14:29:15 +02:00
wmayer 464a8f3860 Coverity issues:
129643
129654
129689
129714
2016-08-16 14:05:52 +02:00
wmayer 0e0d3446ba free file descriptor when closing file 2016-08-16 12:55:50 +02:00
wmayer 1c8045756f Coverity issues:
129727: Structurally dead code
151979, 133461: Uninitialized scalar field
129785, 129786, 129787: Use after free
2016-08-16 12:23:12 +02:00
Bernd Hahnebach 18555102a1 FEM: prefs, move general prefs to general prefs class 2016-08-16 11:03:28 +02:00
Bernd Hahnebach 302dccdb3d FEM: move prefs path off General prefs tab to BaseApp/Preferences/Mod/Fem/General 2016-08-16 11:03:28 +02:00
Ian Rees d9b4213989 TechDraw: Clean up warnings about missing override 2016-08-16 08:15:53 +12:00
Ian Rees b432a0333c TechDraw: Coverity warning CID 151763 2016-08-16 08:15:53 +12:00
Ian Rees 34583fad05 TechDraw: Fix some Coverity Unchecked dynamic_cast
CIDs from sasobadovinac-FreeCAD:
151684
151714
151715
151716
151718
151719
151720
151721
151722
151724
151725
151730
151749
151759
151771
151794
2016-08-16 08:15:36 +12:00
Ian Rees 66bd0f6b90 TechDraw: Fix Coverity "Structurally Dead Code"
CID 152020
2016-08-16 08:15:09 +12:00
Bernd Hahnebach 892271c0d5 FEM: fix prefs 2016-08-15 21:39:24 +02:00
Bernd Hahnebach fe47ef78ab FEM: code formating, replace tabulator with spaces 2016-08-15 21:39:01 +02:00
Bernd Hahnebach 55873e71bf FEM: mesh python api, add methods to add edges with id 2016-08-15 21:38:31 +02:00
Bernd Hahnebach a39f57c7cc FEM: mesh python api, add method to add faces with id 2016-08-15 21:38:09 +02:00
Bernd Hahnebach 421b3f5abb FEM: mesh python api, delete some empty lines 2016-08-15 21:37:35 +02:00
Bernd Hahnebach 5f94c14b36 FEM: mesh python api, better error message 2016-08-15 21:37:08 +02:00
Bernd Hahnebach 4c64351da9 FEM: python mesh tools, fix key name for penta15 and format code better 2016-08-15 21:36:42 +02:00
Bernd Hahnebach c923d23b70 FEM: inp mesh importer, add module to cmakefiles 2016-08-15 21:36:21 +02:00
fandaL 7d2f1cbaf3 FEM: import mesh from .inp file 2016-08-15 21:35:54 +02:00
wmayer 1e12b54a7b Coverity issues:
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
Mateusz Skowroński 7e0181463c QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2016-08-15 14:15:05 +02:00
Mateusz Skowroński 8c6bede7b8 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-08-15 14:14:40 +02:00
Mateusz Skowroński f188995e55 QGraphicsItem * QGraphicsScene::itemAt(const QPointF & position) const is deprecated in Qt4.
Use QGraphicsItem * QGraphicsScene::itemAt(const QPointF & position, const QTransform & deviceTransform) const instead.

This change is Qt4/Qt5 neutral.
2016-08-15 14:14:10 +02:00
wmayer aea769af3d use a stricter tolerance to check for equal points
add method IsEqual to Vector3 class to support user-defined tolerance
2016-08-15 14:09:26 +02:00
wmayer e2345374ca use lower epsilon for double value in property editor 2016-08-15 10:59:27 +02:00
wmayer 99ad0b71b9 + issue #0002546: FEM constraint parameters can't be smaller than 0,01 (N) 2016-08-14 23:07:24 +02:00
wmayer c5d0e08cbc fix disappearing constraint icons when using a symmetry constraint 2016-08-14 19:25:53 +02:00
wmayer 5013e89271 fix displacement of constraint icons in sketch edit mode 2016-08-14 18:02:22 +02:00
wmayer 549236f517 add method to get view that contains a given node 2016-08-14 18:01:10 +02:00
wmayer 9ad302526b remove superfluous semicolons 2016-08-14 17:10:49 +02:00
wmayer 65fbd5933b make code more readable 2016-08-14 16:46:58 +02:00
wmayer bfb80b058c extend Python interface of sketcher and make non-parametic version working 2016-08-14 11:52:37 +02:00
Wolfgang E. Sanyer d4bb01835c Fixed Draft.makeSketch to work with planes other than xy. 2016-08-12 22:48:33 -04:00
wmayer ff5869acae cleanup SoAutoZoomTranslation 2016-08-12 17:55:53 +02:00
wmayer 4790648065 adjust fix for BSD for time info from commit 5f0073b 2016-08-12 14:03:16 +02:00
wmayer 006de1ab19 issue #0002666: Error on Save File 2016-08-12 13:33:48 +02:00
wmayer f1bfd5cee2 fix wrong error text, fix activation of sub-widgets 2016-08-12 13:26:52 +02:00
qingfengxia 1c51a182f6 bugfix: Taskview ui, typo, coding format for FluidBoundary 2016-08-12 11:05:55 +02:00
qingfengxia 40243fc89a Add Command and Icon FemConstraintFluidBoundary for CFD analysis 2016-08-12 11:05:55 +02:00
qingfengxia 17829b9727 Add ViewProvider and TaskPanel FemConstraintFluidBoundary for CFD analysis 2016-08-12 11:05:55 +02:00
wmayer df8e53630d using unicode codepage directly gives a warning, use utf-8 encoding instead 2016-08-12 10:45:14 +02:00
WandererFan cb05040a0f Vertical Diameter legible from right per stds 2016-08-12 10:01:16 +02:00
WandererFan d8ccf14ec3 Prevent creation of superflous QGItems for Text Fields 2016-08-12 10:01:16 +02:00
WandererFan ef69519261 Diameter symbol & text orientation to standards. 2016-08-12 10:01:16 +02:00
WandererFan 3eb9037ada Handle non-latin1 chars in template 2016-08-12 10:01:16 +02:00
WandererFan 6ad50696b9 Replace GPL osifont file with LGPL3 version 2016-08-12 10:01:16 +02:00
wmayer 30f496ef4c fix build failure on Linux&OSX 2016-08-12 09:33:00 +02:00
wmayer 7f835a0c26 add quantity box to unit calculator and allow to set all pre-defined units 2016-08-11 19:03:16 +02:00
wmayer e5d8871fea rework units dialog 2016-08-11 17:32:58 +02:00
wmayer 4ee1bbcabe query wrong parameter to check for path of ccx when set in preferences 2016-08-11 16:17:35 +02:00
DeepSOIC 137c951e7b Gui: Selection: Py interface for setting pick radius
Gui.ActiveDocument.ActiveView.getViewer().setPickRadius(new_val)
2016-08-10 18:46:45 +02:00
DeepSOIC 93516e42a7 Sketcher: fix selectability of constraints when pickRadius is large
Constraints still do not respect pickRadius. I haven't found a way to
fix it.
2016-08-10 18:46:45 +02:00
DeepSOIC 93d5cf3f98 Gui: Selection: pick radius support 2016-08-10 18:46:45 +02:00
DeepSOIC 27d3c6beb5 Gui: Selection: add pick radius to preferences
Not functional yet
2016-08-10 18:46:45 +02:00
wwmayer 785369abb4 Merge pull request #238 from qingfengxia/renamingFem
correct spelling StanardHypotheses to StandardHypotheses
2016-08-10 14:59:27 +02:00
Ian Rees d388492d54 Allow unit test suite to run with missing modules. 2016-08-10 13:57:23 +02:00
wmayer 03304ab08d add comment to missing function in original PyCXX sources 2016-08-10 13:22:28 +02:00
wwmayer 336215b076 Merge pull request #243 from berndhahnebach/femfixwritingconstaints
Femfixwritingconstaints
2016-08-10 13:18:21 +02:00
Bernd Hahnebach 49c739e15e FEM: example 3D, update to get rid of object error at file load 2016-08-10 12:53:56 +02:00
Bernd Hahnebach 46a29967e7 FEM: ccx input writer: reorder defs and def calls and
- fix presure and force are written for thermomech too
- change some comments
- fix FEM unit tests
2016-08-10 12:53:55 +02:00
wmayer 50ca24fd55 upgrade PyCXX from v6.2.5 to v6.2.8 2016-08-10 11:55:23 +02:00
wmayer e25a5b7fca fix -Wmismatched-new-delete 2016-08-10 10:04:37 +02:00
wmayer 1c1f0dfe49 fix various compiler warnings 2016-08-09 13:16:26 +02:00
DeepSOIC 507b39e3fc Part: use the just-added methods to make properties read-only 2016-08-08 21:48:50 +03:00
DeepSOIC 369a7032b4 App::Property: add methods to get/set read-onlyness 2016-08-08 21:47:45 +03:00
DeepSOIC 50af9efa9f PartGui: new Revolve task dialog.
Updated to support Axis link, and Symmetric properties. Layout was
completely changed.
2016-08-08 20:53:03 +03:00
DeepSOIC 779b7eedb2 Part: Revolve: add support for axis link and midplane
Changes on the App side only.
Added two properties:
* AxisLink (accepts an edge - line or arc of circle)
* Symmetric (for distributing the revolution symmetrically in both
directions)
2016-08-08 19:34:27 +03:00
Yorik van Havre 8b3f8cc9e6 Draft: fixed typo 2016-08-08 13:08:24 -03:00
wmayer 40b878de4d add method to get self-intersections of a mesh via Python 2016-08-08 16:40:59 +02:00
wmayer 8d3e5a31fb add plausibility for self-intersectin check to filter out false-positives 2016-08-08 16:40:11 +02:00
wwmayer aa2da87f2c Merge pull request #239 from berndhahnebach/femprechecksandmaterials
FEM better prechecks for materials
2016-08-08 11:40:41 +02:00
Bernd Hahnebach 9cbefbd905 FEM: materials: simplify input writing and add pre checks for material value keys 2016-08-08 08:03:27 +02:00
Bernd Hahnebach c476bcfeb0 FEM: solver object is used to write the eigenmode params to input file 2016-08-08 08:03:26 +02:00
Bernd Hahnebach eeed00b409 FEM: code formating: use 'not in' for test for membership 2016-08-08 08:03:25 +02:00
qingfengxia be86b992c2 correct spelling StanardHypotheses to StandardHypotheses 2016-08-07 18:20:17 +01:00
wmayer a0d7c8bd21 Add function to sketch validation panel to highlight open vertexes 2016-08-07 15:30:09 +02:00
wmayer b32e1aae11 fix compiler warnings 2016-08-07 13:38:41 +02:00
DeepSOIC 433bd375f3 Part: make Fusion and Common able to fuse arrays
If Fusion or Common features get only one argument, and the shape is a
compound, the children of the compound are treated as list of arguments.
2016-08-07 12:15:08 +02:00
Timothy Hobbs 6135ec5e09 Add subuser files for developing freecad within a Docker container. 2016-08-07 08:52:24 +02:00
Wolfgang E. Sanyer 7f4a437cc2 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
wwmayer 5a30a43862 Merge pull request #237 from ulrich1a/master
Basic importer for Excel-spreadsheets
2016-08-06 21:01:34 +02:00
wwmayer 67c13028ea Merge pull request #235 from berndhahnebach/femsmallfixes
Femsmallfixes
2016-08-06 20:56:44 +02:00
Ulrich Brammer 796badeabd Basic importer for Excel-spreadsheets 2016-08-06 20:32:14 +02:00
wmayer 4062a15018 use QuantityFormat to restore old behaviour for dimensionsal constraints of sketches 2016-08-06 19:08:27 +02:00
wmayer f39b89a54d add class QuantityFormat to control user string of Quantity
do some code refactoration to reduce duplicate code
2016-08-06 19:06:29 +02:00
wmayer e0c69c8afe postpone deletion of task dialog as long as inside its accept() or reject() method 2016-08-06 14:07:58 +02:00
wmayer 6026608c20 close transform dialog when finishing edit mode 2016-08-05 22:02:03 +02:00
wmayer 153efa048d translate items of context menu of tree view 2016-08-05 19:20:26 +02:00
Bernd Hahnebach 80b68208b2 FEM: fix materials task panel 2016-08-05 18:42:52 +02:00
Bernd Hahnebach 5af3f813b4 FEM: update FEM example files 2016-08-05 18:42:52 +02:00
Bernd Hahnebach 2edc678891 FEM: fix pre check for shell and beam meshes 2016-08-05 18:42:51 +02:00
wmayer 1c8734de53 fix crash in CSsysDragger dialog when closing the document beforehand 2016-08-05 15:55:19 +02:00
wmayer 7979ec275b fix bug in factor for Pa in units system 2016-08-05 13:57:27 +02:00
wmayer 1eca045744 use the unicode symbol for mu 2016-08-05 10:38:33 +02:00
wmayer 6176756b28 use const reference in schemaTranslate to avoid tmp. copy 2016-08-05 10:33:41 +02:00
wmayer 5cb8873794 improve whitespaces, fix typos 2016-08-05 10:00:12 +02:00
Yorik van Havre 7e310b2444 Draft: fixed wrong decimals in dimensions display + minor bugfix 2016-08-04 19:16:38 -03:00
Bernd Hahnebach 595a5dd2c7 ARCH: ifc import: fix import if group has no group name provided 2016-08-04 14:33:31 -03:00
Bernd Hahnebach 8ab027b218 ARCH: fix propper removing of tempfile on windows 2016-08-04 14:33:31 -03:00
Bernd Hahnebach cfbde714e9 ARCH: code formating: trailing whitespaces 2016-08-04 14:33:31 -03:00
sliptonic 0ea9cc8c43 Bug fixes:
fixes reparenting bug when dressup is deleted
Engrave wasn't using final depth value
Dragknife Dressup not correctly calculating spin direction or curve intersection
Per Yorik, fix crash if PartGui hasn't been loaded
Allow selection of bottom face for profiling
Bug # 0002615
2016-08-04 14:28:59 -03:00
wmayer 1c89c566c9 whitespace improvements 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 02b84bd2e1 FEM: ccx writer: explicit format diggits of material values for passing unit tests 2016-08-04 17:45:04 +02:00
Bernd Hahnebach f0bbbc1cef FEM: unit test: add max iterations count to thermomech solver obj 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 8390b008ee FEM: GUI: prefs: typos in dialogs 2016-08-04 17:45:04 +02:00
Bernd Hahnebach a3d9390cc0 FEM: fix thermomech unit test analysis 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 4c8d5b592c FEM: ccx input writer: remove newline 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 4d778390d4 FEM: code formating: trailing whitespaces, tabs at line start and flake8 2016-08-04 17:45:04 +02:00
vdwalts 5a2a73b55e FEM: Adding the FEM tests for the thermo-mechanical test problem to the TestFem.py file. To-do: Add the frd file test and the compare stats test. 2016-08-04 17:45:04 +02:00
vdwalts 140af42f9b FEM: Setting up the geometry and constraints for the cooling spine model for the thermo-mechanical test. 2016-08-04 17:45:04 +02:00
vdwalts 70afd104e8 FEM: Adding the reference input file for calculix and the results files for the thermo-mechanical test case 2016-08-04 17:45:04 +02:00
vdwalts e8adb5113a FEM: Adding the meshing points and volumes files necessary to create mesh of test model to the test folder 2016-08-04 17:45:04 +02:00
vdwalts 1caeb68a49 FEM: Adding Freecad model to the test folder for thermo-mechanical test of cooling spine 2016-08-04 17:45:04 +02:00
Bernd Hahnebach c4b94725b6 FEM: CalculiX solver object: better attribute names 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 6463d04f3f FEM: code formating: flake8 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 24572e1afc FEM: remove not used _FemAnalysis object and ViewProvider 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 4fecdaed84 FEM: ccx frd reader: delete not used line count and line num 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 28e5ec80cb FEM: delete not used pyhton module imports 2016-08-04 17:45:04 +02:00
makkemal 275c2c9dc3 FEM: Dummy equation to use all variables required for user defined plot 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 5e4b95b1ba FEM: GUI: pref: add setting for non standard ccx time iterations param 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 2fb6d51f9f FEM: calculix solver: better handling of iterations control parameter and
add them to FEM unit test
2016-08-04 17:45:04 +02:00
makkemal 1c4bd96e34 FEM: Change thermo mechanical to coupled analysis and add control parameters for convergence 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 55d2884658 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
vdwalts 175649a3bf FEM: core: changes in vtk post pipeline 2016-08-04 17:45:04 +02:00
vdwalts 26dfd6ef92 FEM: constraint pressure: some changes in core implementation 2016-08-04 17:45:04 +02:00
vdwalts 0e7c97b356 FEM: constraint fixed: change reference selection behavior to only allow same shape type 2016-08-04 17:45:04 +02:00
vdwalts 3998e2433b FEM: constraint fixed: some changes in core implementation 2016-08-04 17:45:04 +02:00
vdwalts 1b8e56378a FEM: use new pref for manually set num processor cores in ccx run 2016-08-04 17:45:04 +02:00
vdwalts 414b2b0ffa FEM: task panel solver calculix: add time step to writing file 2016-08-04 17:45:04 +02:00
vdwalts 6965b4553f FEM: task panel solver calculix: add thermomech analysis button 2016-08-04 17:45:04 +02:00
vdwalts e8143ab0cf FEM: task panel show results: add principat stress temperature and user calculation input field 2016-08-04 17:45:04 +02:00
vdwalts 1d61226313 FEM: ccx frd reader: add reading and calculating principal stresses 2016-08-04 17:45:04 +02:00
vdwalts d4e3ea7cb6 FEM: ccx frd reader: add reading temperature related results 2016-08-04 17:45:04 +02:00
vdwalts 4838dd317f FEM: core: changes in result object 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 57d0b0752a FEM: ccx input writer: add some comments 2016-08-04 17:45:04 +02:00
Bernd Hahnebach e33940ace6 FEM: thermomechanical analysis: add pre check for initial temperature 2016-08-04 17:45:04 +02:00
Bernd Hahnebach c06c5788e2 FEM: constraint thermomech: add implementation for solver CalculiX and fix FEM unit tests 2016-08-04 17:45:04 +02:00
vdwalts a3eca5f083 FEM: constraints thermomechanical: add icons 2016-08-04 17:45:04 +02:00
vdwalts 5adea8f032 FEM: constraints thermomechanical: object implementation 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 26dabdfca7 FEM: task panel mechanical material: add thermomech related changes 2016-08-04 17:45:04 +02:00
Bernd Hahnebach ce4f8b4cf9 FEM: use new CalculiX matrix solver types (spooles, iterativecholesky, etc.) in ccx file writer 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 81e9e8b3be FEM: solver object CalculiX: add new attributes and use defaults from prefs
and fix FEM unit tests
2016-08-04 17:45:04 +02:00
Bernd Hahnebach 66a71b1a35 FEM: GUI: pref: better layout for ccx prefs 2016-08-04 17:45:04 +02:00
vdwalts 79be296bc3 FEM: GUI: pref: removing empty entry in the matrix solver combo box 2016-08-04 17:45:04 +02:00
vdwalts 5effc85d71 FEM: GUI: pref: adding icons for static and thermo-mechanical analysis to the fem tab 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 9aa9664c1a FEM: GUI: pref: move CalculiX related preferences to CalculiX tab 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 4ea7fc6e89 FEM: GUI: pref: add new CalculiX Solver attributes to a new CalculiX tab 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 7760c5cce1 FEM: constraint plane rotation: add implementation for solver CalculiX 2016-08-04 17:45:04 +02:00
vdwalts e5ed109f1b FEM: constraint plane rotation: add icon 2016-08-04 17:45:04 +02:00
vdwalts fdee687f01 FEM: constraint plane rotation: object implementation 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 9107e92b52 FEM: constraint contact: add implementation for solver CalculiX 2016-08-04 17:45:04 +02:00
vdwalts 116c9717cc FEM: constraint contact: add icon 2016-08-04 17:45:04 +02:00
vdwalts 4eb39c5c36 FEM: constraint contact: object implementation 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 4df30061e5 FEM: fix z88 solver and resort fem objects in tools and writer 2016-08-04 17:45:04 +02:00
Bernd Hahnebach d8c294c54d FEM: solver CalculiX: add geometrical nonlinear analysis 2016-08-04 17:45:04 +02:00
Bernd Hahnebach da91fded97 FEM: add some pre checks in the regard of FEM mesh 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 1224d6e039 FEM: ccx writer: change some wrong ccx input file comments and fix FEM unit tests 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 03ca2ebe55 FEM: materials: some small changes in task panel and ccx writer 2016-08-04 17:45:04 +02:00
vdwalts eb305c142f Materials: add thmermomechanical material values to gerneral steel and calculix steel 2016-08-04 17:45:04 +02:00
vdwalts f9c5661096 Base: Units: add units for thermomechanical analysis 2016-08-04 17:45:04 +02:00
Bernd Hahnebach 984e7994a4 :-) Since We are not gone stop improving it, the code will never be finished! :-) ... hopefully 2016-08-04 17:45:04 +02:00
wmayer 461c0b1f7b fix TopoShape::getFacesFromSubelement 2016-08-04 15:22:30 +02:00
wmayer 5fb7faeeef expose getFacesFromSubelement to Python 2016-08-04 14:44:40 +02:00
wmayer dc25c73e30 + example of sequence protocol of Python type 2016-08-02 10:26:59 +02:00
WandererFan a539cec1a3 Correct Radius leader behaviour 2016-08-01 19:27:52 -03:00
WandererFan 40fa4e0d40 Qt item parenting and garbage collection
Remove dupl/obsolete code
2016-08-01 19:27:52 -03:00
WandererFan 3588479ff5 Add LineWidth property for Dimension lines 2016-08-01 19:27:52 -03:00
WandererFan e95d527267 Fix 2630 Dimension line thickness in SVG & print
Meaningful variable names.
2016-08-01 19:27:52 -03:00
WandererFan fe871cd245 Correct pageSize determination
remove obsolete code
2016-08-01 19:27:52 -03:00
WandererFan 78924d3a22 Fix scaling for ViewSymbol 2016-08-01 19:27:52 -03:00
Yorik van Havre 4de1b39b4f Spreadsheet: Made SheetPython inherit python object from Sheet 2016-08-01 13:17:47 -03:00
Yorik van Havre f532e60f30 Added appveyor control file 2016-08-01 13:16:58 -03:00
Yorik van Havre a79d2c6c9b Arch: fixed import of IFC object without representation 2016-08-01 10:54:09 -03:00
wmayer 3785cf7631 add parameters to IsDeformed method 2016-07-31 19:08:42 +02:00
wmayer 33bb67edcb fix rounding issue in IsDegenerated() method 2016-07-31 17:37:23 +02:00
wmayer 0ae92950f0 fix rounding issue in IsDegenerated() method 2016-07-31 13:48:09 +02:00
wmayer 9e4de92ce1 expose mesh analyzing functions to Python 2016-07-31 12:13:37 +02:00
wmayer 8a5c03b671 + allow to customize algorithms in mesh evalutation panel 2016-07-30 19:51:16 +02:00
wmayer dfb460d3bd + add getter method to return current render mode 2016-07-30 15:45:36 +02:00
wmayer 51171fd932 + implement modifier class to allow limited access to internals of mesh kernel class 2016-07-30 15:31:45 +02:00
wmayer 1e2e24b652 + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
wmayer 5c095de599 + extend InventorBuilder to add an SoPolygonOffset node 2016-07-30 14:20:00 +02:00
maito78 8fe7c94452 Add parameter at given distance method for curves 2016-07-29 22:40:19 +02:00
wwmayer a14794b4d5 Merge pull request #229 from DeepSOIC/BOPTools1
BOP tools (Part wb): new joinfeatures, and shape splitting tools/compsolid creation tools
2016-07-29 22:11:38 +02:00
DeepSOIC e9b31ddb6a Part: add/update GUI commands
* Updated translation contexts for  Gui commands for JoinFeatures.
* Added Gui commands for Split tools: BooleanFragments, Slice, XOR.
Icons.
2016-07-29 14:20:52 +03:00
DeepSOIC c069987e41 Part: add BOPTools package as member of Part Py module 2016-07-29 14:18:01 +03:00
DeepSOIC 87b7c86197 Part: add BOPTools package
Containing implementation of new JoinConnect, as well as new splitting
tools: BooleanFragments, Slice and XOR.
2016-07-29 14:16:54 +03:00
DeepSOIC ea586e9880 Part: deprecate old JoinFeatures code
Commented out all the code not essential for recomputing old
JoinFeatures. The rest is left to support opening old projects.
2016-07-29 14:13:12 +03:00
Yorik van Havre 54c8828237 Arch: Made IfcProduct untranslatable in IFC preferences page 2016-07-28 12:20:59 -03:00
wmayer 732eb7fee3 support any sequence type in init method of Vector class 2016-07-27 09:23:20 +02:00
Yorik van Havre 67458d5bd2 Added new 0.17 devs in credits 2016-07-25 11:40:33 -03:00
Yorik van Havre 067b12dd3f Included addon authors in credits 2016-07-25 10:24:01 -03:00
Jonathan Wiedemann 41307ef5a1 Move printMessage in ArchCommands.
Messages are translatable.
2016-07-24 19:57:23 -03:00
Jonathan Wiedemann 15b70be51b Fix wrong display of translated message. 2016-07-24 19:57:23 -03:00
Jonathan Wiedemann b114a051f4 Allow floors in floor object. 2016-07-24 19:57:23 -03:00
Jonathan Wiedemann 7425394df9 Arch: Fix Site, Building, Floor objects creation
-New param : GetBool("FreeLinking",False), unavailable in pref see
parameters
-by default :
allow create Site on Building only
deny create Building on Site or Building
deny create Floor on Site, Building,Floor
-option:
allow create and linking what you want (until non-DAG)
2016-07-24 19:57:23 -03:00
wmayer 1f3c2ef2c8 support transparent background when using renderToFramebuffer 2016-07-24 22:24:58 +02:00
wmayer 3d95e9ac4b support groups for export to obj format 2016-07-24 16:16:42 +02:00
wmayer 1101623760 implement method to convert escaped unicode to utf-8 encoded string 2016-07-24 16:14:40 +02:00
wmayer 5725ad28fc improve whitespaces 2016-07-24 13:10:08 +02:00
wmayer f00a0b1a61 issue #0002638: Windows installer doesn't create the macro folder 2016-07-24 11:25:21 +02:00
wmayer 1c752a84d5 use <> for inclusion of generated headers 2016-07-24 11:08:40 +02:00
wmayer 3e1ce240ba translation items of OSX application menu 2016-07-24 10:56:12 +02:00
wmayer cc78503935 improve groups handling of obj mesh format 2016-07-24 00:23:45 +02:00
Sergei Krivonos 39e577817a Added Crank drawing test code and fcstd
Change-Id: I7f08342587bd9e3363d8c1073e51baec03be2813
2016-07-23 11:58:58 -03:00
Sergei Krivonos 77753a6df5 fixed makeWire face parameter treating
Change-Id: If72a3a1615a56064b113b4d4b1f282ad0229b88d
2016-07-23 11:58:35 -03:00
WandererFan cb51799f60 Refactor method to base View
Auto allocate member attributes
2016-07-23 15:03:39 +02:00
WandererFan aa8fea7ba4 Fix GH Issue 49 Clip artifact 2016-07-23 15:03:39 +02:00
WandererFan 222492c912 remove unneeded boundingRect methods 2016-07-23 15:03:39 +02:00
WandererFan 48bd90004f Remove obs property & code 2016-07-23 15:03:39 +02:00
WandererFan c8a4cf20ad Simplify ClipMinus selection logic 2016-07-23 15:03:39 +02:00
WandererFan 131c34cf9e Center new view on Page/ClipGroup 2016-07-23 15:03:39 +02:00
wmayer f2bad4598a + fix order of removed objects in transaction list
+ add assert to check for obvious error
+ removed unneeded method
2016-07-23 11:47:01 +02:00
wmayer 0f2db9061f prepare view provider for undo/redo 2016-07-23 11:46:19 +02:00
wmayer 9ec06b47c6 prepare view provider for undo/redo 2016-07-23 11:45:38 +02:00
wmayer f0e00311cd prepare view provider for undo/redo 2016-07-23 11:45:21 +02:00
WandererFan 62a8828dc8 Fix 0002627 wrong value in dimension
Remove obolete dimension properties
2016-07-21 19:50:38 -04:00
Bernd Hahnebach 5c2ffb784a FEM: pyhton code formating: comment should start with '# ' 2016-07-21 18:40:51 -03:00
Bernd Hahnebach 30baceeb61 FEM: python code formating flake8: add white space to start comment block, where missing 2016-07-21 18:40:51 -03:00
Bernd Hahnebach 7f61a9c19b FEM: input writer ccx: better def name and comments 2016-07-21 18:40:51 -03:00
Bernd Hahnebach 240c43b3b7 FEM: small changes in comments in FemTools 2016-07-21 18:40:51 -03:00
Bernd Hahnebach 938dfbbca9 FEM: GUI: typos in FEM menue and icon tool tipps 2016-07-21 18:40:51 -03:00
Bernd Hahnebach 684aca461e FEM: code formating: trailing white spaces 2016-07-21 18:40:51 -03:00
Bernd Hahnebach ae9bc220d5 FEM: do not write empty constraints to ccx input file 2016-07-21 18:40:51 -03:00
Bernd Hahnebach 513bb65eab FEM: typo in input writer ccx 2016-07-21 18:40:51 -03:00
Bernd Hahnebach 83f4852274 FEM: example files: update materials 2016-07-21 18:40:51 -03:00
Bernd Hahnebach cc1bd86923 FEM: check prerequisites: adapt to self weight 2016-07-21 18:40:51 -03:00
Bernd Hahnebach b69116b4aa FEM: constraint self weight: implementation for solver CalculiX 2016-07-21 18:40:51 -03:00
Bernd Hahnebach 3554c70483 FEM: constraint self weight: add icon 2016-07-21 18:40:51 -03:00
Bernd Hahnebach 84e017e4db FEM: constraint self weight: object implementation 2016-07-21 18:40:51 -03:00
Yorik van Havre 90d181aec2 Merge pull request #226 from WandererFan/QtyPrecision
Fix 2628 Quantity::getUserString Fixed Precision
2016-07-21 18:39:02 -03:00
WandererFan eabc483c6c Use Units Decimals pref in Quantity::getUserString 2016-07-21 12:55:39 -04:00
Przemo Firszt 8fc0fcf4ae [Material] Fix acrylic glass density and remove comments 2016-07-20 21:48:07 +01:00
wmayer 99bdef7586 apply workaround from Debian to fix error message with not found SMDS_MemoryLimit 2016-07-19 12:13:08 +02:00
wwmayer 4aa23dd774 Merge pull request #222 from wwmayer/pr190
Improve NETGEN detection and support V6.
2016-07-19 10:43:28 +02:00
Jose Prous 9fb958f553 fix some compilation errors 2016-07-19 09:53:23 +02:00
Przemo Firszt 4e7f1d305b [Material] Amend Aluminum-6061-T6.FCMat
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-07-18 17:40:15 -03:00
Yorik van Havre d6cbf39cfe Merge pull request #224 from WandererFan/HatchExport
Prevent Hatch Export to SVG
2016-07-18 17:37:03 -03:00
WandererFan 985ac47f67 Prevent buildup of old QGItems 2016-07-17 10:43:55 -04:00
WandererFan 094a63356f Exclude hatches from SVG export.
QtSvg does not support clipping which is required for hatches.
2016-07-17 10:43:54 -04:00
wmayer bff60f36a7 fix build failure with occ 6.9.0 2016-07-17 16:18:12 +02:00
wmayer 2a9be8abb8 issue #0002486: Menu 'Preferences...' entry changes depending on language 2016-07-17 14:20:53 +02:00
wmayer c5316d31a9 add quantity property to FeatureTest with kg/m^3 2016-07-17 13:40:08 +02:00
wmayer 7544444d63 issue #0002625: Wrong dimension (str) from Unit 2016-07-17 13:14:06 +02:00
wmayer 09e1483f10 improve whitespaces 2016-07-17 12:46:46 +02:00
vejmarie da70ba1642 Fix MED Reader
Assign same Mesh name into MED archive based on shortfilename during write and read operation
2016-07-16 17:43:20 +02:00
Johannes Obermayr 5b738f9e22 Improve NETGEN detection and support V6. 2016-07-16 17:08:05 +02:00
vejmarie 8051d32adc Fix UNV file read which was broken due to missing cards 2016-07-15 21:02:45 +02:00
wmayer 849704cff8 suppress log messages of selection changes in release build 2016-07-15 16:02:06 +02:00
wwmayer fe60a44f5c Merge pull request #219 from tomate44/tomate44-BezierSurface-fix
fix VDegree
2016-07-15 13:57:52 +02:00
wmayer 037cf48cef class with virtual methods must have virtual destructor 2016-07-15 13:52:27 +02:00
Mateusz Skowroński d7240c6b2b Fix some GCC warnings. 2016-07-15 13:05:37 +02:00
tomate44 2bed80b57e fix VDegree
fix for getVDegree that was returning UDegree
2016-07-15 11:27:24 +02:00
Lorenz Hüdepohl 803c136968 Path: Fix spurious full circles in PathProfile
There was an issue in the conversion from a toolpath to GCode, some very
small circles were mistaken for full circles when their coordinates were
output in some finite precision.
2016-07-15 10:57:12 +02:00
wmayer b4c084dd06 replace tabs with spaces 2016-07-15 10:44:19 +02:00
Sergo 9f0db2d900 refuse to create partdesign objects if no active body in document 2016-07-15 10:35:52 +02:00
WandererFan e62d883f54 Prevent invisible faces.
Warn if Direction == XAxisDirection
2016-07-14 18:10:27 -04:00
WandererFan 2c8f497292 Get user prefs at time of use 2016-07-14 15:55:57 -04:00
WandererFan 9dec3c540e Fix default normal/select/preselect colors 2016-07-14 15:55:57 -04:00
wmayer f1d59002be + handle usage of libmedc < 3.0.7 2016-07-14 21:35:13 +02:00
wmayer ff060d4f1f + fix possible crash inside NavigationStyleP::viewAnimationCB if viewer has no camera node 2016-07-14 17:14:10 +02:00
wmayer ba72952dd8 + suppress log messages of active document or view in release build 2016-07-14 16:32:29 +02:00
wmayer bdb359df39 + GFA is available since OCC 6.9.0, raise an AttributeError otherwise 2016-07-14 15:16:02 +02:00
wmayer 6dc1a93970 + fix linking errors with MED V2 wrapper classes 2016-07-14 15:10:36 +02:00
vejmarie c64d575fee Enable MED class init 2016-07-14 14:53:46 +02:00
vejmarie e5c5336397 Fix MED Export 2016-07-14 14:53:46 +02:00
Mateusz Skowroński 9154f31f51 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-14 14:49:19 +02:00
WandererFan bda5c6233c Remove unconnected signals 2016-07-14 14:39:06 +02:00
WandererFan de76cd6b53 Remove superfluous OCC includes 2016-07-14 14:39:06 +02:00
WandererFan 19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
wmayer 161f418824 + expose OCC version number to Python 2016-07-14 14:11:54 +02:00
sliptonic c5b501b9d3 Bugs. 2016-07-12 20:13:45 -03:00
sliptonic 4880e633b9 bug preventing tool change gcode
from being added to postprocess
2016-07-12 20:13:45 -03:00
sliptonic f6654c8a6d Dressup to add dragknife corner actions to a path
Dragknives have an offset so paths must be extended to complete the cut.
They also require special handling if the incident angle between two segments
is small.  This dressup provides properties for the filter angle, offset
distance, and pivot height.  One known area still needs to be addressed:

If the segment being processed is shorter than the offset distance, the
extension may be added incorrectly.

Additional corner strategies could also be added in the future to enhance drag
knife performance.

Some of the files also got a pep8 cleanup.

PathKurveUtils:  logic around line #460 to always pass Z value.
Previously, the Z was only passed if it changed.  This caused some downstream
problems for dressup functions.

Changes to Dressup so it works with parent objects correctly.
2016-07-12 20:13:45 -03:00
sliptonic 19306c6d1c Show a simple representation of the tool
Builds a representation of the tool and shows it while the task dialog is open.

Next:  Need to make the representation more accurate with respect
to end shape, corner radius, etc.

Need to improve the tool library handling

Need to improve the tool selection process.
2016-07-12 20:13:45 -03:00
sliptonic c5d35a00c4 Engrave now can handle imported SVG elements.
Selection gate changed to allow selection of Shape objects with
boundbox.z = 0 and having wires.

Splines and curves are processed through pathutils.cleanedges but the precision is
hard coded.  Might want to change this to a property.
2016-07-12 20:13:45 -03:00
Yorik van Havre 8f84b19ed9 Merge pull request #212 from WandererFan/TDFix
TechDraw: 2 Minor Fixes
2016-07-12 18:46:56 -03:00
WandererFan 3c2222ba60 Fix #58 ProjectionGroupItem positioning after restore 2016-07-12 15:53:20 -04:00
WandererFan 1a87644f44 DrawViewSymbol forgets Scale on restore 2016-07-12 15:20:08 -04:00
WandererFan 2ac560e7b0 Fix template field dialog multiple instances 2016-07-11 15:32:16 +02:00
WandererFan 277a00dc3c dlgTemplateField parentage
cosmetic: move button box
2016-07-11 15:32:16 +02:00
WandererFan 8edfa147da Implement ShowCutSurface 2016-07-11 15:32:16 +02:00
WandererFan fc9c4d2bf5 Fix #56 ViewSection
- too many edges in result
2016-07-11 15:32:16 +02:00
WandererFan 8d859c91e1 Fix Vertex hover behaviour
Refactor to reduce duplicate code
Fix Section face color mix on hover
2016-07-11 15:32:16 +02:00
WandererFan dd5b461e35 Fix crash in dtor of QGVPage 2016-07-11 15:32:16 +02:00
WandererFan 19ff06c9cd View does not appear on Redo
Crash in Page on Redo View
2016-07-11 15:32:16 +02:00
WandererFan 32a8621e14 Dimension Precision property does not update
VPs updateData doesn't call parent
2016-07-11 15:32:16 +02:00
WandererFan c4aa9973d3 Apply "layout" to template field dialog 2016-07-11 15:32:16 +02:00
WandererFan 66fa2a242e prevent fail when scale is zero 2016-07-11 15:32:16 +02:00
WandererFan 350d8bb55b fix precision and thousands separator 2016-07-11 15:32:16 +02:00
WandererFan 8e70d6c569 Changed UI 2016-07-11 15:32:16 +02:00
WandererFan eb0097782b Add unit tests for TechDraw 2016-07-11 15:32:16 +02:00
WandererFan f613a91460 Handle accented chars 2016-07-11 15:32:16 +02:00
WandererFan c880c0c704 TemplateTextField double click crash 2016-07-11 15:32:16 +02:00
WandererFan 0ee878fa47 Correct Radius Dim leader behaviour 2016-07-11 15:32:16 +02:00
WandererFan 57b79da3af regex_replace invalidates iterators 2016-07-11 15:32:16 +02:00
WandererFan a68b6d068f typo in pixmap name 2016-07-11 15:32:16 +02:00
WandererFan 26aff79a31 Fixes 1-3 per wmeyer 2016-07-11 15:32:16 +02:00
WandererFan 31a8ca23f7 Remove InitGui.py from measure 2016-07-11 15:32:16 +02:00
WandererFan 7a0ae3af52 remove Handle_Geom_Curve.hxx for OCC7 2016-07-11 15:32:16 +02:00
WandererFan 7f442f1f42 Fix sloppy Namespace qualifiers 2016-07-11 15:32:16 +02:00
WandererFan ed2de2c06e Default font to Sans from osifont 2016-07-11 15:32:16 +02:00
WandererFan aa5df7c9ba REQUIRES_MODS(BUILD_TECHDRAW... 2016-07-11 15:32:16 +02:00
WandererFan 05d94f31f8 Colored SVG Hatch patterns 2016-07-11 15:32:16 +02:00
WandererFan 731f76f52d Hatch using svgItem 2016-07-11 15:32:16 +02:00
WandererFan ba71e074ce DrawHatch derives from DocumentObject
Remove Face selected box
Add Face# to Hatch Label
2016-07-11 15:32:16 +02:00
WandererFan efe10e0fb9 Fix #11 View Selection In Tree 2016-07-11 15:32:16 +02:00
WandererFan bca002ff09 Hatch View Faces 2016-07-11 15:32:16 +02:00
WandererFan d26fa56838 Fix non-section faces in ViewSection 2016-07-11 15:32:16 +02:00
WandererFan 6cec1df189 Working Face selection 2016-07-11 15:32:16 +02:00
WandererFan f11e8ffa10 Basic Face detection using BGL 2016-07-11 15:32:16 +02:00
Ian Rees cd96b40983 Removed unused QObject inheritances. 2016-07-11 15:32:16 +02:00
Ian Rees b883434318 Remove ctor args from QGIView and descendents. 2016-07-11 15:32:16 +02:00
WandererFan 4fe9267eeb Add modified A3_Landscape template 2016-07-11 15:32:16 +02:00
WandererFan 510569f05b Fix issue 53 Drawing templates 2016-07-11 15:32:16 +02:00
WandererFan f59173c728 Fix load Dimension w/ broken ref 2016-07-11 15:32:16 +02:00
Ian Rees 6133971747 Cleaning up compile warnings. 2016-07-11 15:32:16 +02:00
Ian Rees 0e68943ac3 Tidy up in MDIViewPage 2016-07-11 15:32:16 +02:00
WandererFan 1b7b6d96aa Handle malformed SVG in Template
Prevent invalid data input for Editable Text
2016-07-11 15:32:16 +02:00
WandererFan 1bf3d2b9e6 Yet another /Drawing/TechDraw/ edit! 2016-07-11 15:32:16 +02:00
WandererFan 3eba56d463 Apply fix (FC2347) for boost v1.60.0 2016-07-11 15:32:16 +02:00
WandererFan 3b96cbbeb6 wmayer patch for Win & OCC7 compat 2016-07-11 15:32:16 +02:00
WandererFan 015c538638 Py convenience functions for Template EditableTexts 2016-07-11 15:32:16 +02:00
WandererFan 2c73823788 Prettify dialog to change EditableTexts 2016-07-11 15:32:16 +02:00
WandererFan a4061bb6a5 Fix #10 View Visibility 2016-07-11 15:32:16 +02:00
WandererFan c37df54c0f fix BRect calc for non-custom items 2016-07-11 15:32:16 +02:00
WandererFan 665bea53cf Svg DrawViewSpreadsheet 2016-07-11 15:32:16 +02:00
Ian Rees 898587454f Turned DrawUtil into class with static methods. 2016-07-11 15:32:16 +02:00
Ian Rees c6bcfd84ce chainGeoms() and nextGeom() are now static methods 2016-07-11 15:32:16 +02:00
Ian Rees 88bc3574aa Whitespace cleanup. 2016-07-11 15:32:16 +02:00
WandererFan 358c55c228 Use Units Decimal setting 2016-07-11 15:32:16 +02:00
WandererFan dc205d37fc fix #16 Units for Dimensions 2016-07-11 15:32:16 +02:00
WandererFan 5af541e340 Standardize icon naming 2016-07-11 15:32:16 +02:00
WandererFan 9a85375705 fix default Hatch file/dir 2016-07-11 15:32:16 +02:00
WandererFan 37df199f24 avoid assert fail on DrawPatch attach 2016-07-11 15:32:16 +02:00
Ian Rees 268aa8b3ec Tidy up after bad merge 2016-07-11 15:32:16 +02:00
WandererFan fb439b3d34 Handle multiple DrawPage in Document 2016-07-11 15:32:16 +02:00
WandererFan bd1c150930 remove obsolete 3D reference code 2016-07-11 15:32:16 +02:00
WandererFan d73ffaa55b Preserve True/Projected state on save/restore 2016-07-11 15:32:16 +02:00
WandererFan 7f7e63dfe0 link Dimension to 3D geometry 2016-07-11 15:32:16 +02:00
WandererFan 88ad069817 change Dimension.ProjectionType -> MeasureType 2016-07-11 15:32:16 +02:00
Ian Rees e4b5bba140 Move SVG output method from MDIViewPage to QGVPage 2016-07-11 15:32:16 +02:00
WandererFan 83a0078bd5 Fix App logic in ViewProviders -> segfaults 2016-07-11 15:32:16 +02:00
WandererFan bd13d33937 Fix View positioning for Automatic scaling 2016-07-11 15:32:16 +02:00
WandererFan 7c6d92238a Fix Angle Dimension validation 2016-07-11 15:32:16 +02:00
WandererFan 96d817e280 Fix #41 Projoection Group Spacing
Fix glitch when change First <-> Third Angle
2016-07-11 15:32:16 +02:00
Ian Rees 1b52a517bf Disable commands when no active document. 2016-07-11 15:32:16 +02:00
Ian Rees a01e774405 Fix enum values for first/third angle preference 2016-07-11 15:32:16 +02:00
WandererFan ac0963c561 Fix Part display on property changes 2016-07-11 15:32:16 +02:00
WandererFan 32e3c01c2d Fix Document/Custom Scale handling 2016-07-11 15:32:16 +02:00
WandererFan c32d71c47f Add more preferences 2016-07-11 15:32:16 +02:00
WandererFan 20de9af2c2 Fix Hatch path fp math
Fix section face painting
2016-07-11 15:32:16 +02:00
WandererFan a996c0a3af Brush rendering notes 2016-07-11 15:32:16 +02:00
WandererFan a15825fa4c Fix issue #29 view handles 2016-07-11 15:32:16 +02:00
WandererFan 8cbd6d0b23 Section face positioning/display 2016-07-11 15:32:16 +02:00
WandererFan af7d7f3118 ScaleType/Scale linkage & PropertyEditor 2016-07-11 15:32:16 +02:00
WandererFan 8a9c708659 HLR looses Shape for some ProjGroupItems 2016-07-11 15:32:16 +02:00
WandererFan 012693a190 Missing ProjectionGroup icons 2016-07-11 15:32:16 +02:00
WandererFan 14a9fd4fcd Fix issue 7 Projection Results 2016-07-11 15:32:16 +02:00
Ian Rees d95bf4786d Forgot to not use auto()... 2016-07-11 15:32:16 +02:00
Ian Rees dff7f7811f Fixed Save and Save As in MDI view 2016-07-11 15:32:16 +02:00
WandererFan 2628550860 typo in property name 2016-07-11 15:32:16 +02:00
WandererFan 699c066991 Add HTML/CSS Styles to Annotation 2016-07-11 15:32:16 +02:00
WandererFan c7d845cc5b Basic working version of DrawViewDraft 2016-07-11 15:32:16 +02:00
WandererFan 6fe7add213 add ToggleFrame command 2016-07-11 15:32:16 +02:00
WandererFan 42eed349ac add Python functionality for ProjectionGroups 2016-07-11 15:32:16 +02:00
WandererFan 707ef236f3 Add Python functionality for DrawHatch 2016-07-11 15:32:16 +02:00
WandererFan 91526af69c remove superfluous execue()s 2016-07-11 15:32:16 +02:00
Ian Rees c70114f8da Fix compilation on Mac + small filename typo. 2016-07-11 15:32:16 +02:00
WandererFan a40e398227 fix range_check error during Dimension creation 2016-07-11 15:32:16 +02:00
WandererFan 40493d49db Py functionality for Dimensions 2016-07-11 15:32:16 +02:00
WandererFan 0372b1e8aa more /Drawing/TechDraw/ for Commands 2016-07-11 15:32:16 +02:00
WandererFan 2abc79eb97 note re module level functions 2016-07-11 15:32:16 +02:00
WandererFan 6d07fec219 Python functionality for ViewPart and ViewClip 2016-07-11 15:32:16 +02:00
WandererFan 5bf42856fd 1st cut PyClip functionality 2016-07-11 15:32:16 +02:00
WandererFan ccdb56c06e use Mod/TechDraw for preferences 2016-07-11 15:32:16 +02:00
WandererFan 5a7dd5d123 implement page.addView for Python 2016-07-11 15:32:16 +02:00
WandererFan 05c730f38d Preferences "Drawing" -> "TechDraw" 2016-07-11 15:32:16 +02:00
WandererFan a46fd856d4 more /Drawing/TechDraw/ edits. VP name conflicts 2016-07-11 15:32:16 +02:00
WandererFan 008a19d89f Allow conversion between FC Color and QColor 2016-07-11 15:32:16 +02:00
WandererFan cb25c494de misc /Mod/Drawing, QGI, obs functions 2016-07-11 15:32:16 +02:00
WandererFan 8eb8e96b72 rename qrc 2016-07-11 15:32:16 +02:00
WandererFan a9d6f1568b /QGI/QGraphicsItem/ 2016-07-11 15:32:16 +02:00
WandererFan 9062b7e727 Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan 7e49a1b986 Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan f096a9d6ff Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan ed47ae4916 StatusBits -> setStatus 2016-07-11 15:32:16 +02:00
WandererFan e40bbdad5b Mod/Measure warnings 2016-07-11 15:32:16 +02:00
WandererFan 3b2d07e8af ProjectionAlgo & DrawingExport renames 2016-07-11 15:32:16 +02:00
WandererFan bf8a228405 Add init files for /Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan 67bf21277a cmake changes for /Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan 8e77d3583e Add Mod/TechDraw/Gui/Resources 2016-07-11 15:32:16 +02:00
WandererFan 7c009c6def Add Mod/TechDraw/Gui 2016-07-11 15:32:16 +02:00
WandererFan 189839e93d Add Mod/TechDraw/App 2016-07-11 15:32:16 +02:00
WandererFan 96ba139f70 Add /Mod/Measure for TechDraw 2016-07-11 15:32:16 +02:00
Bernd Hahnebach 40a9403eef FEM: material references, select solid by one click on a vertex 2016-07-11 15:27:20 +02:00
Bernd Hahnebach 251a8d4bac FEM: trailing whitespaces 2016-07-11 15:27:20 +02:00
vejmarie abe8457cb3 Add return statement to areteideale 2016-07-11 12:21:21 +02:00
vejmarie d344319f22 Fix Win32 build (thanks wmayer for the issue) + Mefisto 2D Mesh generation 2016-07-11 12:21:21 +02:00
Yorik van Havre bcb99fb363 Arch: Fixed transparency-related display issues 2016-07-09 14:01:35 -03:00
Yorik van Havre 223725ca82 Temporary workaround for the fractions issue in new imperial unit schema (using + between inches and fractions) 2016-07-09 14:01:07 -03:00
Yorik van Havre 79ddfd1bcf Arch: fixed aggregation bug in IFC export 2016-07-08 11:09:57 -03:00
Yorik van Havre a8c95189fc Path: added addObject & removeObject python methods to FeatureCompound - fixes #2607 2016-07-07 19:49:00 -03:00
Mateusz Skowroński d9b7a5fbbf Use byteCount() instead of obsolete numBytes().
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński 2c79424f81 Fix includes to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński 8b2f435c04 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński 873f8e3ea7 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-07 15:07:38 -03:00
Jonathan Wiedemann 336f8ada5e add "return" in libraries checking 2016-07-07 15:03:09 -03:00
Jonathan Wiedemann 34d8680d8c fix json error 2016-07-07 15:03:09 -03:00
Yorik van Havre 43e0834fb4 Part: Enabled per-face transparency 2016-07-07 12:46:25 -03:00
Yorik van Havre aadf63eecf Arch: Fixed bugs in IFC export 2016-07-07 11:54:18 -03:00
wwmayer 0de173da28 Merge pull request #206 from bblacey/develop
Build FreeCAD for OS X with OCCT7
2016-07-07 09:30:33 +02:00
Bruce B. Lacey a37cfdd512 Build FreeCAD for OS X with OCCT7 2016-07-06 15:05:40 -07:00
wwmayer 462e8ec4db Merge pull request #203 from vejmarie/fix_vtkcelliterator
Fix vtkcelliterator
2016-07-05 14:46:26 +02:00
wwmayer debda7685a Merge pull request #204 from bblacey/develop
Leverage ccache to reduce build times (both locally and on Travis-ci)
2016-07-05 11:45:54 +02:00
Bruce B. Lacey ca94f64c75 Leverage ccache to reduce build times (both locally and on Travis-ci) 2016-07-04 15:17:58 -07:00
vejmarie a247aab259 Fix aType detection for QUAD_Tetra elements 2016-07-04 22:40:18 +02:00
DeepSOIC ca0a640aed Part: TopoShapePy: made Solid constructor accept CompSolid
Part.Solid(shape) now accepts compsolid as input, and creates a solid by
joining the compsolid.

Same done to Part.makeSolid().

+ change exception handling to expose the error message.
2016-07-04 14:58:53 +03:00
DeepSOIC 885fecb1ea Part: TopoShapePy: add generalFuse method 2016-07-04 14:57:50 +03:00
DeepSOIC c8ebc7f9c2 Part: TopoShape: add generalFuse method (GFA)
OCC's Generaal Fuse Algorithm
2016-07-04 14:55:38 +03:00
John Dupuy ec20073563 Bug fixes to opensbp post processor in Path for ShopBot. 2016-07-03 22:48:53 -03:00
sliptonic bf46ea4804 Additional fixes for post processing.
comment diameter instead of radius for compensated profile/surface ops
opensbp improved pre processor is more explicit with XY values
cmake copies opensbp postprocessor.
Removed unnecessary file.
2016-07-03 22:41:38 -03:00
sliptonic d1b927767a Fix for bug #2528
Improved handling of comments
2016-07-03 22:41:38 -03:00
sliptonic 4d28fff8ee fixes offset problems with OCC pocketing Bug #2604 2016-07-03 22:41:38 -03:00
sliptonic ee5bb83a38 opensbp preprocessor handles float for spindle speed 2016-07-03 22:41:38 -03:00
sliptonic fd57f47e3d Fix feedrate bug #2597
minor edits to linuxcnc post processor
2016-07-03 22:41:38 -03:00
Yorik van Havre 1e333f4ef3 Draft: Fixed buggy units display in Draft widgets 2016-07-03 18:41:33 -03:00
wmayer 6c73ac750a compute minimum volume oriented box 2016-07-02 18:10:23 +02:00
wmayer 0c6d52485c + add WildMagic algorithm to compute minimum volume oriented box 2016-07-02 17:01:56 +02:00
wmayer 8a30ac74b0 + fix gcc warning 2016-07-02 14:28:59 +02:00
wmayer 8f0ea2082a make sure that action is created when calling updateAction 2016-07-02 13:19:25 +02:00
Yorik van Havre 3b1c9b512e Merge pull request #200 from bblacey/develop
Remove gcc from build matrix because it always times out on Travis-CI
2016-07-01 20:17:18 -03:00
Bruce B. Lacey 65433a2fae Remove gcc from build matrix because it always times out on Travis-CI 2016-06-30 16:45:35 -07:00
Yorik van Havre 3a25e058df Draft: builtin C++ DXF importer is now the default 2016-06-30 15:26:07 -03:00
Yorik van Havre 796d0c9f7f Path: support for G90.1 / G91.1 GCodes (absolute/relative arc centers) - fixes #2605 2016-06-29 17:08:08 -03:00
Yorik van Havre 09e9c8966f Arch: recoded Git tool - fixes #2599 2016-06-28 17:36:43 -03:00
wwmayer fa315d2553 Merge pull request #198 from bblacey/develop
Added the Open CASCADE TKCDF library required to build SMESH with OCC…
2016-06-28 18:54:52 +02:00
Bruce B. Lacey 2847b771cd Added the Open CASCADE TKCDF library required to build SMESH with OCCT7.x
and 'quiet'ed search for OpenCascade Community Edition on OS X.
2016-06-28 07:47:18 -07:00
Yorik van Havre 9bd9f56b17 Arch: Added new bimserver task panel - issue #2599 2016-06-25 20:23:22 -03:00
wmayer 1408f0cd0a + fix compiler warning
+ check for existence of directory before using it
2016-06-23 11:25:54 +02:00
Bernd Hahnebach 999330f07b FEM: vtk color bar: fix change of min max value 2016-06-20 17:20:07 +02:00
Bernd Hahnebach 78e4a96f6d FEM: some trailing white spaces 2016-06-20 17:20:07 +02:00
Yorik van Havre 4acca01d87 Merge pull request #192 from DeepSOIC/Sketcher_SmartVisibility
Sketcher visibility automation
2016-06-20 11:49:04 -03:00
DeepSOIC 95f70b0b9d Sketcher: TV: preferences UI
* 4 checkboxes for setting defaults for visibility automation
* "Apply to existing sketches" button
2016-06-20 01:19:30 +03:00
DeepSOIC d9376eb487 Sketcher: visibility automation
Added the following properties to Sketch ViewProvider:
* 4 bools to enable/disable parts of automation
* TempoVis property to hold instance of TempoVis python object, that helps with the automation
2016-06-20 01:19:06 +03:00
DeepSOIC 32f5466df4 Part: AttachmentEditor: withdraw code to use Show module 2016-06-20 01:19:02 +03:00
DeepSOIC 541e84076a New module: Show
A module for gathering code related to visibility automation and the like.

Contains DepGraphTools.py and TempoVis.py, to be withdrawn from
Part/AttachmentEditor.

Also: changes to TempoVis:
* keep TempoVis from from raising
(TempoVis is non-essential functionality, so breaking execution of
unsuspecting routines that use it seems like a bad idea.

* implement saving/restoring camera
(Unfortunately, I failed to implement nice animated restoration.)

* almost proper support of saving to file
(I still couldn't figure out a way to restore reference to document and
viewer. So, falling to using active ones instead (might cause bugs).)
2016-06-20 01:18:09 +03:00
Yorik van Havre 44989a888d Draft: Fixed upgrading several faces 2016-06-18 19:32:19 -03:00
Eivind Kvedalen 7afcb4beda Sketcher: Changed return type of Constraint::getPresentationValue() to Quantity, to be able to include unit. 2016-06-18 09:48:52 +02:00
Eivind Kvedalen 171fce7b19 Sketcher: Fixed radian/degree mix-up for Angle constraint. 2016-06-18 09:48:46 +02:00
wmayer 75240e0058 code cleanup in App Document 2016-06-17 22:12:23 +02:00
Yorik van Havre 4f8c9359e2 Arch: Fixed buggy placement of windows 2016-06-16 21:58:44 -03:00
Yorik van Havre 95195e3765 Arch: updated OBJ/DAE exporters to export groups 2016-06-16 18:31:21 -03:00
Yorik van Havre dce4695674 Arch: Fixed export of cloned windows to IFC 2016-06-16 17:42:27 -03:00
Yorik van Havre f6c7587857 Added Touch action to context menu of selection view 2016-06-16 14:03:46 -03:00
wmayer 26df852f07 improve whitespaces 2016-06-16 15:00:30 +02:00
Jean-Marie Verdun c5ae381711 Add FreeCAD snap environment into source tree 2016-06-16 14:57:29 +02:00
Jean-Marie Verdun 26acda4f82 Add some minot change to the vagrant build 2016-06-16 14:57:07 +02:00
Jean-Marie Verdun cc73e32baf Move the launcher into the right directory 2016-06-16 14:56:50 +02:00
Jean-Marie Verdun c473ef4c75 Add FCUserData declaration into Application.cpp to properly read FREECAD_USER_DATA environment variable 2016-06-16 14:56:21 +02:00
Jean-Marie Verdun b0eea10e8e Add basic vagrant compilation capability
Add 	FREECAD_USER_DATA environment variable required to support snap on ubuntu which is using Apparmor to
	limit application access to filesystem.
Add	automatic snap build on Xenial (ubuntu 16.04) within Vagrant build
Info	Build results are into /home/vagrant/Results (deb + snap
2016-06-16 14:55:59 +02:00
wmayer c832fb5561 + issue #0002578: Duplicate objects copied and exported 2016-06-16 14:40:28 +02:00
Sergo 8902e18da6 filter objects to exclude duplicates during copy 2016-06-16 14:33:42 +02:00
Sergo dc17dbf510 filter selection to exclude object duplicates before export 2016-06-16 14:33:30 +02:00
Ian Rees fa6c8805ba Clean up warnings due to missing 'override'. 2016-06-16 14:14:52 +02:00
wmayer f4dee44f42 restore previous hdf5 check for Linux 2016-06-16 13:59:07 +02:00
wmayer 9cd705d8e4 fix uic warning: Z-order assignment: '' is not a valid widget 2016-06-16 12:49:06 +02:00
wmayer ce62b65684 fix check for hdf5 library 2016-06-16 12:38:13 +02:00
wmayer 9dc6d7f8c0 fix further warnings in libarea 2016-06-16 11:12:12 +02:00
wmayer c8a02521d4 + do not pollute all projects with vtk options that don't use this library 2016-06-16 10:26:59 +02:00
wmayer e23973e1ed if smesh is not built or used don't require vtk 2016-06-16 10:14:52 +02:00
Ian Rees 141398db77 Reworked inter-module dependencies in CMake 2016-06-16 09:53:57 +02:00
Yorik van Havre 3510c71f2b Arch: First version of Sweethome3D importer - issue #2584 2016-06-15 21:24:03 -03:00
Yorik van Havre 4acf8e09dc Arch: misc improvements and bugfixes
* Allow mesh-based windows (with non-solid shape) to pass through
* Allow precast elements to be clones
* Structure elements now display a different icon when thry are clones
* Arch clones now get the same placements as their cloned object on create
* Fixed the bad export of clones to IFC
* Recoded the Site/Building/Floor IFC export to be more flexible
2016-06-15 21:17:44 -03:00
DeepSOIC 89ebf5fbcc Part: AttachmentEditor: fix take_selection argument not working 2016-06-15 21:15:14 -03:00
DeepSOIC 1c135d6379 Part: AttachmentEditor: fix for new SubList Py API 2016-06-15 21:15:14 -03:00
wmayer 60242ad1cf + fix various warnings 2016-06-15 23:55:44 +02:00
wmayer 8a97a9eb12 + build smesh7 on Windows 2016-06-15 22:36:56 +02:00
Stefan Tröger 3814251020 SMESH: Prevent generator from being deleted 2016-06-15 22:34:10 +02:00
Stefan Tröger dcf2da702d FEM Post: Fix property unit test 2016-06-15 22:34:10 +02:00
Stefan Tröger 2fb14ce9c4 FEM Post: Always build except for VTK <6.2
VTK 6.0 has a bug which makes it incompatibel with c++11
2016-06-15 22:34:10 +02:00
Bruce B. Lacey e982084e3f Refactored brew installs to match 0.17 ports-cache 2016-06-15 22:34:10 +02:00
Stefan Tröger 59803ffc67 Travis: Add SMESH7 dependencies for OSX 2016-06-15 22:34:10 +02:00
Stefan Tröger 1ab92094b9 SMESH: Make it compatibel to VTK 6.0 2016-06-15 22:34:10 +02:00
Stefan Tröger 2fc6cc5b29 Travis: Add new SMESH7 dependencies for Unix 2016-06-15 22:34:10 +02:00
Stefan Tröger aae79ee558 FEM: Add faces by face workaround for force constraint 2016-06-15 22:34:10 +02:00
Stefan Tröger 55534e98d4 FEM: Use single smesh mesh generator throughout FreeCAD
Creating a mesh generator resets a critical data structure and makes all existing meshes invalid. Hence the SMESH_gen is made a singleton and all FreeCAD code is changed accordingly.
2016-06-15 22:34:10 +02:00
Stefan Tröger cda99210d5 FEM: Protect iteration from null ptr 2016-06-15 22:34:10 +02:00
Jean-Marie Verdun 47f21309dd FEM: Make FEM compatible with SMESH7 2016-06-15 22:34:10 +02:00
Stefan Tröger 61f503ad51 FEM: Make SMESH7 compile with occ6 2016-06-15 22:34:10 +02:00
Jean-Marie Verdun 666a3e5a68 Upgrade to SMESH7.7.1 2016-06-15 22:34:10 +02:00
Yorik van Havre 79dcdfbc78 Arch: Partial fix for IFC export of precast elements 2016-06-14 23:09:43 -03:00
Yorik van Havre d05ac66c3c Arch: Read Description property of IFC objects 2016-06-14 19:18:37 -03:00
Yorik van Havre 60d918983e Arch: select precast dent when adding a new one 2016-06-14 19:18:04 -03:00
Yorik van Havre 7ee6a6737f Draft: Added preference setting to customize labels of Draft and Arch clones 2016-06-14 19:17:02 -03:00
Yorik van Havre 8f45e13789 Spreadsheet: Added Python version of Spreadhseet::Sheet 2016-06-14 19:16:00 -03:00
wmayer e487633bc6 + support of seek operation on PyStreambuf 2016-06-14 13:59:02 +02:00
wmayer 6be9ee87ea + fix many warnings in libarea using MSVC 2016-06-14 11:04:19 +02:00
Yorik van Havre 26be0067cd Arch: Allow precast beams to have dents too 2016-06-13 22:53:58 -03:00
Yorik van Havre 24c279f92b Merge remote-tracking branch 'sliptonic/master' 2016-06-13 20:02:32 -03:00
wmayer dea884ab6a + enable buffered writing in PyStreambuf 2016-06-13 19:22:15 +02:00
Yorik van Havre 285f6aea9d Draft: Center Snap can now also snap to center of faces 2016-06-13 13:46:51 -03:00
Lorenz Hüdepohl 092e8e10c1 PathUtils: remove unnecessary arguments to convert()
The arguments Side, radius, clockwise, and firstedge were never used in
convert()
2016-06-13 15:27:21 +02:00
Lorenz Hüdepohl c862fc0065 Path: add plunge angle feature for PathProfile
With the new property "PlungeAngle", one can specify the inclination of
a ramp into the material, instead of plunging straight down. The
original behaviour and default is set to 90.0 degrees. A value of zero
makes the tool descent exactly one layer depth down per turn.
2016-06-13 15:27:21 +02:00
sliptonic 451355e159 Merge branch 'master' into master 2016-06-13 08:25:07 -05:00
wwmayer d51422347c Merge pull request #185 from dev-at-stellardeath-org/master
PathProfile.py: Fix non-GUI usage
2016-06-13 15:13:45 +02:00
tomate44 f13f57ef3d Implements more arguments to BSplineCurve.approximate 2016-06-13 14:18:35 +02:00
Yorik van Havre 0dfc6678bd Arch: added precast concrete presets & objects to structure tool - issue #2853 2016-06-12 22:47:58 -03:00
sliptonic 0f46fd6636 Merge branch 'master' into master 2016-06-12 19:37:46 -05:00
sliptonic f42c90f459 Fix for partial libarea pockets. 2016-06-12 14:23:06 -05:00
wmayer c3318a3fff + prepare PyStreambuf for buffered writing 2016-06-12 18:20:31 +02:00
wmayer 0d4be03f4b + optimize PyStreambuf::underflow() and fix failure for large files/buffers 2016-06-12 14:50:02 +02:00
sliptonic a02d704d0a Updated libarea with changes from Heeks/libarea 2016-06-11 10:51:27 -05:00
sliptonic dff173cd1f Fixes for various gcode errors
Some operations were still outputting even if disabled.
Nested comments caused trouble in linuxcnc
Machine was producing an initial move that was potentially dangerous
2016-06-11 10:51:27 -05:00
wmayer f55fb8cb99 + avoid memory exception when stl file is empty 2016-06-11 16:25:41 +02:00
wmayer f8c0d2f05d + fix possible crash when throw file exception 2016-06-11 16:25:06 +02:00
wmayer 051a9fce73 + fix bug in PyStreambuf when reading binary data 2016-06-11 15:38:51 +02:00
wmayer 10bb9fa5cc + add overloaded methods of write() and read() to write and read from streams 2016-06-11 14:47:01 +02:00
wmayer 91ba585ee0 + add overloaded methods of save() and load() to write and read from streams 2016-06-11 13:48:24 +02:00
wmayer 9c7bc073e4 + for importBrep() and exportBrep() allow file names or file objects 2016-06-11 12:38:58 +02:00
wmayer 432dcb5833 + extend PyStreambuf to write data 2016-06-11 11:54:01 +02:00
Yorik van Havre e42385a25b Arch: Finally using proper UnitStrings in Arch tools 2016-06-10 19:08:00 -03:00
Lorenz Hüdepohl 7be378954e PathProfile.py: Fix non-GUI usage
The call to QtGui.QApplication.translate is not possible and necessary
without a GUI
2016-06-10 23:10:04 +02:00
wmayer a363d6ff7c + take care of group separator in minimum/maximum of color bar 2016-06-10 11:27:40 +02:00
Yorik van Havre 319920c185 Material: allow to display Drawing Patterns in material editor - issue #2577 2016-06-09 22:19:45 -03:00
Yorik van Havre f0394c7b22 Arch: Bugfixes in IFC export
* Only export materials used in the exported objects
* Fixed placement of Part Extrusion-based objects
2016-06-09 22:16:55 -03:00
Yorik van Havre 59691c10d2 Reordered credits screen alphabetically 2016-06-09 22:14:49 -03:00
Bernd Hahnebach 7f2833b465 FEM: typo in Menue entry 2016-06-06 07:07:36 +02:00
Bernd Hahnebach 7e092db898 FEM: fix for importing ccx result mesh 2016-06-06 07:07:36 +02:00
wmayer 3ceaf7acf9 + make compiler check working for older cmake versions 2016-06-05 09:37:26 +02:00
Yorik van Havre 27b4836d80 Arch: Added support for IfcOpenShell serializer 2016-06-04 17:43:41 -03:00
Yorik van Havre dad057cac5 Draft: Handle exception in DXF output 2016-06-04 17:42:22 -03:00
Yorik van Havre b18981f0b3 Added more SVG patterns + translation table - issue #2577 2016-06-04 17:41:23 -03:00
wwmayer 82f610a198 Merge pull request #184 from sliptonic/master
Correctly format drilling locations.
2016-06-04 14:01:51 +02:00
wmayer 3c269f4ccd + use QString's vsprintf to avoid to truncate the output string 2016-06-04 10:37:08 +02:00
sliptonic f48ee1abec Correctly format drilling locations. 2016-06-03 13:45:25 -05:00
Bernd Hahnebach 108fe75464 FEM: udate 3D FEM example file and add 2D FEM example file 2016-06-03 07:30:28 +02:00
Bernd Hahnebach adebabe3a5 FEM: only deactivate and activate visibility for FEMmeshes inside analysis container 2016-06-03 07:30:09 +02:00
Bernd Hahnebach aa3b214cc5 FEM: use solver object as parameter value in FemInputWriter class 2016-06-03 07:29:49 +02:00
Bernd Hahnebach f1858cfdbf FEM: multiple solver are possible in one analysis, use the selected for calculation run 2016-06-03 07:29:29 +02:00
wwmayer 7287b479db Merge pull request #183 from sliptonic/basefix
Fix base geometry reference to use tuple in PropertyLinkSubList
2016-06-02 17:48:20 +02:00
sliptonic 6425ef770d Fix base geometry reference to use tuple in PropertyLinkSubList
Also improves the naive test of vertical/horizontal faces for profiling.

replace naive test of verticality

Fix base references to use tuple in PropertyLinkSubList
https://github.com/FreeCAD/FreeCAD/commit/78b92d47b439f44e4728ea1d7425d9c27145e862
2016-06-02 09:27:47 -05:00
wmayer d3b69112de + revert regression in commit c3f35d9f affecting Part Thickness tool 2016-06-01 09:13:16 +02:00
sliptonic 4568a4e583 Fixes for PathSurface.
Correctly remember settings.
2016-05-31 21:15:39 -03:00
Yorik van Havre 4f99078aaf Arch: Handle IFC groups - fixes #2555 2016-05-31 20:43:34 -03:00
wmayer 76548e987d + do not always close a document if an error occurs while reading it in 2016-05-30 18:58:06 +02:00
Yorik van Havre affbed135a Draft: Improvement to Draft Drawing views
* Property to specify if the view must appear even if the Source obj is off
* Property to set the line spacing for multiline texts
2016-05-30 13:23:37 -03:00
Przemo Firszt c73602b797 [Material] Add Acrylic Glass
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-05-29 19:24:41 -03:00
Yorik van Havre 2938fde32c Draft: Grid can now be changed on-the-fly from the Set Working Plane button - fixes #2566 2016-05-29 19:23:11 -03:00
Yorik van Havre d6f31d5c4b Fixed buggy Building-US units schema 2016-05-29 12:15:35 -03:00
Bernd Hahnebach fca5cd99bb FEM: add preference setting to keep results on rerun an analysis 2016-05-29 12:02:29 -03:00
Yorik van Havre 62cb403125 Arch: added 3DS importer 2016-05-29 00:10:42 -03:00
tomate44 14d724d722 Draft Bspline parameterization property 2016-05-28 23:45:22 -03:00
Yorik van Havre 9c89981373 Draft: solved bug in snapper - fixes #2563 2016-05-28 22:35:14 -03:00
Yorik van Havre 3d95239bae Draft: adapted dimensions to use US Building units schema 2016-05-26 20:38:27 -03:00
Yorik van Havre ad92a2df25 Added new units schema: US building (feet + inches + fraction) 2016-05-26 20:37:53 -03:00
Bernd Hahnebach 966ce79207 FEM: trailing white spaces and format space in module Init.py 2016-05-26 12:06:44 +02:00
Bernd Hahnebach 78b92d47b4 Fem+App: use Tuple in PropertyLinkSubList::getPyObject
- fix appropriate methods in FemMeshTools
- fix task panels in FEM
- fix FemInputWriter
2016-05-26 12:06:44 +02:00
Yorik van Havre ee9452a8ee Added new units schema: Building Euro (everything in centimeters, areas/volumes in meters) 2016-05-25 19:10:48 -03:00
wmayer 33c9b9d0dd + fix mistake in BSplineCurve.interpolate for Tangents/TangentFlags argument 2016-05-25 14:22:22 +02:00
wmayer b3abd0d4dd + fix drag and drop of Quarter viewer 2016-05-25 14:13:57 +02:00
wwmayer d3c5a19ecc Merge pull request #176 from tomate44/patch-1
Update BSplineCurve interpolate documentation
2016-05-25 13:10:13 +02:00
wmayer f07b836ce7 + support of obj format where texture colors are in range [0, 1] (as written by MeshLab) 2016-05-25 13:07:43 +02:00
wmayer d51ea4c96b + fix reading of meshes with textures when vertexes are isolated 2016-05-25 12:22:01 +02:00
tomate44 f2071dd1b0 Update BSplineCurve interpolate documentation 2016-05-25 11:50:52 +02:00
wmayer 8cfabdb579 + support of tangents in BSplineCurve.interpolate 2016-05-24 23:15:17 +02:00
tomate44 7582f1799c Update BSplineCurve interpolate documentation
Update BSplineCurve interpolate() documentation for the new "parameters" argument
2016-05-24 18:50:16 +02:00
wmayer 23b01e425f + make sure strings in PartDesign & Sketcher commands can be translated 2016-05-24 18:16:02 +02:00
Yorik van Havre b4a5582309 Web: support for saving cookies across sessions - fixes #2447 2016-05-24 12:38:18 -03:00
Bernd Hahnebach 960191677b FEM: beam section: use circle if width is not given 2016-05-23 22:01:31 +02:00
Bernd Hahnebach 7b195eb21d FEM: ccxFrdImport: fix hexa20 mesh import 2016-05-23 21:15:21 +02:00
Bernd Hahnebach a440262126 FEM: allow frequency analysis without constraint fix and change some error messages 2016-05-23 21:13:42 +02:00
sliptonic 2cc36497b8 remove translation from property descriptions. 2016-05-23 13:04:58 -03:00
brad 91978ba1a4 Operations and ToolControllers have labels set automatically.
This will hopefully make things a little clearer
A couple more Sanity checks.
Don't error if no TC in project.
2016-05-23 13:04:58 -03:00
sliptonic 7436a5e397 Cleanup. Make surface, drilling, and engrave work with preselect 2016-05-23 13:04:58 -03:00
sliptonic d3ba507847 new icons 2016-05-23 13:04:58 -03:00
sliptonic a0f332feb0 OCC pocket handles large curves better now. Needs testing
initial commit
2016-05-23 13:04:58 -03:00
sliptonic be03c2ad26 defaults if objects pre-selected. Fixes
Smarter default for inside outside profiles

first commit
2016-05-23 13:04:58 -03:00
brad bb5165634b cleanup PathUtils.
Bug found profiling single face using occ.  workaround.
defaults for profile are sane.
Automatically add pre-selected faces
2016-05-23 13:04:58 -03:00
sliptonic c9d6db2173 Profile handles multiple bases now. 2016-05-23 13:04:58 -03:00
brad 2f17f11049 PEP8 cleanup 2016-05-23 13:04:58 -03:00
brad eeec4f88a3 handle undefined tools 2016-05-23 13:04:58 -03:00
sliptonic e11558ef3f compliance with PEP8 2016-05-23 13:04:58 -03:00
sliptonic b34f79d204 cmake fixes 2016-05-23 13:04:58 -03:00
sliptonic 7faaedeab2 Per Zultron. Fixed undefined symbol 2016-05-23 13:04:58 -03:00
sliptonic 22e788dc4b First try at a remote operation. 2016-05-23 13:04:58 -03:00
sliptonic 704cc23ab7 Code cleanup and additional work on panels 2016-05-23 13:04:58 -03:00
sliptonic 670ae854f3 First Draft of Surface operation.
-uses ocl waterline
-uses ocl dropcutter
2016-05-23 13:04:58 -03:00
sliptonic dcdbf75e55 Taskpanels for Drilling, Engrave, and Profile basically working
Profile still missing some functionality.
I haven't tried to do anything about cmake requirements or testing.
This is a checkpoint commit, please don't build.
2016-05-23 13:04:58 -03:00
sliptonic 82a75e2a20 cmake fixes for engrave task panel 2016-05-23 13:04:58 -03:00
brad 2f43b2a28d Moving horiz and vert feed into the toolload object. 2016-05-23 13:04:58 -03:00
brad f1a4a5bcc4 First attempt at a task panel
Panel for engraving operation.
2016-05-23 13:04:58 -03:00
brad bf25088e1a removed obsolete import of PathKurve
fixed viewprovider for profile
2016-05-23 13:04:58 -03:00
brad 0ef51a8426 Fixed problem with rapid and feedrate. 2016-05-23 13:04:58 -03:00
sliptonic d5c3043e73 libarea profile and pocket now pass hv feedrate.
Warning:  The units may not be correct for your post processor.
Need to check this and find a better way.
2016-05-23 13:04:58 -03:00
sliptonic 26bef05db2 integrating dbtayls helix and ramp entry
integrating dbtayls helix and ramp entry and cleanup

fixed a bug with depth calculation and another with proper entry rapid moves
2016-05-23 13:04:58 -03:00
brad 19812468d1 cmakefix per jan. 2016-05-23 13:04:58 -03:00
sliptonic 940f52db90 Extensive Path Workbench improvements.
Implement libarea improvements for profile
Implement libarea pocketing.
consolidate occ and libarea pocketing operation into one with algorithm
switch
consolidate occ aand libarea profile op into one with algorithm switch
add basic engraving operation.
Add rough UI for profile holding tags
implement holding tags for libarea profile.
implement basic defaults for depth settings.
First move in Drilling is rapid to clearance height.

UI needs lots of work but is usable.
2016-05-23 13:04:58 -03:00
wmayer 23e97bbb2c + issue #0002560: Part BSplineCurve alternate interpolate method 2016-05-23 14:14:50 +02:00
wmayer 2e38f5f8a7 + make Document::getViewOfViewProvider() working reliably also for view providers that are a child of another view provider 2016-05-23 11:06:50 +02:00
wmayer 5ce8a94c53 + consistent context-menu to double-click event for ViewProviderBody 2016-05-22 18:47:13 +02:00
wmayer f079b23ada + fix gcc warning of unused variable 2016-05-22 18:45:37 +02:00
wmayer 34585e0ba0 + improve whitespaces 2016-05-22 18:44:49 +02:00
DeepSOIC 739509aadc PartDesign: deactivate a container on double-click if already active
Before, it was impossible to deactivate a container (Part, Body) via gui
(or it wasn't obvious).
2016-05-21 01:31:06 +03:00
DeepSOIC 23d905e869 PartDesign (core): fix inability to deactivate active object
It was impossible to deactivate active object (Part or Body) with:
Gui.ActiveDocument.ActiveView.setActiveObject("pdbody",None)
2016-05-21 01:31:06 +03:00
DeepSOIC c344e83f05 PartDesign: fixes for new body creation
Upon creation, new bodies used to steal bits from other parts and
bodies, if they were accidentally selected. Extra checks have been added
to make that much less likely.
2016-05-21 01:31:06 +03:00
DeepSOIC 0f75ad6637 Sketcher: change rules of external linkage
Was:
+ allowed: links to support
+ allowed: free links within one body,
+ Ctrl-protected: links between bodies of ?one? part
- blocked: (everything else) . i.e., if sketch is not in a body, only
links to support are allowed.

New:

* Across Parts, from Part to outside part, from document into part:
blocked
* Within one part (also if directly in document): allowed.
except links from body to outside or to other bodies are screened (hold
Ctrl to allow).
Support (attachment) is totally ignored in this logic.
2016-05-21 01:31:06 +03:00
wwmayer 711213d58e Merge pull request #170 from f3nix/gcc-warnings-2
Fix some GCC warnings.
2016-05-20 22:23:36 +02:00
wwmayer 05776bf2b7 Merge pull request #173 from sgrogan/USE_VTK-fix
add AppFemExport to FemPostFunctionProvider
2016-05-20 22:12:04 +02:00
wwmayer 662861d743 Merge pull request #172 from bblacey/master
Increased travis git clone depth to fix version count mechanism
2016-05-20 22:10:38 +02:00
Bruce B. Lacey bb1043584b Increased travis git clone depth to fix version count mechanism 2016-05-20 10:18:19 -07:00
sgrogan 37c27346d5 add AppFemExport to FemPostFunctionProvider 2016-05-20 09:53:53 -04:00
wmayer f9d2814572 + fix crash in DocumentObserverPython if a property has no name (because it's not part of an object) 2016-05-20 13:57:30 +02:00
wmayer 9cb37116a7 + rework message box in revert command 2016-05-20 13:02:28 +02:00
wmayer 2e79aefc2f + issue #0002521: SIGSEGV when trying to revert to saved file. 2016-05-20 13:01:23 +02:00
Wolfgang E. Sanyer 6ff95b9043 Bug fix for ID#0002453
Note that the version of Bison and Flex used to generate the two .c files are newer than
in the last commit from 2010. Also,for anyine working on tbis in the future, dont forget
to run flex and bison on the .l and .y files respectively.
2016-05-20 10:05:18 +02:00
Yorik van Havre 7a83eb9634 Moving NormandC to his new home 2016-05-19 20:07:44 -03:00
Yorik van Havre cd1d892319 Merge pull request #171 from DeepSOIC/Attacher19
Attacher19: patch attachable objects in Draft to recompute properly; make Part primitives attachable.
2016-05-19 20:02:29 -03:00
DeepSOIC b13e6924e4 Part: make primitives attachable 2016-05-20 00:11:16 +03:00
DeepSOIC c929739a7b Draft: patch attachable objects + make clones attachable
Pathcing: add calls to positionBySupport on recomputes of features built on Part2DObjectPython.
Clone: make it attachable, regardless of source object type
2016-05-20 00:11:16 +03:00
DeepSOIC b4102fc3da Attacher: fix defaulting to 3D of AttachableObject 2016-05-20 00:11:16 +03:00
Mateusz Skowroński f1077748fa Fix some GCC warnings. 2016-05-19 22:22:12 +02:00
wmayer 716e2563b7 + extend Gui.Selection.addSelection to pass object and tuple of sub-element names 2016-05-19 17:36:28 +02:00
Stefan Tröger 4d8f338b8d PartDesign: Implement voted tool ordering 2016-05-18 23:54:59 +02:00
Stefan Tröger 83ce80f133 fixes #0002512 Allow multi-face part design tools 2016-05-18 23:54:18 +02:00
Stefan Tröger 4f8973fe8e PartDesign: Fix loft preview 2016-05-18 23:54:03 +02:00
Stefan Tröger c5ca99658b PartDesign: Fix pipe preview display
When a base feature was available the preview mode did not show the pipe and also set the visibility of the pipe to false
2016-05-18 23:53:49 +02:00
Stefan Tröger 62f563938b PartDesign: Handle pipe external references 2016-05-18 23:53:33 +02:00
wmayer 28d762f845 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-05-18 23:44:59 +02:00
wmayer c81aca0902 + unify method names 2016-05-18 23:43:58 +02:00
DeepSOIC 554d3736f9 Attacher: add command to Part workbench menu
+ add an icon to attachment editor
2016-05-18 23:06:04 +02:00
DeepSOIC 7f5197695d Attacher: add general purpose editor UI (python)
Added as PartGui.AttachmentEditor, and Part_EditAttachment gui command
2016-05-18 23:05:51 +02:00
Yorik van Havre e6dd3488ff removed translation from property descriptions (wrong to do it there anyway) - issue #2524 2016-05-18 16:59:15 -03:00
Stefan Tröger 836d5b1525 FEM Post: Fix rebase errors 2016-05-18 21:35:15 +02:00
Stefan Tröger 4c9d4e1fdc FEM Post: fix vtk include wthout guard 2016-05-18 21:35:15 +02:00
Stefan Tröger 95d1e8244f FEM Post: Handle wireframe with internal wires 2016-05-18 21:35:15 +02:00
Stefan Tröger 945aee1d1c FEM Post: integrate FreeCAD color system 2016-05-18 21:35:15 +02:00
Stefan Tröger 294ce62bee FEM Post: Remove unused files 2016-05-18 21:35:15 +02:00
Stefan Tröger 875e32607d FEM Post: import VTK types only when possible 2016-05-18 21:35:15 +02:00
Stefan Tröger 48ada2359f FEM Post: Add missing property files 2016-05-18 21:35:15 +02:00
Stefan Tröger 3bf749f0fd FEM Post: Give access to cmake BUILD variables from python
This commit adds a attribute __cmake__ to App which is a list holding all compile time cmake variables starting with BUILD.

Only export BUILD variables
2016-05-18 21:35:15 +02:00
Stefan Tröger 9c61e2f386 FEM Post: Fix cutter error and "remove crashs" 2016-05-18 21:35:15 +02:00
Stefan Tröger dd72ea6ab0 FEM Post: Clean up work 2016-05-18 21:35:15 +02:00
Stefan Tröger defecae339 FEM Post: Fix and extend file handling
-Fix crash on saving due to bad result to pipeline transfer
-fix vtk smart pointer usage
-support more file types(new vtk xml formats)
2016-05-18 21:35:15 +02:00
Stefan Tröger c2df92cd76 FEM Post: FreeCADify the vtk post processing
- Data property for saving/loading vtk data
- Use FreeCAD recompute system instead of vtk pipeline
2016-05-18 21:35:15 +02:00
Stefan Tröger 427ded23d5 FEM Post: Add icons 2016-05-18 21:35:15 +02:00
Stefan Tröger 4441e4ed5d FEM Post: Fix crash due to wrong initalisation 2016-05-18 21:35:15 +02:00
Stefan Tröger 53a5297de7 FEM Post: Update function manipulators
Update includes view and transformation handling
2016-05-18 21:35:15 +02:00
Stefan Tröger afdc3da1af FEM Post: Fix crash on gui dialog only 2016-05-18 21:35:15 +02:00
Stefan Tröger acf3d67390 FEM Post: Add icons for fem post processing 2016-05-18 21:35:15 +02:00
Stefan Tröger cd9e827d24 FEM Post: Add cut filter 2016-05-18 21:35:15 +02:00
Stefan Tröger d0e371b3e1 FEM Post: Add warp vector filter 2016-05-18 21:35:15 +02:00
Stefan Tröger 2f9e70af09 FEM Post: Command for creation of post pipeline from result 2016-05-18 21:35:15 +02:00
Stefan Tröger 51f2a0efc6 FEM Post: Detail filter infrastructure 2016-05-18 21:35:15 +02:00
Stefan Tröger 2b9e608501 FEM Post: Basic implementation of filter framework 2016-05-18 21:35:15 +02:00
Stefan Tröger 4d09c09dc0 FEM Post: Move post processing to fem objects 2016-05-18 21:35:15 +02:00
Stefan Tröger 8805cab27c FEM Post: Proof of concept 2016-05-18 21:35:15 +02:00
Yorik van Havre 39967262e4 Draft/Arch: cleanup of startup scripts 2016-05-18 16:01:38 -03:00
Yorik van Havre 21ba33df01 Draft: Allow to scale imported DXF files - fixes #2557 2016-05-18 14:32:33 -03:00
Yorik van Havre 7a99b34a9d Merge pull request #167 from wood-galaxy/translation-fix
Fix some utf8 encode
2016-05-18 13:26:11 -03:00
Jonathan Wiedemann 149a5a19db Merge branch 'master' into translation-fix 2016-05-18 18:21:33 +02:00
wmayer 885050d33e + fix == operator of Rotation class, + add method isSame() 2016-05-18 18:08:40 +02:00
Jonathan Wiedemann 0f88536d42 add decode utf8 importWebGL.py 2016-05-18 17:25:54 +02:00
Jonathan Wiedemann 9ef4a2e21b add decode utf8 PathMachine.py 2016-05-18 17:20:29 +02:00
Jonathan Wiedemann 71606352ee add decode utf8 importOBJ.py 2016-05-18 15:31:10 +02:00
Kurt Kremitzki 205cf94594 Fix "construcion" typo 2016-05-18 11:34:32 +02:00
wmayer 6a66073928 + implement rich compare protocol of Python interface for Placement & Rotation 2016-05-18 11:26:27 +02:00
Yorik van Havre f6cdf8b470 added missing people to credits 2016-05-16 21:20:48 -03:00
Bernd Hahnebach 9db47b5941 FEM: fix title in FemTools module 2016-05-16 20:46:53 +02:00
Bernd Hahnebach e414f9aa81 FEM: Z88: fix cmake for install files 2016-05-16 18:46:34 +02:00
Bernd Hahnebach 11b31eba09 FEM: Z88: add preference to set z88r binary path 2016-05-16 13:22:54 +02:00
Bernd Hahnebach ab06fdc2a5 FEM: Z88: add module z88DispReader.py 2016-05-16 13:22:54 +02:00
Bernd Hahnebach b4630ba45d FEM: Z88: support for analysis with solver Z88 2016-05-16 13:22:54 +02:00
Bernd Hahnebach d96ead53f6 FEM: Z88: add import and export of Z88 meshes 2016-05-16 13:22:54 +02:00
Bernd Hahnebach 004f757ab7 FEM: some renameing for multiple solver:
- module names vs multiple solver
- stick with python command class names in Fem
- rename commands for new objects from _CommandFemSomeObjName to _CommandSomeObjName
- rename commands for do something to _CommandDoSomething
- change tool names to have a consistent naming in all FEM for menue tools and tool tipps
2016-05-16 13:22:54 +02:00
Bernd Hahnebach 676b73f3b5 FEM: split ccxInpWriter in new modules FemInputWriter and FemInputWriterCcx 2016-05-16 13:22:54 +02:00
Bernd Hahnebach 610b4b2bba FEM: add module FemToolsCcx.py and make use of it
- move construktor from FemTools to FemToolsCcx
- FemComands and his childs, use the new FemToolsCcx class instead of super class FemTools
- TestFem, use new FemToolsCcx class instead of supper class FemTools
2016-05-16 13:22:54 +02:00
Bernd Hahnebach 2a6a57c5b6 FEM: ccxInpWriter, write vertex loads the same way like edge loads and face loads 2016-05-16 13:22:54 +02:00
Bernd Hahnebach 932679438a FEM: add module FemMeshTools and move methods in there 2016-05-16 13:22:54 +02:00
Bernd Hahnebach abdec1b6fd FEM: fix unit test after small changes in writeAbaqus 2016-05-16 13:22:54 +02:00
Bernd Hahnebach 4bef49bb51 FEM: improvements in Abaqus (CalculiX) FEM mesh im- and export:
- add hexa8, hex20, penta6, penta15, quad4, quad8 to writeAbaqus in FemMesh
- make node order in ccxFrdReader and writeAbaqus fitting each other
2016-05-16 13:22:54 +02:00
wmayer c60da6c6e9 + fix build failure of Robot module when using occ 2016-05-15 21:01:44 +02:00
wmayer 9316a1511a + fix index error using occ matrix class 2016-05-15 16:12:24 +02:00
wmayer e2997695b4 + fix warning 2016-05-15 16:11:09 +02:00
wmayer 8217b8f6d1 + fix compiler warning, improve whitespaces 2016-05-15 12:16:36 +02:00
David Pello 5f0073b9e0 BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00
blobfish b5dfc41759 Part: Check Geometry: see following
adding parallel mode for bopargcheck. didn't help speed.
    add time to bopalgo check
    entry for stopOnFirstFaulty. didn't help speed.
    adding new bopalgochecks
2016-05-15 00:06:22 +02:00
Yorik van Havre bb4c97d51e Merge pull request #161 from DeepSOIC/Attacher17
Attacher: Py: fix crash on FreeCAD startup
2016-05-14 18:17:40 -03:00
DeepSOIC c922507f2f Attacher: Py: fix crash on FreeCAD startup 2016-05-14 23:10:38 +03:00
Yorik van Havre 5182e196cd Small change to credits ordering 2016-05-14 15:01:28 -03:00
wmayer 948bd3f646 + fixes #0002554: Py Quantity Constructor Angles 2016-05-14 19:30:43 +02:00
wwmayer 6eb173a54b Merge pull request #159 from DeepSOIC/Attacher16
Attacher16 - fixes, and Py interface
2016-05-14 18:23:27 +02:00
wmayer bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
Yorik van Havre 7433b65643 Changed some credits on request 2016-05-14 10:47:52 -03:00
DeepSOIC 71f70eb855 AttachEngine: fix crash when referenced objects get deleted
... by verifying if the pointers equal to objects contained in all open
documents. Not terribly good, but I can't think of a situation where
doing this search might cause trouble.
2016-05-14 02:14:51 +03:00
DeepSOIC 2d8a7614c5 Attacher: Py: fix docu strings 2016-05-14 00:50:30 +03:00
DeepSOIC 98a472b18d Attacher: Py: renames
AttachEngine attributes and methods:
getShapeType -> getRefTypeOfShape
isShapeOfType -> isFittingRefType
downgradeType -> downgradeRefType
getTypeRank -> deleted (rank exposed through getRefTypeInfo )
getTypeInfo -> getRefTypeInfo
suggestMapModes -> suggestModes
2016-05-13 19:54:44 +03:00
DeepSOIC 632cf142fe Attacher: Py: add GUI strings to getModeInfo and getTypeInfo 2016-05-13 19:54:44 +03:00
DeepSOIC 76c0a81fe3 Attacher: Py: GUI resources interface
Routines to get UI strings for attacher: mode names, mode tooltips,
ref.type names
2016-05-13 19:54:44 +03:00
DeepSOIC 8b4f1210ed Attacher: Py: extend AttachEngine's interface
* add constructor

attributes:
* Mode
* CompleteModeList
* ImplementedModes
* GetModeInfo
* References
* SuperPlacement
* Reverse
* Parameter
* CompleteRefTypeList

methods:
* getShapeType
* isShapeOfType
* downgradeType
* getTypeRank
* copy
* calculateAttachedPlacement
* suggestMapModes
* readParametersFromFeature
* writeParametersToFeature
2016-05-13 19:54:44 +03:00
DeepSOIC dcc8926236 Attacher: Py: implement Attacher attribute of AttachableObject 2016-05-13 19:54:44 +03:00
DeepSOIC 7000d551b7 Attacher: Py: create AttachEnginePy
Not very useful at the moment, just created the interface.
2016-05-13 19:54:44 +03:00
DeepSOIC d4f1ef2f7a Attacher: Py: add interface for changing attacher type
Plus a mechanism to remember attacher type of AttachableObject through
save-restore cycle.
2016-05-13 19:54:44 +03:00
DeepSOIC fe295b701b Attacher: Py: introduce Py interface of AttachableObject
Small - just the introduction.
Support for Py features based on AttachableObject.
Redirect Part2DObjectPython's father to be AttachableObjectPython.
2016-05-13 19:54:44 +03:00
DeepSOIC 897a66cbb7 Attacher: Py: withdraw positionBySupport from Part2DObject
to be reintroduced later in AttachableObjet Py interface
2016-05-13 19:54:44 +03:00
DeepSOIC 162378220d Attacher: preparations for Py interface of shape type system
+ add getModeByName to AttachEngine
2016-05-13 19:54:44 +03:00
DeepSOIC 53bd9b674b Attacher: fix wrong inertial calculation on solids
was using surface calculation instead of volume...
2016-05-13 19:54:44 +03:00
DeepSOIC 6ffa0c9b37 Attacher: initialize member variables
They got garbage values on creation, as was revealed when testing Py
interface.
2016-05-13 19:54:44 +03:00
DeepSOIC d21995323e Attacher: change Part2DObject to use Plane attacher by default 2016-05-13 19:54:44 +03:00
DeepSOIC a41c79cd55 Attacher: AttachableObject should have virtual destructor 2016-05-13 19:54:44 +03:00
DeepSOIC 00d8537b66 Part: duplicate include cleanup
no functional changes
2016-05-13 19:54:44 +03:00
blobfish 81ee548f7f use bitset to_string for column retrieval 2016-05-13 18:02:53 +02:00
wmayer dd3f85d1a1 + handle also std::exception when application unexpectedly leaves event loop 2016-05-13 12:12:17 +02:00
Yorik van Havre 4ba04178ff Extended About dialog with credits and license tabs - fixes #2539 2016-05-13 00:38:03 -03:00
Yorik van Havre 0e4132a7d5 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-05-12 23:16:59 -03:00
wmayer c21888af6c + issue #0002542: Part.Wire.makeoffset() doesn't handle circles correctly. 2016-05-12 19:03:23 +02:00
Yorik van Havre 3632129e5d Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-05-11 10:19:13 -03:00
wmayer d7d347b2d6 + if getcwd fails then use '.' 2016-05-11 09:24:29 +02:00
wmayer f3a5deec5e + on Windows use the unicode version to get cwd
+ on other platforms use getcwd in a platform independent way
2016-05-10 22:47:14 +02:00
Wolfgang E. Sanyer 4ebb62be79 Fixed bug ID0002513, where Mesh.export failed.
The failure occered when Mesh.export was passed just a filename, such as 'out.stl'. If
'/some/path/out.stl' was passed it succeeded.
2016-05-10 22:29:40 +02:00
wmayer 59980c33d1 + methods to highlight points, edges or faces of a shape 2016-05-09 23:48:30 +02:00
wmayer f5b707e9a2 + implement PropertyMaterialListItem 2016-05-08 19:28:02 +02:00
wmayer e2d780a14d + property editor for material 2016-05-08 17:51:21 +02:00
wmayer ec54c092d5 + restore old behaviour of PropertyLinkSubList::getPyObject to fix failure in ccxInpWriter.py 2016-05-08 14:50:50 +02:00
wmayer 1ccab846e2 + apply f3nix:fix-gcc-warnings-1 2016-05-08 12:00:26 +02:00
wmayer fbf72553f3 + fix warnings 2016-05-08 06:19:32 +02:00
wmayer a034fc58b3 + fix build failures & warnings 2016-05-07 23:18:59 +02:00
blobfish d9b58620c6 Core: Gui: SoFCSysDragger: using SoFCSysDragger in ViewProviderGeometryObject 2016-05-07 23:07:08 +02:00
blobfish 729c116081 Core: Gui: SoFCSysDragger: adding SoFCSysDragger. 2016-05-07 23:06:53 +02:00
blobfish 381a59bb36 Core: Gui: SoFCSysDragger: changes to SoFCDB to store dragger. 2016-05-07 23:06:36 +02:00
Mateusz Skowroński 56e5837fd3 Fix Tab order in TaskDatumParameters dialog. 2016-05-07 23:02:04 +02:00
Mateusz Skowroński 58daa046f1 Fix layout in TaskDatumParameters dialog. 2016-05-07 23:01:47 +02:00
wmayer 77f667fcde + fix possible crash in some property editors 2016-05-07 22:59:19 +02:00
wmayer 8bbc642115 + editor for PropertyMaterial 2016-05-07 22:11:37 +02:00
wmayer a175c4884d + simplify initialization of some Python types 2016-05-07 21:18:47 +02:00
wmayer 7179280138 + expose Material class to Python 2016-05-07 21:15:01 +02:00
wmayer 317b447f88 + implement PropertyMaterialList 2016-05-07 14:41:24 +02:00
wmayer d8ad50d11d + move global function to namespace 2016-05-07 12:21:21 +02:00
DeepSOIC c1f22cbd8d Attacher: fix wrong superPlacement read-onlyness
It reacted to changes to unrelated properties. Fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC abf4ddf9f7 Attacher: UI: another fix of status label
When no references were filled in, and modes were switched, it falsely
claimed 'Attached'. This has been fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC 651be3dcd1 Attacher: make positionBySupport return if attached or not
Needed as reliable way of testing if attachment is working or not.
2016-05-07 11:24:41 +02:00
DeepSOIC 2f6aaf3742 Attacher: add superPlacement to UI
Expose superPlacement as X,Y,Z,yaw,pitch,roll quantity boxes. With partial expression support.
2016-05-07 11:24:41 +02:00
DeepSOIC 472af4bf59 App: fix ObjectIdentifier causing link errors
Add missing AppExport to hash_value().
2016-05-07 11:24:41 +02:00
DeepSOIC b3e9c6b9a9 Attacher: make Placement read-only when attached
Read-onlyness of Placement and superPlacement properties is now
dynamically controlled by MapMode property value.
2016-05-07 11:24:41 +02:00
DeepSOIC ebd5414a61 Attacher: UI improve status message display
Before, message used to display 'Selection accepted', when attachment
actually failed. Shouldn't happen anymore.
2016-05-07 11:24:41 +02:00
DeepSOIC a392927750 Attacher: rework UI
* Remove hint system on buttons. Buttons show currently selected
reference type, instead.
* Change button's caption to "Selecting..." when selecting.
* internal logic rearrangements
2016-05-07 11:24:41 +02:00
DeepSOIC f947101938 Attacher: use getModeName() instead of eMapModeStrings[]
getModeName() does range checking. eMapModeStrings[] will crash if out
of range.
2016-05-07 11:24:41 +02:00
DeepSOIC 505ec6a26d Attacher: change suggestion routine interface
When another bit of information was needed to be extracted from mode
suggestion routine, it felt like listMapModes had too many arguments.
So, the arguments have been collapsed into a struct. This triggered a
few namespace-related changes, which lead to massive search-and-replace
changes all over FreeCAD.

So the only functional change carried out is the addition of reference
types readout to info returned by suggestor.
2016-05-07 11:24:41 +02:00
DeepSOIC 9d19bf023a Attacher: new modes: Inertia CS, Inertia axes
Modes added:
3D and plane attachment: Inertia CS
Line attachment: Inertia axes
This commit may serve a good example of how to add new attachment modes.
2016-05-07 11:24:41 +02:00
DeepSOIC d12141d1fb Attacher: new mode: center of mass (point attacment) 2016-05-07 11:24:41 +02:00
DeepSOIC 71f5a8f980 Attacher: fix typo in tooltip 2016-05-07 11:24:41 +02:00
DeepSOIC 2b057ef192 Attacher: for reachable modes, display what's to add
For grayed out modes in list, show what's needed to get to the mode.
Like so:
"Normal to edge (add Vertex)"
2016-05-07 11:24:41 +02:00
DeepSOIC e6911adc50 Attacher: display modes that can be reached
Attachment mode list used to display only the modes that fit current
references. Now, modes that can be reached by adding more references are
listed too, but grayed out.
2016-05-07 11:24:41 +02:00
wmayer 096d285de6 + add headers needed for pending pull request 2016-05-07 11:22:42 +02:00
blobfish 3a8eb09635 Core: Gui: DAGView: adding surface specific property link to model recognizition. See following note.
this alters the dagview specific to the surface workbench,
    but it isn't dependent on the surface workbench.
2016-05-07 10:29:19 +02:00
blobfish 86bf399682 Core: Gui: DAGView: delay retrieval for python features. see following note.
This doesn't work on document restore!
2016-05-07 10:29:03 +02:00
blobfish 973dda6f88 Part: ModelRefine: adding basis surface to cylinder. 2016-05-07 09:45:39 +02:00
wmayer 2ccf588392 + fixes #0002133: Bad file name copying.lib 2016-05-06 19:33:16 +02:00
wmayer 237bf8332c + fixes #0001674: Allow clearing keyboard shortcuts for actions 2016-05-06 19:04:26 +02:00
wmayer 7e01d0128b + issue #0002525: Line color of shapes are always black 2016-05-06 13:57:13 +02:00
wmayer 4eada9a4f0 + fixes #0002401: Freecad 0.16, sketcher doesn't allow save as 2016-05-05 21:49:54 +02:00
wmayer 4ee2057576 + fixes #0002392: tiny character encoding problems 2016-05-05 21:13:34 +02:00
wmayer 524cdec261 + suppress warnings with MSVC 2016-05-05 18:39:17 +02:00
wmayer 133ff16d0a + avoid code duplication 2016-05-05 18:38:36 +02:00
wmayer f5b48a636d + fixes #0002518: Propertylink enhancement. 2016-05-05 17:12:17 +02:00
wmayer cc88b376e1 + fixes issue #0002224: Drawings break on reopen. Template not found 2016-05-05 11:11:08 +02:00
Johannes Obermayr 1e061b5c02 Fix boost::any bug with Boost 1.54.
and set BOOST_MIN_VERSION to 1.48.

Fixes:
- http://freecadweb.org/tracker/view.php?id=0002505
- http://forum.freecadweb.org/viewtopic.php?f=13&t=15310
- http://forum.freecadweb.org/viewtopic.php?f=3&t=15400
- http://forum.freecadweb.org/viewtopic.php?f=10&t=14108
2016-05-02 18:31:08 +02:00
wmayer 5edeb99828 + add methods to get/set scene graph, add parameter to set window title of viewer 2016-05-01 17:50:40 +02:00
wmayer f8d21c4b8e + restore old layout for split views 2016-05-01 16:50:50 +02:00
wmayer 3ae1d9ae12 + fix whitespaces, fix bug with more than three views 2016-05-01 16:19:50 +02:00
wmayer 61376ef135 + improve whitespaces
+ fix sequence protocol and fix crash
2016-05-01 15:49:00 +02:00
wmayer e331bdbc5d Squashed commit of the following:
commit 89eb699e69c05dda0ebecf4aa22acc85386ede8f
Author: looooo <sppedflyer@gmail.com>
Date:   Wed Apr 27 21:43:16 2016 +0200

    added close function

commit 2acc25adbc9df47194934ef4db18383919248c7d
Author: looooo <sppedflyer@gmail.com>
Date:   Wed Apr 27 21:12:18 2016 +0200

    some additions to the split-view-bindings

commit ec366d154a96a71c7716900f4de1c109a9160df8
Author: looooo <sppedflyer@gmail.com>
Date:   Sun Apr 24 20:55:26 2016 +0200

    SplitView: Antia-Aliasing, getViewer, handlinging of deletion
    added anti-aliasing for the SplitView3DInventor class
    added method getViewer to the AbstractSplitView
    delete python-object when c++ object gets deleted

commit 7225cd836b0001d302c9e14328b5eb7dd489cdb1
Author: looooo <sppedflyer@gmail.com>
Date:   Sun Apr 24 15:28:57 2016 +0200

    added function Gui.createViewer([int])->Viewer/SplitViewer
2016-05-01 15:46:53 +02:00
wmayer e50950f070 + force FreeCAD to always show icons in menus if available (this overwrites system settings) 2016-04-30 18:52:13 +02:00
Yorik van Havre a07ad8dcf1 Arch: Added pref option to not copy units to clipboard in survey mode 2016-04-30 11:38:19 -03:00
Yorik van Havre eca3ce2dde Arch: Fixed rebars to work with PartDesignNext 2016-04-30 10:47:05 -03:00
Yorik van Havre a38a78f6d6 Allow to enter empty values in PropertyFloatList and PropertyIntegerList - issue #2535 2016-04-29 23:00:11 -03:00
wmayer 9ee892eb35 + add method to show parts of a mesh transparent 2016-04-29 18:15:31 +02:00
wmayer d57b57d7ba + add method to set a viewer for Mesh selection 2016-04-29 18:14:28 +02:00
wmayer ace71bab58 + fix bug in PolyPickerSelection to get an updated rendering content when changing to Image mode 2016-04-29 18:13:25 +02:00
wmayer 9a38d631d6 + add overloaded constructor of SelectionObject 2016-04-29 18:10:44 +02:00
wmayer 330df84419 + for picking of alignment save point plus normal 2016-04-29 17:56:46 +02:00
wmayer f83506c510 + rename BrushSelection class to FreehandSelection 2016-04-29 17:43:43 +02:00
wmayer 00eaab0522 + add new class ParameterSerializer to load and save parameter files 2016-04-29 17:43:07 +02:00
wmayer af72ae09c1 + implement TopoEdge.isSeam(face) 2016-04-28 11:08:28 +02:00
Yorik van Havre d6c8d6c62c added FreeCADGui.listCommands() method 2016-04-27 22:42:22 -03:00
Enmar Abrams c12c4368cc Fix crash from unviewed parametrized datum plane 2016-04-27 11:25:03 +02:00
Yorik van Havre 76ce101a9b Removed myself from bloody annoying travis emails... 2016-04-26 22:10:36 -03:00
Pablo Gil b43cc0e177 Dark-Light stylesheets:
+ file encoding changed to UTF-8
+ fixed QRadioButtons, QCheckBoxes and QPushButtons inside dropdown menus
+ added checked/unchecked state for QToolButtons inside QTabBar
+ fixed QDockWidget background (when undocked)
2016-04-26 19:31:13 -03:00
wmayer 1166d8d2cc + fix compiler warning due to comparison of string literals 2016-04-26 18:57:25 +02:00
wwmayer 898bd8bb4c Merge pull request #148 from f3nix/remove-qt3-2
Remove remaining Qt3 stuff - 2
2016-04-24 20:34:01 +02:00
Bernd Hahnebach bdbefdc52a FEM: replace tabs at line start by spaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach b58e37b950 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach 14eb6869a9 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
wmayer 4885da4523 + reduce minimum height of action group/box in case only a single label is added 2016-04-24 19:08:49 +02:00
wmayer 1b1c0316d4 + do not allow to create primitives while a task panel is open to avoid mess on the undo/redo stack 2016-04-24 18:27:24 +02:00
wmayer de47702b17 + fix typos + improve whitespaces 2016-04-24 18:11:02 +02:00
wmayer d03a8fd386 + fix various gcc & clang warnings 2016-04-24 16:21:19 +02:00
wmayer 6b4821a855 + fix crash on abort of adding primitives 2016-04-24 14:17:01 +02:00
Mateusz Skowroński c50bc17675 QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
This change is Qt4/Qt5 neutral.
2016-04-22 20:11:52 +02:00
DeepSOIC b08a75bfb2 Attempt to fix gcc build 2016-04-21 22:34:20 +03:00
DeepSOIC 6eb450b7a0 Attacher: coding and translation style fixes
Replace QObject::tr() with qApp->translate, as suggested by @wwmayer
Curly braces around nested ifs.
Fix misleading comment in Attacher.h
2016-04-21 20:55:42 +03:00
DeepSOIC 4a1a1480ce Attacher: list ref. combinations in UI 2016-04-21 20:55:42 +03:00
DeepSOIC 7e14a044a6 Attacher: change label in UI
"Attachment mode:" instead of "Available modes:"
2016-04-21 20:55:42 +03:00
DeepSOIC cdc507fa36 Attacher: use the new strings in UI
* user-friendly mode names
* tooltips
2016-04-21 20:55:42 +03:00
DeepSOIC 314617f16a Attacher: create special source file to contain attacher strings 2016-04-21 20:55:42 +03:00
DeepSOIC 1ca73cf428 Attacher: fix typesystem (forgotten ::init())
still doesn't work =(
2016-04-21 20:55:42 +03:00
DeepSOIC b1fba06b33 Attacher: remove #include QString 2016-04-21 20:55:42 +03:00
DeepSOIC d6a3d1b140 Attacher: fix superPlacement applied twice in some cases
superPlacement was applied twice on line and point attachment modes that
re-use 3d attachment modes code. Fixed.
2016-04-21 20:55:42 +03:00
DeepSOIC 431373823d Attacher: split Attacher3d and AttacherPlane
Even though they share all the functionality now, I split them, to allow
independent user-friendly mode names.
2016-04-21 20:55:42 +03:00
wwmayer c56dfa254c Merge pull request #144 from sgrogan/stylesheetsCmake
Istall Image files in images sub-directory
2016-04-21 13:57:46 +02:00
mandeeps708 e5cb8db3ce fixes Enable/Disable line number of MacroEditor 2016-04-20 22:23:48 +02:00
sgrogan 4ee095a9c9 Istall Image files in images sub-directory 2016-04-20 16:17:23 -04:00
wmayer a80b077ff8 + pull request 143 2016-04-20 22:07:30 +02:00
wwmayer bfaa8799ed Merge pull request #141 from DeepSOIC/ReverseXZPlane
PartDesign: reverse XZ plane to match legacy orientations
2016-04-19 20:47:45 +02:00
DeepSOIC 6b5554fb03 PartDesign: reverse XZ plane to match legacy orientations
discussion in forum thread "ZX plane in PartDesign Next (instead of XZ)"
http://forum.freecadweb.org/viewtopic.php?f=8&t=15319
2016-04-19 21:36:31 +03:00
wwmayer 58d22f3137 Merge pull request #140 from sanguinariojoe/master
Fixing Plot module for weird matplotlib version
2016-04-19 20:36:04 +02:00
Jose Luis Cercos-Pita 14cb2b8a75 Moved to version checking for anarchists and software realists, like matplotlib guys 2016-04-19 13:41:30 +02:00
Yorik van Havre 6b1c433807 FEM: Results can now be double-clicked to show their task panel 2016-04-17 14:01:10 -03:00
wmayer c5876fe7ca + fix whitespace & cmake warning 2016-04-17 11:38:56 +02:00
wwmayer e87d3c23e7 Merge pull request #139 from mandeeps708/materials
Updates Materials README, New material
2016-04-17 09:05:04 +02:00
mandeeps708 8059563681 adds new material: Aluminium-6061-T6 2016-04-17 05:02:38 +05:30
mandeeps708 043502d073 Materials readme 2016-04-17 04:26:23 +05:30
wmayer f48e57c99f + check for empty SoPath when using SoSearchAction 2016-04-16 16:54:41 +02:00
wmayer cba54c51ad + disconnect boost signals on destruction 2016-04-16 15:38:04 +02:00
wmayer 099ceebec1 + issue #0002504: Crash in pad function after undoing some operations 2016-04-16 15:16:00 +02:00
wmayer 46d340530f + fix various warnings with VC12 2016-04-16 12:02:58 +02:00
Mateusz Skowroński b5519922d8 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
Mateusz Skowroński 3df6064e85 QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:59 +02:00
Mateusz Skowroński 81b59324cd Fix includes to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:44 +02:00
Mateusz Skowroński e797054304 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-04-15 10:22:08 +02:00
Bruce B. Lacey 991c88303d Fixed FreeCAD 0.16 build status link in GitHub README.md 2016-04-15 10:14:06 +02:00
wwmayer de1b04afa6 Merge pull request #137 from bblacey/matrix-0.17
Matrix 0.17 Improvements
2016-04-14 15:12:44 +02:00
Bruce B. Lacey 0b0b61cd79 Refactored compiler setting logic to require and set C+11 for FreeCAD 0.17+
NOTE: Preserved deprecated logic however it could be removed because
this cmake configuration won't be used for FreeCAD versions earlier than 0.17
2016-04-13 12:34:15 -07:00
Bruce B. Lacey 2d07db4520 Tuned Linux build matrix and coverage and restored git depth to 800
1) Added G++ to Linux build matrix
   2) Added BUILD_FEM_NETGEN and dependent packages to Linux build
   3) Fixed Python search on Linux (enable testing of multiple Python versions)

   NOTE: A git depth of 800 is needed for a correct commit count
2016-04-13 11:14:21 -07:00
wmayer 3e941f2b87 + nothing to moc for DAG RectItem class 2016-04-13 19:18:01 +02:00
wmayer 88e987dd86 + translatable tab name of Start page 2016-04-13 19:05:31 +02:00
wmayer df6eb69f56 + fix reported Qt warning 2016-04-13 17:16:32 +02:00
wmayer 08df5cbc59 + remove 'using namespace Part' inside header file 2016-04-13 16:20:31 +02:00
wmayer df48d1668b + remove 'using namespace Attacher' inside header file 2016-04-13 15:57:49 +02:00
wmayer 0a7ab4e1ff + add missing license text 2016-04-13 15:20:41 +02:00
wmayer 5de9696365 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
wmayer e3b609b309 + consistent naming 2016-04-13 11:37:09 +02:00
wmayer 7e01bf11fb + remove obsolete #pragma 2016-04-13 11:22:40 +02:00
wwmayer 081b86c212 Merge pull request #135 from blobfish/rebaseMaster
PartDesignNext rebased on master
2016-04-13 10:57:57 +02:00
Stefan Tröger 483e64f368 remove unneeded orig files 2016-04-12 19:10:19 +02:00
Stefan Tröger 4119bb7adc Fix compilation issue in Attacher code 2016-04-12 18:12:24 +02:00
Stefan Tröger cd2da9fe6d Fix test cases by adopting to new behavior
Pad now does not have a Sketch property anymore but a profile property. Also due to changes in PropertyLinkSubList it ispossible that PropertyLinks get an empty list assigned, this must be supportet now.
2016-04-12 18:12:24 +02:00
Stefan Tröger 52ebfae6b1 Remove unneeded files 2016-04-12 18:12:24 +02:00
Stefan Tröger 788035b80e Part: Recalculate tessellation when requested 2016-04-12 18:12:23 +02:00
Stefan Tröger 5f45bcbc94 PartDesign: Fix body command 2016-04-12 18:12:23 +02:00
Stefan Tröger 8b0d53358a PartDesign: Adopt primitive preview
The preview was developed when the "one feature only" visibility rule was not yet introduced. This commit maks it work again.
2016-04-12 18:12:23 +02:00
Stefan Tröger 6bf31e841e PartDesign: Fix attachment external references 2016-04-12 18:12:23 +02:00
Stefan Tröger 306611e8f8 Fix rebase error 2016-04-12 18:12:23 +02:00
Stefan Tröger 036d0691dd Fix Windows build errors 2016-04-12 18:12:23 +02:00
Stefan Tröger e9b9d285ac PartDesign: Unify datum and shapebuilder visuals 2016-04-12 18:12:23 +02:00
Stefan Tröger 666a5968cb Override mode works with non-toplevel viewprovider
And adopt the part design body to handle the override mode correctly
2016-04-12 18:12:23 +02:00
Stefan Tröger 048c374080 PartDesign: body is responsible for visuals
-Hide all visual properties of features when they are part of a body
-Propagate all body visual changes to features
-Separate display mode from body mode to enable setting display mode for both "tip" and "through" modes
-Use default visuals for body shape and only make "through" a new display mask mode for the children
2016-04-12 18:12:23 +02:00
Stefan Tröger 03b08a311c Fix sketch positioning with part and body 2016-04-12 18:12:23 +02:00
Stefan Tröger d7e52f11a7 PartDesign: Fix context menus 2016-04-12 18:12:23 +02:00
Stefan Tröger 64de3b64e1 PartDesign: prevent claiming features 2016-04-12 18:12:23 +02:00
Stefan Tröger 90debce159 Fix rebase error 2016-04-12 18:12:23 +02:00
Stefan Tröger 3b27def228 PartDesign: prevent crash on delete and add body 2016-04-12 18:12:23 +02:00
Stefan Tröger e7d8a1a9a4 Remove ShapeBinder2D
As profile based features can work with faces and wires now ShapeBinder can do everything that needed ShapeBinder2D before.
2016-04-12 18:12:23 +02:00
Stefan Tröger 2b0e6883c3 Fix workflow manager crash on windows 2016-04-12 18:12:23 +02:00
Stefan Tröger 4ec7fe6303 PartDesign: Adopt pattern to face based features 2016-04-12 18:12:22 +02:00
Stefan Tröger f712f5e4ac PartDesign: Modeling features work with faces
-Rename Sketchbased to ProfileBased to show new behavior
-Adopt ProfileBased to make the relevant helper functions work with faces too
-Adopt features for unified use of helper functions
-Adopt commands to allow face selection
2016-04-12 18:12:22 +02:00
Stefan Tröger 7dea66872e Datums not selectable during edit 2016-04-12 18:12:22 +02:00
Stefan Tröger 5002e8e430 Fix crash on aborted pattern external axis 2016-04-12 18:12:22 +02:00
Stefan Tröger 2585598c55 prevent parts from being dragged into parts 2016-04-12 18:12:22 +02:00
Stefan Tröger 7d30833349 PartDesign: Adopt to new property status bits 2016-04-12 18:12:22 +02:00
Stefan Tröger a6c8f38cf0 no body allowed as body base feature 2016-04-12 18:12:22 +02:00
Stefan Tröger 7cd20adc9a ShapeBinder: fix Null shape on recompute for copy 2016-04-12 18:12:22 +02:00
Stefan Tröger e88b042a26 Fix shape binder placement
-- hidden for user
-- inherited by linked part
2016-04-12 18:12:22 +02:00
Stefan Tröger 4164f8fc4c Ensure only a single PartDesign feature is visible 2016-04-12 18:12:22 +02:00
Stefan Tröger 24bdc173f7 PartDesign mirror must work with base planes 2016-04-12 18:12:22 +02:00
Stefan Tröger 99ef8e756d Fix transform feature crash on apply
-Redundant "reset edit" and command commit removed
-Redundant apply call removed
2016-04-12 18:12:22 +02:00
Stefan Tröger 16433939e1 Add missing files 2016-04-12 18:12:22 +02:00
Stefan Tröger c0b2568091 fix reference selection of origin features 2016-04-12 18:12:22 +02:00
Stefan Tröger 4be81b01e4 Handle external references for revolution et all
The reference selection, used in multiple part design features, treated body external references not corectly.
2016-04-12 18:12:22 +02:00
Stefan Tröger 3792f38191 Fix shutdown crash with primitives in the document
and cleanup the header
2016-04-12 18:12:22 +02:00
Stefan Tröger 4d12023f17 Prevent dressup crash due to multi command commit
the same functionality is provided by upstream accept functions
2016-04-12 18:12:21 +02:00
Stefan Tröger 28965457aa Active view may not be 3d viewer
When for example the spreadsheet is open and an recompute is issued, the active view is not the 3d viewer which leads to crash if used for scene graph calculations.
2016-04-12 18:12:21 +02:00
Alexander Golubev d43525370c PartDesignGui: small rework to sketch-based task parameters
This done mostly for thurther unification them with other task
parameters/dialogs.
2016-04-12 18:12:21 +02:00
Alexander Golubev 96486cc4ed PartDesign/App: a small fix to offset constraint syntax for Pad and Pocket 2016-04-12 18:12:21 +02:00
Alexander Golubev 6b75141514 Suppress a couple more warnings 2016-04-12 18:12:21 +02:00
Alexander Golubev d523377631 App/OriginGroup: add missing AppExport 2016-04-12 18:12:21 +02:00
sgrogan 393ba05726 Win build fixes 2016-04-12 18:12:21 +02:00
Alexander Golubev 0cfc0cd424 Fix warnings introduced in new PartDesign
Mostly unused wariables and compare of signed & unsigned
2016-04-12 18:12:21 +02:00
DeepSOIC 81015b3f44 Fix problems with unlimited external geometry
Caused by recent changes by abdullah, which assumes there is external
geometry only if sketch has support.
http://forum.freecadweb.org/viewtopic.php?f=3&t=12746&p=102087#p102087
2016-04-12 18:12:21 +02:00
Stefan Tröger e675c43ddf Simplify the feature pick dialog
less options are easier to grasp for the user
2016-04-12 18:12:21 +02:00
Stefan Tröger 005c3db946 fix sketch classification for other body
hasObject does search recursive only in groups, but a body is not a group. Hence for sketches within a body this will always return false. Annother logic must be used to detect sketches in bodies.
2016-04-12 18:12:21 +02:00
Stefan Tröger 80fe971b55 fix sketch selection in part design
validateSketch was faulty: as every sketch is valid (non is removed) it could happen that the returned number was >0 but the iterator firstValidSketch was NULL nontheless. The routine needed to be udated to make snese and the usage in prepareSketchbased together with it.
2016-04-12 18:12:21 +02:00
Stefan Tröger 76c8cb3b69 add only a single reference copy 2016-04-12 18:12:21 +02:00
Stefan Tröger 2ab25ea414 Fix incorrect ShapeBinder recalculation 2016-04-12 18:12:21 +02:00
Stefan Tröger 4ed0302404 Ensure correct sketch placement calculation
As bodies are movable now they need to be taken into account for calculating the sketch placement.
2016-04-12 18:12:21 +02:00
Stefan Tröger ef2437bb5c Fix sketch on face of other body or part
The shapebinder object reduces the number of faces to 1, hence the subshape to select is always Face1 and not the original face name
2016-04-12 18:12:21 +02:00
Stefan Tröger 5f9bd72581 Ensure claimchildren3d is always respected
With the new setup object signals it may happen that a document object claims children but has no property changed after the viewprodivers creation. This scenario is not supportet up to now as the scene graph children are only set when the object changes.
2016-04-12 18:12:20 +02:00
Stefan Tröger 35a5727474 ensure document objects claims in tree
It is possible that a newly reated document object already claims other existing objects. The tree needs to be recomputed in this case.
This happens for example for the origin, which creates its planes and axis first and claims them before its own viewprovider is created.
2016-04-12 18:12:20 +02:00
blobfish 03ad4d752c Core: Gui: DAGView: see following note:
Rework highlight rendering.
    Exception for topo sort.
2016-04-12 18:12:20 +02:00
Stefan Tröger e7a96ac26f fix body booleans 2016-04-12 18:12:20 +02:00
Stefan Tröger 585e4cebb5 PartDesign/Gui: minor fix sWhatsThis of text 2016-04-12 18:12:20 +02:00
Stefan Tröger 2ff2d29f02 Fix crossreference handling 2016-04-12 18:12:20 +02:00
Stefan Tröger 83eedba043 crossreferences only with ctrl button and fix missing return value 2016-04-12 18:12:20 +02:00
DeepSOIC e2f70e5e5b Sketcher: when refusing to link external, print why (in statusbar) 2016-04-12 18:12:20 +02:00
DeepSOIC cc89deccbf SelectionGate: add capability to display why not allowed. 2016-04-12 18:12:20 +02:00
DeepSOIC 3df305cc4e Sketcher: allow referencing everything; add testing for circular references 2016-04-12 18:12:20 +02:00
DeepSOIC a1557d07da App: circular reference testing routine for new links
DocumentObject::testIfLinkDAGCompatible: return true if link can be
created (no cycles will be made). False if the link will cause a
circular dependency and break recomputes.
2016-04-12 18:12:20 +02:00
Stefan Tröger 5725dd7721 handle independent copies more gracefully 2016-04-12 18:12:20 +02:00
Stefan Tröger 3bd09ea570 change point of reference feedback for datums
On datum creation it is better to ask the user on OK than on tool activation, as he might hit cancel (and then the created references are till there) or even more important, he could add additional external references within the dialog. The disadvantae is that if the user sets "cross reference" ge gets asked again every time he opens and leaves the dialog.
2016-04-12 18:12:20 +02:00
Alexander Golubev 1f3d2df4d5 PartDesign/Body: add ability to store facebinders inside a body 2016-04-12 18:12:20 +02:00
Stefan Tröger d5e035741a ask user if he creates inter part/body references 2016-04-12 18:12:20 +02:00
Stefan Tröger 655bf961be add task for datum shape features 2016-04-12 18:12:19 +02:00
Stefan Tröger 34541dea2f PartDesign/Plane: several enhancements to plane icon 2016-04-12 18:12:19 +02:00
Stefan Tröger e58ae2b616 Setup ShapeBinder Viewprovider and command 2016-04-12 18:12:19 +02:00
Stefan Tröger 811ccc410c PartDesign: Reorder datum commands 2016-04-12 18:12:19 +02:00
Stefan Tröger 9969aac671 fix dependent copy references
to make them work with sketches an additional Part2DObject reference needed to be created
2016-04-12 18:12:19 +02:00
blobfish 78f3e9786b Core: Gui: DAGView: using pending icon and showing valid status for tool tip 2016-04-12 18:12:19 +02:00
blobfish e6f77dc067 Core: Gui: DAGView: add pending icon 2016-04-12 18:12:19 +02:00
Alexander Golubev 36fbf73011 PartDesign/TaskLoftParameters: Added UpdateView checkbox +cleanup 2016-04-12 18:12:19 +02:00
Alexander Golubev efef23d8e2 PartDesign/Gui: prevent Task*PatternParameters not crash on non sketchBased features 2016-04-12 18:12:19 +02:00
Alexander Golubev aa7d054d47 PartDesign/TaskLoftParameters: removed unused hidden widgets 2016-04-12 18:12:19 +02:00
Alexander Golubev 0ff24fd618 Part/Gui: remove ViewProviderPart::onDelete which handled unnecessary body housekeaping
Also do some headers cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev ba57a843ad PartDesign/ViewProviderBody: reduce number of recalculations in the body 2016-04-12 18:12:19 +02:00
Alexander Golubev 3be2f99b52 PartDesign/Gui: rework of ViewProviderDatumCS 2016-04-12 18:12:19 +02:00
Alexander Golubev fa29bfa667 PartDesign/ViewProviderDatum: minor enhancements
- added defaultSize constant
 - fixed typo in margin{g,}Factor function name
2016-04-12 18:12:19 +02:00
Alexander Golubev d4c67c0366 GeoFeaturertDesign/Gui: Add recompute sizes and datums to the body vp 2016-04-12 18:12:19 +02:00
Alexander Golubev 0c620cc885 App/OriginFeature: a minor cleanup 2016-04-12 18:12:19 +02:00
Alexander Golubev 5918f6f264 Gui: forbid to delete OriginFeatures 2016-04-12 18:12:19 +02:00
Alexander Golubev bceec93a92 PartDesign/Gui: rework ViewProviderDatumPlane 2016-04-12 18:12:19 +02:00
Alexander Golubev 7ac1ab6a6d PartDesign/Gui: make Datums use general material interface
- Make Datums colorable and transparent
 - Change default datums color to yellow and transparency to 60%
 - Rework Lines and Points datum view provider
 - Add ViewProviderDatum::defaultBoundBox()
2016-04-12 18:12:19 +02:00
Alexander Golubev 118f1cec6a PartDesign/App: cleanup datum's classes and headers 2016-04-12 18:12:19 +02:00
Alexander Golubev 04f3ae0605 PartDesign/CommandBody: a minor fix in MoveTip command 2016-04-12 18:12:19 +02:00
Alexander Golubev 26fb01b429 PartDesign/Gui: add origin sizing and rework datums sizing 2016-04-12 18:12:18 +02:00
Alexander Golubev 56823eeb9d App/Part: add getPartOfObject() to search a part for object 2016-04-12 18:12:18 +02:00
Alexander Golubev 1a26f7551f PartDesign: add Origin to the Body and unstrap the module from the Parts 2016-04-12 18:12:18 +02:00
Alexander Golubev 15e998e07c Gui/ViewProviderOriginFeature: remove the "New" selection model stuff
The new selection model is not usable for the OriginFeature's view
provider due to from one side it doesn't really have any subfeatures, so
it won't be really needed, and on the other side we will have to use
SoFCSelection because in that case it isn't possible to implement
highlighting in any sane way (unless we will reimplement drawing ourselfs).
2016-04-12 18:12:18 +02:00
Alexander Golubev 9292ddfa1e Gui/ViewProviderOriginGroup: prevent recalculation of origin size on ViewProviderOriginFeature changes 2016-04-12 18:12:18 +02:00
Alexander Golubev 9753f27064 Gui: refactor Plane's and Line's ViewProviders and add yet another one for OriginFeature
- Share the code of Gui::ViewProviderPlanes and Gui::ViewProviderLine
   in Gui::ViewProviderOriginFeature
 - Add support for coloring and transparencing the OriginFeatures by
   ViewProviderGeometryObject means.
2016-04-12 18:12:18 +02:00
Alexander Golubev e8e4f31b14 Gui/SoFCSelection: added a methode for applying defaults from settings 2016-04-12 18:12:18 +02:00
Stefan Tröger 2a5d800940 fix origin plane and line viewprovider
master changed the highlight code for viewproviders, needed an adjustement after rebase
2016-04-12 18:12:18 +02:00
Alexander Golubev cebc5860c1 Gui/ViewProviderGeoFeatureGroup: suppress DocumentObjectGroup's hide/show behavior 2016-04-12 18:12:18 +02:00
Alexander Golubev 2c2d155ee9 OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup 2016-04-12 18:12:18 +02:00
Alexander Golubev 59ca9212d6 Gui/ViewProviderDocumentObjectGroup: minor enhancements 2016-04-12 18:12:18 +02:00
Alexander Golubev 4e6298d539 Gui/ViewProviderOrigin: fix a segfault when accessed uninitialized plane's view providers when setted up lines sizes 2016-04-12 18:12:18 +02:00
Alexander Golubev 8bca27463e Part/Attacher: remove a couple of no more valid asserts 2016-04-12 18:12:18 +02:00
Alexander Golubev 797d6d3a11 App/Origin: big refactoring
- Rebase App::Origin on App::DocumentObject
 - Keep all control over the Origin structure inside the Origin and it's
   ViewProvider
 - Add OriginFeature class as common base for App::Plane and App::Line
 - Rebase App::Plane and App::Line on top of newly created class and
   move to the file.
 - Change Origin's ViewProvider API associated with temporary display
 - Lots of associated changes to files
 - Several minor fixes
 - Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev ecbb576330 App: minor fix of spacing 2016-04-12 18:12:17 +02:00
Alexander Golubev 26bb702ff6 App: add two callback to DocumentObject to perform initialization/uninitialization inside an object
Added two callbacks to App::DocumentObject
 - setupObject()
 - unsetupObject()

All associated code was added to App::Document
Also was added a specific flag ObjectFlag::Deleted wich is set when performing the deletion.
2016-04-12 18:12:17 +02:00
Alexander Golubev c6797b6c29 Revert "part deletion handling"
This reverts commit 6ab2002021ac1df26ebe77f488f5cd94e1df0b26.
2016-04-12 18:12:17 +02:00
Alexander Golubev dbb5786ffd App/GeoFeatureGroup: derive from DocumentObjectGroup
Refactor GeoFeatureGroup and derive it from DocumentObjectGroup rather
than GeoFeatureObject to unify code of those two classes.
2016-04-12 18:12:17 +02:00
Alexander Golubev 76b4685b5f Commented out a portion of code cosed a segfault 2016-04-12 18:12:17 +02:00
Alexander Golubev 5016054a8b PartDesign/Body: move deletion of subobjects to view provider 2016-04-12 18:12:17 +02:00
Alexander Golubev aa32522115 DocumentObjectGroup: fix deleting of groups in case of malformed links
This one prevents thurther object structure damage if
DocumentObjectGroup::Group connains multiple links to the same feature.
Also minorr changes:
 - Fix some spacing
 - Ask the user if he wants to delete group content
2016-04-12 18:12:17 +02:00
Alexander Golubev abc925b62e PartDesign/Gui: Make partDesign's add sketch command Workflow-aware 2016-04-12 18:12:17 +02:00
Alexander Golubev 492f1d24a4 PartDesign/Gui: initial migration command implementation 2016-04-12 18:12:17 +02:00
Alexander Golubev c4f094bba4 PartDesign/Gui: rename some fonctions in ReferenceSelection.cpp
e.g. getPythonStr -> buildLinkListPythonStr etc
2016-04-12 18:12:17 +02:00
Alexander Golubev 06139ee8f3 Gui/ViewProciderPart: fix XZ plane orientation
Also fix spacing and a Workbench.getValue() condition
2016-04-12 18:12:17 +02:00
Alexander Golubev ca8be01a4b Fix a crash then sketch calls recalculation 2016-04-12 18:12:17 +02:00
Alexander Golubev f9e67626ec PartDesign/Body: remowe Part::Feature from isAllowed() 2016-04-12 18:12:17 +02:00
Alexander Golubev c388a84424 PartDisign/WorkflowManager: initial implementation 2016-04-12 18:12:17 +02:00
Alexander Golubev 8a2d4289f6 PartDesign/FeaturePrimitive: suppress a -Woverloaded-virtual warning 2016-04-12 18:12:17 +02:00
Alexander Golubev c782a11aab PartDesign/Gui: Move various utility stuff from Workbench to a separate file
Also do some header cleanup.
2016-04-12 18:12:17 +02:00
Alexander Golubev a5fcd5775e PartDesign: update body management commands according to the changes in body paradigms 2016-04-12 18:12:16 +02:00
Alexander Golubev 8b62680fe7 Sketcher: minor enhance in sketch interaction with body 2016-04-12 18:12:16 +02:00
Alexander Golubev bf94c3ebf7 PartDesign: fix negative Offset property in pad and pocket 2016-04-12 18:12:16 +02:00
Alexander Golubev 444986e88a PartDesign/Gui: move body commands to a separate file 2016-04-12 18:12:16 +02:00
Alexander Golubev 8c5d514b18 PartDesign: Body rework - add BaseFeature property and make Tip always point to solid 2016-04-12 18:12:16 +02:00
Alexander Golubev 37320a0bfa Gui: prevent DAGView crash freecad when a document gets a circular dependency 2016-04-12 18:12:16 +02:00
Alexander Golubev 2fc5d6c818 Gui/Tree: make tree view correctly handle child order than moving them 2016-04-12 18:12:16 +02:00
Alexander Golubev e3c00ce650 PartDesign/ViewProviderPad: removed a TODO 2016-04-12 18:12:16 +02:00
Alexander Golubev 1b1bd5f17e PartDesign/Gui: make Transformed ViewProviders use common code with other 2016-04-12 18:12:16 +02:00
Alexander Golubev 9cba6c48ea PartDesign/TaskMultiTransformParameters: fix a segfault
The segfault was caused by premature delete of object
TaskMultiTransformParameter::subFeature refered to.
Steps to reproduce:
1. Create a multitransform
2. Add a sub transfurmation to it
3. Press cancel
2016-04-12 18:12:16 +02:00
Alexander Golubev 113c10a2b7 PartDesign: make transform parameter dialogs use common base code with other dialogs
subj;
Make PasrtDesign::Transformed provide common for all features
classes interface getBaseObject() instead of specific getSupportObject ();
Refactor some TransformedParameters methods.
2016-04-12 18:12:16 +02:00
Alexander Golubev e6a99ce96f PartDesign/Workbench: fix a crash 2016-04-12 18:12:16 +02:00
Alexander Golubev 147aff0395 PartDesign/Feature: minor gramma fix 2016-04-12 18:12:16 +02:00
Alexander Golubev da1fb99dc5 PartDesign/ViewProvider: minor enhancements 2016-04-12 18:12:16 +02:00
Alexander Golubev e28aaf4592 PartDesign/TaskDressUpParameters: disable edit of dressup features with broken supports
Also remove unused headers and fix spacing.

A final fixup for issues addressed in:
cb05b01 PartDesign/TaskDressUpParameters: fix a crash when editing a broken object
2016-04-12 18:12:15 +02:00
Alexander Golubev 1876c76f3c PartDesign/Gui: make DressUp view providers use the common code. 2016-04-12 18:12:15 +02:00
Alexander Golubev 55f3f52f54 PartDesign/Feature: add an optional parameter to getBaseObject() to prevent it from throwing exceptions
In most cases getBaseObject() is used with an exception handler which
only detects if it failed but not the reason. This modification allows
to use it without excess exception handlers.
Also add the same parameter to SketchBased::getVerifiedSketch().
2016-04-12 18:12:15 +02:00
Alexander Golubev 013381ccb6 PartDesign/Gui: share code for revolution and groove view providers 2016-04-12 18:12:15 +02:00
Alexander Golubev 5ee0cea467 PartDesign/Gui: start to unify view providers code
- Moved all common code for part design features view providers to a base
   class.
 - Move shared code for Sketch based features to newly created
   ViewProviderSketchBased class
 - Add ViewProviderSketchBased to initialization
 - Make Pad and Pocket ViewProviders to use the shared code
 - Minor fixes to TaskFeatureParameters and some derived classes
2016-04-12 18:12:15 +02:00
Alexander Golubev 6266d514d3 PartDesign/ViewProviderDatum: minor fix in a comment 2016-04-12 18:12:15 +02:00
Alexander Golubev 5f6f16e757 PartDesign/FeatureDressUp: implement a proper getBaseObject()
The function getBaseShape() is removed and replaced with getBaseObject()
because it doesn't make a lot of scense: getBaseShape() masked the
base's class implementation (rather than redefine a virtual) which was
better in words of code reuse.

Also BaseFeature and Base properties relations are defined now in a
little another way.
2016-04-12 18:12:15 +02:00
Alexander Golubev 9feff04aad PartDesign/TaskDressUpParameters: fix a crash when editing a broken object 2016-04-12 18:12:15 +02:00
Alexander Golubev 0ca40ed48b PartDesign/Task{Pad,Pocket}Parameters: massive refactoring
Give a massive refactoring to Task dialogs for pocket and pad.
This commit features:
 * Make Task dialogs for pocket and pad look nice in side-by side diff and
   cross import features missing in each other.
 * As a result it fixes several minor bugs.
 * Gives a rework to the UpdateUI function.
 * This one also fixes offset option support and migrates it to use unit
   framework.
2016-04-12 18:12:15 +02:00
Alexander Golubev 143760c8d3 PartDesign/ViewProviderPad: removed unfinished reimplementation of doubleClick()
This one resulted in non proper reject of pad dialog. Because the
command transaction haven't started.
2016-04-12 18:12:15 +02:00
Alexander Golubev 11a71d46e3 PartDesignGui: move signal connections in several parameter dialogs after ui initialization 2016-04-12 18:12:15 +02:00
Alexander Golubev f16829baee PartDesignGui: Make DressUp and SketchSupport propertie dialogs use common accept() structure 2016-04-12 18:12:15 +02:00
Alexander Golubev 12742d94de PartDesign/TaskThicknessParameters: fix copy-paste mistake in dialog 2016-04-12 18:12:15 +02:00
Alexander Golubev 9db8afd716 PartDesignGui: move shared code for all dressUp features into common place.
Also this allows the old workflow for thickness and draft features.
2016-04-12 18:12:15 +02:00
Alexander Golubev b14d7c2e14 PartDesign: move common code for TaskDlg{SketcherBased,DressUp}Parameters into new base class
Added a new class: TaskDlgFeatureBased which currently contains common
code for TaskDlgSketcherBasedParameters::reject() as well as the same
methode for TaskDlgDressUpParameters.
It's likely that other Feature task dialogs will inherit this class too.
2016-04-12 18:12:15 +02:00
Alexander Golubev 0208a3667d PartDesign/FeatureDressUp: make Base and BaseFeature properties track the same feature
Also remove reseting of read-only flag on placement properties on
removing Base feature: it doesn't make any scense for dressup features.
2016-04-12 18:12:15 +02:00
Alexander Golubev 98a0e30582 PartDesign: fix a crash in the loft 2016-04-12 18:12:14 +02:00
Alexander Golubev 86db4c3215 PartDesign/Gui: enable sketches on datum planes inside bodies 2016-04-12 18:12:14 +02:00
Alexander Golubev e586f55fb2 PartDesign/Gui: more old workflow support
* remove an error message if adding a sketchbased feature without a body
* add champfer or fillet old workflow support

Also rework finishFeature() so at least champfer and fillet may be
inserted into any place of any apropriate body(not only the active one) of the body.
2016-04-12 18:12:14 +02:00
Alexander Golubev a6ebfa496f PartDesign/Gui/TaskDlgSketchBasedParameters: emhance object hiding/unhiding on reject() 2016-04-12 18:12:14 +02:00
Alexander Golubev 4590305921 PartDesign/Gui: enhance the TaskFeaturePick with new cotegory of sketches: notInBody
Also add option tp show already used sketches and fix some spacing.
2016-04-12 18:12:14 +02:00
Alexander Golubev ffc6cc2f23 Share code for finding a body containing a feature 2016-04-12 18:12:14 +02:00
DeepSOIC 16e4ce20f0 PartDesign workflow without part/body
PartDesign: make datum features work outside of body/part
PartDesign old workflow: remove a few messageboxes about no part
PartDesign: old workflow: multitransform without body

Still has visibility issues, but generally works.
2016-04-12 18:12:14 +02:00
DeepSOIC c3da141020 Revolution: fix failure on sketch edges used as an axis
PartDesign Revolution used to fail, when an edge of a sketch was
selected as an axis of revolution. This is fixed by this commit.
Also, made it support selecting an edge from the sketch the revolution
itself is made from.
2016-04-12 18:12:14 +02:00
DeepSOIC 125dda4d70 PartDesign: Make groove work via Revolution ui
Purpose: remove duplicate code.
Remaining: wrong title and icon in task dialog.
2016-04-12 18:12:14 +02:00
DeepSOIC 9776d30b87 PartDesign: rework axis and plane comboboxes and make it work without part.
Rework combobox filling and link hadling for revolution and transformed features, in order to get rid of hard-coded item indexes and make the lists more dynamic.
2016-04-12 18:12:14 +02:00
DeepSOIC 2625233dff PartDesign: disable migration
Temporary. Later, a way to manually invoke it should be made.
2016-04-12 18:12:14 +02:00
DeepSOIC e587cb8a5d Fix rebase mistake, application startup related
Caused docking restore problems, and probably toolbar state restoration
too.
See post 116 of thread "Test Request: Part Design Workflow" (
http://forum.freecadweb.org/viewtopic.php?f=20&t=11205&start=110#p95619
)
2016-04-12 18:12:14 +02:00
Alexander Golubev f509e1b0f1 remove unneeded sketcher tools from part design
Previously similar patch was commited by Stefan Tröger <stefantroeger@gmx.net> but lost during rebase.
2016-04-12 18:12:14 +02:00
Stefan Tröger a8bd2f6f7f prevent part design features from accidently cross referencing 2016-04-12 18:12:14 +02:00
Stefan Tröger 318c65eafd fix independent copy and cross reference 2016-04-12 18:12:14 +02:00
Stefan Tröger a35c231d2a first take on enhanced feature pick task 2016-04-12 18:12:14 +02:00
blobfish a6fe5e664a Core: Gui: DAGView: windows compile fix 2016-04-12 18:12:13 +02:00
Stefan Tröger 45aca9fb55 fix loft top face location 2016-04-12 18:12:13 +02:00
Stefan Tröger 986623f462 fix loft tool naming 2016-04-12 18:12:13 +02:00
Stefan Tröger d2f4410c1e fix datum crash when origin is selected 2016-04-12 18:12:13 +02:00
Stefan Tröger e876d9aa81 fix loft result orientation 2016-04-12 18:12:13 +02:00
Stefan Tröger ef11b75c79 fix pipe tool result orientation 2016-04-12 18:12:13 +02:00
Stefan Tröger 45861b4f92 remove linear and S-shape scaling from pipe
They worked and are nice feature, but the handling with properties must be worked out better. To avoid any incompatibility due to property changes the functionality is removed now.
2016-04-12 18:12:13 +02:00
Stefan Tröger d980952d31 fix body and part tool texts 2016-04-12 18:12:13 +02:00
blobfish 389007f17e Core: Gui: DAGView: Various changes. See Following.
Font size hack for windows DPI workaround
    Adding optional layout direction
    Basic filter framework.
    Column logic beyond just parent.
    Factor out graph and graphLink to separate source files
    Factor out rectitem to separate source files
    Rename custom rect item
2016-04-12 18:12:13 +02:00
Stefan Tröger 7d759a5793 delete features when deleting body 2016-04-12 18:12:13 +02:00
Stefan Tröger 07b7d9ff08 part deletion handling
-remove everxthing that belongs to a part on deletion
-disallow to delete the origin by the user and only remove it when Part is being deleted
2016-04-12 18:12:13 +02:00
Stefan Tröger ecfe545b3b add part tool to task dialog for no selection 2016-04-12 18:12:13 +02:00
Stefan Tröger 0606e767cd fix pipe task dialog icon 2016-04-12 18:12:13 +02:00
Stefan Tröger 939286ca3e add shaft wizard only when building fem 2016-04-12 18:12:13 +02:00
Stefan Tröger 12c5e1f92f remove hole feature
A hole feature is something needed, however, the current implementation does not use the attacher code which would made it intuitive and compatibel to other workbench tools. A reimplementation is needed.
2016-04-12 18:12:13 +02:00
DeepSOIC 72c70bcc50 Datum UI: fixes
* fix messagebox not popping when clicking OK but status is error
* accept preselection
* unify code for all datum commands
* edit selected datum if type matches, instead of creating new one
2016-04-12 18:12:13 +02:00
DeepSOIC a48f9a682c Sketcher: use Selection's getAsPropertyLinkSubList 2016-04-12 18:12:13 +02:00
DeepSOIC 5449001083 Selection: add getAsPropertyLinkSubList method
Got tired of collecting selection into such properties over and over.
2016-04-12 18:12:13 +02:00
DeepSOIC 03e354f7ac PartDesign: fix porting procedure...
...that caused an assert in attacher that back/front subshape strings
were used for attachment to App::Plane.
2016-04-12 18:12:13 +02:00
DeepSOIC 4e57b1a2ec Datum UI: fixes
* fix highlighting of reference buttons when active
* fix selection of whole objects
* fix some other logic
2016-04-12 18:12:13 +02:00
Stefan Tröger de0768af80 fix crash on datum point preselect
It is unclear why the coordinates are NULL. This fix prevents the crash but does not fix the reason why this unnormality occurs.
2016-04-12 18:12:13 +02:00
Stefan Tröger 7deb6393cc no temporaries at by reference parameter 2016-04-12 18:12:12 +02:00
Stefan Tröger 4e295c03ed fix crash in boolean op if no base feature exists 2016-04-12 18:12:12 +02:00
DeepSOIC 98717f010a Attacher: proximity modes
The modes that base on distToShape:
* a line that connects the closest points,
* the actual points
2016-04-12 18:12:12 +02:00
DeepSOIC a3d9907e8c PartDesign: adapt Datum UI to work using Attacher
* adapt
* introduce mode selection
* kill selection gate to allow selecting whole objects (selection gate
should be reintroduced to disallow references between parts, no
restrictions is a temporary state)
* prevent auto-switchover to next ref after an explicit push of a button
* fix highlighting of buttons when selecting corresponding reference
* allow creation of a feature, even if no mode fits references. With a
warning.
2016-04-12 18:12:12 +02:00
DeepSOIC a5d38c9a99 PartDesign: patch old partdesign porting for changes in Datums 2016-04-12 18:12:12 +02:00
DeepSOIC 9e440b955c PartDesign: transfer Datums to become AttachableObjects
Crude and quick, needs cleanup.
2016-04-12 18:12:12 +02:00
DeepSOIC 40592e6055 Attacher: line and point AttachEngines. Other changes.
* propose attachment modes
* refactor setUp and Copy
* split off postprocessing from 3D to reuse in 1D and 0D calculations
* AttachableObject: fix error printout in onChange
* AttachableObject: no more defaults to Attacher3D
* implementation of lines and points attachment (some of the proposed modes).
* refactor getShapeType, add getShapeType(obj, sub); add a flag to eRefType enum, indicating that referenced thing is a whole object that has placement.
* change readLinks to be static, and obtain shape types in the process.
* test mode enums lengths equality
* extend ObjectXY to work on conics.
* Fix upside-down sketches attached as TangentPlane on most shapes.
* Fix crash when a shape of unlisted type is in the links.
* fix attaching to datum lines go crazy because of infinities.
* abs->fabs
* support for App::Line
* Add namespace qualifiers to TYPESYSTEM_SOURCE-like stuff
2016-04-12 18:12:12 +02:00
blobfish 1284810891 Core: Gui: DAGView: Misc fixes, see following
adding dagVisible and test filter(disabled)
    highlight connectors
    fix for double click crash.
    adding visible isolation on right click
    forgot to remove new icons from scene
2016-04-12 18:12:12 +02:00
DeepSOIC 4800957858 Attacher: change Part2DObject's MapMode default to mmDeactivated, and set mode to mmFlatFace only when reading files of old format.
PartDesign, Sketcher: set mapping mode when setting support

Mapping mode mmFlatFace is no longer default, so an explicit assignment
is required.
2016-04-12 18:12:12 +02:00
DeepSOIC fa441a9623 PropertyLinkSubList, Sketcher: move legacy Support readout from PropertyContainer to Part2DObject 2016-04-12 18:12:12 +02:00
DeepSOIC ad01411efc Attacher: fix crash of suggestor on compounds 2016-04-12 18:12:12 +02:00
DeepSOIC 34784b2d29 PartDesign: Fix revolution
It failed to close task if starting a body.
2016-04-12 18:12:12 +02:00
DeepSOIC f688546106 InvoluteGear: positionBySupport 2016-04-12 18:12:12 +02:00
DeepSOIC acac286cd0 Sketch: expose positionBySupport python func 2016-04-12 18:12:12 +02:00
DeepSOIC 4cc9b32e32 PartDesign: accomodating to sketch's multisupport
* FeatureSketchBased getSupportFace check for mapping mode
* Fixes failure to place sketches on DatumPlanes
2016-04-12 18:12:12 +02:00
DeepSOIC 2a390660c8 Sketcher: minimalistic UI for new attachment engine 2016-04-12 18:12:12 +02:00
DeepSOIC 42ecc24ec5 Sketcher: new attachment engine 2016-04-12 18:12:12 +02:00
DeepSOIC 061747f367 Sketcher: change Support from PropertyLinkSub to PropertyLinkSubList
Note: may fail to build after this commit...
2016-04-12 18:12:12 +02:00
DeepSOIC ac5730996d PropertyLinkSubList: make it backwards-compatible with PropertyLinkSub
To assist porting Sketch's Support property from linkSub to linkSubList.
Includes file reading backwards compatibility.
2016-04-12 18:12:11 +02:00
DeepSOIC eccff10d90 PartDesign: fix refuse to pad
When something was depending on a sketch (another sketch, for example),
padding (revolving, pocketing, etc) it was impossible. This is fixed.

Also, padding or revolving a single sketch twice was allowed (with a
warning msg displayed).
2016-04-12 18:12:11 +02:00
Alexander Golubev 445c26f658 PartDesign/Body: make insert/removeFeature treat NULL in a less special way 2016-04-12 18:12:11 +02:00
Alexander Golubev bf58a7be2a PartDesign: make MoveFeatureInTree command use new insert functions 2016-04-12 18:12:11 +02:00
Alexander Golubev 9c113357c5 PartDesign: add migrating sketch support to MoveFeature command 2016-04-12 18:12:11 +02:00
Alexander Golubev 03d3f45277 PartDesign/Workbench: make a message more translation-frendly 2016-04-12 18:12:11 +02:00
Alexander Golubev ad461fc472 PartDesign: fix spacing in several files 2016-04-12 18:12:11 +02:00
Alexander Golubev 7e1a76eb37 PartDesign/Workbench: move fix of sketch support into separate function
Outside PartDesign sketches can have no support plane for them. But
PartDesign doesn't allow that.
Move the code for migration of "free" sketches of planes
into a separate fuction so it may be reused.
2016-04-12 18:12:11 +02:00
Alexander Golubev 7c2413b0aa PartDesign/Body: add methodes to insert features into specific place
Add a Body::insertFeature() methodes as well as python API for it.
2016-04-12 18:12:11 +02:00
DeepSOIC ec2bbc4c34 Loft: fix build with MSVC2013 2016-04-12 18:12:11 +02:00
DeepSOIC 4b48362ec6 PartDesign: refactor positionBySketch
Rename it to positionByPrevious. Rewrite.
Rewrite SketchBased::transformPlacement.
2016-04-12 18:12:11 +02:00
DeepSOIC 03be8e1bba PartDesign: tidy up sketch support and base feature confusion
Not complete, transformPlacement and positionBySketch are pending...
2016-04-12 18:12:11 +02:00
Alexander Golubev b67c8bd34d PartDesign/FeatureDraft: fix a wronly placed NOT 2016-04-12 18:12:11 +02:00
Alexander Golubev b9f4e10fa5 PartDesign: fix a couple of crashes
The first crash was reported here:
http://forum.freecadweb.org/viewtopic.php?f=20&t=11205&start=50#p91052

The second one accures then moving a feature from a body without solid
features.
2016-04-12 18:12:11 +02:00
Stefan Tröger 08e4151ea1 make hole feature work again 2016-04-12 18:12:11 +02:00
Stefan Tröger 7f80e711f6 better active part and document tip handling 2016-04-12 18:12:10 +02:00
Stefan Tröger d435e15a97 make part design loft functional 2016-04-12 18:12:10 +02:00
Stefan Tröger 987880fffa add loft viewprovider 2016-04-12 18:12:10 +02:00
Stefan Tröger c82e4117e9 add feature loft 2016-04-12 18:12:10 +02:00
Alexander Golubev f4a5bf6acd PartDesign: remove Body::isFeature() because it's the same as BodyBase::hasFeature() 2016-04-12 18:12:10 +02:00
DeepSOIC 36fe5994b9 Revolution: fix crash when selecting stuff during task 2016-04-12 18:12:10 +02:00
Danny Lepage 8aecb00a8d Fix Debug Assert in CmdPartDesignDuplicateSelection::activated
Under Windows, "Edit/Duplicate selected object" raised a
Debug Assertion Failed "Expression: sequence not ordered".
2016-04-12 18:12:10 +02:00
Danny Lepage 63bdbe5561 Fix Boolean operation tooltip text.
As reported by triplus
2016-04-12 18:12:10 +02:00
DeepSOIC 578f038cf9 Fix programming error in DatumCS 2016-04-12 18:12:10 +02:00
DeepSOIC 7653d2d48f Fix build on Windows 2016-04-12 18:12:10 +02:00
DeepSOIC a362829d1e Add QAbstractEventDispatcher to Qt4All.h 2016-04-12 18:12:10 +02:00
blobfish 54a3336af5 Core: Gui: DAGView: Basic Functionality 2016-04-12 18:12:10 +02:00
blobfish a85328c546 Core: Gui: DAGView design 2016-04-12 18:12:10 +02:00
blobfish 1586399c80 Core: Gui: DAGView: adding icons 2016-04-12 18:12:10 +02:00
blobfish 3e65723472 Core: Gui: DAGView: skeleton implemented
Need to enable through parameter BaseApp/Preferences/DAGView
2016-04-12 18:12:10 +02:00
blobfish 6349a3d478 Core: Gui: DAGView design 2016-04-12 18:12:09 +02:00
Stefan Tröger ab2cc10ac7 add missing return value 2016-04-12 18:12:09 +02:00
Stefan Tröger c0e850cd0d remove import dependency on assembly workbench 2016-04-12 18:12:09 +02:00
Stefan Tröger cb9be3ac9f add gcc and clang c++11 flag 2016-04-12 18:12:09 +02:00
Stefan Tröger 84cd1588d0 Update pipe icon and add it to the taskwatcher 2016-04-12 18:12:09 +02:00
Stefan Tröger 20d551bc88 fix part and body search for invalid objects 2016-04-12 18:12:09 +02:00
Stefan Tröger 3aae4ce011 respect part design placement rules in pipe 2016-04-12 18:12:09 +02:00
Stefan Tröger 620b2bb5d7 simple bugfixes 2016-04-12 18:12:09 +02:00
Stefan Tröger 68ee7f4f27 add two scaling modes 2016-04-12 18:12:09 +02:00
Stefan Tröger df386cc3c1 make multisection work 2016-04-12 18:12:09 +02:00
Stefan Tröger d796ca2bf9 better pipe view handling 2016-04-12 18:12:09 +02:00
Stefan Tröger a727a9b93d prevent inverted pipes and correct camera adjustment 2016-04-12 18:12:09 +02:00
Stefan Tröger 342ba89afd generalize preview mode 2016-04-12 18:12:09 +02:00
Stefan Tröger 68d172687b implement faster pipes with inner wires 2016-04-12 18:12:09 +02:00
Stefan Tröger 0db83e816a allow sketches with inner wires as pipe profiles 2016-04-12 18:12:09 +02:00
Stefan Tröger 9c4e1070eb add options for pipe tool 2016-04-12 18:12:09 +02:00
Stefan Tröger e7803eca61 add basic part design pipe infrastructure 2016-04-12 18:12:09 +02:00
Stefan Tröger 0f30096cec make new document views obey the scene graph children stacking 2016-04-12 18:12:08 +02:00
Stefan Tröger 54646ef5bd fix wrong torus addition 2016-04-12 18:12:08 +02:00
Stefan Tröger a8f27937de fix sketch editing within transformed parts 2016-04-12 18:12:08 +02:00
Stefan Tröger e7284ecde8 fix crash on cancel primitive 2016-04-12 18:12:08 +02:00
Stefan Tröger 6347fe8c86 make origin work correct with multiple parts 2016-04-12 18:12:08 +02:00
Stefan Tröger ec68192fcf fix primitive following cs in edit mode and add python console output when closing the task 2016-04-12 18:12:08 +02:00
Stefan Tröger a19eaf201e add command for adding a new part
note that the icon is a placeholder as currently parts have a system icon which can not be set for commands
2016-04-12 18:12:08 +02:00
Stefan Tröger d8a0e398a9 make origin lines usable in groove 2016-04-12 18:12:08 +02:00
Stefan Tröger ec125cf9f2 make origin lines usable in revolution 2016-04-12 18:12:08 +02:00
Stefan Tröger c5ae4530ab add primitive preview visualization 2016-04-12 18:12:08 +02:00
Stefan Tröger 0a82185b66 add more point possibilities for cs references 2016-04-12 18:12:08 +02:00
Stefan Tröger 4087ffaef7 make datum feedback more prominent 2016-04-12 18:12:08 +02:00
Stefan Tröger d3a7e9a928 fix selection error on datum exception
and add user feedback for failed selections
2016-04-12 18:12:08 +02:00
Stefan Tröger 7cb6606dc2 add remaining coordinate system selections 2016-04-12 18:12:08 +02:00
Stefan Tröger 96584f776a viewprovider for coordinate system update 2016-04-12 18:12:08 +02:00
Stefan Tröger 42264b43ca add a few coordinate system reference systems 2016-04-12 18:12:08 +02:00
Stefan Tröger c3f35d9f05 add part design thickness 2016-04-12 18:12:08 +02:00
Stefan Tröger 7971bdbb8e delete primitive if initial task is canceled 2016-04-12 18:12:07 +02:00
Stefan Tröger fc1e8b8d17 allow to add faces to fillet and chamfer 2016-04-12 18:12:07 +02:00
Stefan Tröger 329064d671 don't create unneeded second body if part is created 2016-04-12 18:12:07 +02:00
Stefan Tröger 49973895f9 fix primitive offset setting issues 2016-04-12 18:12:07 +02:00
Stefan Tröger 6067c64060 allow subtractive primitive only if base available 2016-04-12 18:12:07 +02:00
Stefan Tröger 49eb5467f7 add gui for remaining primitives 2016-04-12 18:12:07 +02:00
Stefan Tröger 3be4939bcc add remaining primitive features 2016-04-12 18:12:07 +02:00
blobfish c61718c63b PartDesign: Gui: build error. couldn't find ui generated file in part build directory. 2016-04-12 18:12:07 +02:00
blobfish c5935d0d60 Gui: ViewProviderPart: fix crash when no origin objects 2016-04-12 18:12:07 +02:00
Stefan Tröger fec86abc09 visualize the primitive add/sub shape in edit 2016-04-12 18:12:07 +02:00
Stefan Tröger 1f180a11da make primitive task box work 2016-04-12 18:12:07 +02:00
Stefan Tröger 7654659c18 add primitive widget to task dialog 2016-04-12 18:12:07 +02:00
Stefan Tröger 296339f980 allow shapes as coordinate system references 2016-04-12 18:12:07 +02:00
Stefan Tröger a7396dcb74 adopt code to new getBody parameter 2016-04-12 18:12:07 +02:00
Stefan Tröger 0385734339 primitive bug fixes, add cylinder and sphere 2016-04-12 18:12:07 +02:00
Stefan Tröger 8fdde38e75 add coordinate system datum 2016-04-12 18:12:07 +02:00
Stefan Tröger d923bebccc make transform features work with non-sketch based features 2016-04-12 18:12:07 +02:00
Stefan Tröger cf83242f5b fix basic additive box 2016-04-12 18:12:07 +02:00
DeepSOIC 31e4fd8994 Sketcher: fix free-standing sketches
See forum thread, Sketch support == NULL
http://forum.freecadweb.org/viewtopic.php?f=20&t=10942
2016-04-12 18:12:07 +02:00
DeepSOIC 439f392e88 Fix crash when adding datum and there's no active body
Plus fix double messageboxes about the lack of the body,
2016-04-12 18:12:07 +02:00
DeepSOIC fe59e5286e assert before crashing 2016-04-12 18:12:07 +02:00
DeepSOIC 83777a9610 Fix revolution and groove that mistakenly made a pocket. 2016-04-12 18:12:06 +02:00
DeepSOIC f31aed1c40 Sketcher: Fix duplicate external avoidance false positives
Attempting to link to Edge1 of one object failed when there was already
an Edge1 linked from another object.
2016-04-12 18:12:06 +02:00
DeepSOIC 05b9dd60e3 fix build with MSVC11 aka 2012 2016-04-12 18:12:06 +02:00
Stefan Tröger 52c8a19d4d basic infrastructure for part design primitives 2016-04-12 18:12:06 +02:00
Stefan Tröger 7194413d6b code clean up 2016-04-12 18:12:06 +02:00
Stefan Tröger 730f2af80b fix crash when deleting body 2016-04-12 18:12:06 +02:00
Stefan Tröger 0e8b78d2fb make bodies, origins, planes and lines unmovable 2016-04-12 18:12:06 +02:00
Stefan Tröger 1880d46ec6 don't show placement for part design features 2016-04-12 18:12:06 +02:00
Stefan Tröger 9a2f5eea65 allow non-sketch based additive and subtractive features 2016-04-12 18:12:06 +02:00
blobfish fab4ec990c PartDesign: Workbench: comment out switchToDocument inside 'slots'
This causing a crash when opening a previous versioned file while already in part design.
    Can't predict timing of migration call from signals.
2016-04-12 18:12:06 +02:00
blobfish a3a5db33e9 Gui: Part: Viewprovider: check sub objects for valid view provider 2016-04-12 18:12:06 +02:00
blobfish 8fffa8b564 Part: BodyBase: typo in property header macro 2016-04-12 18:12:06 +02:00
Stefan Tröger 051e93238b fix body boolean placements 2016-04-12 18:12:06 +02:00
Stefan Tröger c1928f0b7b less intrusive base plane colors 2016-04-12 18:12:06 +02:00
Stefan Tröger f99b0031d3 adopt mirror feature to base plane selection 2016-04-12 18:12:06 +02:00
Stefan Tröger 2aa4d2c210 switch polar pattern to coordinate system axis 2016-04-12 18:12:06 +02:00
Stefan Tröger d6440b4143 switch linear pattern to coordinate system axis 2016-04-12 18:12:05 +02:00
Stefan Tröger 4c29efea1f allow origin lines in datum features 2016-04-12 18:12:05 +02:00
Stefan Tröger 63015c769e allow pick task selection from 3d view 2016-04-12 18:12:05 +02:00
Stefan Tröger c7555eaa63 interactively show origin objects for feature pick 2016-04-12 18:12:05 +02:00
Stefan Tröger 4b545f9e6f remove unneeded files 2016-04-12 18:12:05 +02:00
Stefan Tröger 83ab03a491 move feature pick dialog into the task view 2016-04-12 18:12:05 +02:00
Stefan Tröger c92e0f5870 add origin icon 2016-04-12 18:12:05 +02:00
Stefan Tröger fcdb80eab3 Prevent origin and base entities from transforming 2016-04-12 18:12:05 +02:00
Stefan Tröger 3f5caa2181 group coordinate planes and lines 2016-04-12 18:12:05 +02:00
Stefan Tröger 915b8ef446 add base lines 2016-04-12 18:12:05 +02:00
Stefan Tröger e59b3cef4b highlight planes 2016-04-12 18:12:05 +02:00
blobfish 45844c2fd2 Part Design: Gui: Workbench: assign activePart and activeBody when doc has tip 2016-04-12 18:12:05 +02:00
blobfish 40d144b11b Part Design: Datum Task: recompute document upon dialog rejections 2016-04-12 18:12:05 +02:00
blobfish e826e7a683 Part Design: Fillet: Task: cleanup upon dialog rejection 2016-04-12 18:12:05 +02:00
Stefan Tröger 05f9ee5af2 make hidden base plane parts dashed 2016-04-12 18:12:05 +02:00
Stefan Tröger 8134cf3cf4 Adopt planes to Part size 2016-04-12 18:12:04 +02:00
blobfish ae3916229d Gui: ActiveObject: remove upon delete
Squashed with:
Gui: MDIView: connection bug.
Gui: MDIView: forgot disconnect.
2016-04-12 18:12:04 +02:00
blobfish c161ffaf44 Part Design: Workbench: commonize construciton of default part and body 2016-04-12 18:12:04 +02:00
blobfish f35871f6b9 App: Document: recompute document upon delete 2016-04-12 18:12:04 +02:00
blobfish b2104e97e1 Gui: View3DInventorViewer: check if child exists before removal 2016-04-12 18:12:04 +02:00
blobfish a412d309c5 App: Doc: affected labels list in delete command 2016-04-12 18:12:04 +02:00
blobfish 4a1978aae9 Part Design: add temp PartDesign_MoveTip icon to stop error 2016-04-12 18:12:04 +02:00
blobfish cd9fcc58ba PartDesign: Gui: Update doc after setuppart 2016-04-12 18:12:04 +02:00
Stefan Tröger f873fb80e9 Remove BasePlanes from part design 2016-04-12 18:12:04 +02:00
Stefan Tröger eb226967f3 Show feature choose dialog for sketch if nothing is selected 2016-04-12 18:12:04 +02:00
Stefan Tröger 13fea20cdd fix datum plane transparency
one can not change the transparany type in the scene graph. Furthermore no normals are used, hence no normal binding is needed.
2016-04-12 18:12:04 +02:00
Stefan Tröger f357e045de fix blocking datum plane
BrepFaceSet implementation was faulty, if normal cache locks have been aquired they need to be released
2016-04-12 18:12:04 +02:00
blobfish 10a7f15c37 Part Design: adding const char PDBODYKEY and using. No functional change. 2016-04-12 18:12:04 +02:00
blobfish 56af3ca44d PartDesign: adding some asserts to workbench 2016-04-12 18:12:04 +02:00
blobfish 7248888e05 PartDesign: Workbench: set active body post migration 2016-04-12 18:12:04 +02:00
blobfish d90fec4de1 Part Design: Workbench: don't try to remove active body 2016-04-12 18:12:04 +02:00
blobfish baa0fa97b9 Part Design: Sketch: command find planes with app::Part::BaseplaneTypes 2016-04-12 18:12:04 +02:00
blobfish b9512a2663 App: Part: rename base planes. 2016-04-12 18:12:03 +02:00
blobfish 7be3e654f8 not typo 2016-04-12 18:12:03 +02:00
blobfish 6877cbbd51 updating to setActiveObject call 2016-04-12 18:12:03 +02:00
Stefan Tröger d112c41eca improve active object handling 2016-04-12 18:12:03 +02:00
jriegel 884ae139fa Several enhancements
+ PLMXML Reader
+ Some meta information sorting
+ Making ProductRefs invisibly in Tree
2016-04-12 18:12:03 +02:00
jriegel b38f63f391 + add PlmXmlParser
+ add test data for PLMXML and JT
2016-04-12 18:12:03 +02:00
jriegel 45f7c99c1c Changing active object handling in PartDesign 2016-04-12 18:12:03 +02:00
jriegel 775744c1ac some fixes in Active object handling on Viewer 2016-04-12 18:12:03 +02:00
jriegel 842604a2f8 small warning fix 2016-04-12 18:12:03 +02:00
jriegel 16ab7f710b Active object manager for the Viewer 2016-04-12 18:12:03 +02:00
jriegel 240f2f7428 fix Jt merge 2016-04-12 18:12:03 +02:00
jriegel 1e01f8c223 fix errors from merge of master 2016-04-12 18:12:03 +02:00
jriegel ade02b5643 implementing Element reading 2016-04-12 18:12:03 +02:00
jriegel 1ca23c33c7 tchnical commit 2016-04-12 18:12:03 +02:00
jriegel 81b4bcd4af further implementing 2016-04-12 18:12:03 +02:00
jriegel 248b228dbf start new Jt Reader 2016-04-12 18:12:02 +02:00
jriegel 5271a24476 [Assembly] fixing the commands and some import 2016-04-12 18:12:02 +02:00
jriegel d59904fd37 some fixes 2016-04-12 18:12:02 +02:00
jriegel dc4fdc2c53 Assembly: Rename to setActiveBody and make link indeipendant Part initialization 2016-04-12 18:12:02 +02:00
jriegel 271bb65cbd Assembly: Plane ViewProvider Size property and smaller standard size 2016-04-12 18:12:02 +02:00
jriegel 51b46e1e37 Assembly: Add GeoFeatureGroup and helpers 2016-04-12 18:12:02 +02:00
jriegel 0013374818 Assembly: Document handling and some fixes 2016-04-12 18:12:02 +02:00
jriegel 0feabcc8ff Assembly: Add non PartDesign feature group to Part also 2016-04-12 18:12:02 +02:00
jriegel 952d598ca9 Assembly: Add warning on conversion 2016-04-12 18:12:02 +02:00
jriegel e9744c842d Make Part working 2016-04-12 18:12:02 +02:00
jriegel 1f1f6f81ce Moving Part creation into PartDesign Workbench 2016-04-12 18:12:02 +02:00
jriegel 602aeecaaf add Python objects for Part and GeoFeature 2016-04-12 18:12:02 +02:00
jriegel 015183a0d7 Error handling if NumPy is not there 2016-04-12 18:12:02 +02:00
jriegel 396f188f30 Tip property in Document and special load save handling 2016-04-12 18:12:02 +02:00
jriegel 104d94ae0f compiles on LibPack 10 2016-04-12 18:12:02 +02:00
jriegel 86bbde4bda Add path and view provider for Part 2016-04-12 18:12:02 +02:00
jriegel 608dddd998 Restructure the Assembly data model (again)... 2016-04-12 18:12:01 +02:00
jriegel 09fe593ae0 small fix 2016-04-12 18:12:01 +02:00
Jan Rheinländer 72b6d02a43 Allow selecting sketch axes in Polarpattern, same as in LinearPattern and Mirrored 2016-04-12 18:12:01 +02:00
Jan Rheinländer 0ddff2419f Fixed bugs in Transformed features 2016-04-12 18:12:01 +02:00
jriegel 35e35527db Start of rework of class structure 2016-04-12 18:12:01 +02:00
jriegel 9d25c717b4 Add additional loging 2016-04-12 18:12:01 +02:00
jriegel 14efce0655 fix #1348 2016-04-12 18:12:01 +02:00
jriegel 43eab0c491 Implement some diagnostics 2016-04-12 18:12:01 +02:00
jriegel 6344c42525 Open new track for importing Assembly structures with OCSF reader. 2016-04-12 18:12:01 +02:00
jriegel 4ad93594a6 Fixes some merge Bugs 2016-04-12 18:12:01 +02:00
jriegel 91196ee244 dripping Body in Assembly (ongoing) 2016-04-12 18:12:01 +02:00
jriegel 80a9d4274e Generall Drag/Drop interface 2016-04-12 18:12:01 +02:00
jriegel c46097654f Const correctness in DocumentObjectGroup 2016-04-12 18:12:01 +02:00
jriegel a08fdaa648 New Dialog for Quenstions and Warnings and the usage in Assembly 2016-04-12 18:12:01 +02:00
Stefan Troeger ad8ae753d9 fix the precompiled redefinition problem 2016-04-12 18:12:01 +02:00
Stefan Troeger 32e6091366 add assembly item destructor to avoid strange linker problemn 2016-04-12 18:12:01 +02:00
Stefan Tröger de9c61e150 restore externalisation behaviour with gcc/clang compilers 2016-04-12 18:12:01 +02:00
Stefan Troeger c070d41e1e fix wrong conditional statement 2016-04-12 18:12:01 +02:00
Stefan Troeger 5fd47ad881 fix typo in preprocessor else if statement 2016-04-12 18:12:01 +02:00
Stefan Troeger 5ef6fb5dd5 msvc and gcc/clang are not satisfiable with the same code... 2016-04-12 18:12:01 +02:00
Stefan Troeger 3b4db93332 resolve windows issues 2016-04-12 18:12:01 +02:00
Stefan Tröger 18aceffce8 dissallow cyclic system until they work reliabe
l
2016-04-12 18:12:01 +02:00
Stefan Tröger 9bd19328ca multiple debug updates 2016-04-12 18:12:00 +02:00
jmaustpc cdd83966b1 update remaining Assembly constraint icons to new theme
update remaining Assembly constraint icons
to new cylinder theme

Also increase the emphasis on the constriants
by thickening them, in the
Assembly_constraints_tree icon
2016-04-12 18:12:00 +02:00
jmaustpc 1de931355e update Assembly constraint icons to cylinder theme 2016-04-12 18:12:00 +02:00
jmaustpc 8be5d0eb3e update Assembly Workbench icon in InitGui.py 2016-04-12 18:12:00 +02:00
jmaustpc 38b1d497dd Update icon references in Task Assembly Constraint
to include the new sub-directory "constraints" in the path
for the Assembly constraints icons
2016-04-12 18:12:00 +02:00
Jan Rheinländer 4c9b9adde6 Fixed usage of std::abs() in polar pattern 2016-04-12 18:12:00 +02:00
blobfish 4b2f107cc1 Part Design: support for overlapping and coincident patterns
Fixed crash after rejecting a MultiTransform dialog
    remove overlap check
    adding getSolid to cut operation
    add extrema method to part::checkinterference
    move refineshape call out of loops
    divideTools functions
2016-04-12 18:12:00 +02:00
Jan Rheinländer deb9e85d03 Fixed crash after rejecting a MultiTransform dialog 2016-04-12 18:12:00 +02:00
Jan Rheinländer af25c0c793 Reference highlighting for fillets and chamfers 2016-04-12 18:12:00 +02:00
Jan Rheinländer 1772eb70bc PartDesign::Transformed: Transformed shapes that touch are now rejected as overlapping in the interest of boolean operation stability 2016-04-12 18:12:00 +02:00
Jan Rheinländer 7839099fea Fix bug in PartDesign conversion that choked on unconsumed sketches 2016-04-12 18:12:00 +02:00
Stefan Tröger 4b5e387da4 extend debug facilities with state writing and add externalisation to make it compile with a decent amout of memory 2016-04-12 18:12:00 +02:00
Stefan Tröger fce34e05fc avoid rescales when scale value is in allowed range 2016-04-12 18:12:00 +02:00
jmaustpc 0f1ae0d95b Add new icons to Assembly work bench
Including new body icons for the treeview and
PartDesign create new body command.
Move all Assembly constrains icons into their
own sub directory of the icons directory
add "STEP, IGES or BREP" to the tool tip
of Assembly add existing Component command
2016-04-12 18:12:00 +02:00
Stefan Tröger 2737db260c calculate geometry point on the correct storage 2016-04-12 18:12:00 +02:00
Stefan Tröger 34921ff034 don't rescale on rotation solver 2016-04-12 18:12:00 +02:00
Stefan Tröger 1f99cb347b fix full system failure when using the fix constrain 2016-04-12 18:11:59 +02:00
Stefan Tröger 894249473b make nonrigid subbassemblys work when they hold subassemblys themself 2016-04-12 18:11:59 +02:00
Stefan Tröger 4441d9d2c7 make subassembly constraints always accessible 2016-04-12 18:11:59 +02:00
Stefan Tröger 0a750b1bc5 only use scale value for rotation-only solving, not the transformed clusters. This gives the more expected results 2016-04-12 18:11:59 +02:00
Stefan Tröger 66f9afbef3 fix unsupported geometry crashs, add visual feedback for unsupported geometry and fix crash on both parts in subassemblys 2016-04-12 18:11:59 +02:00
Stefan Tröger 61a47d7c22 improve solvability of seperated rotation/translation 2016-04-12 18:11:59 +02:00
Stefan Tröger 81ccdeb331 further distinguish between rotation and translation solving 2016-04-12 18:11:59 +02:00
Stefan Tröger ee5d3be3cc implement subsystem callbacks 2016-04-12 18:11:59 +02:00
Stefan Tröger d4fdb92957 new openDCM version 2016-04-12 18:11:59 +02:00
jriegel 9d196708b1 small fixes after merge from master 2016-04-12 18:11:59 +02:00
Jan Rheinländer 273e0f0b71 Fixed bug that did not allow selecting datum planes as external references in sketches 2016-04-12 18:11:59 +02:00
jriegel 0b28a757ab Workaround for a wired linker problem on Windows. Actually still not solved... 2016-04-12 18:11:59 +02:00
Stefan Tröger 054dba0847 rename the add commands 2016-04-12 18:11:59 +02:00
Stefan Troeger f0ed9c81c3 include dcm core directly to use the warning supression 2016-04-12 18:11:59 +02:00
Stefan Tröger 8b0fe845bf use freecad resource, not local one 2016-04-12 18:11:59 +02:00
Stefan Troeger aa5d84196c supress useless msvc warnings 2016-04-12 18:11:58 +02:00
Stefan Tröger dce4061ee6 treat multiple assignment operator warning on msvc 2016-04-12 18:11:58 +02:00
jrheinlaender 9b0d55bed8 Changes to test parts 2016-04-12 18:11:58 +02:00
jrheinlaender 9851450174 Fixed bug in Body conversion code 2016-04-12 18:11:58 +02:00
jrheinlaender 53189fd36f Cosmetic change in FemConstraint.cpp 2016-04-12 18:11:58 +02:00
Stefan Tröger bd484ca7ca suppress useless msvc warning 2016-04-12 18:11:58 +02:00
Stefan Tröger 348f4c5476 make sure active assembly object extern variable is always the same type, as visual studio can't find it if derived classes are used 2016-04-12 18:11:58 +02:00
Stefan Tröger ab4ca88fef placehoder text not supported in libpack qt version 2016-04-12 18:11:58 +02:00
Stefan Tröger bc8d2d2294 reduce solver calls and fix cylinder-cylinder coincident options 2016-04-12 18:11:58 +02:00
Stefan Tröger e9540eadcc let assembly part numbering use standart freecad sheme 2016-04-12 18:11:58 +02:00
Stefan Tröger ad855d1cf5 remove exeption on solver error 2016-04-12 18:11:58 +02:00
Stefan Tröger dd1044a5e8 slightly better error reporting from app to gui 2016-04-12 18:11:58 +02:00
Stefan Tröger 932c4b5e11 fix perpendicular initial position issue and add better tooltips 2016-04-12 18:11:58 +02:00
Stefan Tröger 0099bfd0fd fix failing angle constraint on bad starting position: treat LGZ before first error check 2016-04-12 18:11:58 +02:00
Stefan Tröger 9fdeef50fe update logging to be used with boost1.54 and make it a compile option 2016-04-12 18:11:58 +02:00
Stefan Tröger c1d799e831 prevent dangling pointers by clearing the active assembly after it was deleted 2016-04-12 18:11:57 +02:00
Stefan Tröger 64ec142d61 Fix solution space behaviour and further distinguish alignment/coincident 2016-04-12 18:11:57 +02:00
Stefan Tröger 45a3f149c3 make solution spaces accessible from GUI and fix some solver implementation errors 2016-04-12 18:11:57 +02:00
Stefan Tröger 3abda4dd67 new dcm version 2016-04-12 18:11:57 +02:00
jrheinlaender 5376e3a3e5 Fixed bugs in various features that reversed the list of selections 2016-04-12 18:11:57 +02:00
Stefan Tröger f91d5013a3 revidsed assembly constraint gui interaction 2016-04-12 18:11:57 +02:00
jrheinlaender 9569dd3beb Fix bug in PartDesignGui Workbench that may cause a crash 2016-04-12 18:11:57 +02:00
Stefan Tröger acd4109d5b add missing template specifier (gcc error) 2016-04-12 18:11:57 +02:00
Stefan Tröger 5dea42c995 multiple files added 2016-04-12 18:11:57 +02:00
Stefan Tröger e8dda0b25a add core defines file 2016-04-12 18:11:57 +02:00
Stefan Tröger 8ec3907a03 test commit 2016-04-12 18:11:57 +02:00
Stefan Tröger 710540c0b0 line line distance works with parallel lines too 2016-04-12 18:11:57 +02:00
Stefan Tröger b3058a4f5a windows adoptions 2016-04-12 18:11:57 +02:00
jrheinlaender 7981edd639 Allow selecting and removing fillet and chamfer references in the dialog (part 2) 2016-04-12 18:11:57 +02:00
jrheinlaender ee7f50a554 Allow selecting and removing fillet and chamfer references in the dialog 2016-04-12 18:11:56 +02:00
jrheinlaender 8b19d2cf16 Unify code of Dressup features (part 2: Draft) 2016-04-12 18:11:56 +02:00
jrheinlaender 3229b322ec Fix some errors in the PartDesign ViewProvider code 2016-04-12 18:11:56 +02:00
jrheinlaender a2359adb2e Unify code of Dressup features (part 1: Draft) 2016-04-12 18:11:56 +02:00
Stefan Tröger 6c494157f5 updated dcm version 2016-04-12 18:11:56 +02:00
Stefan Tröger 913ec86fdd treat gradient zeros at residual!=0 2016-04-12 18:11:56 +02:00
jrheinlaender fcea39b0d8 Enable multiple originals for the transformed features 2016-04-12 18:11:56 +02:00
jrheinlaender a59901ee4b Some code unification for DressUp features 2016-04-12 18:11:56 +02:00
jrheinlaender d32317229d Fix bug in workbench 2016-04-12 18:11:56 +02:00
jrheinlaender 904799d462 Color already selected faces of Draft feature when adding more or removing faces 2016-04-12 18:11:56 +02:00
Stefan Tröger a15fbf3db6 add parts and components to the selected or active assembly only and add user information 2016-04-12 18:11:56 +02:00
Stefan Tröger 14b3246974 dont remove already removed view providers from the toplevel inventor node 2016-04-12 18:11:56 +02:00
Stefan Tröger f007608c81 throw exception at unsuported geometrie instead of crashing 2016-04-12 18:11:56 +02:00
jrheinlaender 3ff550f977 Fixed double clicking bug in the viewprovider 2016-04-12 18:11:56 +02:00
jrheinlaender 0a743b27da Python code of Hole Feature 2016-04-12 18:11:56 +02:00
jrheinlaender 45ce3b7822 Enable Python to read the value of a sketcher constraint 2016-04-12 18:11:55 +02:00
jrheinlaender f6958f391c Fix bug where external reference was ignored without an error message 2016-04-12 18:11:55 +02:00
jrheinlaender 37a8c02bc6 Improved SketchObject error reporting 2016-04-12 18:11:55 +02:00
jrheinlaender 0ab6a77442 Update SketchObject Placement when the Support property changes 2016-04-12 18:11:55 +02:00
jrheinlaender 5c18e947e6 getActivePart() python function as complement to setActivePart() 2016-04-12 18:11:55 +02:00
jrheinlaender f7874306b9 Allow Pyton features inside bodies 2016-04-12 18:11:55 +02:00
jrheinlaender ae1890f56b Python functions to intersect curves and surfaces 2016-04-12 18:11:55 +02:00
jrheinlaender 8e1ea4ac14 Removed some old code 2016-04-12 18:11:55 +02:00
jrheinlaender 853adf7d9d Highlighting for datum features 2016-04-12 18:11:55 +02:00
jrheinlaender e993480ca0 Made Body::claimChildren() stabler against NULL items 2016-04-12 18:11:55 +02:00
jrheinlaender 4623f3a7d3 Some code cosmetics 2016-04-12 18:11:55 +02:00
jrheinlaender cdb49c28e5 Allow datum point and line from circular reference 2016-04-12 18:11:55 +02:00
jrheinlaender b6932b0bdb Allow datum points and lines to have offsets from their references 2016-04-12 18:11:55 +02:00
jrheinlaender 22e3aaa2d6 Fix bug in SketchObject::execute() that throws exception instead of returning an error 2016-04-12 18:11:55 +02:00
jrheinlaender a4ad9a6a55 ViewProviderBody::claimChildren() : Claim all children not claimed by another object 2016-04-12 18:11:55 +02:00
jrheinlaender 02ce7395aa Centralize the check for valid external geometry to ensure consistency (part 2) 2016-04-12 18:11:55 +02:00
jrheinlaender be9365679f Centralize the check for valid external geometry to ensure consistency 2016-04-12 18:11:55 +02:00
jrheinlaender 2c37723217 Fixed bug in external geometry selection of sketcher 2016-04-12 18:11:55 +02:00
jrheinlaender 99fe9b6178 Moved Body::isAfterTip() to BodyBase 2016-04-12 18:11:55 +02:00
jrheinlaender 9dba4c01e2 Added some comments about things to be fixed in the future 2016-04-12 18:11:55 +02:00
jrheinlaender 010761d162 Fix bug that did not show the correct shape to select a reference (e.g. face) from when editing a SketchBased feature in the tree 2016-04-12 18:11:54 +02:00
jrheinlaender 8a041ffc8e Fix bug that didn't allow to select base plane to create a sketch on it 2016-04-12 18:11:54 +02:00
jrheinlaender 92d51a6e1d Fixed bug that prevented proper switching to PartDesign workbench 2016-04-12 18:11:54 +02:00
jrheinlaender c21f21666f Fixed bug that didn't clean up the Body when deleting an object from it 2016-04-12 18:11:54 +02:00
jrheinlaender f9b0e5908a Allow transforming a Pattern feature into a MultiTransform feature 2016-04-12 18:11:54 +02:00
jrheinlaender 5d39df88ee Prevent user from selecting a sketch plane that is not in the active body 2016-04-12 18:11:54 +02:00
Stefan Tröger 6a6997087f windows: add type specifier 2016-04-12 18:11:54 +02:00
Stefan Tröger 30e8fc7b8c revert solving precission to 1e-6 dou to too much cases failing 2016-04-12 18:11:54 +02:00
Stefan Tröger 483357de77 set solving precission to 1e-8 2016-04-12 18:11:54 +02:00
Stefan Tröger 5ce6c68a57 avoid transformation of highlighted constraint 2016-04-12 18:11:54 +02:00
Stefan Tröger 3dafb038b2 remove unneeded display modes from viewprovider 2016-04-12 18:11:54 +02:00
Stefan Tröger 9a50535a4b adopt correct default colors and avoid crash due to context menu 2016-04-12 18:11:54 +02:00
Stefan Tröger f61ae2e90c allow to set rigid property via context menu 2016-04-12 18:11:54 +02:00
Stefan Tröger e9e1b45280 allow non-rigid subassemblies 2016-04-12 18:11:54 +02:00
Stefan Tröger bf8d5e7aa9 fix subassembly transformation bug 2016-04-12 18:11:54 +02:00
Stefan Tröger 14c20fbe89 remove console messages 2016-04-12 18:11:54 +02:00
Stefan Tröger 7fe1d94a21 fix rotational/translational solver bugs in cylce detection and mapping 2016-04-12 18:11:54 +02:00
Stefan Tröger 98d81ed483 make subproduct solving work 2016-04-12 18:11:54 +02:00
Stefan Tröger 26cd6de30f avoid drawing artefacts when adding new constraint 2016-04-12 18:11:54 +02:00
Stefan Tröger e0efc30893 add visualisation to the constraints 2016-04-12 18:11:53 +02:00
Stefan Tröger 46700422fd make constaints and group not greyed in tree 2016-04-12 18:11:53 +02:00
Stefan Tröger 61430e67e1 put constraint selection message in dialog window 2016-04-12 18:11:53 +02:00
jrheinlaender d550506f28 Fix handling of MultiTransform features when migrating to Body 2016-04-12 18:11:53 +02:00
jrheinlaender f3fbf6f285 Improved migration of PartDesign parts to the new Body structure 2016-04-12 18:11:53 +02:00
jrheinlaender b8dc8181bc Added menu item to move a feature in the tree inside a body 2016-04-12 18:11:53 +02:00
jrheinlaender 6a02b5849f Body: Transformed Features inside a MultiTransform are not considered to be solid features 2016-04-12 18:11:53 +02:00
jrheinlaender 36a00f45b6 PartDesign Body migration: Fix migration of MultiTransform sub-features 2016-04-12 18:11:53 +02:00
jrheinlaender b2dd70e635 PartDesign Body migration: Handle sketch planes offset from base planes 2016-04-12 18:11:53 +02:00
jrheinlaender 7174a259f0 Two minor fixes 2016-04-12 18:11:53 +02:00
jrheinlaender 4d674831d3 Fix broken placement of boolean operations 2016-04-12 18:11:53 +02:00
jrheinlaender 38ab82a94d Allow external references from other body but not from same body outside the support 2016-04-12 18:11:53 +02:00
jrheinlaender e735cf7c3a Allow moving features between bodies from context menu of tree view 2016-04-12 18:11:53 +02:00
jrheinlaender f1b5a6044d Allow extruding from a datum plane to another face or plane, optionally with an offset 2016-04-12 18:11:53 +02:00
jrheinlaender fa020cf867 Allow selecting geometry from another body inside the same part as a reference 2016-04-12 18:11:53 +02:00
jrheinlaender 2d080dd92b Prevent unnecessary error messages while loading a part 2016-04-12 18:11:52 +02:00
jrheinlaender 1e615043cd Give user feedback about not being able to extrude UpToFace if sketch is on a datum plane 2016-04-12 18:11:52 +02:00
jrheinlaender c5358ee307 Prevent unknown exception thrown while loading a part 2016-04-12 18:11:52 +02:00
jrheinlaender da12aa8805 Allow mapping a sketch to a datum plane 2016-04-12 18:11:52 +02:00
jrheinlaender 97fb44ddd5 Detect external geometry that is a circle which becomes a bspline after projection 2016-04-12 18:11:52 +02:00
jrheinlaender 9e7b463113 Allow geometry from other bodies in the same par as external geometry for sketches 2016-04-12 18:11:52 +02:00
Stefan Tröger f26ca75e50 msvc adaptions 2016-04-12 18:11:52 +02:00
Stefan Tröger 02311333b9 userfriendly part movement 2016-04-12 18:11:52 +02:00
jrheinlaender 34acc5f8b4 Allow creating a datum plane tangential to a cylinder and parallel to another plane 2016-04-12 18:11:52 +02:00
jriegel a0ec4752d9 fix icons 2016-04-12 18:11:52 +02:00
jriegel 9ce0d04175 fix on unclear types 2016-04-12 18:11:52 +02:00
Stefan Tröger d7ea6f8905 remove logging for sure 2016-04-12 18:11:52 +02:00
Stefan Tröger 8fc24fd824 remove loggin 2016-04-12 18:11:52 +02:00
Stefan Tröger 661e3bba8d update and bug corection 2016-04-12 18:11:52 +02:00
Stefan Tröger 3058d86b23 enable scaling 2016-04-12 18:11:52 +02:00
jrheinlaender 401c4d6dc0 Miscellaneous fixes 2016-04-12 18:11:52 +02:00
jrheinlaender 04e5d83366 Revolution/Groove: Check that rotation axis is coplanar with sketch plane 2016-04-12 18:11:51 +02:00
jrheinlaender 026242231e Changed tree ordering of booleans and bodies 2016-04-12 18:11:51 +02:00
jrheinlaender 106efeec02 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender 75dc92fd90 Enable edges and datum lines as rotation axis for Groove and Revolution features 2016-04-12 18:11:51 +02:00
jrheinlaender 999b1c028b Allow inserting at the beginning of a body 2016-04-12 18:11:51 +02:00
jrheinlaender 7983862b52 Some code unification for sketchbased features 2016-04-12 18:11:51 +02:00
jrheinlaender 0e9ee59129 Some code unification for Gui selections 2016-04-12 18:11:51 +02:00
jrheinlaender a8e4f0f1ca Allow Pad and Pocket up to a face with sketch located on datum plane 2016-04-12 18:11:51 +02:00
jrheinlaender 02ba800430 Added a few preliminary icons for the new features 2016-04-12 18:11:51 +02:00
jrheinlaender c4fe27d093 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender 638cfd2682 Allow booleans of bodies in PartDesign 2016-04-12 18:11:51 +02:00
jrheinlaender ed2657380c Fix bug that produced 'cannot update representation' error message on adding a fillet 2016-04-12 18:11:51 +02:00
jrheinlaender b18958b3d9 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender c751eefc00 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender 934c68faa5 Draft: Accept datum lines and planes as references 2016-04-12 18:11:50 +02:00
jrheinlaender d8462d135b Miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender ffc09ec50c Duplicate Selection: Add duplicated features to active Body 2016-04-12 18:11:50 +02:00
jrheinlaender 880587a627 Allow datum lines and planes for Transformed features' references 2016-04-12 18:11:50 +02:00
jrheinlaender 4645fdcd37 Miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender 1f42d4e3a3 bugfix for extrude to datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender cda9b57b6c miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender f954a51430 Pad/Pocket: Allow extrude up to a datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender b815656649 Refactored code of SketchBased features to have common code in an abstract superclass 2016-04-12 18:11:50 +02:00
jrheinlaender 0bcdb0511f Added Reversed button to Pocket UI if the sketch plane is a datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender 6915d8b734 Miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender 3b95517a70 Drop into insert mode when user double-clicks on a PartDesign feature in the Tree 2016-04-12 18:11:50 +02:00
jrheinlaender bc7dff7339 Moved unsetEdit() to ViewProvider to avoid code duplication in all feature ViewProviders 2016-04-12 18:11:50 +02:00
jrheinlaender ba17aa2839 Try to be consistent with sketch plane orientation PartDesign module <-> Sketcher module 2016-04-12 18:11:50 +02:00
jrheinlaender fe2e490645 Allow selecting back of base planes, miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender 0e8921c21f Simplified datum features by making use of the placement property 2016-04-12 18:11:50 +02:00
jrheinlaender 2c378a4f8c Add check in Document.cpp recompute() to check for invalid pointers 2016-04-12 18:11:49 +02:00
jrheinlaender f6fb4814d1 Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender 2aea9bbf96 Automatically adjust datum line/plane size to Body bounding box 2016-04-12 18:11:49 +02:00
jrheinlaender a6431ee5cf Improved bounding box calculation for datum feature display size 2016-04-12 18:11:49 +02:00
jrheinlaender 02dfb8551d Moved some methods from PartDesign::Body to Part::BodyBase so the SketchObjects will be removed cleanly from the Body when deleted 2016-04-12 18:11:49 +02:00
jrheinlaender 5b3d5e6bd8 Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign 2016-04-12 18:11:49 +02:00
jrheinlaender 20ba1983a4 Datum planes with offset and angle. Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender bb1a3a532f Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender 7a6c399a14 Make Datum features pickable 2016-04-12 18:11:49 +02:00
jrheinlaender 6effd7d864 Visualization of datum lines and planes 2016-04-12 18:11:49 +02:00
jrheinlaender b7fe543ca9 Fix compile error after rebase 2016-04-12 18:11:49 +02:00
jrheinlaender 1c1531278c Specialized viewproviders for datum features, create points from intersection of edges and faces 2016-04-12 18:11:49 +02:00
jrheinlaender 8682b5f490 Switch to PartDesign workbench as soon as a PartDesign feature is edited 2016-04-12 18:11:49 +02:00
jrheinlaender ce224298a7 Automatically add Body feature to Parts if the PartDesign workbench is active 2016-04-12 18:11:49 +02:00
jrheinlaender 4280334751 Make sure that App::Plane sketch placement is identical to deprecated SketchOrientationDialog placement 2016-04-12 18:11:49 +02:00
jrheinlaender 45af3e2a78 Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender 7330d4357e Made the rest of the PartDesign features aware of the Body 2016-04-12 18:11:49 +02:00
jrheinlaender 4bb14de504 Honour the ordering of the children returned by claimChildren() in the TreeWidget 2016-04-12 18:11:49 +02:00
jrheinlaender 1b7fbeb622 Update ActivePartObject etc. on switching documents, creating new documents, and loading documents in the PartDesign workbench 2016-04-12 18:11:48 +02:00
jrheinlaender efd33c8465 Added check in Tree.cpp DocumentItem::slotChangeObject to check for invalid pointers returned by claimChildren() 2016-04-12 18:11:48 +02:00
jrheinlaender 4f80b72508 Work on Gui of Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender d8d945a8b6 Work on reference selection for Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender 3b81168e41 Second step for implementing datum features 2016-04-12 18:11:48 +02:00
jrheinlaender 63f782d8f0 More bug fixes for Body insertion/deletion of features 2016-04-12 18:11:48 +02:00
jrheinlaender ee47c53339 Bug fixes for Body feature insert/remove functionality 2016-04-12 18:11:48 +02:00
jrheinlaender 3e4986f163 Add skeleton support for datum features 2016-04-12 18:11:48 +02:00
jrheinlaender e184c9f229 More work on highlighting and hiding/showing 2016-04-12 18:11:48 +02:00
jrheinlaender 1ec99c5d32 Work on inserting, removing, hiding and showing features in the body 2016-04-12 18:11:48 +02:00
jrheinlaender df7983fe10 Moved BaseFeature Property from SketchBased to PartDesign::Feature because all PartDesign features need it 2016-04-12 18:11:48 +02:00
jrheinlaender f7d9bf90c4 Moved getBody() to PartDesign namespace in Workbench.cpp because ActivePartObject is also declared there now 2016-04-12 18:11:48 +02:00
jrheinlaender 7d84c7e6f0 Made Pocket, Revolution and Groove aware of the SketchBased::BaseFeature property 2016-04-12 18:11:48 +02:00
jrheinlaender c93d425393 Renamed SketchBased::Base property to BaseFeature because of name clash with Revolution::Base property 2016-04-12 18:11:48 +02:00
jrheinlaender 339666adcf Highlight current insert point (Tip feature) in blue 2016-04-12 18:11:48 +02:00
jrheinlaender 10c8ba7e9b Moved ActivePartObject etc. to PartDesignGui namespace and added extern declaration to Workbench.h as suggested by logari81 2016-04-12 18:11:48 +02:00
jrheinlaender 2f658733b7 Feature tree: Insert mode for SketchBased features 2016-04-12 18:11:47 +02:00
jrheinlaender 6235385c5a Create Base property for SketchBased features and changed Pad to use it 2016-04-12 18:11:47 +02:00
jrheinlaender 417576d5eb Show three base planes (XY, YZ, XZ) at the beginning of the feature tree and allow to create sketches on them 2016-04-12 18:11:47 +02:00
jrheinlaender 7dee0b7018 Create standard XY, XZ, YZ planes when running the PartDesign_Body command if they don't exist yet 2016-04-12 18:11:47 +02:00
jrheinlaender acd88878af When switching to the PartDesign workbench, activate the Body feature that was active when the document was last saved,
and move the selection to its Tip feature so that the user can start creating new features right away
2016-04-12 18:11:47 +02:00
jrheinlaender 1b809f305e Add command PartDesign_Body and integrate it into the Workbench 2016-04-12 18:11:47 +02:00
jrheinlaender ae9aae703c Hide previous Tip shape when adding a new SketchBased feature 2016-04-12 18:11:47 +02:00
jrheinlaender f3e8c331da Preliminary work on Transformed feature's pick dialog to make Command.cpp compile 2016-04-12 18:11:47 +02:00
jrheinlaender 94b6b89610 Enhanced Pick dialog for PartDesign feature's sketches 2016-04-12 18:11:47 +02:00
jrheinlaender d16a886ad9 Automatically create Body feature when choosing "New PartDesign Project" from StartPage 2016-04-12 18:11:47 +02:00
jrheinlaender 5dbc66ae84 Integrated PartDesign::Pad into Body feature workflow 2016-04-12 18:11:47 +02:00
jrheinlaender 6654b859eb Fixed build error on Ubuntu 2016-04-12 18:11:47 +02:00
Stefan Tröger 394085133c add missing files 2016-04-12 18:11:47 +02:00
Stefan Tröger d4f788f9e3 remove unneeded files 2016-04-12 18:11:47 +02:00
Stefan Tröger ca60024447 add more constraints and rebuild solver system everytime it needs to be executed 2016-04-12 18:11:47 +02:00
Stefan Tröger 1e8a304036 remove typename outside templates 2016-04-12 18:11:46 +02:00
Stefan Tröger 35a9f1c693 remove gui dependencies in app 2016-04-12 18:11:46 +02:00
Stefan Tröger bf447d3a7c add solver.hpp 2016-04-12 18:11:46 +02:00
Stefan Tröger b1d7dbe2f0 add missing files 2016-04-12 18:11:46 +02:00
Stefan Tröger 952d9140d3 add opendcm constraint solver 2016-04-12 18:11:46 +02:00
Stefan Tröger 474fbbcb3e basic infrastructure 2016-04-12 18:11:46 +02:00
jriegel 638cfcc2cf Start AssemblyLib.py 2016-04-12 18:11:46 +02:00
jriegel b81bc0c27f Update Item with new UUID tool 2016-04-12 18:11:46 +02:00
jriegel 4d49b0b059 PropertyMap and new Attributes for the Assembly object and the Document 2016-04-12 18:11:46 +02:00
wmayer e6387c6acf Connect task box labels with commands as queued connection 2016-04-12 18:11:46 +02:00
wmayer cdd16de8e6 Fix some build and runtime failures 2016-04-12 18:11:46 +02:00
jriegel fc7db6369c Assembly import script & PartDesign Solid object 2016-04-12 18:11:46 +02:00
jriegel fca3b9dffb Added Base planes with the Body 2016-04-12 18:11:46 +02:00
jriegel aa216ee69d Some fixes in Body visualls (ongoing) 2016-04-12 18:11:46 +02:00
jriegel 50652895d4 3D subgrouping for Body 2016-04-12 18:11:46 +02:00
jriegel 2403af2e6c Fix bug in switching active Part/Assembly object when document with active one was closed 2016-04-12 18:11:45 +02:00
jriegel b08b2f6140 addition of constraints 2016-04-12 18:11:45 +02:00
jriegel f29c33c7dc add .gitignore for *.pyc files 2016-04-12 18:11:45 +02:00
jriegel 8f11dc5492 start Constraints 2016-04-12 18:11:45 +02:00
jriegel 71b9ded9a1 some adjustments on WB auto-switch 2016-04-12 18:11:45 +02:00
jriegel db460cff8a auto WB switching for editing Sketches and new TaskWatcher 2016-04-12 18:11:45 +02:00
jriegel f5cfa8d72a change inheritance of Item (again) 2016-04-12 18:11:45 +02:00
jriegel fbd763a8f4 switch PartDesign to Bodies 2016-04-12 18:11:45 +02:00
jriegel bf26a422cb clean up in- and out-list code 2016-04-12 18:11:45 +02:00
jriegel 903855ad82 Automatic WB switching and Active PartDesign body 2016-04-12 18:11:45 +02:00
jriegel b825571562 implement active body in PartDesign 2016-04-12 18:11:45 +02:00
jriegel 117238da50 make SoFCUnifiedSelection work with nested children in 3DView 2016-04-12 18:11:45 +02:00
jriegel e5c4d2aa70 testing selection 2016-04-12 18:11:45 +02:00
jriegel ea57c04117 fix in Plane and Placement visual 2016-04-12 18:11:45 +02:00
jriegel 09f199ed9e View nesting working! 2016-04-12 18:11:45 +02:00
jriegel d5663b4122 Slightly change start up code to run Workbench activate later and some implementations 2016-04-12 18:11:45 +02:00
jriegel 29507a44ed First claimChildren3D implementation and Starting PartItem implementation 2016-04-12 18:11:45 +02:00
jriegel 8537926edc Finally fixing the highlight code 2016-04-12 18:11:44 +02:00
jriegel 0ec1c40d25 fix startup AssemblyGui 2016-04-12 18:11:44 +02:00
jriegel 58313b0853 implementing commands 2016-04-12 18:11:44 +02:00
jriegel 72b49dbc6b fixes in highlight code 2016-04-12 18:11:44 +02:00
jriegel 26afb6ee77 Add highlighting of tree view items 2016-04-12 18:11:44 +02:00
jriegel 80217bf10f Commands and object making 2016-04-12 18:11:44 +02:00
jriegel 6700512efe Add some commands to assembly 2016-04-12 18:11:44 +02:00
jriegel 4f0f3e8c94 implementing Plane visual 2016-04-12 18:11:44 +02:00
jriegel ed5a055444 implementing PlacementObject 2016-04-12 18:11:44 +02:00
jriegel 79cb8362a0 duplicate zoom node to Gui and add doc tool module 2016-04-12 18:11:44 +02:00
jriegel 23285e6fd2 add ProjectView 2016-04-12 18:11:44 +02:00
jriegel f98a811bd1 Add more objects for Assembly 2016-04-12 18:11:44 +02:00
U-EMEA\jriegel 1bb3fbc119 Add ViewProvider for Assembly and Part and add FreeGCE3D 2016-04-12 18:11:44 +02:00
jriegel 1feafdd2c5 Adding ViewProvider 2016-04-12 18:11:44 +02:00
jriegel 04feea80b1 Starting DocTool for FreeCAD documents 2016-04-12 18:11:44 +02:00
jriegel 9396e5e02d First work for LibPack8 and PropertyUUID 2016-04-12 18:11:44 +02:00
jriegel a224d93d8c Add Assembly App objects and some python bindings
Make Part working
2016-04-12 18:11:44 +02:00
jriegel 95c9259765 Run arbitrary scripts from Cmd command line 2016-04-12 18:11:44 +02:00
jriegel 33318314d8 starting implementing assembly 2016-04-12 18:11:44 +02:00
wwmayer 07e9c5cd8d Merge pull request #136 from bblacey/matrix-0.17
First cut at 0.17 build matrix - move linux to trusty dist with clang
2016-04-11 12:16:04 +02:00
Bruce B. Lacey 0eaf34ce18 First cut at 0.17 build matrix - move linux to trusty dist with clang 2016-04-10 16:13:54 -07:00
wmayer 8aaae0ba22 + make 'Merge project' undo/redoable 2016-04-10 17:59:58 +02:00
wwmayer 328ebbb66a Merge pull request #134 from ianrrees/20160410-add-3dconnexion-logging-windows
Added some logging to Windows 3Dconnexion handler
2016-04-10 09:26:03 +02:00
Ian Rees b555a70eac Added some logging to Windows 3Dconnexion handler 2016-04-10 13:01:14 +12:00
Bernd Hahnebach 93810b8406 FEM: Mesh ViewProvider, remove some console log prints 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 45f2b8ce70 FEM: Mesh Viewprovider, add faces and edges of pyra13 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 0730b3a331 FEM: Mesh ViewProvider, add faces and edges of penta15 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 0c51820293 FEM: Mesh ViewProvider, add faces and edges of pyra5 2016-04-09 21:00:58 +02:00
Bernd Hahnebach e83f9d102f FEM: Mesh ViewProvider, add faces and edges of penta6 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 11adf30ac5 FEM: Mesh ViewProvider, add faces and edges of hexa20 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 6edb3146b4 FEM: Mesh ViewProvider, add faces and edges of quad8 2016-04-09 21:00:58 +02:00
Bernd Hahnebach e8e5876249 FEM: Mesh ViewProvider, change node order and painting of hexa8 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 66d95cf401 FEM: Mesh ViewProvider, change painting and some comments of quad4 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 60a6107730 FEM: Mesh ViewProvider, change node order and painting of tetra10 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 2b20cf00c9 FEM: Mesh ViewProvider, change node order and painting of tria6 2016-04-09 21:00:58 +02:00
Bernd Hahnebach c42ea61323 FEM: Mesh ViewProvider, change painting of tetra4 2016-04-09 21:00:58 +02:00
Bernd Hahnebach ed83b85ee0 FEM: Mesh ViewProvider, change painting of tria3 2016-04-09 21:00:58 +02:00
Bernd Hahnebach b2711eaed6 FEM: Mesh ViewProvider, add some console log prints 2016-04-09 21:00:58 +02:00
Bernd Hahnebach c9810831a8 FEM: Mesh ViewProvider, move comments in adding the nodes loop 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 7effa0db1f FEM: Mesh ViewProvider, sort intends 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 488c18359c FEM: Mesh ViewProvider, change some comments and exception messages 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 1ebfcff681 FEM: Mesh ViewProvider, sort empty lines 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 677b5ca513 FEM: Mesh ViewProvider, remove some trailing white spaces 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 06e6f04423 FEM: Mesh ViewProvider, fix faces count for penta6 and penta15 2016-04-09 21:00:58 +02:00
Bernd Hahnebach 2ecab3a63c FEM: Mesh ViewProvider, fix wrong break in switch 2016-04-09 21:00:58 +02:00
wmayer 85cad47468 + activate new implementation of QuarterWidget::viewportEvent 2016-04-09 19:04:21 +02:00
wmayer 384316f691 + skip FreeCAD version when saving&reading main window state 2016-04-09 17:06:50 +02:00
wmayer 1d75efea75 + increase minor and build number, rework creation of Version.h 2016-04-09 15:15:29 +02:00
wmayer 19bc5077c8 + perform validation check after partdesign chamfer operation 2016-04-09 11:47:31 +02:00
Yorik van Havre ca7c5d31a4 updated translations 2016-04-06 22:39:34 -03:00
wwmayer 00c8ad4698 Merge pull request #133 from bblacey/unified
Added OS X to Travis build configuration for unified Linux & OS X CI builds
2016-04-06 18:32:21 +02:00
Bruce B. Lacey e4c9451685 Added OS X to Travis build configuration for unified Linux & OS X CI builds and modified README.md to display build status 2016-04-06 08:40:43 -07:00
wwmayer db2580088d Merge pull request #132 from mandeeps708/master
fixes typo in Part Design workbench
2016-04-06 17:28:04 +02:00
mandeeps708 c1b652f21e fixes typo in Part Design workbench 2016-04-06 02:51:03 +05:30
Eivind Kvedalen 8fe0d42450 Spreadsheet: Fixed undo/redo (issue #2483). 2016-04-04 19:58:19 +02:00
wmayer 87293fac9b + add extra check if fillet operation returns valid shape 2016-04-04 14:26:27 +02:00
wmayer f7322989df + add convenience methods to SoQTQuarterAdaptor 2016-04-04 12:53:06 +02:00
wmayer a4f0f5c129 + fix crash when viewer has no camera 2016-04-04 12:48:58 +02:00
Yorik van Havre 3003f16389 Arch: fixed wrong storing of IFC uid in FreeCAD objects 2016-04-03 13:05:30 -03:00
wwmayer 7ee0afbf7a Merge pull request #130 from bblacey/develop
Add include of <sstreeam> to fix commit 08692f811 breakage to Ubuntu …
2016-04-03 09:15:29 +02:00
Bruce B. Lacey f2d8daa1fb Add include of <sstreeam> to fix commit 08692f811 breakage to Ubuntu Precise 12.04 builds. 2016-04-02 11:19:28 -07:00
wmayer 7052fde4de + clear selection before hiding the linked object when editing fillet/chamfer 2016-04-02 15:29:08 +02:00
Eivind Kvedalen 484ba25ce6 Spreadsheet: Added test cases. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen a21571a652 Spreadsheet: Removed own expression parser and instead use the one in App. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen c506881614 Expressions: Simpified parser, fixed precedence (parentheses) 2016-04-02 12:01:04 +02:00
Eivind Kvedalen 909727ade8 Expressions: Fixed parsing of unit expressions similar to 1/unit. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen 1626c69494 Expressions: Moved Expression::priority to cpp file. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen b37e6ece98 Expressions: Refactored aggregate functions. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen 08692f811b Expressions: Added support for aggregate functions and ranges. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen 6c80dd4eae Spreadsheet: Fixed crash when invalid unit was given as input. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen e230f3c5e7 Spreadsheet: Expose parse error to user. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen c861505bc9 PropertyPlacement: Convert x, y, z values to Quantities when using them in expressions. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen d6052a5a27 Quantity: Added -= and += operators. 2016-04-02 12:01:04 +02:00
wmayer 0e45008f9a + rework parameter dialog 2016-04-01 15:18:56 +02:00
Yorik van Havre f526ff8f48 Draft: small fix in snaps - issue #2487 2016-03-31 19:33:50 -03:00
wmayer d4ec3a985a + move creation of SoFCSelection node to ViewProviderBuilder to avoid code duplication 2016-03-31 15:54:33 +02:00
wmayer 2521718820 + fix bug in GLImageBox 2016-03-31 14:14:59 +02:00
wmayer 0875dfad34 + remove unneeded namespace 2016-03-31 14:14:22 +02:00
wmayer 031711120d + improve MeshSelection class 2016-03-31 13:35:55 +02:00
wmayer 7dbcbc0f76 + check if OCCGEOMETRY is already defined 2016-03-28 11:05:51 +02:00
Ian Rees 27f12ae3de Find Netgen/nglib on MacOS with MacPorts 2016-03-28 10:48:49 +02:00
wwmayer c69aae4b2f Merge pull request #129 from ianrrees/20160327-use-SystemExitException-code
More fixes around Python exit codes
2016-03-28 10:17:13 +02:00
Yorik van Havre 153e87d36c fixed wrong info in fcinfo tool 2016-03-28 00:27:43 -03:00
wmayer fa77887d09 + fix issue with cursor on viewer widget, prepare code for improved event handling 2016-03-28 00:55:37 +02:00
wmayer d43443a832 + improve GraphicsScene class 2016-03-27 16:22:30 +02:00
wmayer 7993938ab6 + delete transient directory if sub-directory fc_recovery_files is empty 2016-03-27 11:32:29 +02:00
Ian Rees bc71c6e64b More fixes around Python exit codes 2016-03-27 13:01:04 +13:00
wmayer b86e14afff + improve GraphicsScene class 2016-03-26 19:02:15 +01:00
wmayer bd46939070 + make GraphicsView get working again, remove unneeded code 2016-03-26 14:30:36 +01:00
wwmayer 70eeb4b475 Merge pull request #128 from ianrrees/20160326-catch-exceptions-FreeCADCmd
Catch exceptions in FreeCADCmd like FreeCAD
2016-03-26 11:07:31 +01:00
Ian Rees 3cd752417b Catch exceptions in FreeCADCmd like FreeCAD 2016-03-26 20:49:47 +13:00
wmayer 287f3d94ca + resize scene size when resizing graphics view 2016-03-25 18:11:56 +01:00
wmayer 05ed514bcf + replace insecure x/fabs(x) with sgn function 2016-03-24 11:07:30 +01:00
wwmayer 368cd7b731 Merge pull request #125 from triplus/patch-1
Pan support (LMB + RMB) Blender navigation
2016-03-24 09:46:16 +01:00
wmayer 3af29639c6 + various minor fixes, whitespaces improvements 2016-03-23 23:28:56 +01:00
wmayer a69ee20f0c + fix warning of unused variable
+ when clearing scene graph then also empty internal lists
+ whitespace changes
2016-03-22 19:25:38 +01:00
Yorik van Havre 9e75213c92 Document.openTransaction() now accepts unicode 2016-03-22 12:20:58 -03:00
wmayer ff0839184b + make an option to enable C++11 support for clang 2016-03-22 12:29:17 +01:00
wmayer 6453040cd8 + fix mesh merge 2016-03-22 11:06:04 +01:00
wwmayer 9299a73cf1 Merge pull request #126 from bblacey/new-document-icons
Added osx freecad-doc.icns icon resource file.
2016-03-21 19:31:55 +01:00
wmayer 7df94ca9af + fix crash when raising SystemExitException if not called inside Python function 2016-03-21 18:50:57 +01:00
Bruce Lacey feac22b00d FreeCADTest.py invokes sys.exit() instead of the more aggressive os._exit()
With the ability to now pass the <exitCode> from sys.exit() up the
call stack to the shell, FreeCADTest.py should use sys.exit() instead
of the more aggressive os._exit() method that does not allow for
post-exception cleanup.
2016-03-21 18:28:46 +01:00
Bruce Lacey 9816e48b07 Propagate sys.exit(code) up the call stack to the shell
SystemExitException is instantiated and thrown by Base::Interpreter
whenever the python interpreter executes a sys.exit(<exitCode>) call.
However, in the current implementation, the SystemExitException
effectively swallows the <exitCode> hence under this change,
SystemExitException has been extended to save the <exitCode> passed to
the sys.exit() call when it is instantiated and provides a new
getExitCode() accessor method to retrieve the <exitCode> in a
try/catch block.  MainGui.cpp was change to pass the corresponding
<exitCode> to the system exit() call so it is accessible in the shell.
2016-03-21 18:28:29 +01:00
wmayer 5393196c0e + add clean-up function to recovery dialog 2016-03-21 17:56:18 +01:00
Bruce B. Lacey 0f2943bde5 Added osx freecad-doc.icns icon resource file. 2016-03-20 19:51:24 -07:00
Yorik van Havre aa83224594 Merge pull request #124 from bblacey/new-document-icons
Add high-resolution variant of FreeCAD document icon resources for al…
2016-03-20 21:41:33 -03:00
triplus aebcea070c Pan support (LMB + RMB) Blender navigation 2016-03-20 20:24:17 +01:00
Bruce B. Lacey 4ac1e89b65 Add high-resolution variant of FreeCAD document icon resources for all platforms
We did not have document icons defined for OS X and the existing legacy
icons were low resolution.  For this change, we have created a
freecad-doc.svg icon that serves as the basis for generating
platform-specific FreeCAD document icon sets for the supported
platforms.  Extended the OS X bundle definition to include the
high-resolution document icon set and regenerated the existing 64x64
Gui/Icon/freecad-doc.png from the new svg variant.
2016-03-19 19:10:13 -07:00
wmayer c2bf2d0daa + fix build failure on Windows 2016-03-19 21:44:33 +01:00
Yorik van Havre 056c2f1586 Merge pull request #122 from kkoksvik/cmake
Helping cMake find pyside-uic in Arch Linux
2016-03-19 13:22:45 -03:00
wmayer a4dc263846 + always get occ version information in About dialog 2016-03-19 15:55:09 +01:00
wmayer 297e84e3f0 + fix compiler warnings 2016-03-19 10:12:04 +01:00
kkoksvik 3849cd7993 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD into cmake 2016-03-19 08:44:48 +01:00
Bernd Hahnebach eca9e3339a FEM: preference setting to disable restore result dialog settings 2016-03-18 21:53:13 +01:00
Bernd Hahnebach 1280a185c2 FEM: add FIXME comment to CommandQuickAnalysis 2016-03-18 21:53:12 +01:00
Bernd Hahnebach c9d1fbdc7d FEM: fix result stats in result widget for frequency analysis 2016-03-18 21:53:12 +01:00
Yorik van Havre 8829848f35 fixed startpage link 2016-03-18 16:21:33 -03:00
kkoksvik a235cbf275 Helping cMake find pyside-uic in Arch Linux 2016-03-18 11:48:49 +01:00
Yorik van Havre bcb75d5477 Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
Yorik van Havre 2542cb490a Merge pull request #120 from pgilfernandez/FreeCAD_stylesheets204
Dark and Light stylesheets v2.04
2016-03-17 23:17:12 -03:00
Yorik van Havre cf713cf2a1 Merge pull request #121 from wood-galaxy/arch-roof-3
Arch Roof : Fix BOPCheck failed
2016-03-17 20:49:37 -03:00
Jonathan Wiedemann 010121d8c1 Arch Roof : Fix BOPCheck failed
cf http://forum.freecadweb.org/viewtopic.php?f=23&t=14711
2016-03-17 23:24:17 +01:00
wmayer e6f0346521 + make method ManualAlignment::setViewingDirections more reliable 2016-03-17 14:11:03 +01:00
Eivind Kvedalen 9d617ce4c8 Expressions: Changed precedence of ?, :, EQ, NEQ, LT, GT, GTE, and LTE. 2016-03-15 18:28:23 +01:00
Pablo Gil 348303a6cf Stylesheets:
+ selected Tab bar has now opaque background color
+ styles for buttons inside Task Panel that are in reality QToolButtons
+ styles for QListWidget and QTreeView items with checkboxes
+ simplified regular QCheckBox styling
2016-03-15 15:09:28 +01:00
wmayer 6ee243c2fa + pull request 61 2016-03-14 23:07:20 +01:00
wwmayer 711f34f5ae Merge pull request #119 from dev-at-stellardeath-org/python_lib64
Add lib64 to python path
2016-03-14 21:09:56 +01:00
Bernd Hahnebach a0af9e2da0 FEM: unit test, update test result files and expected result files 2016-03-14 20:38:42 +01:00
Bernd Hahnebach eca76c3781 FEM: unit test, add some helper to create result files 2016-03-14 20:38:41 +01:00
Bernd Hahnebach a0a989fe4c FEM: unit test, update FreeCAD file with objects from module TestFem 2016-03-14 20:38:40 +01:00
Bernd Hahnebach 0ffb412aaf FEM: unit test, change load and pressure to some more reasonable values 2016-03-14 20:38:40 +01:00
Bernd Hahnebach 4e407ac4d6 FEM: unit test, remove not used files 2016-03-14 20:38:39 +01:00
wmayer 4f92f5cbbb + fix minor issue with url redirection
+ remove const reference
2016-03-14 18:04:31 +01:00
wmayer fadf2dbc3b + when using QGLFramebufferObject check if a GL context is active 2016-03-14 10:35:13 +01:00
wmayer 18f0cc6346 + issue: #0002440: 0.16 Build rev 6395 Several display issues 2016-03-13 12:56:08 +01:00
Lorenz Hüdepohl 7f355febda Add lib64 to python path
On certain distributions the library directories are called "lib64" on
amd64 machines
2016-03-13 01:18:18 +01:00
wmayer a2b1c3915f + do not hide expression dialog when using the line edit's context-menu 2016-03-12 22:35:36 +01:00
DeepSOIC 5c3024e9f8 Sketcher: negative constraint value avoidance
by swapping elements being constrained at creation time, should the
precalculated value happen to be negative.
2016-03-12 21:28:37 +01:00
DeepSOIC e624a1d00d Sketcher: never ever hide constraint value sign, anymore 2016-03-12 21:28:22 +01:00
wmayer b25ef6235d + on rename of contraint make sure that new name is different, on swap constraint names make sure they have user-defined names 2016-03-12 20:02:18 +01:00
wmayer a17870c93c + fixes #0002471: In constraint context menu, 'Change Value' is always greyed out 2016-03-12 15:26:06 +01:00
wmayer d0e52d3578 + prepare ViewProvider2DObject to read in GridSize from old projects 2016-03-11 23:06:47 +01:00
wmayer f124f6e70b + minor whitespace fix, fix warnings 2016-03-11 21:39:15 +01:00
wmayer 32760491a6 + fixes #0002433: Window weirdness after changing constraint value in sketcher 2016-03-11 13:33:23 +01:00
wmayer 4bccc5cc6e + fixes #0002273: Part: Chamfer edges and fillet edges dialog does not remember the type 2016-03-10 22:04:10 +01:00
wmayer 3f79dfffb6 + allow to get user friendly names for navigation styles 2016-03-10 18:37:48 +01:00
wwmayer 5b156b2380 Merge pull request #115 from pgilfernandez/FreeCAD_stylesheets203
Dark and Light stylesheet 2.03
2016-03-10 12:34:16 +01:00
Pablo Gil 20ee0ba82f Stylesheets:
+ simplified toolbar button separators
+ added hover and pressed states for toolbar buttons to improve user experience
+ partial fix for button with icons inside Task panel
+ fixed styles for fields inside a table cell
2016-03-10 11:58:33 +01:00
wwmayer ed61d65501 Merge pull request #114 from bblacey/set-exitcode-on-unittest-failure
Exit with non-zero status when unit tests fail.
2016-03-10 11:18:21 +01:00
Bruce Lacey 272cbd198d Exit with non-zero status when unit tests fail.
1.  Enhanced TestApp.py to return the unittest TestResult object to the calling method
2.  FreeCADTest.py now checks the TestResult object.  If all tests pass, FreeCADTest.py exits with a 0 however if any tests fail, then it exits with 1.  FreeCADTest.py calls os._exit() with the exit code instead of sys.exit() because Base::Interpreter:SystemExitException intercepts sys.exit() calls and swallows the exit code so there is no way to propogate the non-zero code from the python test cases through the interpreter to the shell in the current call stack.
2016-03-09 21:57:57 -08:00
wmayer 3ca1ec2c28 + issue #0002468: freecad-0.15.4671/src/Base/Handle.cpp:61: bad test ? 2016-03-09 22:13:05 +01:00
wmayer 37b7334df6 + remove extra qualification on normalEstimation 2016-03-09 18:57:36 +01:00
Bernd Hahnebach fcd4603b66 FEM: fix translation issue of FEM Menue 2016-03-09 18:52:22 +01:00
Bernd Hahnebach 1531f5a325 FEM: update FEM example file 2016-03-09 18:52:05 +01:00
wmayer d8430f191f + simplify fix to avoid memory leaks in keySequenceToAccel 2016-03-09 17:19:19 +01:00
wmayer 7ee6214415 + fix unit tests for spreadsheet 2016-03-09 17:03:48 +01:00
wmayer 8a91e7de24 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-03-09 15:53:03 +01:00
wmayer 2e43774c2f + terminate xerces at program exit 2016-03-09 15:52:42 +01:00
wmayer 033eb6590e + fix possible build failure 2016-03-09 15:25:15 +01:00
wmayer 6da5c23990 + add algorithm to estimate normals of points 2016-03-09 14:46:19 +01:00
Yorik van Havre 9af03d9b68 Fem: Fixed a translation bug 2016-03-08 21:44:06 -03:00
Yorik van Havre 65f53354c3 Merge pull request #113 from bblacey/mac-osx-packaging
Improved Mac OS X Application Packaging.
2016-03-08 21:39:43 -03:00
Eivind Kvedalen 08044fb737 Spreadsheet: Added code to throw under/overflow exceptions. 2016-03-08 16:09:31 +01:00
Eivind Kvedalen ec7e920453 Spreadsheet: Added test case for conditional expressions. 2016-03-08 16:09:31 +01:00
Eivind Kvedalen e270dee8cc Spreadsheet: Fixed parser so it accepts integer numbers written as e.g 1e3. 2016-03-08 16:09:30 +01:00
Eivind Kvedalen b606ed8ce4 Spreadsheet: Added AtomicPropertyChange object to avoid excessive property change reporting. 2016-03-08 16:09:30 +01:00
Eivind Kvedalen f69a5ab7db Spreadsheet: Turned off debug/tracing for expression parser. 2016-03-08 16:09:29 +01:00
Eivind Kvedalen 8ce2f16759 Expressions: Added code to throw under/overflow exceptions. 2016-03-08 16:09:29 +01:00
Eivind Kvedalen a43e8aafbf Expressions: ints should be 64 bit. 2016-03-08 16:09:28 +01:00
Eivind Kvedalen ac79af0289 Expressions: Use BooleanExpression class for EQ, NE, LT, GT, LTE, and GTE operators. 2016-03-08 16:09:27 +01:00
Eivind Kvedalen 26f4d1ae8e Expressions: Added App::BooleanExpression class. 2016-03-08 16:09:27 +01:00
Eivind Kvedalen 34135e5d2e Expressions: Turned off debug output/tracing for expression parser. 2016-03-08 16:09:26 +01:00
Eivind Kvedalen e940274146 Fixed leak. 2016-03-08 16:09:25 +01:00
Eivind Kvedalen f27fa2ac9b SIM::Coin3D::Quarter::SoQTQuarterAdaptor: Added missing initializationg of member field m_viewingflag. 2016-03-08 16:09:25 +01:00
wmayer 3c1ab4bd9d + extend list of needed pcl components 2016-03-08 15:44:31 +01:00
DeepSOIC 3df9df66d9 Part: JoinFeatures UI improvements
* display originals in tree under the features (like Part Fuse does)
* unhide originals upon delete
* display message box when computing the feature fails on creation
2016-03-08 12:00:19 +01:00
Bruce B. Lacey b18a5f1396 Improved Mac OS X Application Packaging.
1.  Set python dependency paths in Application Bundle adhering the Homebrew convention of installing them in prefix/libexec
   2.  Add appdmg configuration to produce an os x disk image for FreeCAD application distribution
   3.  Added a Tools convenience script to produce an archive name from a serialized Version.h file using the convention FreeCAD_{Major Version Number}.{Minor Version Number}-{Git Revision Count}.{Git Short SHA}-{OS}-{Arch}
2016-03-07 20:49:58 -08:00
wmayer 2879ee24b5 + add missing header 2016-03-08 00:36:17 +01:00
wmayer 4fcb93b64e + issue #0001203: Allow User to Adjust Size of Constraint Points 2016-03-08 00:31:50 +01:00
wmayer 4672066db8 + remove spaces from qss files due to copy problems 2016-03-07 16:54:51 +01:00
wwmayer 9fa224a947 Merge pull request #112 from pgilfernandez/FreeCAD_stylesheets202
Dark and Light stylesheets fixes/improvements
2016-03-07 16:37:33 +01:00
wmayer 1fee124e65 + add CMake file for stylesheet files 2016-03-07 16:08:40 +01:00
wmayer 007a00b7f1 + bug fix similar to idea of pull request 111 2016-03-07 15:12:00 +01:00
Pablo Gil 685bcfb898 Dark and Light stylesheets fixes/improvements:
+ fixed background logo for Win and Linux
+ improved QToolBar handle for different icon sizes (selectable by user inside Preferences)
+ tweaked editable fields inside QToolBar in order to work for all icon sizes (selectable by user inside Preferences)
+ fixed Ubuntu problem that caused a blank line inside up/down buttons of QSpinBox and similar
+ tweaked Python Editor color for Light theme
+ fixed buttons margin/padding inside Task tab
+ tweaked color for checked QPushButtons inside Draft WB for better user experience
2016-03-07 09:50:04 +01:00
Yorik van Havre d1b4f23388 Added latest translations from crowdin 2016-03-06 14:50:07 -03:00
Pablo Gil 8b8db11d9f + Dark and Light stylesheets with 3 color variations each
(from version 2.01, more info: http://forum.freecadweb.org/viewtopic.php?f=9&t=14518)
2016-03-06 13:56:04 +01:00
wmayer 34b9ff8867 + command to create points object from geometry
+ implement TopoShape::getPoints
2016-03-05 23:36:57 +01:00
wmayer 0ec81d2760 + add properties with 'hidden' mode to property editor but hide the item 2016-03-05 18:24:58 +01:00
wmayer 843fbc49fc + set refine option by default 2016-03-05 16:15:45 +01:00
wmayer 781f91e6af + add refine option to shape builder 2016-03-05 16:13:15 +01:00
wmayer 948ccac021 + dynamically hide/show and enable/disable item in property editor 2016-03-05 13:13:23 +01:00
wmayer efdbc93e99 + create points with normals from mesh object 2016-03-04 19:39:13 +01:00
wmayer 70f58672c7 + get also back normals from MeshObject::getPoints 2016-03-04 18:28:49 +01:00
wmayer 0ea6a2ed0d + removed unneeded pure virtual method getFaces from PropertyComplexGeoData
+ extend interface of ComplexGeoData::getPoints to also return normals if available
2016-03-04 17:16:57 +01:00
wmayer 288841cf98 + function to create points from mesh 2016-03-04 16:00:08 +01:00
wmayer a5e6edff87 + support of export of points to pcd and ply format 2016-03-04 14:48:26 +01:00
Bernd Hahnebach 74a43f23b3 FEM: ccxInpWriter, add Nodes dict to self object 2016-03-03 18:40:32 +01:00
fandaL c1bf26bbd7 FEM: ccxInpWriter, copy Nodes dict 2016-03-03 18:40:31 +01:00
wmayer 816b54bd25 + add segmentation algorithm 2016-03-03 18:07:17 +01:00
Yorik van Havre b825dcd6bb Merge pull request #109 from wood-galaxy/bim-ifcproperty-6
Arch : IFC : Handle case where NominalValue is None
2016-03-03 11:12:58 -03:00
Yorik van Havre 513969140d Merge pull request #108 from wood-galaxy/arch-roof-2
Arch : improvements and clean up of roof object
2016-03-03 11:06:07 -03:00
Jonathan Wiedemann 219e212fe0 Merge branch 'master' into bim-ifcproperty-6 2016-03-03 11:07:34 +01:00
Jonathan Wiedemann 2b66257d25 Merge branch 'master' into arch-roof-2 2016-03-03 10:49:33 +01:00
Jonathan Wiedemann d113deab32 Arch Roof : improvement and clean up
change default value
handle shape based object
better getsubvolume method
2016-03-03 10:45:32 +01:00
Bernd Hahnebach 57c783e5b0 FEM: make python modules again flake8 compatible 2016-03-02 22:23:27 +01:00
Bernd Hahnebach bc3cc033e1 FEM: make method names in ccxwriter consisten 2016-03-02 22:23:27 +01:00
Bernd Hahnebach 83ccbbe79d FEM: remove not used methods from FemAnalysis class 2016-03-02 22:23:26 +01:00
wmayer ec992ae1dc + filter out invalid points 2016-03-02 18:04:45 +01:00
wmayer f336b7ed67 + filter out invalid points in surface triangulation algorithms 2016-03-02 16:14:08 +01:00
wmayer 8a76f2c13e + add region growing, segmentation and ransac algorithms to Reen module 2016-03-02 15:51:26 +01:00
Yorik van Havre 1ec066553e Merge pull request #97 from dbtayl/master
Helical/linear ramp plunging
2016-03-01 17:08:19 -03:00
wmayer a1eef54451 + do not allow to set negative grid size in property editor 2016-03-01 18:24:39 +01:00
wmayer 0c5a477fee + fix regression in German translation (also fixed on crowdin) 2016-03-01 16:45:14 +01:00
Yorik van Havre b389554a30 Updated translation tools 2016-03-01 12:34:16 -03:00
Yorik van Havre 7734ffb810 Updated translation files 2016-03-01 12:34:03 -03:00
Jonathan Wiedemann 403ba14f57 Arch Roof : improvement and clean up
change default value
handle shape based object
better getsubvolume method
2016-03-01 09:45:11 +01:00
Jonathan Wiedemann 0172544cc7 Merge branch 'master' into arch-roof-2 2016-03-01 08:08:32 +01:00
Yorik van Havre f1053504a1 Merge pull request #107 from triplus/Set-QComboBox-icon-size
Set QComboBox icon size
2016-03-01 00:13:49 -03:00
wmayer ecd6517cb0 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-02-29 23:45:17 +01:00
wmayer 39187dacac + add voxel filter function to Reen module 2016-02-29 23:44:55 +01:00
triplus cf842d569e Set QComboBox icon size 2016-02-29 20:14:49 +01:00
wmayer 2710d276df + fix build failure with gcc 2016-02-29 19:36:22 +01:00
wmayer 9139ab37d3 + change binary export & import of shapes to restore placement and orientation 2016-02-29 18:37:36 +01:00
wmayer 93f32d4dd1 + prepare string for translation 2016-02-29 13:22:49 +01:00
vginkeo f14758d5e5 FEM: C++98 compatible fix to constraint displacement reference deletion, update vertice, edge, face selection 2016-02-29 13:06:16 +01:00
vginkeo e47560003e FEM: do not hide constraints for result view 2016-02-29 13:06:15 +01:00
vginkeo 187894d8b5 FEM: remove some trailing whitespaces 2016-02-29 13:06:14 +01:00
vginkeo fcd2882ad7 FEM: remove module ccxInpWriterFemConstraintDisplacement
which was intoduced in commit b1dc2cb by an accident
2016-02-29 13:06:13 +01:00
wmayer 5574419293 + set range for quantity boxes 2016-02-29 12:29:02 +01:00
Yorik van Havre bcd0ec8f53 Merge pull request #106 from bblacey/update-osx-0.16-iconset
Added High Resolution Display icons to Mac OS X iconset resource file…
2016-02-28 23:00:32 -03:00
Yorik van Havre 6f636e0ae9 Start: Updated startpage - fixed some links + restored commits feed 2016-02-28 22:03:03 -03:00
Bruce Lacey ee8ac77eab Added High Resolution Display icons to Mac OS X iconset resource file (.icns). 2016-02-28 14:39:31 -08:00
Yorik van Havre 5bdbe2db61 Draft: better docstring for offset - fixes #2199 2016-02-28 19:28:35 -03:00
wmayer a59b915132 + code clean-up 2016-02-28 19:01:23 +01:00
wmayer 4e29db90c6 + fixes #0002200: Application crash when modifying fillet 2016-02-28 18:56:21 +01:00
Yorik van Havre 9bd89e7e29 Arch: Fixed bug in extrusion of structures - fixes #2458 2016-02-28 14:03:29 -03:00
wmayer 9e01a08eaf + use quantity boxes in mesh segmentation dialog 2016-02-28 12:48:55 +01:00
wmayer 1fd06ef59b + use quantity boxes in mesh solid creation dialog 2016-02-28 12:44:29 +01:00
wmayer 32a5340b0b + use application-wide number of decimals in primitive creation dialog 2016-02-28 12:30:42 +01:00
wmayer 3f15ae80d0 + fixes #0002049: 0.15 and 0.16 Part Revolve ignores unit accuracy setting beyond 2 decimals 2016-02-28 12:12:10 +01:00
wmayer dd3d30a4da + use quantity boxes in location widget 2016-02-28 12:11:24 +01:00
wmayer d9e47e5896 + make fillet/chamfer dialog narrower 2016-02-28 11:39:32 +01:00
wmayer 92c2b18350 + use quantity boxes in fillet/chamfer dialog 2016-02-28 11:24:36 +01:00
Yorik van Havre e3aba10762 Merge pull request #104 from ianrrees/20160228-fix-mac-builds
Resolve clang compile error
2016-02-27 19:16:43 -03:00
Ian Rees d811b585b7 Resolve clang compile error 2016-02-28 10:33:55 +13:00
wmayer e1e0777c7b + add quantity boxes to mirroring dialog 2016-02-27 22:10:28 +01:00
wmayer 236f1666db + use quantity boxes in box & cylinder creation dialogs 2016-02-27 21:39:37 +01:00
wmayer d56357f764 + use quantity boxes in revolution dialog 2016-02-27 21:31:54 +01:00
Yorik van Havre 67257633d6 Merge pull request #102 from triplus/SVG_WB_Icons
Add SVG workbench icons
2016-02-27 16:06:13 -03:00
Yorik van Havre 26639f1eca Updated Mac icon with the new style 2016-02-27 15:49:36 -03:00
wmayer 206e183f52 + use quantity box in offset dialog 2016-02-27 19:43:48 +01:00
wmayer da9656dd7a + use quantity boxes in cross section dialog 2016-02-27 19:25:19 +01:00
wmayer f868120a77 + use quantity boxes in inspection dialog 2016-02-27 19:07:29 +01:00
wmayer 3fc7b6bfb2 + use quantity box for length on extrusion dialog 2016-02-27 18:37:53 +01:00
Yorik van Havre 6fe6863001 Draft: Fixed placement bug in clones 2016-02-27 13:30:01 -03:00
Yorik van Havre 0c5484335d Merge pull request #103 from triplus/RadiosityOutdoorHQ
Add RadiosityOutdoorHQ.pov Raytracing Template
2016-02-27 13:17:13 -03:00
wmayer ede0dbdff7 + use quantity box in DlgSettingsImportExport 2016-02-27 17:16:38 +01:00
wmayer d8abb92ba5 + add convenience methods to PrefQuantitySpinBox class 2016-02-27 17:03:14 +01:00
wmayer 37e9c9732f + use quantity box in tessellation dialog 2016-02-27 16:02:37 +01:00
wmayer 18a61c0ef8 + use quantity box in image orientation dialog 2016-02-27 15:10:31 +01:00
wmayer 202a1be3f5 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-02-27 15:07:59 +01:00
wmayer 461bc33fbf + fix typo in Raytracing dialog 2016-02-27 15:07:16 +01:00
triplus dabcf32e6b Added RadiosityOutdoorHQ.pov 2016-02-27 03:13:27 +01:00
triplus e53e0ab0f5 Added RadiosityOutdoorHQ.pov 2016-02-27 03:11:45 +01:00
triplus f66998e996 Create RadiosityOutdoorHQ.pov 2016-02-27 03:10:01 +01:00
triplus d432c72a15 Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre 28b6c82555 Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
Yorik van Havre d3870968df Draft: Fixed undo mode of wires - fixes #2456 2016-02-26 16:11:13 -03:00
Yorik van Havre 83f87ba3ea Turned Zoom At Cursor option True by default - fixes #2371 2016-02-26 13:51:39 -03:00
Yorik van Havre 7675a8effa Made Redirect python output options True by default - fixes #2454 2016-02-26 13:43:51 -03:00
Yorik van Havre a1f16cabec Merge pull request #101 from wood-galaxy/sketcher-micro-sizing
Sketcher : Allow µm in sketcher grid size
2016-02-25 12:00:01 -03:00
Jonathan Wiedemann a7e05382ad Merge branch 'master' into bim-ifcproperty-6 2016-02-25 11:24:27 +01:00
Jonathan Wiedemann 604fc320cf Arch - IFC : Handle case where NominalValue is None 2016-02-25 11:23:10 +01:00
maurerpe 3f3d8a95f5 Fix remaining toAscii/fromAscii
Qt5 does not have toAscii or fromAscii.  Use toLatin1 and fromLatin1
respectively.  Both replacement functions exist in Qt4.8.
2016-02-24 23:56:43 +01:00
maurerpe e1f3fe1be4 Change numBytes() to byteCount()
numBytes() is obsolete in Qt 4.8 and removed in Qt5.  byteCount() is a
drop in replacement that works in 4.8 and 5.
2016-02-24 23:56:25 +01:00
maurerpe 31fd2d1762 Ensure mutexes are always properly unlocked
Error exists with Qt4 and Qt5.  Qt5 generated helpful warnings that made
it easier to debug.
2016-02-24 23:56:05 +01:00
maurerpe 8de9436c36 Add missing header files
Needed for Qt5, recommended for Qt4
2016-02-24 23:55:40 +01:00
wmayer 52fac57d73 + fix bug in MDIView 2016-02-24 21:32:30 +01:00
wmayer 63e09bcbc2 + add convenience methods to query/alter selection of mesh object 2016-02-24 21:31:12 +01:00
wmayer 660a30ce01 + fix some weirdness in Application class 2016-02-24 21:04:47 +01:00
wmayer e6624bf1c3 + add method to get display mask mode from view provider 2016-02-24 21:00:55 +01:00
wmayer d891ddba33 + fix a memory leak in mesh selection 2016-02-24 21:00:26 +01:00
wmayer 35fa65ec96 + fix possible crash in parameter editor 2016-02-24 20:59:04 +01:00
wmayer 5342b67122 + when cutting scattered points then also remove colors, grey values or normals if available 2016-02-23 19:47:54 +01:00
Yorik van Havre c8d8df59b1 Updated the FreeCAD icon to the new style 2016-02-23 11:45:37 -03:00
wmayer f4b288fcf8 + fix to get gridline-color of stylesheet in property editor 2016-02-23 13:05:48 +01:00
wmayer 869e7870f5 + in pad dialog make sure not to compare quantities with different units 2016-02-23 11:34:04 +01:00
Yorik van Havre 9e551e0fdb Merge pull request #95 from wood-galaxy/bim-ifcproperty5
Arch BIM IFC : Add IFC Properties spreadsheet container
2016-02-22 20:35:28 -03:00
Yorik van Havre c6af697230 Draft: avoid blocking keys in fields that can be used for units 2016-02-22 20:16:51 -03:00
Daniel Taylor e5f1f4df3d Basic helical plunge and linear-ramp plunging 2016-02-21 09:45:29 -06:00
Daniel Taylor 377595647d Fixed "prnt" function to properly limit to 4 decimal places
Greatly simplify rebaseWire
2016-02-21 09:45:29 -06:00
wmayer a3209e1aee + do some code cleanup and renaming in Points module 2016-02-21 16:18:28 +01:00
wmayer 24e4e08be5 + view provider for scattered and organized point clouds 2016-02-21 13:52:17 +01:00
wmayer 7bdecf9b38 + handling of organized point cloud 2016-02-20 22:19:47 +01:00
wmayer 60e0c447ca + make PropertyEditor class ready to be customized with Qt style sheet 2016-02-20 16:00:35 +01:00
Jonathan Wiedemann 6b7190d3f0 Arch BIM IFC : Add IFC Properties spreadsheet container 2016-02-20 13:25:26 +01:00
Yorik van Havre 4928624d14 Arch: Small workaround in IFC importer 2016-02-19 18:08:12 -02:00
Jonathan Wiedemann f16a26662d Sketcher : Allow µm in sketcher grid size 2016-02-19 16:32:25 +01:00
Jonathan Wiedemann e37cdf15cf Arch Change default value
Comment some print
2016-02-19 16:20:57 +01:00
Yorik van Havre 577f208da7 Revert "FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection."
This reverts commit ac4d466443.
2016-02-19 00:05:55 -02:00
Yorik van Havre fa6046ea19 Draft: fixes in line/wire creation by angle 2016-02-18 20:09:19 -02:00
vginkeo ac4d466443 FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection. 2016-02-18 19:15:16 -02:00
Eivind Kvedalen 2dca1ffc39 PropertyExpressionEngine: Fixed warning. 2016-02-18 16:54:45 +01:00
Eivind Kvedalen 1da5d33996 Expression class: Improved error message when resolving a variable fails. 2016-02-18 16:54:44 +01:00
Eivind Kvedalen be671259cb PropertExpressionEngine: Ignore dependencies that does not resolve to a document when verifying expressions. 2016-02-18 16:54:44 +01:00
Eivind Kvedalen 727a06689a PropertyExpressionEngine: Fixed bug in Copy and Paste (make deep copies of the expressions). 2016-02-18 16:54:43 +01:00
Eivind Kvedalen 9606fb144a Spreadsheet: Updated test cases. 2016-02-18 16:54:43 +01:00
Eivind Kvedalen b74b3f3358 Spreadsheet: Refactor code and reuse visitors from ExpressionVisitors.h 2016-02-18 16:54:42 +01:00
Eivind Kvedalen 1802d94a1a Spreadsheet: Override DocumentObject::renameObjectIdentifiers() to get better renaming support. 2016-02-18 16:54:42 +01:00
Eivind Kvedalen 810135fad4 PropertyExpressionEngine: Refactored and moved visitor code to separate file. 2016-02-18 16:54:41 +01:00
Eivind Kvedalen 095c823fda Expression: Added ExpressionModifier class, used as base class for visitors that may modify its expressions. 2016-02-18 16:54:41 +01:00
Eivind Kvedalen 8c943d0ad7 Spreadsheet: Refactored code to use AtomicPropertyChangeInterface. 2016-02-18 16:54:40 +01:00
Eivind Kvedalen 53dcaccd4e Spreadsheet: Refactored alias checking code, so GUI and Python error messages are aligned. 2016-02-18 16:54:39 +01:00
Eivind Kvedalen e5f1e298a6 ObjectIdentifier: Reworked resolve() function to solve issue #2389 and #2418.
* Refactored code; moved mutable fields into a separate inner class.
* Added resolvedProperty to ResolveResults class.
* Set resolved document name, even if it does not resolve correctly, so we can give a better error message later.
* If the document name is explicitly set, and it does not resolve, don't try any further.
* If document name is set, use that instead of the ObjectIdentifier's owner when looking up the document object.
2016-02-18 16:54:39 +01:00
Bernd Hahnebach 183f8dfebe FEM: fix unit test cases 2016-02-17 19:36:16 +01:00
Bernd Hahnebach 2f2e6e8f8c FEM: infile fix, youngs modulus and poisons ratio
have to be in one line for ccx 2.9
2016-02-17 19:36:16 +01:00
wwmayer 69c241ba89 Merge pull request #94 from f3nix/qt5-compatibility-1
Qt5 compatibility changes.
2016-02-16 10:01:45 +01:00
wmayer 167b78ed8e + fix Debian bug #811200 2016-02-15 23:01:40 +01:00
wmayer 1a64c3f2dc + fixes #0001592: Import colored PCL point clouds 2016-02-14 22:46:27 +01:00
Yorik van Havre 237c74c212 Updated offline pdf generation tool 2016-02-14 19:28:32 -02:00
Mateusz Skowroński 4ef8c9707f Qt5 compatibility changes.
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
QChar::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().

This change is Qt4/Qt5 neutral.
2016-02-14 08:23:00 +01:00
Yorik van Havre d2fead0f2a Updated offline documentation 2016-02-13 20:37:11 -02:00
Yorik van Havre 4d782e42ed updated offline doc tools to handle the Command_Reference pages 2016-02-13 20:36:28 -02:00
wmayer fbd6f9002c + fix to load mesh with colours 2016-02-13 20:01:47 +01:00
Yorik van Havre 0e897b86c0 Merge pull request #93 from ianrrees/20160213-fix-non-gui-build
Add cmake checks for BUILD_GUI to some modules
2016-02-13 14:37:58 -02:00
wmayer 408d7a9ba8 + translation fixes 2016-02-13 16:48:24 +01:00
Ian Rees e242e4643b Add cmake checks for BUILD_GUI to some modules 2016-02-13 13:45:27 +13:00
Yorik van Havre 66e719f3f5 Allow to use an encoded doc string in FeaturePython::addProperty 2016-02-12 20:47:11 -02:00
Yorik van Havre d0bc467e6a Path: Fixed some more translation contexts 2016-02-12 20:29:28 -02:00
Yorik van Havre a649c3ca31 Arch: Fixed window bug - fixes 2449 2016-02-12 20:19:59 -02:00
Yorik van Havre 6a35ef38c7 Updated ts files 2016-02-12 14:22:04 -02:00
vginkeo b1dc2cbf94 FEM: Implement constraint displacement in C++ 2016-02-12 11:09:58 +02:00
Yorik van Havre 6a103493a1 Arch: small fix in IFCexport 2016-02-11 20:06:06 -02:00
Yorik van Havre fe22e9730f Updated version number in offline doc tools and removed unnecessary file 2016-02-11 19:57:43 -02:00
Yorik van Havre 5388520a20 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-02-11 14:57:11 -02:00
Yorik van Havre ce8ed2ade3 Path: Enabling highlight/selection colors in paths 2016-02-11 14:55:37 -02:00
Yorik van Havre 833c4aa860 Merge pull request #91 from wood-galaxy/bim-ifcproperty4
Arch BIM IFC : Handle utf8 for IfcDescriptiveMeasure
2016-02-11 14:22:16 -02:00
Jonathan Wiedemann 5c5e62ffbd Arch BIM IFC : Handle utf8 for IfcDescriptiveMeasure 2016-02-11 15:49:58 +01:00
Ian Rees 01032c952d Don't use -std=c++0x for gcc <4.7 2016-02-11 17:59:44 +13:00
Yorik van Havre f942bf2729 Arch: Enabled IFC4 export and fixed a couple of bugs 2016-02-10 15:35:21 -02:00
Yorik van Havre 381dcfe7e3 Draft: Fixed problem with addPoint and delPoint buttons 2016-02-10 15:34:54 -02:00
wmayer 33344be035 + support of colors per vertex in obj mesh format 2016-02-10 15:09:04 +01:00
Yorik van Havre 45f059d3a9 Draft: replaced the Draft OK task button with a more clear 'Create Point' button. 2016-02-09 17:58:22 -02:00
Yorik van Havre 7ff4e28599 Path: Fixed translation stuff - issue #2443 2016-02-09 17:05:57 -02:00
Yorik van Havre 0e8974a370 Made PropertyFloatList accept ints too - fixes #2444 2016-02-09 16:01:10 -02:00
Yorik van Havre 42c42fd064 Draft: removed redundant transactions in Draft edit mode 2016-02-09 13:11:46 -02:00
wmayer beb52c4e65 + replace old C cast with static_cast 2016-02-09 16:02:44 +01:00
wmayer 02578c4e6b + suppress warnings when copying an object 2016-02-09 16:01:23 +01:00
wmayer fe8be472a9 + fix unit tests 2016-02-09 16:00:38 +01:00
wmayer bb6a66bd82 + fix minor regression of issue 2417 2016-02-08 11:04:50 +01:00
wmayer 6763d3a6e4 + add Puthon binding to AbstractSplitView 2016-02-06 18:54:40 +01:00
wmayer c30031f3d2 + fix possible problems with roundoff errors of SbRotation 2016-02-06 18:51:22 +01:00
Yorik van Havre 1324575b35 Arch: Fixed missing views of windows 2016-02-05 19:05:15 -02:00
Yorik van Havre 32b6d4af9c Added draft & arch tests to the Test GUI 2016-02-05 16:47:36 -02:00
Yorik van Havre dea9127ac2 Create the macro path if inexistant when saving a macro 2016-02-05 16:40:53 -02:00
Yorik van Havre 0be4c51440 Merge pull request #88 from ianrrees/20160204-boost-min-version-1_55
Minimum Boost version to 1.55 except for gcc < 4.7
2016-02-05 14:24:20 -02:00
Yorik van Havre d4d9b7aee1 Arch: small fix in window placements 2016-02-05 13:09:40 -02:00
Yorik van Havre 1867c0d276 Merge pull request #89 from wood-galaxy/bim-ifcproperty3
Arch - BIM - Add IFC Spreadsheet properties system
2016-02-04 23:29:55 -02:00
Jonathan Wiedemann df3648a864 Arch - little IFC Spreadsheet adjustement 2016-02-05 02:08:23 +01:00
Jonathan Wiedemann 980b8dbeda Arch - Fix #2430 - Add IFC Spreadsheet properties system 2016-02-04 20:55:45 +01: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
Ian Rees 6ae327d1f7 Minimum Boost version to 1.55 except for gcc < 4.7 2016-02-04 18:55:59 +13:00
Yorik van Havre 2e2192f88a Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre 88be837f72 Arch: fixed bugs in IFC importer 2016-02-03 13:01:34 -02:00
Yorik van Havre f3d66aa674 OpenSCAD: allow to enable verbose output in preferences 2016-02-03 12:04:48 -02:00
Yorik van Havre 35cc2879e5 Arch: fixed wrong syntax in IFC importer 2016-02-03 10:50:19 -02:00
Yorik van Havre ab89c9af94 Draft: redraw wire arrow on file load - fixes #2424 2016-02-02 19:26:34 -02:00
Yorik van Havre 79a615f222 DXF and IFC pref pages can now be set to show on each import/export 2016-02-02 16:13:40 -02:00
Yorik van Havre 5ef5a8ec3c Gui: added Gui.showPreferences() python function
This function accepts 2 optional arguments: a string (ex. "Draft")
and an integer (ex. 2). If given, the preferences dialog will open at
the third tab of the Draft group, if existing.
2016-02-02 15:01:42 -02:00
Yorik van Havre 388ea0629c OpenSCAD: set legacy options when using importDXF 2016-02-02 14:19:40 -02:00
Bernd Hahnebach e214567a64 Start: add FEM example to Start page 2016-02-02 07:18:48 +01:00
Bernd Hahnebach b0ba55316b FEM: add FCStd file to FreeCADs example files 2016-02-02 07:18:48 +01:00
Bernd Hahnebach b3f77dcc35 FEM: material task panel, save density in kg per m3 to material dictionay 2016-02-02 07:18:48 +01:00
Bernd Hahnebach e9606a241a FEM: fix, transient material was used in some cases even if material was not changed 2016-02-02 07:18:47 +01:00
Bernd Hahnebach efc9b712ae FEM: small changes in CalculiX standard steel material 2016-02-02 07:18:47 +01:00
Bernd Hahnebach 3690313065 FEM: use transient material for a saved None material too
this will reload material data saved into the None material
2016-02-02 07:18:46 +01:00
Bernd Hahnebach 60cdca01a8 FEM: fix, use uniqe names for materials in CalculiX input file 2016-02-02 07:18:46 +01:00
Yorik van Havre 37b1bdbe27 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
Yorik van Havre fc9fe3ee00 Draft: fixed bug introduced by OK button 2016-02-01 20:28:30 -02:00
Yorik van Havre 04e9392e37 Draft: added a note to DXF options 2016-02-01 19:47:50 -02:00
Yorik van Havre 2688a2f501 Material: Fixed return value of the material editor 2016-02-01 19:35:48 -02:00
Yorik van Havre 704d3caf08 Draft: small bugfix in wires 2016-02-01 17:56:20 -02:00
Yorik van Havre c25595266b Fixed non dereferenced py pointer in ParameterPy 2016-02-01 13:34:37 -02:00
Yorik van Havre fdcd605498 Merge remote-tracking branch 'ovginkel/rtd_arrowssinglecommit' 2016-02-01 12:44:14 -02:00
Yorik van Havre fe959b8986 Draft: bugfix in legacy DXF importer 2016-02-01 12:15:50 -02:00
vginkeo 80a791021b FEM: Constraint view sizing and scaling of indicators for force, pressure and fixed constraints and limit on steps. 2016-02-01 10:52:37 +02:00
Yorik van Havre 4cb5de6848 Arch: fixed OBJ import without GUI - fixes #2305 2016-01-31 16:53:54 -02:00
Yorik van Havre 87da750d56 Draft: fixed bug in task panels 2016-01-31 16:28:13 -02:00
wwmayer d1a02e8d35 Merge pull request #83 from ianrrees/20160126-c++11
Turns on C++11 support for GCC and Clang
2016-01-31 15:27:32 +01:00
wmayer a3bf5421fe + fixes #0002417: console autocomplete runs python properties 2016-01-31 13:54:18 +01:00
wmayer 6117c31bcc + unify error messages on not found libraries 2016-01-31 09:41:41 +01:00
wmayer 0f858f99b7 + issue #0002417: console autocomplete runs python properties 2016-01-31 02:28:24 +01:00
Yorik van Havre 2cb06c6f65 Fixed wrong value returned by ParameterPy::GetUnsigned 2016-01-30 17:24:28 -02:00
Yorik van Havre 15a4976c97 Draft: implemented OK button in task dialogs - fixes #2423 2016-01-30 15:07:29 -02:00
Yorik van Havre 287e741210 Draft: Added Tick style for dimensions and wire/line arrows - fixes #2425 2016-01-30 14:46:38 -02:00
Yorik van Havre d45abca952 Draft: fixed end arrow of lines/wires - fixes #2424 2016-01-30 14:31:32 -02:00
Ian Rees 8219102dbe Turn on C++11 support for GCC and Clang 2016-01-30 21:29:31 +13:00
Yorik van Havre 645a83ad32 Arch: New behaviour against circular dependency can now be switched off in preferences 2016-01-29 12:29:03 -02:00
Yorik van Havre 3702820f00 Arch: Added an IFC pref option to disable clones creation on import 2016-01-29 00:28:47 -02:00
Yorik van Havre 5fbdd4ac66 Arch: bugfix in Structure creation 2016-01-28 13:53:58 -02:00
Yorik van Havre 5ec2ea0e6c Merge pull request #84 from sanguinariojoe/master
Matplotlib navigation toolbar support
2016-01-28 13:06:38 -02:00
Jose Luis Cercos Pita feb9b58a7e Added the matplotlib navigation toolbar, and methods to toogle it on/off 2016-01-28 10:25:53 +01:00
Jose Luis Cercos Pita f07f047bbf Fixed deprecation warning when matplotlib 1.4 is used 2016-01-28 10:24:35 +01:00
Yorik van Havre 2eb194776b Merge pull request #82 from bblacey/matplotlib-1.5
Upgraded Plot module to comply with matplotlib 1.5.x API
2016-01-27 21:55:02 -02:00
Yorik van Havre 23cc9ba32e Path: small fix in arcs rendering 2016-01-27 19:27:24 -02:00
wmayer 173f19eff4 + move handwritten Python classes to PyCXX 2016-01-27 18:07:48 +01:00
wmayer dec030b34e + base ParameterGrpPy class on PyCXX and fix usage of unsigned values 2016-01-27 18:05:56 +01:00
Yorik van Havre 1a06e50f0e Merge pull request #81 from ianrrees/20160126-mac-relocate-script-warnings
Added notes + warnings to mac app bundle tool.
2016-01-27 13:05:32 -02:00
Bruce Lacey 9f907f5d1b Upgraded Plot module to comply with matplotlib 1.5.x API
Plot.py will check the version of matplotlib imported using the
distutils.version.StrictVersion class.  If the version is less
than 1.5.0, it will import the legacy gt4agg NavigationToolbar
from matplotlib, otherwise the 1.5.x version.

Resolves #2421
2016-01-26 22:31:29 -08:00
Ian Rees 641a3abc0a Added notes + warnings to mac app bundle tool. 2016-01-27 18:07:08 +13:00
wmayer c6740162bc + cleanup spreadsheet tests and corrected date & author 2016-01-26 21:33:31 +01:00
wmayer 1b8cd9b91c Revert "ObjectIdentifier: Issue #2389: Needs to set documentNameSet and documentObjectNameSet to true to resolve properly."
This reverts commit 670eaf04a6.
2016-01-26 20:58:28 +01:00
wmayer d7dd512428 + small fixes in spreadsheet tests 2016-01-26 15:29:39 +01:00
wmayer e0b12695b1 + write unit tests for Spreadsheet and expression stuff 2016-01-26 15:07:29 +01:00
wmayer 28b92c478b + raise a TypeError instead of a standard exception in ObjectIdentifier 2016-01-26 12:49:15 +01:00
wmayer 72328ed0a1 + avoid throwing exceptions in property editor if not needed 2016-01-26 12:48:15 +01:00
Ed Martin d71a12db05 Spreadsheet: Issue #2355: Do not recompute the spreadsheet and its dependents unless the change affects the spreadsheet 2016-01-26 12:04:55 +01:00
Eivind Kvedalen 670eaf04a6 ObjectIdentifier: Issue #2389: Needs to set documentNameSet and documentObjectNameSet to true to resolve properly. 2016-01-26 11:58:12 +01:00
Eivind Kvedalen 22d77b784a VariableExpression: Add converters for long and bool data types. 2016-01-26 11:49:50 +01:00
Eivind Kvedalen e9480e6a09 ObjectIdentifier: Issue #2407: Fixed resolution of DocumentObject, to differentiate better between internal name and Label. 2016-01-26 11:25:58 +01:00
Eivind Kvedalen ed29d8ef9a Spreadsheet: Fixed crash when removing aliases. 2016-01-26 11:14:06 +01:00
Eivind Kvedalen bcff5d21ca Spreadsheet GUI: Issue #2402: Check for existing aliases in Properties dialog box. 2016-01-26 11:07:51 +01:00
Eivind Kvedalen e8eef1dfcb Spreadsheet: Issue #2402: Added getAlias function. 2016-01-26 10:53:26 +01:00
Eivind Kvedalen 610466284b Spreadsheet: Issue #2402: Allow set to also accept alias name (in addition to cell address). 2016-01-26 10:53:03 +01:00
Eivind Kvedalen 301fcc2ab7 Spreadsheet: Issue #2402: Don't allow duplicate aliases. 2016-01-26 10:52:34 +01:00
Eivind Kvedalen d45a95bf3a Spreadsheet: Issue #2402: Added functionality to get cell address given an alias. 2016-01-26 10:52:00 +01:00
wmayer a583697e5a + fix CMakeLists.txt file of Ship module 2016-01-25 21:46:01 +01:00
wmayer abcb12caec + fix error message in PropertyFileIncluded::setPyObject 2016-01-25 21:45:14 +01:00
wwmayer 173d197fe0 Merge pull request #80 from sanguinariojoe/master
FreeCAD Ship
2016-01-25 21:33:32 +01:00
Jose Luis Cercos Pita d6ca807b71 Updated the windows installer 2016-01-25 15:38:23 +01:00
Jose Luis Cercos Pita 621f7f49e0 Fixed index typo 2016-01-25 15:29:53 +01:00
Jose Luis Cercos Pita ec752fd076 Merge remote-tracking branch 'upstream/master' 2016-01-25 15:26:18 +01:00
Jose Luis Cercos Pita 499c685668 Added the GZ curves computation tool to the console interface 2016-01-25 15:15:04 +01:00
Jose Luis Cercos Pita f0770a7456 Added the loading conditions creation to the console interface 2016-01-25 09:11:19 +01:00
Jose Luis Cercos Pita 83d5217795 Added the capacity curve computation tool to the console interface 2016-01-25 08:50:57 +01:00
Yorik van Havre cbdd18cef6 Path: Added pref setting to disable auto-include of new paths in projects 2016-01-24 21:04:02 -02:00
wmayer a691fec1dd + fix exception text in PropertyFileIncluded 2016-01-24 21:06:02 +01:00
wmayer 57fadb1663 + handle crash with setup of Join commands in Part module in case PySide can't be found 2016-01-23 23:37:52 +01:00
Yorik van Havre 380b4a7b62 Path: Fixed non-functioning Path From Shape 2016-01-23 19:39:34 -02:00
Yorik van Havre baf103ad0a Path: Added Simple Copy tool + Inspect tool can now save changes 2016-01-23 15:58:00 -02:00
Yorik van Havre 4c3782ff96 Merge pull request #79 from ianrrees/20160123-3dconnexion-mac-bundle
Fixes issue with Mac bundles and 3Dconnexion drivers
2016-01-23 13:32:02 -02:00
Jose Luis Cercos Pita c3ccd0f72c Added a console interface to the tanks generation 2016-01-23 14:35:56 +01:00
Jose Luis Cercos Pita a615380027 Added a console interface to the weights generation 2016-01-23 14:21:25 +01:00
Ian Rees b5688aade5 Tidy logging (+whitespace) in Mac 3Dconnexion 2016-01-23 19:23:11 +13:00
Ian Rees ada6ad5d89 Add /Library/Frameworks/ to known system libraries
Fixes issue where the 3Dconnexion drivers weren't found in relocateable
mac application bundles.
2016-01-23 19:23:11 +13:00
Ian Rees 45d343e975 Prevent adding duplicate rpaths to bundled libs 2016-01-23 19:23:11 +13:00
wmayer 27fbccaeab + rename method 'transform' to 'tramsformGeometry' for the classes PropertyNormalList and PropertyCurvatureList
+ make transformGeometry method ready for undo/redo
2016-01-22 13:18:24 +01:00
Jose Luis Cercos Pita 0a4a8191a2 Added all the Hydrostatics to the console interface 2016-01-22 13:17:13 +01:00
Yorik van Havre 7bba2ee9aa Path: better colors for PAth Inspector 2016-01-21 18:07:47 -02:00
Jose Luis Cercos Pita c65dbe1db1 Implemented a generic method to move the ship shape in order to compute the hydrostatics 2016-01-21 20:14:57 +01:00
Jose Luis Cercos Pita e1aa844e95 Added the possibility of computing the transversal areas from the console interface 2016-01-21 19:57:55 +01:00
Jose Luis Cercos Pita 55c63f414d Corrected the translation environment 2016-01-21 19:26:47 +01:00
Jose Luis Cercos Pita 94cc4b4e36 Updated the copyright notifications 2016-01-21 18:56:28 +01:00
Jose Luis Cercos Pita 495308905c Added a console interface to create the ship instance 2016-01-21 18:46:08 +01:00
Yorik van Havre 2ed8e5dd99 Path: misc bugfixes + restored node markers 2016-01-21 14:02:56 -02:00
wmayer 5033983c64 + code clean-up 2016-01-21 16:43:27 +01:00
wmayer f47cc169ae + make code more readable 2016-01-21 16:07:07 +01:00
wmayer c9f168d3a2 + simplify porting of Mesh module to Python3 2016-01-21 15:49:22 +01:00
wmayer aa7aa64724 + simplify porting of Drawing module to Python3 2016-01-21 14:49:57 +01:00
wmayer bf10bf33f6 + simplify porting of Fem module to Python3 2016-01-21 13:42:08 +01:00
wmayer 094a4352f1 + simplify porting of Complete module to Python3 2016-01-21 12:38:17 +01:00
wmayer 85d8d70411 + simplify porting of Image module to Python3 2016-01-21 12:27:12 +01:00
wmayer a5b6e5d48a + simplify porting of Import module to Python3 2016-01-21 12:08:29 +01:00
Yorik van Havre 44ad4d94c7 Path: made tooltable editable by right-clicking the machine 2016-01-20 20:36:53 -02:00
wmayer a07b9cd0d4 + simplify porting of Inspection module to Python3 2016-01-20 22:48:26 +01:00
wmayer b5bf7d6b9d + simplify porting of MeshPart module to Python3 2016-01-20 22:38:45 +01:00
wmayer 3185e09806 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-01-20 22:06:20 +01:00
wmayer b10f838687 + simplify porting of Part module to Python3 2016-01-20 22:05:53 +01:00
Yorik van Havre ba63d7af11 Path: reorganized tools 2016-01-20 19:05:12 -02:00
Yorik van Havre 08dda60d00 Path: ToolChange command + added Inspect command to context menu 2016-01-20 18:53:04 -02:00
Yorik van Havre 2262e7d60f Path: minor improvements to some icons 2016-01-20 17:44:19 -02:00
wmayer 91d6e24f1e + simplify porting of PartDesign module to Python3 2016-01-20 17:00:43 +01:00
Jose Luis Cercos Pita 9770cca561 Finished the GZ curve implementation 2016-01-20 15:13:00 +01:00
Jose Luis Cercos Pita 6315084f58 Slightly improved the capacity curve plot 2016-01-20 12:36:05 +01:00
Jose Luis Cercos Pita d8e511f1dc Moved to a more robust Part module based boolean common operator 2016-01-20 12:35:47 +01:00
wmayer ebc6d37262 + simplify porting of DraftUtils module to Python3 2016-01-20 11:57:59 +01:00
Jose Luis Cercos Pita 2814565850 Cleared out some debug messages 2016-01-20 11:52:36 +01:00
Jose Luis Cercos Pita 65df5010f8 Fixed a typo in the transformation angles 2016-01-20 11:51:59 +01:00
wmayer cbe9c39a96 + fix typo 2016-01-20 11:22:27 +01:00
wmayer f85d168ef0 + simplify porting of Path module to Python3 2016-01-20 11:21:06 +01:00
wmayer 281447780b + simplify porting of ReverseEngineering module to Python3 2016-01-20 10:26:50 +01:00
wmayer a643463733 + simplify porting of Test module to Python3 2016-01-20 10:26:12 +01:00
Yorik van Havre fa42bc451a Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-01-19 22:35:43 -02:00
Yorik van Havre 0d22ca8eaf Path: Added new series of tools and fixes
* Fixed UsePlacement property of Path Compounds
* Added Path FaceProfile command - does a simple 2D contour of a face
* Added Path FacePocket command - does a simple 2D pocket of a face
* Added Path Array command - does an array with copies of a path
* Added Path Custom command - to add custom G-Code
* Added Inspect command - to inspect the G-Code of a path
2016-01-19 22:31:46 -02:00
wmayer cb92240458 + simplify porting of Points module to Python3 2016-01-20 00:00:41 +01:00
Yorik van Havre f480791472 Made last commit non-C++11 compatible 2016-01-19 11:25:16 -02:00
Yorik van Havre 5364a17c50 Merge pull request #78 from ianrrees/20160119-mesh-export-tolerance-preference
Added ability to change mesh export tolerance.
2016-01-19 10:52:21 -02:00
Jose Luis Cercos Pita 3644dcbcab Added a much more robust displacement tool for the GZ computation 2016-01-19 13:16:32 +01:00
Jose Luis Cercos Pita a5d7344f5a Modified the ship shpae transformation process during the hydrostatics computation 2016-01-19 11:16:36 +01:00
Jose Luis Cercos Pita 8cc3e62589 Improved the transversal areas computation 2016-01-19 10:14:02 +01:00
Ian Rees b6a1fd85ea Added ability to change mesh export tolerance. 2016-01-19 20:44:17 +13:00
wmayer 05279d2846 + simplify porting of Raytracing module to Python3 2016-01-18 19:14:57 +01:00
wmayer 108149297f + simplify porting of Robot module to Python3 2016-01-18 18:26:37 +01:00
Jose Luis Cercos Pita 63f976e25a Implemented a draft of the GZ computation tool 2016-01-18 18:04:01 +01:00
Jose Luis Cercos Pita a0a2a1012e Fixed typo in the capacity curve tool 2016-01-18 16:11:02 +01:00
Jose Luis Cercos Pita 7a53c17fde Added a weights and tanks collector 2016-01-18 15:38:44 +01:00
Jose Luis Cercos Pita c99f4921ca Implemented GZ tool variables saving and loading 2016-01-18 14:41:50 +01:00
Jose Luis Cercos Pita cf76a92996 Added console messages to know the computation progress 2016-01-18 13:15:05 +01:00
Jose Luis Cercos Pita ce52c4b024 Set a different color to the z-vol curve (in order to make possible3 to differentiate that from the level-vol curve) 2016-01-18 13:10:53 +01:00
Jose Luis Cercos Pita 3ea9f6245d Removed the uneeded pivy imports 2016-01-18 13:01:23 +01:00
wmayer 65fe62d93b + simplify porting of Sketcher module to Python3 2016-01-18 12:19:54 +01:00
wmayer bfdaa46feb + simplify porting of Sandbox module to Python3 2016-01-18 11:43:20 +01:00
Jose Luis Cercos Pita e002c9e66d Merge remote-tracking branch 'upstream/master' 2016-01-18 10:49:36 +01:00
wmayer 36383135a8 + simplify porting of Spreadsheet module to Python3 2016-01-17 23:15:24 +01:00
wmayer d78d747760 + simplify porting of Start module to Python3 2016-01-17 22:13:32 +01:00
wmayer a467612b9f + simplify porting of Web module to Python3 2016-01-17 19:17:34 +01:00
wmayer 5aea3220c8 + simplify porting of template module to Python3 2016-01-17 19:17:00 +01:00
wmayer 7773ad03c1 + fix bug in animated fit for orthographic camera if view width < height 2016-01-16 00:06:37 +01:00
wmayer 1027801be6 + improve whitespaces 2016-01-15 23:20:52 +01:00
wmayer 372704f44b + implement 'swap' for point kernel class to efficiently copy data 2016-01-15 23:20:06 +01:00
Yorik van Havre 9a27d5845f Draft: fixed gui bug in trimex 2016-01-14 13:39:24 -02:00
wmayer 6ed52e479b + fix crashes in ortho view panel 2016-01-13 17:40:20 +01:00
wmayer ffcbb0b66c + improve error handling in projection panel in Drawing workbench 2016-01-13 14:48:51 +01:00
wwmayer bf151fe5e5 Merge pull request #76 from reportingsjr/master
Change name prefix in the VRML/OpenInventor exporter
2016-01-13 13:54:53 +01:00
wmayer e0ee8bb8ca + allow to open system macros in read-only mode 2016-01-12 01:26:34 +01:00
Yorik van Havre 0ba829de41 Fixed typo in last commit 2016-01-11 22:18:31 -02:00
Yorik van Havre 97aea8a4ed Arch: search for profiles.csv also in current dir 2016-01-11 22:08:02 -02:00
sgrogan 99731988d3 Copy Profiles.csv to data dir of build dir 2016-01-11 21:58:58 -02:00
wmayer db539008be + fix whitespaces 2016-01-11 23:48:59 +01:00
Abdullah Tahiri 8a3958ced5 Gui: Extension of CommandMacro for system-wide macros
=====================================================

What?
Extension of the CommandMacro constructor to take an additional optional argument to indicate that the macro
is located in the system-wide directory, and shall be executed accordingly.
2016-01-11 19:25:53 +01:00
Abdullah Tahiri 3d551450a2 Gui Bug fix: Tabbed support for system-wide macros
===============================================

What?
Implementation of triplus' idea of making user-specific and system-specific macros
having a different list in different tabs.

Fixing of a bug related to the previous "separator".

Suggested terminology.
2016-01-11 19:25:36 +01:00
Abdullah Tahiri f1a3276d37 Bug fix: Add System-wide Macro dir to python path
=================================================

Self explanatory, so that macros in system-wide location can import modules therein.
2016-01-11 19:25:18 +01:00
Abdullah Tahiri 7fc7bdc302 Gui Enhancement: Support for macros in AppUserHome/Macro
=====================================================

What?
It was suggested that the macros should be moved to AppUserHome/Macro
http://forum.freecadweb.org/viewtopic.php?f=10&t=13433

Solution:
The solution is backwards compatible in the sense that if you have a running
configuration, updating should not change anything.

For new installations the macro directory will default to AppUserHome/Macro. However
this would break all the installation scripts (probably also ME's plugin manager).

Conflicts:
	src/Mod/Path/Gui/AppPathGuiPy.cpp
2016-01-11 19:24:22 +01:00
Abdullah Tahiri f78a239167 Gui Enhancement: Support for system-wide macros
===============================================

What?
Support for executing system-wide macros in /usr/lib/freecad/Macro
http://forum.freecadweb.org/viewtopic.php?f=10&t=13433

Why?
To allow to package macros and install them system-wide so that they are available to all users.
2016-01-11 19:22:50 +01:00
Yorik van Havre 5c1ab74329 Target URLs in Help menu are now translatable - fixes #2394 2016-01-11 13:36:42 -02:00
Yorik van Havre 86a1897eca Arch: small encoding fixes 2016-01-11 13:08:28 -02:00
Yorik van Havre cbad63100a Detecting windows10 in about dialog 2016-01-11 13:08:13 -02:00
wmayer 89cb247923 + handle degenerated ellipse for SVG output 2016-01-11 13:01:01 +01:00
Yorik van Havre 1e6a29eecf Path: added slic3r pre script 2016-01-10 19:58:02 -02:00
wmayer 64a20a83cc + PrintError is not part of FreeCAD but FreeCAD.Console 2016-01-09 21:21:17 +01:00
Yorik van Havre fa3d8c4824 Arch: updated license block 2016-01-09 16:13:05 -02:00
Yorik van Havre 6121e8dea4 Arch: new presets system for structures 2016-01-09 16:04:11 -02:00
Abdullah Tahiri 81f216f9e3 Sketcher Bug fix: Solver information update on over-constrained situation
==================================================================================

Why?
if lastDoF<0, then an over-constrained situation has ensued and geometry is not to be updated, as geometry can not follow the constraints.
However, solver information needs to be updated.

Solution:
Just trigger a constraint change so that signaling is sent to ViewProviderSketch via boost and the solver information updated, using
Constraints.touch().
2016-01-09 13:42:12 +01:00
Eivind Kvedalen 3aa44e6b0c Issue #2389: ObjectIdentifiers constructed from a property sometimes do not
resolve correctly, because the resolver may fail if a different document
objects has a Label equal to the property's document object's identifier.
2016-01-08 23:09:00 +01:00
Eivind Kvedalen d53cb8146e Spreadsheet: Issue #2388: The SheetObserver should ignore changed properties that don't have a name. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen 48b699071c ExpressionCompleter: Remove '=' before tokenizing string, to improve completer when used in the spreadsheet. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen a760487ad2 Spreadsheet: Don't update line edit on top unless we have to. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen 160d88c883 Spreadsheet: Clear line edit on top when current cell is cleared. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen 5f26cd9d7c ObjectIdentifier: Resolve document name on both identifier and Label. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen 9cc45e6ff2 ObjectIdentifier::resolve() should set documentName to internal name, not the Label property. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen e523638c75 Spreadsheet: Enable tooltip for error messages. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen 009d0c03b4 Document/PropertyExpressionEngine: Added onDocumentRestored function, to update internals of PropertyExpressionEngine after loading a document from disk. 2016-01-08 23:08:55 +01:00
Eivind Kvedalen 905cd3b1d2 App: Added template<class P> class AtomicPropertyChangeInterface. 2016-01-08 23:08:39 +01:00
Yorik van Havre e740a42075 Removed workbench keyboard shortcut W+0. Now only W+1-9 work. 2016-01-08 10:30:44 -02:00
Yorik van Havre bf19e80de1 Arch: fixed encoding bugs 2016-01-07 15:27:49 -02:00
Yorik van Havre 7691e22c59 Arch: handle ifcopenshell error when shape is not available 2016-01-07 12:09:17 -02:00
Yorik van Havre 7886675faa Changed shortcuts of workbenches to W + number 2016-01-07 11:47:53 -02:00
wmayer 0b3f60a68c + replace use of accessibleName with custom property 2016-01-06 16:59:11 +01:00
Bernd Hahnebach edac98b7ee FEM: small improvements in the regard of flake8 compatiblity 2016-01-06 11:13:38 -02:00
Bernd Hahnebach c60c70eb7b FEM: delete no longer needed EditorMode Setting
the properties are set to read only in the C++ constructor allready.
See commit 1a8c643d50
2016-01-06 11:13:38 -02:00
Bernd Hahnebach 0ba0f7a55d FEM: set solver type property to read only the hard way 2016-01-06 11:13:38 -02:00
Bernd Hahnebach feb8c0685e FEM: make result stats read only in property editor 2016-01-06 11:13:38 -02:00
Yorik van Havre fd14c1e3c3 Draft: small change in DXF pref page layout 2016-01-06 10:56:25 -02:00
Yorik van Havre 5c2ed74292 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-01-05 20:20:42 -02:00
Yorik van Havre 87397a2512 Drawing: support for text alignment in Spreadheetview 2016-01-05 20:20:25 -02:00
wmayer 061c67cbf8 + expose onDocumentRestored to Python feature classes 2016-01-05 19:05:48 +01:00
wmayer 53024a6140 + do not include from .qrc generated .cpp file from other .cpp file but add it to build system 2016-01-05 17:35:58 +01:00
wmayer a9189fb052 + use TRUE and FALSE for Vrml output (reverts part of commit 7d0e892d3) 2016-01-05 17:27:56 +01:00
Mateusz Skowroński 7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
https://qt.gitorious.org/qt/qtbase/commit/158f39ec7870c54ff3a15f72fe151062d6daa172

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński db345cb624 Change includes in Spreadsheet to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-01-05 16:10:40 +01:00
Mateusz Skowroński 0aa944a1b7 Change includes in Quarter to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-01-05 16:10:02 +01:00
Mateusz Skowroński ab26271756 QAbstractItemModel::reset() is obsolete in Qt5. Use beginResetModel() and endResetModel() instead.
This change is Qt4/Qt5 neutral.
2016-01-05 16:09:12 +01:00
Mateusz Skowroński 9beb7d21f3 QKeySequence::operator QString() is obsolete in Qt5. Use toString(QKeySequence::NativeText) instead.
This change is Qt4/Qt5 neutral.
2016-01-05 16:08:31 +01:00
Mateusz Skowroński 3b463f2138 Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
Yorik van Havre e55ba2d24d Added script to check download stats on github 2016-01-05 12:24:57 -02:00
Yorik van Havre c5b8b7c0a4 Draft: fixed bug in DXF export because of last commit - fixes #2391 2016-01-05 12:15:44 -02:00
Yorik van Havre 1e578c4f1a Draft: don't check anymore for python DXF libs if using the C++ importer 2016-01-04 22:19:13 -02:00
Yorik van Havre 273131c088 Draft: finished new DXF importer - fixes #2205 2016-01-04 18:01:34 -02:00
wmayer da83100728 + fix major flaw in Spreadsheet module: do not include precompiled header in other header files
+ fix linking errors in drawing module
2016-01-04 16:03:00 +01:00
wmayer 1d05f9c66e + support cutting of coloured mesh 2016-01-04 14:39:54 +01:00
Jon Neal f46a6965d2 Change name prefix in the VRML exporter to one that is allowed in the standards. 2016-01-04 01:03:18 -05:00
Yorik van Havre 1747fb643f Updated ts files prior to translation cycle 2016-01-03 19:45:29 -02:00
Yorik van Havre 85fdc8c76b Drawing: Add SpreadsheetView command - fixes #1805 2016-01-03 16:44:56 -02:00
wmayer 145fe4a364 + fix build failure with gcc 2016-01-03 19:30:03 +01:00
wmayer b6faaefaf8 + handling of colored mesh in view provider 2016-01-03 01:16:00 +01:00
wmayer dd9e8c5bb1 + make faster reading ply mesh files 2016-01-03 01:14:48 +01:00
wmayer 0ea477b420 + fix rendering bug for colored 2016-01-01 15:37:05 +01:00
wmayer 50d7793442 + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer 342198ea87 + support reading mesh files with colors 2015-12-31 21:07:04 +01:00
wmayer e2369996e2 if offscreen rendering for thumbnail fails then only write out application icon 2015-12-31 17:04:56 +01:00
wmayer 5e0f2ae418 + use custom points feature to read in ply with properties 2015-12-31 15:50:56 +01:00
wmayer 3b139c9bb1 + add custom points feature 2015-12-31 15:40:19 +01:00
wmayer 07b36e6bca + extended ply reader based on pcl to read-in attached properties 2015-12-31 15:36:16 +01:00
wmayer c2de4059c9 + add template class to add feature types with dynamic properties but without extended Python binding 2015-12-31 15:34:24 +01:00
wmayer b3bfdaafcf + add overloaded addObject() method to Document class to add existing DocumentObject 2015-12-31 15:32:47 +01:00
wmayer ebbb68d978 + fixes #0002385: unable to set value higher than 99.99 on Distance value in Part->Cross Sections 2015-12-31 12:25:54 +01:00
wmayer 715ae4e225 + fix compiler warning 2015-12-30 16:49:51 +01:00
wmayer 0135094133 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-30 16:25:27 +01:00
wmayer 17d7dd840e + add points view feature and command to triangulate it 2015-12-30 16:25:08 +01:00
Yorik van Havre 39a55cf951 Draft: small fix in patterns 2015-12-30 12:30:40 -02:00
wmayer 7d96d0f0c8 + optimize view provider for points, improve white spacing 2015-12-30 15:19:47 +01:00
wmayer 1274967208 + add support to PointKernel to get valid points 2015-12-30 15:18:05 +01:00
wmayer 4e3856acc8 + remove feature classes to import/export points 2015-12-30 15:16:22 +01:00
wmayer ad2c4c23d0 + fix compiler warnings 2015-12-30 10:58:14 +01:00
wmayer c2b66766b2 + optimize algorithm to get curvature on mesh points and drop dependency to WildMagic 2015-12-30 10:26:53 +01:00
wmayer e9e9a38865 + improve exception handling in initialization scripts 2015-12-29 23:42:29 +01:00
Yorik van Havre 9f4dc4616c Merge branch 'master' of https://github.com/jbradsha/FreeCAD into jbradsha-master 2015-12-29 13:00:11 -02:00
Yorik van Havre d989acaae8 Draft: Added a grid toggle button to the snap toolbar 2015-12-29 12:10:22 -02:00
J Bradshaw 9cca015108 Merge pull request #1 from jbradsha/jbradsha-patch-1
Update README.md
2015-12-29 12:08:06 +00:00
Yorik van Havre ed037c138e Arch: Fixed section plane's clipping - fixes #2063 2015-12-28 16:56:53 -02:00
Yorik van Havre 353b2df3d3 Draft: fixed bug when loading objects with pattern set 2015-12-28 12:56:53 -02:00
Yorik van Havre bbfacbc883 Arch: fixed vanishing windows when host wall is hidden - fixes #1604 2015-12-28 12:27:37 -02:00
Yorik van Havre 83954da5cf Renamed menu View->Views to View->Panels 2015-12-28 12:02:20 -02:00
Abdullah Tahiri 86f0454414 Sketcher: Solver: FullPivLU::compute for Eigen-3.3
==================================================

This fix enables usage of the Eigen SparseQR starting in Eigen-3.3. It optimizes the code enabling it
to work with the new assignation interface of Eigen-3.3, which is more strict than that of Eigen-3.2.

It provides the same optimization for DenseQR code, and omits the extraction of the Q matrix in DenseQR
as this is not used anywhere else.

[NOTE: This is only to be merged after Debian has updated the Eigen-3.3-alpha1 package]

See:
http://forum.freecadweb.org/viewtopic.php?f=10&t=12769&start=30#p104740
https://forum.kde.org/viewtopic.php?f=74&t=129115
2015-12-28 11:51:34 -02:00
Abdullah Tahiri e9af05f911 Sketcher: Solver: FullPivLU::compute for Eigen-3.3
==================================================

This fix enables usage of the Eigen own compute function starting in Eigen-3.3, as now it is fixed in Eigen.

[NOTE: This is only to be merged after Debian has updated the Eigen-3.3-alpha1 package]

See:
http://forum.freecadweb.org/viewtopic.php?f=3&t=4651&start=40
http://forum.freecadweb.org/viewtopic.php?f=10&t=12769&start=60#p106492
https://forum.kde.org/viewtopic.php?f=74&t=129439
2015-12-28 11:51:34 -02:00
wmayer e0683f4db0 + fixes #0002347: freecad fails to build with Boost 1.60.0 2015-12-28 13:54:40 +01:00
wmayer 07ba938ff6 + issue: #0002350, handle Python's SystemExit exceptions and do not exit application when running from macro dialog or Python editor 2015-12-27 23:00:59 +01:00
Yorik van Havre 0f9d6c14ae Updated installation page in README 2015-12-27 18:44:08 -02:00
wmayer 24c234b80a + whitespace improvement 2015-12-27 19:16:05 +01:00
Yorik van Havre 1f4f94017a Draft: Unified in-drawing shortcuts with what is shown in the GUI 2015-12-27 14:00:02 -02:00
wmayer 462ec49297 + fixes #0001956: FreeCAD 0.14.370x hangs when attempting to edit sketch containing ellipse 2015-12-27 11:44:47 +01:00
Yorik van Havre e98347960d Draft: x,y and z fields are now auto-masked when second point is horizontal or vertical 2015-12-26 20:19:52 -02:00
Yorik van Havre 71b66ad25a Merge pull request #72 from iHateInventNames/master
fixed default configuring for Gentoo
2015-12-26 18:20:55 -02:00
Yorik van Havre 026dc8678c Merge pull request #73 from wood-galaxy/arch-wall-negative-offset
Arch/Wall : allow negative value to Offset property
2015-12-26 17:57:57 -02:00
Sergei Krivonos 7e6d816034 fixed default configuring for Gentoo
Change-Id: Iae8847950acca023a2a222404d400d3a25794be1
2015-12-26 21:22:58 +02:00
Yorik van Havre 08b79eb4dd Draft: fixed focus on first field when starting a draft command 2015-12-26 13:45:09 -02:00
Yorik van Havre 93ccc88f74 Draft: fixed non-focused taskview fields 2015-12-25 20:05:55 -02:00
wmayer d8088c5db0 + improve whitespaces 2015-12-25 10:56:03 +01:00
wmayer 51c7a8eecc + improve whitespaces 2015-12-25 10:37:52 +01:00
wmayer 632eaeadeb + fixes #0002372: Application terminates on attempt to change external geometry from a sketch
+ fixes #0002373: When Measuring in the distance between two external geometry Freecad crashes
2015-12-25 09:47:25 +01:00
Mateusz Skowroński 9aa3cfb4f9 Add missing QMimeData.h includes.
This change is Qt4/Qt5 neutral.
2015-12-24 13:36:46 +01:00
Mateusz Skowroński c2a31fe04b qVariantValue() is obsolete in Qt4. Replace it with equivalent QVariant::value<T>(value).
This change is Qt4/Qt5 neutral.
2015-12-24 12:49:26 +01:00
Mateusz Skowroński 62ccb845bc QFileDialog::selectFilter() is obsolete in Qt4. Replace it with selectNameFilter().
This change is Qt4/Qt5 neutral.
2015-12-24 12:49:08 +01:00
Mateusz Skowroński 5be2986146 QFileDialog::filters() is obsolete in Qt4. Replace it with nameFilters().
This change is Qt4/Qt5 neutral.
2015-12-24 12:48:49 +01:00
Jonathan Wiedemann 3c0927650d Arch/Wall : allow negative value to Offset property 2015-12-24 03:04:37 +01:00
Yorik van Havre 3bbddc8675 Drawing: Added python feature to ViewProviderDrawingView - fixes #2276 2015-12-23 17:03:46 -02:00
Yorik van Havre aac4205d1d Draft: small fix in trimex snap mode 2015-12-23 15:19:03 -02:00
wmayer ff806af026 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-23 15:44:38 +01:00
wmayer 4f2291f420 + implement property editor item for FEM mesh 2015-12-23 15:44:11 +01:00
wmayer b55defa4f3 + add missing comma in property item 2015-12-23 15:43:29 +01:00
Jonathan Wiedemann 7913e608be Arch : Add Align property to StructuralSystem 2015-12-23 12:35:01 -02:00
Yorik van Havre a1f82e443e Draft: small fix in Arch Axes SVG output 2015-12-23 12:13:29 -02:00
Yorik van Havre 94dd07297d Draft: Fixed display of Arch axes on Drawing views 2015-12-23 11:55:34 -02:00
Yorik van Havre 474c114e66 Arch: fixed projection of Drawing views of arch sectionplanes - fixes #2233 2015-12-23 11:32:36 -02:00
Yorik van Havre 38d90ab4c2 Draft: Fixed arc bug in DXF export - fixes #2208 2015-12-22 11:54:55 -02:00
Mateusz Skowroński 99ca18f541 QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:47 +01:00
Mateusz Skowroński e6379ea636 QFileDialg::selectedFilter() is obsolete in Qt4. Replace it with selectedNameFilter().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:46 +01:00
Mateusz Skowroński d3d01db9e2 QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:45 +01:00
Mateusz Skowroński 4d85f0e40b QWidget::setShown() is obsolete in Qt4. Replace it with setVisible().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:45 +01:00
Mateusz Skowroński f7b8135ded Add missing forward declaration of QPrinter to MDIView.h.
This change is Qt4/Qt5 neutral.
2015-12-22 05:44:52 +01:00
wmayer 7c359b7b30 + handle exceptions when restoring dynamic properties 2015-12-21 18:24:12 +01:00
Yorik van Havre eca0e54bf3 Arch: small encoding bugfix 2015-12-21 12:37:57 -02:00
Yorik van Havre aad6ef004d Arch: improvements to Axis - fixes #2138
* Fixed small bugs
* More options to position the bubble (start, end or both)
* Properties for text size and font
2015-12-21 12:21:31 -02:00
Eivind Kvedalen fca2e2671a PropertyConstraintList: Use correct indices when checking the constraint type. 2015-12-21 14:11:14 +01:00
Eivind Kvedalen df660dc280 PropertyExpressionEngine/DocumentObject: Track object deletes and update dependencies accordingly. 2015-12-21 14:11:13 +01:00
Eivind Kvedalen 7b25d454b5 PropertyExpressionEngine::slotObjectRenamed(...): return immediately if the property's owner is not part of an object (e.g on the undo stack). 2015-12-21 14:11:13 +01:00
Eivind Kvedalen 9c7b9ed2c0 PropertyExpressionEngine::slotObjectRenamed(...): only change the object if it is absolutely necessary,
or else the object will in most cases be touched, leading to unnecessary recomputes.
2015-12-21 14:11:12 +01:00
Eivind Kvedalen 65a610d1cb Expression/ObjectIdentifier: changed return type of renameDocumentObject and renameDocument,
to be able to signal that a rename actually took place.
2015-12-21 14:11:12 +01:00
Eivind Kvedalen 83d221e161 DocumentObject: Don't emit signal if Label hasn't actually changed. 2015-12-21 14:11:11 +01:00
Yorik van Havre 19fd2c3195 Arch: set the Lenght property of walls automatically when based on baselines 2015-12-20 12:41:25 -02:00
Yorik van Havre 5fa85ad31b Draft: disabled moving siblings when moving an object 2015-12-19 22:32:56 -02:00
Yorik van Havre d6920a07c3 Arch: Walls now adopt the current working plane orientation on creation - fixes #2175 2015-12-19 12:53:20 -02:00
wwmayer eb5ec62ccb Merge pull request #71 from ianrrees/20151216-3dconnexion-mac
Fixed paths for 3Dconnexion headers on Mac
2015-12-19 14:19:58 +01:00
wmayer 0b0d258afd + make method cancelObservation() not pure virtual 2015-12-19 11:31:59 +01:00
Ian Rees bdc519743c Fixed paths for 3Dconnexion headers on Mac 2015-12-19 15:08:54 +13:00
Yorik van Havre 5b750aabe3 Arch: Creating windows no longer removes external refs from base sketches - fixes #2326 2015-12-18 22:11:53 -02:00
wmayer 73a716c82f Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-18 22:48:53 +01:00
Eivind Kvedalen 823b5205bb NumberExpression: Added std::setprecision to keep precision of number in double to string conversion. 2015-12-18 22:05:32 +01:00
Eivind Kvedalen 6f39eed25e PropertyPlacement: Fixed setting of angle (missing deg to radian conversion). 2015-12-18 22:05:31 +01:00
Eivind Kvedalen 7760c6ac18 ObjectIdentifier: Added std::setprecision to keep precision of double to string conversion. 2015-12-18 22:05:31 +01:00
Eivind Kvedalen db2f868bbe Sketcher: Fixed setPathValue to convert angles to radians before they are stored in the Constraint object. This mimics the setDatum implementation. 2015-12-18 22:05:30 +01:00
Yorik van Havre dab7ef4262 Draft: workaround for exporting DXF with R14+ templates - fixes 2177
- Adapted Drawing algos to export R14+ compatible DXF code
- Added option in DXF prefs to disable groups (not supported in R14+ templates)
2015-12-18 10:47:14 -02:00
Yorik van Havre 45292eb9ee Arch: IFC bugfix + added pref option to use DAE triangulation options 2015-12-18 10:39:40 -02:00
Yorik van Havre cfba4a3d5c Changed default shortcuts for 10 first workbenches from CTRL+number to ALT+CTRL+number 2015-12-18 10:39:27 -02:00
wmayer 24c60199cc + improve getting proper group name from Python module path name 2015-12-17 18:56:40 +01:00
wmayer 5ac4a6fa91 + improve getting proper group name from Python module name 2015-12-17 10:41:01 +01:00
Yorik van Havre 6d237ed63b Merge pull request #70 from DeepSOIC/fixReplaceChild
OpenSCAD: fix replaceChild
2015-12-16 23:25:28 -02:00
DeepSOIC 4057de6346 OpenSCAD: fix replaceChild
was broken because it failed trying to set a read-only
"ExpressionEngine" property
2015-12-17 03:34:16 +03:00
wmayer 61e1a5ca2f + use Python's inspect module to get calling instance of addCommand 2015-12-16 23:07:24 +01:00
wmayer f958dadb69 + improve autoload mechanism to get commands of custom toolbars 2015-12-16 21:19:12 +01:00
DeepSOIC 4f2992db54 API: improve built-in docu for copyObject and moveObject 2015-12-16 20:45:54 +03:00
DeepSOIC dd8027a839 API: fix document.copyObject not working when with dependencies
copyObject failed with an error when attempting to copy an object with
dependencies from one document to another.

http://forum.freecadweb.org/viewtopic.php?f=22&t=13533&p=108288#p108288
2015-12-16 20:45:53 +03:00
Yorik van Havre 43e0083c72 Draft: Added editmode to facebinders - fixes #2165 2015-12-16 15:30:43 -02:00
wmayer 9a3211c343 + extend Inventor builder to support material nodes 2015-12-16 16:09:31 +01:00
Jonathan Wiedemann 2669aa6206 Allow negative value in Draft's pref : Ext Line size 2015-12-16 13:03:46 +01:00
Yorik van Havre e71787d37a Draft: fixed bug in wire offsets - fixes #1975 2015-12-15 11:11:57 -02:00
Yorik van Havre 472e6b777a Draft: shape2Dview now projects along the current view direction - fixes #2367 2015-12-14 19:32:35 -02:00
wmayer acf3b34711 + implement PropertyExpressionEngine::getPyObject 2015-12-13 22:40:07 +01:00
wmayer f7a2ffc457 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-13 19:19:58 +01:00
wmayer 1a8c643d50 + make properties of FEM result object read-only for property editor 2015-12-13 19:19:38 +01:00
Yorik van Havre c850d622b7 Draft: Added properties to subdivide rectangles into columns and rows - fixes #2340 2015-12-13 12:32:43 -02:00
Yorik van Havre c66be818b9 Path: added .gcode extension to available gode file formats 2015-12-13 12:31:53 -02:00
wmayer f26844e1bc + allow to clear installed firewall 2015-12-13 14:36:41 +01:00
wmayer f46393efe7 Report 'None' for successfully executed commands in server, implement a simple firewall to block commands 2015-12-13 14:24:15 +01:00
wmayer 33c9c02aeb + limit display role of property list items to 10 elements 2015-12-13 12:01:16 +01:00
wmayer e305f079d0 + when using FreeCAD GUI as Python module handle attempt to re-create main window 2015-12-12 20:14:37 +01:00
Yorik van Havre 97311dfd0a Merge remote-tracking branch 'sgrogan/Idf-fix' 2015-12-12 13:00:36 -02:00
Yorik van Havre 5949d79bed Merge pull request #69 from timthelion/patch-1
Application.cpp English editing
2015-12-12 12:43:06 -02:00
Yorik van Havre 18346619ae Draft: Changing text or arrows of a Dimension now marks it to be recomputed 2015-12-12 12:31:36 -02:00
Timothy Hobbs 7da3c663c6 Application.cpp English editing
Edit English in comments and warning messages
2015-12-12 01:22:14 +01:00
Yorik van Havre 3dcc557e65 Draft: more consistent behaviour for Clones when trying to edit them - fixes #2198 2015-12-11 11:08:30 -02:00
Bernd Hahnebach 0f7a13a8a8 FEM: fix loading frequency in solver control command 2015-12-11 13:32:23 +01:00
sgrogan 4d4d292cf0 Make Idflibs consistent for installed and uninstalled builds 2015-12-10 16:37:25 -05:00
Yorik van Havre be9920a132 Arch: obj exporter now skips bad objects instead of stopping 2015-12-10 15:46:09 -02:00
wmayer 36ac2e7032 Fix element A41 in 4x4 Matrix class 2015-12-10 17:35:54 +01:00
Yorik van Havre b7a9bf9505 Merge pull request #68 from l3iggs/patch-1
fixes #0002358
2015-12-10 13:23:11 -02:00
Yorik van Havre d65c96099e Draft: Lines and Wires now have a Subdivisions property - fixes #1593 2015-12-10 13:20:48 -02:00
l3iggs 4901553a2d fix for 0002358
This strips off any trailing '-' text reported by openscad when asking it for its version.
2015-12-10 14:50:01 +00:00
wmayer dde207c360 + fix: -Wunused-variable 2015-12-09 16:52:47 +01:00
wmayer 7e261db1a2 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-09 15:09:57 +01:00
Yorik van Havre b876489b46 Arch: small fix in Structure - fixes #2186 2015-12-09 11:30:51 -02:00
Stefan Tröger dcad131357 Expressions: Fix property editor behavior
- change responsibility of python code emition
- Correct python code handling for expressions
- handle constraints expressions handling
2015-12-09 14:08:50 +01:00
Stefan Tröger 580a4e15d1 Expressions: port int spinbox for property editor 2015-12-09 14:08:49 +01:00
Stefan Tröger 4203a6f35b Expressions: Integrate into the property editor
- basic infrastructure for handling of expressions
- port the unit properties editor to support expressions
- port placement editor to support expressions
- expressions for double spinbox
- expressions in sketch constraints
2015-12-09 14:08:48 +01:00
Abdullah Tahiri 501fa80e4d Sketcher: Fix Sketch Mirror functionality
=========================================

The problem:
Mirror stopped working.

How to reproduce:
Select a sketch, and apply "Mirror Sketch" from the menu.

Why?
With the introduction of expressions, mirror sketch stopped working. The reason is that mirror functionality did use the "clone" function to make copies of constraints
and then modify their values. After expessions introduction, which introduces a unique tag per constraint, this copy was regarded as a "rename" of the original constraint
as they shared the unique tag.

Fix?
New function "copy()" for a constraint, that copies all the content but the tag.
2015-12-09 13:32:12 +01:00
wmayer 118d2eb531 + fix typo in FEM 2015-12-09 13:19:13 +01:00
wmayer 69a6970975 + fix crash when undoing creation of spreadsheet 2015-12-09 13:18:58 +01:00
Eivind Kvedalen ae6b934207 Spreadsheet: Fixed PropertySheet::Paste(); undo did not work correctly. 2015-12-09 12:15:15 +01:00
Eivind Kvedalen aef7bbdf62 Spreadsheet: AggregateFunctionExpression missed its own implementation of copy().
This causes a crash during undo if this class is used.
2015-12-09 12:15:15 +01:00
Eivind Kvedalen 4d0af95caf App: Replaced freecad_dynamic_cast by static_cast. In this case we know the type, and don't check for 0. 2015-12-09 12:15:14 +01:00
Eivind Kvedalen 71605e63ef Spreadsheet: Fixed issue #2352, removal of rows and columns. 2015-12-09 12:15:13 +01:00
Eivind Kvedalen 4b5ae54e88 App: Removed VariableExpression::setName(), and replace call by setPath(); it's use caused a crash (#2352). 2015-12-09 12:15:12 +01:00
Yorik van Havre c67b2bed45 Draft: Fixed offset of arcs - fixes #1993 2015-12-08 12:01:28 -02:00
wmayer c0ee5fbae3 + add restart method to timer 2015-12-07 17:31:05 +01:00
Yorik van Havre a97992a537 Arch: added button to edit text position in Arch Spaces edit mode - fixes #2339 2015-12-07 12:30:20 -02:00
Yorik van Havre 1da0ec65c3 Draft: added radial & diameter dim support to DXF import - fixes #2162 2015-12-05 16:50:30 -02:00
Yorik van Havre 2e91633da9 Draft: Added mirror tool (more graphical version of Part Mirror) - fixes #2215 2015-12-05 14:19:35 -02:00
Yorik van Havre cf3e69de08 Arch: removed global state of ifcfile 2015-12-05 13:49:02 -02:00
Bernd Hahnebach 6d2877444c Arch: ifc: fix import of archobj walls if structobj import is activated 2015-12-05 13:46:34 -02:00
wmayer 93b53f1662 + add several surface reconstruction methods from pcl to Reen module 2015-12-05 16:19:18 +01:00
Yorik van Havre fd191b802e Draft: Fixed grid jump in edimode - fixes #2104 2015-12-03 22:59:50 -02:00
Bernd Hahnebach 9e114a8b59 FEM: make cccFrdReader flake8 compatible 2015-12-03 18:50:06 -02:00
fandaL cf22522290 FEM: frd mesh import rearrange repeating if 2015-12-03 18:50:06 -02:00
fandaL 98cd075a84 FEM: frd import mesh - added HEX20, PENTA6, PENTA15 2015-12-03 18:50:06 -02:00
Bernd Hahnebach 32624cbe94 Arch: on ifc import do no longer decode unicode strings before encode them 2015-12-03 18:46:23 -02:00
Yorik van Havre cf1c02271f Draft: more consistent offset result - fixes #2027 2015-12-03 18:25:32 -02:00
Yorik van Havre 3414ec8af1 Arch: IFC importer doesn't choke anymore on rebars 2015-12-02 21:51:27 -02:00
Yorik van Havre 7594bb6f31 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2015-12-02 21:31:28 -02:00
Yorik van Havre 047998de87 Draft: other bugfix in downgrade - fixes #2260 2015-12-02 21:31:23 -02:00
Yorik van Havre d0dac0c658 Draft: fixed bug in downgrade - fixes #2261 2015-12-02 21:25:37 -02:00
wmayer 7eb7be3936 + add Poisson surface reconstruction 2015-12-02 23:36:26 +01:00
Yorik van Havre 1acf487040 Arch: Added more meshing options for Collada exporter - fixes #2341 2015-12-02 18:42:30 -02:00
Yorik van Havre 9f4c54d33a Draft: small bugfix 2015-12-01 22:14:59 -02:00
wmayer 2b2358e70b + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
wmayer 244054ff1f + reorder header to fix warnings with Win32 build 2015-11-30 20:38:19 +01:00
Yorik van Havre fd802bad80 Arch: Allow to draw walls by entering length, width and height on the GUI - fixes #2000 2015-11-30 15:40:52 -02:00
Yorik van Havre a557cd4cc5 Draft: fixed buggy global copy mode 2015-11-30 15:39:43 -02:00
Bernd Hahnebach c78f57a78a FEM: fix node order of seg3 in ViewProwiderFemMesh 2015-11-30 11:21:51 -02:00
Bernd Hahnebach d8af8693b4 FEM: fix node order of seg3 (B32) in writeAbaqus 2015-11-30 11:21:51 -02:00
Yorik van Havre 8bc013140e Draft: Fixed arrows at endpoints of wires - fixes #2066 2015-11-29 12:47:06 -02:00
wmayer 76c238fc98 + fixes #0001860: Can not open a FreeCAD project in FreeCAD by double-clicking the project file on Macintosh 2015-11-29 15:36:47 +01:00
Bernd Hahnebach b2080f945a FEM: fix not closing taskd of _CommandSolverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach ea2a0d12c2 FEM: do not allow to add multiple soler with gui 2015-11-28 20:04:22 -02:00
Bernd Hahnebach ce3284624f FEM: make selection of quick analysis consistent with solverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach f3a1ef31db FEM: raise exception if multiple solver or mesh are in an analysis, they are not yet supported 2015-11-28 20:04:22 -02:00
Bernd Hahnebach 592e26fc41 FEM: replace Calculix with CalculiX in strings 2015-11-28 20:04:22 -02:00
Bernd Hahnebach a25c4ac7da FEM: delete FemExample since there is no example inside 2015-11-28 20:04:22 -02:00
Bernd Hahnebach fb7153d5fe FEM: delete not used import FemGui 2015-11-28 20:04:22 -02:00
Bernd Hahnebach 9d2d92336e FEM: rename modul MechanicalAnalysis to FemAnalysis 2015-11-28 20:04:22 -02:00
Bernd Hahnebach 03d1d32e38 FEM: rename command MechanicalJobControl to SolverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach 882db04b3c FEM: activate CommandMechanicalJobControl with_Solver selected 2015-11-28 20:04:22 -02:00
Bernd Hahnebach 181262b39d FEM: rename TaskPanelJobControl to TaskPanelFemSolverCalculix 2015-11-28 20:04:22 -02:00
Bernd Hahnebach 39c3662da8 FEM: include calculix solver objekt if new analysis is created 2015-11-28 20:04:22 -02:00
Bernd Hahnebach 42913ca0cf FEM: fix test frame work 2015-11-28 20:04:22 -02:00
Bernd Hahnebach 6865e35fd9 FEM: add CalculiX solver object 2015-11-28 20:04:22 -02:00
Author qingfengxia 80cf664ec8 FEM: new solver object implementation of the object 2015-11-28 20:04:22 -02:00
Author qingfengxia 3918d9fbe5 FEM: new solver object icon 2015-11-28 20:04:22 -02:00
Bernd Hahnebach 006bf802f4 FEM: fix some line endings 2015-11-28 20:04:22 -02:00
Yorik van Havre 9d0f4ba46e Arch: Added editmode to Section Planes - fixes #2098 2015-11-28 14:51:40 -02:00
wmayer 6111f55a89 + correctly handle toggle selection in BRep shape nodes 2015-11-28 16:21:20 +01:00
Abdullah Tahiri 19c840e1ab Sketch: Solver: Extended Advanced Solver configuration
========================================================

This is an advanced setting just for allowing increased choices to power users that have problems with a given sketch and want to
test different flavours of DogLeg algorithm.

This commit does not change the default behaviour of FreeCAD. It is only intended to give more options to power users.

The advanced solver configuration is extended to support three different Gauss-newton steps for DogLeg:

FullPivLU => h_gn = Jx.fullPivLu().solve(-fx);
LeastNormFullPivLU => h_gn = Jx.adjoint()*(Jx*Jx.adjoint()).fullPivLu().solve(-fx);
LeastNormLdlt => h_gn = Jx.adjoint()*(Jx*Jx.adjoint()).ldlt().solve(-fx);

This setting is applied only to DogLeg. It is applied to DogLeg as normal or redundant solver, if DogLeg is the selected solver.

Selecting a solver different from DogLeg for both normal and redundant disables the setting.

We have been told:
https://forum.kde.org/viewtopic.php?f=74&t=129439#p346104

that our default Gauss-Newton step in DogLeg may not be adequate in general (we generally deal with underconstraint systems
unless we have a fully constraint sketch, and even then it is many times overconstraint at least for redundant solving).

We have been told that maybe these LeastNorm options are more suitable for us (performance set aside). This enables you as power
user to test if it works fine with FreeCAD.
2015-11-28 13:08:31 +01:00
Abdullah Tahiri aa6908b144 Sketch: Solver Defaults: Sketch size multiplier OFF
===================================================

This commit sets the sketch size multiplier OFF by default (so the number of iterations DogLeg/BGFS/LM is not sketch size dependent).

In complicated sketches having a high number of parameters, with sketch multiplier on, the number of iterations is extremely high (100 parameters*100 iterations => 10000 iterations).

The idea of disabling this comes from tests performed by DeepSOIC and from my own experience using the Sketcher. In general
sketch multiplier makes FreeCAD unresposive (very high amount of iterations, not a real freeze) in big sketches so that users
end up killing the application. This is preventing the users from taking appropriate action, Developers from getting the information of the failure and
users angry.

The idea is that even for complicated sketchs N iterations (100 by default) should be enough to converge, if it is ever going to converge. Experience will tell us
if we have to increase this number in the range [100-300]. 100 iterations in complicated dossiers is in my experience generally under 30 seconds.

N.B.: This commit does not change the defaults stored in your computer, so if you have the sketcher multiplier on, the advanced solver dialog will still enforce this local setting. You
may disable it or click the "defaults" button to disable the sketcher multiplier.
2015-11-28 13:08:24 +01:00
Eivind Kvedalen 87c6af3547 Spreadsheet: Removed setPosition() function. 2015-11-28 12:56:28 +01:00
Eivind Kvedalen b7480210fd Spreadsheet: Issue #2301: Handle enter/return and tab keys the same as e.g OpenOffice and Excel. 2015-11-28 12:56:27 +01:00
Eivind Kvedalen 2e5175c7be Spreadsheet: Fixed typo. 2015-11-28 12:56:26 +01:00
Eivind Kvedalen 45a2207f81 Spreadsheet: Improve python code when the Delete key is pressed. 2015-11-28 12:56:25 +01:00
Pablo Gil 8b745b3751 Adds the ViewFitSelection to the main toolbar (improves usability) 2015-11-27 10:59:15 +01:00
wmayer 559194edab + do view fit only on file import if document was empty 2015-11-26 20:24:00 +01:00
wmayer 898e0fb359 + make API of InventorBuilder more flexible and add new methods 2015-11-26 15:27:40 +01:00
Yorik van Havre e0f3bb00b8 Relocated the WB switcher to its original location 2015-11-26 09:11:39 -02:00
Yorik van Havre 3d6869bf68 Added automatic Ctrl+Number shortcuts for the 10 first woekbenches 2015-11-26 09:11:39 -02:00
Yorik van Havre 7c5e8d58cb Split workbench selector and placed it left 2015-11-26 09:11:39 -02:00
wmayer b3e0e8272f Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-11-25 21:02:17 +01:00
wmayer 6a6a2d5669 + fix whitespaces 2015-11-25 21:02:00 +01:00
Abdullah Tahiri 7c1c56a550 Sketcher: Solver Debug functionality: Ability to export a subsystem
===================================================================

It allows to export the c++ code to create a subsystem with the same information as the one solved using LM/DL/BGFS.

In this commit the functionality is disabled (for production).

To enable the functionality uncomment this line in planegcs/Constraints.h:
//#define _GCS_EXTRACT_SOLVER_SUBSYSTEM_

When enabled, upon solving with LM/DL/BGFS, the c++ code to generate the subsystem is added to a subsystem.txt that is created in the FreeCAD
execution directory.

Note that the file is created in append mode, so it will append all normal/redundant solvings until the file is deleted.

The resulting code can be directly pasted into a project similar to:
https://github.com/abdullahtahiriyo/Eigen_LUPiv_Convergence

Such a project only has libeigen as external dependency.
2015-11-25 20:39:04 +01:00
Yorik van Havre 14a771bf05 Arch: small fix in Arch git dialog 2015-11-25 13:17:54 -02:00
Yorik van Havre a5852dd8f2 Material: Fixed the material editor dialog, thanks to rockn 2015-11-24 22:57:50 -02:00
wmayer a029d90a98 FEM: Rename Display Modes 2015-11-23 18:17:10 +01:00
Abdullah Tahiri ad1210f4bb Sketcher: Advanced solver dialog bug fix LM-tau
================================================

Due to a typo the code was setting LM-tau to 1E-80 by default instead of the intended 1E-3.
2015-11-21 22:48:02 +01:00
wmayer bb1add4739 + Add export macro to Enumeration class 2015-11-21 22:46:42 +01:00
wmayer 2362239edf + Add Python example of embedding FreeCAD 2015-11-20 22:35:26 +01:00
Bernd Hahnebach 8ebf64ac3f FEM: add nodes of quad8, hexa20, penta6, penta15, pyra5, pyra13 to ViewProvider nodes are displayed 2015-11-19 19:01:23 +01:00
Bernd Hahnebach 758f3ec77e FEM: FemMesh VP throw exception instead of assert(0) 2015-11-19 19:01:07 +01:00
Bernd Hahnebach 2f5706262d FEM: add SMESH supported volumes to Python API of FemMesh 2015-11-19 19:00:52 +01:00
wmayer c8e241c9f3 + PLate surface approximation 2015-11-19 18:52:19 +01:00
wmayer 13e2b24ddf + add Python binding to Plate surface 2015-11-19 15:27:35 +01:00
Przemo Firszt fe522bc66b FEM, Tests: Fix line end problem in compare_inp_files
Add new function to force unix line ends and use it in compare_inp_files
and compare_stats.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-19 10:26:24 +01:00
DeepSOIC ed8eab273d API: Update docu strings of methods of BSplineCurve
Mainly exposing argument types and meanings, but also updating a few
descriptions by copy-paste-editing documentation of corresponding
OpenCASCADE.
2015-11-19 02:53:48 +03:00
Przemo Firszt c9cfc369d6 FEM: Use exisitng mesh property as link to mesh in result objects
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-18 11:22:02 +00:00
Przemo Firszt 3788670038 FEM: Tidy up long lines and spacing
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-18 11:21:27 +00:00
wmayer 3268acf9a2 + set object name to tool buttons with popup menu 2015-11-17 18:39:23 +01:00
wmayer 267f66539a Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-11-17 12:22:30 +01:00
wmayer c159a8ddc2 + fix inconsistencies in using DynamicProperty class 2015-11-17 12:22:07 +01:00
wmayer a839a13b59 + fix build failure with gcc 2015-11-16 23:21:47 +01:00
wmayer 78e9319587 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-11-16 22:48:00 +01:00
wmayer 1225a7ac06 + support of adding/removing dynamic properties in property editor 2015-11-16 22:47:29 +01:00
Bernd Hahnebach d37ac54c8e FEM: fix mixed line endings in VP FemMesh 2015-11-16 19:19:01 -02:00
Bernd Hahnebach 49b002beaf FEM: Mesh VP fix FreeCAD crash if not supported face is added to VP 2015-11-16 19:19:01 -02:00
Bernd Hahnebach eec2b56629 FEM: add some documentation to FemTools 2015-11-16 19:19:01 -02:00
Bernd Hahnebach 01d3b3ecad FEM: substitute some camel style variable names in frdReader 2015-11-16 19:19:01 -02:00
Bernd Hahnebach d14e79eafa FEM: use proper command to create a Mechanical Anaylsis with all properties 2015-11-16 19:19:01 -02:00
fandaL 36ffb450f1 FEM: frd import mesh 2015-11-16 19:18:11 -02:00
Przemo Firszt dee8809454 FEM, Tests: Force unix line ends for comparing calculation stats
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-16 19:15:44 -02:00
Yorik van Havre 58b41b9550 Arch: Fixed flipped Space names 2015-11-16 16:11:32 -02:00
wmayer ba21766096 + property editor handles case when dynamic property is removed 2015-11-16 15:24:36 +01:00
wmayer 4f4d747968 + fix undefined behaviour in determining grid length for planar meshes 2015-11-16 11:59:41 +01:00
Przemo Firszt 629a89218d FEM: Fix Von Mises calculation formula and update FEM test results
Reported-by: fandaL
Fixed-by: fandaL
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-14 14:53:37 +01:00
Przemo Firszt b0fbd60835 FEM: Use format to avoid error is the message is not pure string
Traceback (most recent call last):
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
229, in test_new_analysis
    ret = self.compare_stats(fea, static_expected_values)
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
147, in compare_stats
    fcc_print(sf_content)
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
55, in fcc_print
    FreeCAD.Console.PrintMessage(message + '\n')
TypeError: can only concatenate list (not "str") to list

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-14 14:53:36 +01:00
wmayer 7848d08121 + properly handle case of degenerated bounding box when creating mesh grid 2015-11-14 14:08:01 +01:00
wmayer 821cd696c5 + do not set edit mode for spreadsheet 2015-11-14 02:18:29 +01:00
wmayer 53d323b5e0 + make isReadOnly & isHidden of PropertyContainer non-virtual 2015-11-14 02:07:57 +01:00
Eivind Kvedalen 081bc6b107 QuantitySpinBox: Make sure Python code is emitted also when expressions are not used.
In that case, the property should be set directly.
2015-11-13 20:26:13 +01:00
DeepSOIC 61a3997ef2 API: update distToShape built-in docu
It was way too short, and incorrect
2015-11-13 18:13:20 +03:00
wmayer 48027e1586 + fix memory leaks 2015-11-13 16:06:43 +01:00
wmayer 45af17e39c + Code cleanup:
+ do not include header of itself
+ do not include unneeded header files
+ removed unneeded forward declarations
+ do not translate C string to get a QString
+ break too long lines
+ replace tabs with spaces
+ use virtual keyword on destructors
2015-11-13 15:47:03 +01:00
wmayer bf0d8d68bb + Add selected sketches to one Face, implement specialized view provider for Face 2015-11-13 13:38:24 +01:00
wmayer 6944658bd4 + Add parametric feature to create face from sketches 2015-11-12 19:44:24 +01:00
Bernd Hahnebach 74270c23d2 FEM: allow to make a mesh from shape without an analysis 2015-11-12 13:39:51 +01:00
Bernd Hahnebach 78ac00180f FEM: fromShape not needed modul loading deleted 2015-11-12 13:37:11 +01:00
Przemo Firszt 391cdf816d FEM: Update except catch to python3
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:41:12 +00:00
Przemo Firszt 1e8e0877f3 FEM: Windows workaround to avoid blinking terminal window
Reported-by: wmayer
Tested-by: wamyer, sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:21:21 +00:00
Przemo Firszt f74e016f30 FEM: Fix unexpected error with ccx_* unset if Popoen fails
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:20:34 +00:00
Przemo Firszt e90ed4bf65 FEM: Cheange margins in TaskPanelMechanicalAnalysis for Analysis Type
Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 21:47:36 +00:00
Mateusz Skowroński f3860faaef Fix file encoding. Go from ISO8859-1 to UTF-8. 2015-11-11 18:54:42 +01:00
wmayer 4af7d95a6d + support of linear b-spline/bezier curves and planar b-spline/bezier surfaces to get direction 2015-11-11 18:27:26 +01:00
Bernd Hahnebach e22431ea77 FEM: use ConsolePrints instead off print in beamsection and shellthickness 2015-11-11 09:14:50 +01:00
Bernd Hahnebach c6989acd55 FEM: use new selection observer class for material reference shape selection 2015-11-11 09:14:50 +01:00
Bernd Hahnebach ba394818a3 FEM: separate selection observer class from _TaskPanel shellthickness and beamsection 2015-11-11 09:14:49 +01:00
wmayer dc20525edc + don't switch tab when creating new web page 2015-11-10 17:32:55 +01:00
wmayer 7546a39b12 + Allow to open link in new web view 2015-11-10 16:40:04 +01:00
Eivind Kvedalen be5e79601a PartDesign: Fixed similar issue compared to #2302 with unit handling when using an expression for the chamfer size. 2015-11-09 21:37:24 +01:00
Eivind Kvedalen acd0f6a79e PartDesign: Fixed issue #2302 with unit handling when using an expression for the fillet radius. 2015-11-09 21:37:08 +01:00
wmayer dff58e5df3 + fix documentation of task dialog 2015-11-09 19:22:19 +01:00
wmayer d3280a0b82 + when trying to close a document then do it even if a task dialog is open 2015-11-09 19:21:56 +01:00
Bernd Hahnebach 9d856fbd7a FEM: use addItem to add list items in shellthickness, beamsection and multimat ref shape list 2015-11-08 13:44:37 +01:00
Bernd Hahnebach 5e234486b2 FEM: rename uis of python task panels to TaskPanelName 2015-11-08 09:32:01 +01:00
Bernd Hahnebach 5e001f3e15 FEM: delet unused import FreeCAD 2015-11-07 20:04:10 +01:00
Bernd Hahnebach 062895c626 FEM: sort modules in CMakefiles 2015-11-07 18:36:28 +01:00
Bernd Hahnebach c542a88e5e FEM: move CalculiX test files to test_files/ccx directory 2015-11-07 17:23:31 +01:00
Bernd Hahnebach 737fa891f8 FEM: make Init.py flake8 compatiple 2015-11-07 16:41:31 +01:00
Bernd Hahnebach b1e67a7e0a FEM: use unix linefeeds in Init.py 2015-11-07 16:41:22 +01:00
Bernd Hahnebach d10d18bd4d FEM: rename ObjectsTaskPanel into TaskPanelObjects 2015-11-07 16:41:11 +01:00
Bernd Hahnebach 7847c6fcac FEM: print console message if a task dialog is open already for beamsection and shellthickness 2015-11-07 13:24:45 -02:00
Bernd Hahnebach ea6e65f9f8 FEM: add author to material files 2015-11-07 13:24:45 -02:00
Bernd Hahnebach 81cf730791 FEM: unused imports deleted 2015-11-07 13:24:45 -02:00
Bernd Hahnebach 05a20ecc77 FEM: split MechanicalMaterial into separate modules 2015-11-07 13:24:45 -02:00
Bernd Hahnebach 49c12c5e3d FEM: use ConsolePrints instead of prints for MechanicalMaterial 2015-11-07 13:24:45 -02:00
Bernd Hahnebach 746bad9f18 FEM: shape typte test in selection of multiple material reference shapes 2015-11-07 13:24:45 -02:00
Bernd Hahnebach 3ef7d3ce3a FEM: put prints in brackets in MechanicalMaterial 2015-11-07 13:24:45 -02:00
Bernd Hahnebach cb690eca62 FEM: multiple materials, support for solids 2015-11-07 13:24:45 -02:00
Bernd Hahnebach 0c55f927f5 FEM: add getNodesBySolid()
Conflicts:
	src/Mod/Fem/App/FemMesh.cpp
2015-11-07 13:24:45 -02:00
Bernd Hahnebach 52ad0bcc9d FEM: selection of Faces and Edges as References for multiple MechanicalMaterial 2015-11-07 13:24:45 -02:00
Bernd Hahnebach cb0a48c849 FEM: add Reference selection to Mechanicalmaterial ui 2015-11-07 13:24:45 -02:00
Bernd Hahnebach 8cb6ed7d6a FEM: multiple materials for shell and beam meshes 2015-11-07 13:24:45 -02:00
Bernd Hahnebach f02ba31d02 FEM: add spaces to FemTools license 2015-11-07 13:24:45 -02:00
wmayer 94a62e015c + allow to set u/v dirs for B-Spline fit 2015-11-06 16:43:58 +01:00
wmayer 9bb0e7f75e + fix build failure on Linux 2015-11-06 14:56:19 +01:00
wmayer 0bb6dc4cf1 + add task dialog to perform B-Spline fit 2015-11-06 14:30:26 +01:00
wmayer d6bbc0ad0f + add helper classes to store names of doument and object and not a pointer 2015-11-06 14:28:03 +01:00
wmayer 8645d56acf + get initial plane fit from B-Spline fit if required 2015-11-06 00:27:33 +01:00
wmayer 25fd2adb03 + fixes #0002329: remove the 2 now obsolete Pivy versions distributed with FreeCAD source code 2015-11-05 21:26:05 +01:00
wmayer e8048a4968 + fix build failure with occ 6.9.1 2015-11-05 19:40:34 +01:00
Bernd Hahnebach 39d6d68366 FEM: use super class FemCommands for ShellThickness and BeamSection Commands 2015-11-05 17:31:03 +01:00
Bernd Hahnebach 59bafd51c0 FEM: split FemBeamSection into separate modules 2015-11-05 17:31:02 +01:00
Bernd Hahnebach 5d9954d3da FEM: split FemShellThickness into separate modules 2015-11-05 17:31:02 +01:00
Bernd Hahnebach c3328d6b4e FEM: use unix linefeeds in InitGui.py 2015-11-05 17:31:02 +01:00
wmayer 44a54e417c + (hopefully) fix build failure with occ 6.9.1 2015-11-05 17:06:04 +01:00
wmayer 3d8d6eca5e + implement mechanism to allow only a single application instance 2015-11-05 15:56:50 +01:00
wmayer 899199daf5 + move GuiApplication class into its own source files 2015-11-04 22:04:48 +01:00
wmayer e5f805a773 + optimize B-spline approximation 2015-11-04 14:39:20 +01:00
wmayer 38ca335a1f + check if pcl is built opennurbs support 2015-11-04 12:16:35 +01:00
Przemo Firszt 64950056b8 FEM: Fix typos in property definitions
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt d025f1e109 FEM: Replace invalid ElementNumbers with NodeNumbers
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt a85c68aa65 FEM: Add EigenmodeFrequency property to result object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt 9531c0b088 FEM: Add Eigenmode property to result object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt 30e2ec315b FEM: Add simple dat file reader
It's a simple CalculiX dat file reader used to extract eigenmode
frequencies after freqyency analysis.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt 3e20529210 FEM: Remove redundant base_name variable
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
wmayer 919d47015a + support of drag'n'drop for custom view provider 2015-11-03 16:21:51 +01:00
wmayer 06d3926603 + extend interface of Document.setEdit() according to the doc string 2015-11-03 12:36:29 +01:00
Przemo Firszt d2469cac6e FEM: Replace GetString with GetFloat/GetIntiger for eigenmode parameters
Reported-By: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 10:50:15 +01:00
wmayer 466d1a60b1 + optimize B-spline approximation 2015-11-03 00:55:15 +01:00
wmayer 2d4d60d2ab + allow in approxSurface() to also pass points object 2015-11-02 17:36:45 +01:00
wmayer 85ac79aaf2 + double check that internal data is valid when leaving edit mode of sketcher view provider 2015-11-02 12:42:18 +01:00
wmayer caec2d98a0 + fixes #0002321: Build failure on current (71be79e) master 2015-11-01 18:07:56 +01:00
wmayer 71be79e09e + add toggle action to context-menu of spline view provider 2015-10-31 16:10:26 +01:00
wmayer ff320f465f + ignore colour information of ply point files 2015-10-31 16:09:38 +01:00
wmayer 77f148350b + reorder include files to fix re-definition of macro BOOST_PARAMETER_MAX_ARITY 2015-10-31 13:32:01 +01:00
DaviKaur 0120942c46 Materials: New Glass Materials 2015-10-31 13:01:39 +01:00
wmayer 212e2bf19c + include pcl bspline fit into Reverse Engineering module 2015-10-30 22:06:34 +01:00
Yorik van Havre e7d16c5f62 Arch: added IFC export preference option to choose triangulation style for non-planar shapes 2015-10-28 17:24:43 -02:00
Przemo Firszt fc8e2eed64 FEM, Tests: Fix FEM tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-26 18:35:43 +00:00
Przemo Firszt 50ab6a3111 FEM: Move writing inp section headers to front of function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-26 17:17:23 +00:00
Bernd Hahnebach cc3fee5f9c FEM: print in brackets 2015-10-26 13:13:57 +01:00
Bernd Hahnebach 02be8e65ab FEM: fix in ccxfilewriter for ccxelset if multiple materials and beam mesh 2015-10-26 13:13:56 +01:00
Bernd Hahnebach 13e7841b41 FEM: edge load ccxwriter fix if duplicate edges in refshapes 2015-10-26 13:13:55 +01:00
Bernd Hahnebach e5adec94b7 FEM: ccxwriter, much more exact results for cload on edges 2015-10-26 13:13:55 +01:00
Bernd Hahnebach 9c0bcb7a7c FEM: cload in ccxwriter, some changes in preparation for adding better edge load calculation 2015-10-26 13:13:54 +01:00
Bernd Hahnebach 7b1a4f1297 FEM: add defs to make the code better reuseable for cload on edges 2015-10-26 13:13:53 +01:00
Bernd Hahnebach c74a8392de FEM: small changes in shellth and beamsec task panel 2015-10-26 13:13:52 +01:00
triplus 6fe2923d52 OpenSCAD IncreaseTolerance (edges and faces support) 2015-10-26 11:48:20 +01:00
wmayer 8fa41edc04 + fixes #0002306: Allow *.py files in the Customize/Macros/Macro dropdown 2015-10-26 09:42:27 +01:00
wmayer e3221376e1 + use right namespace for template instantiation to fix linker errors on Windows 2015-10-25 23:06:21 +01:00
wmayer 15a6a463b3 + need dummy class for FeaturePython class to work 2015-10-25 22:42:50 +01:00
wmayer a3cd03ac03 + fix comment, convert native separators to UNIX separators 2015-10-25 14:16:38 +01:00
Przemo Firszt d58ccf7fd3 FEM: Use brackets for print
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:30 +01:00
Przemo Firszt e3c081be54 FEM: Use eigenmode number to decide if we're dealing with frequency analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:29 +01:00
Przemo Firszt 098e46f686 FEM: Fix invalid check for frequency analysis
eigenmode = 0 for static and it's greater than 0 for frequency analysis.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:29 +01:00
Przemo Firszt 304e71e371 FEM: Remove imported but not used FreeCADGui
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:28 +01:00
Przemo Firszt cf979fa040 FEM: Do not activate FEM wb from ccxFrdReader
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:27 +01:00
Przemo Firszt 55bc72b7b4 FEM: Make sure result_object exist before accesing it
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:26 +01:00
Przemo Firszt bba3543efe FEM: Initialise result_object to None to fix crash on empty results
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:25 +01:00
Przemo Firszt 80b82dd955 FEM: Fix invalid check for empty resutls
Even when readResult was not producing any resuts the check was passing
fine as len({'Nodes': {}, 'Tet10Elem': {}, 'Results': []}) is 3

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:25 +01:00
Przemo Firszt 3dcc189e8b FEM: Add new properties to FEM preferences
The new properties are NumberOfEigenmode, EigenmodeHighLimit and
EigenmodeLowLimit. All 3 are linked with analysis object properties.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:24 +01:00
Przemo Firszt 6ab7a434ac FEM, Tests: Make sure eigenmode parameters are always the same.
The parameters were taken from FEM prefs, so the test could fail.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:23 +01:00
Przemo Firszt 068ba4793d FEM: Add EigenmodeHighLimit property to analysis object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:22 +01:00
Przemo Firszt 042ded01e0 FEM: Add EigenmodeLowLimit property to analysis object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:22 +01:00
Przemo Firszt fcf19ff8ec FEM: Add NumberOfEigenmode property to analysis object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:21 +01:00
Przemo Firszt 26cd01e346 FEM: Add WorkingDir property
that allows to set individual directory to be used for each analysis
object

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:20 +01:00
Przemo Firszt 8055b189be FEM: Use AnalysisType in FemTools by default
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:19 +01:00
Przemo Firszt 89b74a5231 GUI: improve App::PropertyPath directory selector
Editing direcotry in lineEdit was open to escaped character problems
i.e. \t or \n which can be pert of notmal directory path were converted
to tab or new line. Also leaving the lineEdit without hitting Enter was
discarding changes.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:19 +01:00
Przemo Firszt 15dbd1055a App: Fix typo in description of PropertyFloatConstraint
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:18 +01:00
wmayer 977411b4cc + check input of approxSurface for obviously wrong values 2015-10-25 12:46:02 +01:00
wmayer b1ea3f70da + move module Python stuff into C++ class 2015-10-24 18:16:17 +02:00
wmayer e82a780774 + move module Python stuff into C++ class 2015-10-24 18:04:53 +02:00
wmayer c336f0757c + do error checking of input values and use keywords conforming with attributes of BSplineSurface 2015-10-24 15:40:24 +02:00
wmayer fe7c3cda44 + extend Python interface of approxSurface 2015-10-23 17:56:24 +02:00
wmayer 6fecb87053 + fix documentation 2015-10-23 16:15:23 +02:00
wmayer abec1c4b1d + improve whitespaces, replace floats with doubles 2015-10-23 15:32:54 +02:00
wmayer 67d8469069 + fix bug in B-Spline approximation 2015-10-23 13:52:58 +02:00
wmayer 1c90c3794d + remove unused line in CMake file 2015-10-23 11:08:22 +02:00
Abdullah Tahiri e1dd86f0a9 Sketcher: Bug fix: unable to move geometry after addition of a constraint
=========================================================================

This fixes issue:
http://www.freecadweb.org/tracker/view.php?id=2281

Discussed in:
http://forum.freecadweb.org/viewtopic.php?p=101910#p101910

How to reproduce?
With Auto-Update mode unchecked, execute the sequence in the bug tracker. You will reach to a geometry assembly successfully solved that can not be moved.

Why?
The coincident constraint is partially redundant within the meaning of redundancy of the solver.
The solve within "addconstraint" in SketchObjectPy.cpp causes the geometry to move to meet the coincident constraint.
At the end of the solve, the initial solution used in diagnostics is no longer valid (the geometry moved). This causes a subsequente move not to be executed.

The Solution:
Recalculate just the initial solution after the addition.
2015-10-23 00:13:20 +02:00
Abdullah Tahiri fc128d357d Sketcher: Solver information: Bug fix
=====================================

When the solver converged (but did not succeed) or when the solver succeded but the solution is not OCC-valid, no error message was shown in the solver messages dialog.
2015-10-22 23:48:04 +02:00
Przemo Firszt 4fb15f2a1b FEM: Move module loading to InitGui.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-22 11:20:03 +01:00
wmayer 60c8180079 + fix initialization order in initFemGui 2015-10-22 11:11:47 +02:00
wmayer abd6e8c438 + proper exception handling of FemGui module 2015-10-22 11:01:21 +02:00
wmayer 62da38339f + allow to set parameters for surface triangulation from outside 2015-10-21 23:18:53 +02:00
J Bradshaw 726a514e3c Update README.md 2015-10-21 10:50:24 +01:00
wmayer e7a3dc48e8 + support of Python feature classes without an execute() method
+ if execute() method of Python feature is missing or if it returns false call the execute() method of the C++ feature
+ fix SketchObjectPython
2015-10-21 00:22:40 +02:00
Jose Luis Cercos Pita 74ed253f51 Improved the objects representation 2015-10-20 13:09:40 +02:00
Jose Luis Cercos Pita 9b6b171b04 Using the smart expression in the spreadsheet to manage the entities labels 2015-10-20 13:05:27 +02:00
Jose Luis Cercos Pita c16c27cd0e Merge remote-tracking branch 'upstream/master' 2015-10-20 10:53:52 +02:00
wmayer 169b2e356e + clean-up, fix and new methods added in unit test module 2015-10-19 21:51:43 +02:00
Przemo Firszt 28abf3585b FEM: remove comment lines for _CommandNewMechanicalAnalysis.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:08 +02:00
Przemo Firszt ffdc7a45df FEM: change purge_results to operate on analysis document
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:08 +02:00
Przemo Firszt 499630034b FEM: improve enabling/disabling commands
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:07 +02:00
Przemo Firszt f76933eb87 FEM: Migrate _CommandMechanicalMaterial to FemCommands
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:07 +02:00
Przemo Firszt ddb20e7329 FEM: Remove Frequency Analysis from GUI
Separate Frequency analysis button is no longer required.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:06 +02:00
Przemo Firszt 35632147ad FEM: Add new analysis properity AnalysisType
To run frequency analysis user have 2 options:
1. Run normal aalysis, set "frequency" and start ccx
2. Set Analysis Type in Analysis object properties to "frequency" and
use Quick Analysis

With that workflow we no longer need a separate button for frequency
analysis. Also it's much easier to prepare & run a dediacted analysis
for frequency calculiations and separate analysis objects for
different load cases.
2015-10-19 21:28:05 +02:00
Przemo Firszt 2c21325353 FEM: Remove not used OutputDir analysis property
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:05 +02:00
Przemo Firszt f33f573199 FEM: Change the way set_analysis_type works - use FEM prefs
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:04 +02:00
Przemo Firszt 26d18db2d3 FEM: Make sure ccx working dir is set
Also TestFem and check_prerequisities are corrected

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:04 +02:00
Przemo Firszt b79cc695a1 FEM: Add AnalysisType to Prefs and use it in analysis control window.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:03 +02:00
Przemo Firszt d5cf69b646 FEM: Make sure it's clear what failed when ccx is not set and cannot be found
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:02 +02:00
Przemo Firszt d8488027d7 FEM: Fix WorkingDir problem
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:01 +02:00
Przemo Firszt 23dd479cb9 FEM: Typo + move debug print to be the first command in calculixStarted
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:01 +02:00
Przemo Firszt 6116231e32 FEM: Rename pushButton_generate to pb_run_ccx
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:00 +02:00
Przemo Firszt 14740f9202 FEM: Rename pushButton_edit to pb_edit_inp
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:59 +02:00
Przemo Firszt 7c0a53596c FEM: Rename pushButton_write to pb_write_inp
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:58 +02:00
Przemo Firszt 50bcdaa90f FEM: Rename label_Time to l_time
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:58 +02:00
Przemo Firszt cf7f82c48a FEM: Move known_analysis_type definition to class definition
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:57 +02:00
Przemo Firszt f0951065c9 FEM: print should use brackets for python3 compatibility
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:56 +02:00
Przemo Firszt cfc2a4d1f2 FEM: Fix invalid exception raise call
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:55 +02:00
Przemo Firszt ac0f3a650d FEM: Test ccx binary before use
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:54 +02:00
Przemo Firszt 554f4f5fc9 FEM: Add documentation to FemTools
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:54 +02:00
Przemo Firszt da7d499595 FEM: Constraints should be enabled only when there is an active analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:53 +02:00
Przemo Firszt eda566e572 FEM: Use fem-constraint-pulley and fem-constraint-gear icon names
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:52 +02:00
Przemo Firszt 0b310174ee GUI: Add completer to directory selector
Directory selector now suggest directory names

Probably similar fixes should be applied to FileChooser in File mode

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:51 +02:00
Przemo Firszt 8c93b29737 GUI: Fix invalid selection mode in PropertyPathItem::createEeditor
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:51 +02:00
wmayer e416ec0dc3 + add more unit tests for bounding box 2015-10-19 17:27:55 +02:00
wmayer 861dc86093 + make FEM beam section and shell thickness ready for drag and drop 2015-10-19 14:48:07 +02:00
wmayer eff27994e5 + Do not rely on active document but active analysis object 2015-10-18 22:36:36 +02:00
wmayer 5e48d2ec33 + make Python API of Selection consistent to C++ API 2015-10-18 19:50:47 +02:00
wmayer 969b43bb64 + improve active document handling 2015-10-18 19:35:15 +02:00
wmayer 00cdea7b74 + allow to activate an analysis object from context-menu 2015-10-18 16:10:32 +02:00
wmayer 9257e9471f + allow that an object cannot be set to edit mode 2015-10-18 16:09:25 +02:00
wmayer 337a36ceb8 + write out nodes sorted by id to abaqus file 2015-10-18 12:32:09 +02:00
Przemo Firszt a0d8042bff FEM, Tests: Add setting static analysis
The tests from GUI were failing if FEM prefs were set to frequency analysis

Debugged by: sgrogan

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-17 12:20:48 -03:00
Przemo Firszt b4352a18d1 FEM, Tests: Include detailed information in test report after failure
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-17 12:20:48 -03:00
Przemo Firszt 7554d2a8a8 FEM, Tests: Close files as soon as possible
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-17 12:20:48 -03:00
wmayer ad96714fe8 + issue #0002245: BRep File cannot be written 2015-10-17 17:13:27 +02:00
wmayer 692e9e6b96 + fixes #0002291: Invalid sketch warning should allow to directly open sketch validation tool 2015-10-17 15:34:14 +02:00
wmayer 051ad564d1 + use correct context for translatable strings in ViewProviderSketch 2015-10-17 15:21:37 +02:00
wmayer 4208b0840d + truncate text when too long in message box in unit test panel and show the full text in detailed section 2015-10-17 14:33:54 +02:00
wmayer b6c2f8f822 + Allow to select item in completion box with mouse 2015-10-17 13:40:47 +02:00
wmayer efd3a494d7 + fixes #0002297: 'Export to PDF...' from drawing view does not show an error if existing file can not be overwritten 2015-10-17 00:31:30 +02:00
wmayer 9abedaf0d2 + fix & suppress msvc warnings 2015-10-16 18:26:30 +02:00
Yorik van Havre a36bf71632 Draft: fixed small bug in Draft unit test 2015-10-16 12:38:49 -03:00
Jose Luis Cercos Pita ee070344ee Slightly improved the load condition data sheet 2015-10-16 13:50:00 +02:00
Jose Luis Cercos Pita 1f74c1d413 Filtered out the bad entities from the ship before the load condition generation 2015-10-16 13:43:04 +02:00
Jose Luis Cercos Pita 1d00b9f250 Fixed the unclaimed load conditions 2015-10-16 13:00:31 +02:00
Jose Luis Cercos Pita 5467d0aec2 Created utilities to purge usless data inside the Ship instance 2015-10-16 12:58:23 +02:00
Jose Luis Cercos Pita bd594136a0 Added DATA identifier to the headers 2015-10-16 11:53:27 +02:00
Jose Luis Cercos Pita 02e908ae18 Added tooltips to the checkboxes 2015-10-16 11:53:07 +02:00
Jose Luis Cercos Pita bfebdaeb16 Merge remote-tracking branch 'upstream/master' 2015-10-16 11:15:44 +02:00
Jose Luis Cercos Pita d28faee03a Imported the areas curve tool improvements from sourceforge 2015-10-16 11:14:53 +02:00
Jose Luis Cercos Pita b8ede9747a Imported the loading conditions definition tool from sourceforge 2015-10-16 11:13:09 +02:00
wmayer 2e6c94fc8e + suppress kdl related warnings with msvc 2015-10-15 19:18:07 +02:00
Yorik van Havre 52d5b8ab7f Robot: Added missing header in KDL 2015-10-15 11:55:52 -03:00
Yorik van Havre ba2e003b92 Added changes to KDL brought after the SVN merge, where applicable
Taken from commits 470880e, df4c99f, cd0ae20, efb0823, c519989
2015-10-14 18:00:22 -03:00
Yorik van Havre 9304f7a78a Added Juergen's original changes to KDL 2015-10-14 18:00:11 -03:00
Yorik van Havre 1908e852f0 Added doxygen fixes from svn commit 3590 to KDL 2015-10-14 17:59:50 -03:00
Yorik van Havre 9f4e7c4085 Upgraded KDL to latest version 2015-10-14 17:59:25 -03:00
wmayer 85994d17b8 + replace || operator in BoundBox2D with real function names 2015-10-14 18:45:13 +02:00
Yorik van Havre 409ee71087 Path: removing leftover KDL stuff 2015-10-14 11:18:10 -03:00
Yorik van Havre e380001762 Fixed Path's cmake file 2015-10-13 17:22:05 -03:00
Yorik van Havre 167b094258 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2015-10-13 16:44:33 -03:00
Yorik van Havre e4ac34ecb0 Path: Removed KDL/Robot dependency 2015-10-13 16:44:09 -03:00
Przemo Firszt cddb6aa390 FEM: Migrate _CommandQuickAnalysis to FemCommands
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:06 +02:00
Przemo Firszt b122cb5866 FEM: Migrate _CommandMechanicalShowResult to FemCommands
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:05 +02:00
Przemo Firszt 6725c540a6 FEM: Migrate _CommandMechanicalJobControl to FemCommands
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:04 +02:00
Przemo Firszt 1ad481b435 FEM: Migrate _CommandFemFromShape to FemCommands and add new is_active type
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:03 +02:00
Przemo Firszt 217103affb FEM: Migrate _CommandPurgeFemResults to FemCommands and add new is_active type
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:03 +02:00
Przemo Firszt 044c16d218 FEM: Migrate _CommandNewMechanicalAnalysis to FemCommands
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:02 +02:00
Przemo Firszt f1f67b2298 FEM: Add FemCommand class and use it in _CommandFrequencyAnalysis
FemCommand class will gather all common functions/propertied od FEM gui
commands. That should allow to reduce some common code.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:01 +02:00
Yorik van Havre 60ac7e4cb8 Sketcher's GCS solver fixed for eigen3.3 2015-10-13 16:38:35 -03:00
Abdullah Tahiri dc224265fa Sketcher: Bug fix: Constraints dissapear after a sketch loses support
=====================================================================

Issue:
http://freecadweb.org/tracker/view.php?id=2292

Constraints dissapear after a sketch loses support

Steps To Reproduce:
1. Make a sketch on a face.
2. Constrain it
3. Select "reorient sketch"
4. Do you want to lose support? Yes
5. Click cancel on the reorientation dialog.
6. Enter edit mode: No constraints...

Why?
GeoUndef not checked when deleting all external geometry (on dettaching from the support).

Solution:
Check for GeoUndef.
2015-10-13 21:32:55 +02:00
wmayer 1d04ce9ea0 + port SurfaceFit to Eigen3 and add unit tests 2015-10-13 20:03:47 +02:00
Jose Luis Cercos Pita d63348acf9 Started the GZ tool 2015-10-13 18:39:19 +02:00
Jose Luis Cercos Pita 925b861fc0 Generated the User Interface for the GZ tool 2015-10-13 18:38:54 +02:00
wmayer 5cc7f8b10c + remove Py_TPFLAGS_BASETYPE flag for all generated Python bindings because they can't be sub-classed in Python 2015-10-12 19:59:58 +02:00
wmayer 706d159339 + fixes #0001368: Subclassing Matrix silently fails 2015-10-12 18:29:00 +02:00
Przemo Firszt aac2b26c11 FEM: Don't call _ViewProviderMechanicalMaterial in headless mode
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:59:07 +02:00
Eivind Kvedalen e2650860cc Spreadsheet: Expressions using a spreadsheet cell address are now correctly renamed when rows/columns are removed/inserted. 2015-10-11 09:41:16 +02:00
Eivind Kvedalen 29695a8ae7 Spreadsheet: Removed unused function. 2015-10-11 09:41:15 +02:00
Eivind Kvedalen a80ccb9451 Spreadsheet: Renaming an alias will now traverse the document and update expressions referencing it. 2015-10-11 09:41:15 +02:00
Eivind Kvedalen 9fe3b0146a Spreadsheet: Added alias as tooltip. Made background of cell light yellow if an alias is defined for it. Can be overridden by setting a background color. 2015-10-11 09:41:14 +02:00
Eivind Kvedalen e334ac3aed Spreadsheet: Added direct alias command. 2015-10-11 09:41:14 +02:00
Przemo Firszt 27cfcc5995 FEM: Add licence and module info to _Command files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:42 +02:00
Przemo Firszt 9b816905f1 FEM: Move _CommandNewMechanicalAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:41 +02:00
Przemo Firszt cf8ef4d9bc FEM: Move _CommandFemFromShape class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:41 +02:00
Przemo Firszt dfb2335421 FEM: Move _CommandMechanicalJobControl class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:40 +02:00
Przemo Firszt 7a0c300aa3 FEM: Move _CommandPurgeFemResults class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:39 +02:00
Przemo Firszt 039b632758 FEM: Move _CommandQuickAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:39 +02:00
Przemo Firszt fc12db7b26 FEM: Remove get_results_object from MechanicalAnalysis.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:38 +02:00
Przemo Firszt ad68cad1bf FEM: Move _CommandFrequencyAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:38 +02:00
Przemo Firszt dec1563c95 FEM: Move _CommandMechanicalShowResult class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:37 +02:00
Przemo Firszt d6392b751a FEM: Move _FemAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:36 +02:00
Przemo Firszt c5d0fd8d4b FEM: Move _ViewProviderFemAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:36 +02:00
Przemo Firszt 0f71211602 FEM: Move _JobControlTaskPanel class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:35 +02:00
Przemo Firszt e3a7a7955e FEM: Move _ResultControlTaskPanel class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:35 +02:00
wmayer a4d1dbe5f0 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer 716130c39e + fix error message in PySide check macro 2015-10-10 10:08:24 +02:00
wmayer 9aa5f7b3a5 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-10-10 09:49:05 +02:00
wmayer f295ac470a + fix warning 2015-10-10 09:48:45 +02:00
Bernd Hahnebach 48d67aa4cd FEM: fix beamsection property in CalculiX file writer 2015-10-09 17:39:40 +02:00
Bernd Hahnebach 41852c4c50 FEM: use MechanicalMaterial instead App::MaterialObjectPython in TestFem 2015-10-09 08:19:24 +02:00
Bernd Hahnebach a7f96cb838 FEM: only change MechanicalMaterial object if taskd is accepted 2015-10-09 08:19:24 +02:00
Bernd Hahnebach 57b65cf405 FEM: add space to licence according flake8 2015-10-09 08:19:24 +02:00
Bernd Hahnebach 177e0d2665 FEM: typo in GUI 2015-10-09 08:19:23 +02:00
Bernd Hahnebach b51155e289 FEM: use generic get_elset methods in CalculiX file writer 2015-10-09 08:19:23 +02:00
Bernd Hahnebach 6ece75789b add config for arcanist 2015-10-09 08:19:23 +02:00
wmayer c133457da5 + when running a bound macro check if file exists, proper unicode handling of macros in customize dialog 2015-10-08 12:37:30 +02:00
wmayer 52957ffcb5 + When adding new commands to custom toolbar set user data if required in order to move them up/down 2015-10-08 11:13:10 +02:00
wmayer 70d86ce907 + add security checks to SoBrep nodes 2015-10-07 23:08:03 +02:00
wmayer 7ca6bb4072 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 14:29:49 +02:00
wmayer b7be7aec13 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer 5a78a6ab79 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 11:32:38 +02:00
wmayer 4909d628f5 + fixes #0002287: Entry Point Not Found IsWow64Process 2015-10-07 10:24:35 +02:00
Eivind Kvedalen b68ae65f56 Sketcher: Fixed keeping sign of constraints. 2015-10-06 21:26:22 +02:00
wmayer f53a691bba + Prefer prefix ++/-- operators for non-primitive types 2015-10-06 21:16:44 +02:00
wmayer 48bf07e622 + split file extension from descriptive text of file format to avoid that invalid translation breaks file dialog 2015-10-06 18:45:06 +02:00
wmayer 967eead27a + split file extension from descriptive text of file format to avoid that invalid translation breaks file dialog
+ add method to make image view unclosable for user
+ fix possible crash in MeshAlgorithm::GetMeshBorder
+ fix possible crash in MeshAlgorithm::ConnectLines
2015-10-06 17:28:52 +02:00
wmayer 72a260cc6e + clear highlighting when re-creating shape 2015-10-06 00:19:43 +02:00
Bernd Hahnebach 24a3b27150 FEM: add brackets to print statements in CalculiX file writer 2015-10-05 18:34:07 +02:00
Bernd Hahnebach f19d4c44df FEM: rewriting some defs in CalculiX input file writer 2015-10-05 18:33:52 +02:00
Bernd Hahnebach d86b0e8f76 FEM: CalculiX writer, rename elset for solid meshes 2015-10-05 18:33:33 +02:00
Bernd Hahnebach 33fed6a630 FEM: add licence information to CalculiX inpwriter 2015-10-05 18:33:16 +02:00
Bernd Hahnebach f411000a0f FEM: add calculiX input file comment lines to FemTest input file diff 2015-10-05 18:33:01 +02:00
Bernd Hahnebach b2262058c8 FEM: visual output for beam and shellelements added 2015-10-05 18:32:38 +02:00
Bernd Hahnebach b4d99aa570 FEM: fix in ShellThicness and BeamSection 2015-10-05 18:32:18 +02:00
Bernd Hahnebach 2b89aab8f3 Fem: fix in ShellThickness selectionobserver 2015-10-05 18:25:57 +02:00
wmayer 30b5311aa4 + fix clang warnings, fix wrong characters 2015-10-05 17:59:19 +02:00
wmayer 0b47413fe1 + fix module dependency of Start and Web 2015-10-04 13:33:43 +02:00
wmayer 3998bd7f98 + fix warnings: -Wunused-private-field and -Wtautological-compare 2015-10-04 13:27:44 +02:00
wmayer c5246875b1 + remove SubWindow flag on OSX to put the expression input on top and get focus 2015-10-04 12:54:25 +02:00
wmayer aa5b388f4a + unlimit the value for occurrences 2015-10-04 10:32:58 +02:00
wmayer 36dd6946a9 + fix clang warnings 2015-10-02 23:32:01 +02:00
wmayer e4768c1c75 + fix clang warning: -Woverloaded-virtual 2015-10-02 20:42:16 +02:00
Przemo Firszt 4b00fe91ab Travis CI: Add internal tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-01 12:18:28 +02:00
wmayer 232623d372 + fix build failure on Windows 2015-09-30 16:37:48 +02:00
Eivind Kvedalen 5dc75b73bf PartDesign: bugfix, invoke ui->spinOccurrences->apply(). 2015-09-30 15:54:19 +02:00
Eivind Kvedalen 9a0c58986f PartDesign: Replaced QuantitySpinBox by SpinBox for "occurrences" input field. 2015-09-30 15:54:19 +02:00
Eivind Kvedalen cbb4c52310 SpinBox: Added expression binding functionality. 2015-09-30 15:54:18 +02:00
Eivind Kvedalen 014bb5b519 QuantitySpinBox: Moved getIcon() and some data members to ExpressionBinding class.
Conflicts:
	src/Gui/QuantitySpinBox.cpp
2015-09-30 15:54:17 +02:00
Eivind Kvedalen 5826a6ccb3 QunatitySpinBox: Removed unused code. 2015-09-30 15:54:16 +02:00
Eivind Kvedalen cab8111292 Removed PropertyExpressionEngine::getPaths() method. 2015-09-30 15:54:16 +02:00
Eivind Kvedalen 145452120c Added various options to silence warnings when compiling salomemesh with clang. 2015-09-30 15:54:15 +02:00
Eivind Kvedalen eecb6f3536 Spreadsheet: Fixed too liberal decoding of cell addresses. 2015-09-30 15:54:14 +02:00
Yorik van Havre f439208282 Merge pull request #54 from cpollard1001/DPIFixes
Made slight tweaks for high DPI displays
2015-09-29 23:45:32 -03:00
Jan Kantert a2ef7f244d properly add layer for blocks during export 2015-09-29 10:46:36 -03:00
wmayer d248e8f914 + always save macro before executing 2015-09-29 10:00:23 +02:00
Chris Pollard 4a802befbb Made slight tweaks for high DPI displays 2015-09-28 13:42:00 -04:00
Abdullah Tahiri 94851bc14f Sketcher Bug fix: External geometry shown after reorient
========================================================================

Reported here:
http://forum.freecadweb.org/viewtopic.php?f=10&t=12517&p=100388#p100429

Solution:
When a sketch loses support, all external geometry is deleted right away.
2015-09-28 11:45:06 +02:00
Abdullah Tahiri 56c29e27f7 Sketcher: Bug fix: Building Vertex Index on Restore
===================================================

The bug was introduced by myself here:
https://github.com/FreeCAD/FreeCAD/commit/47c0859c1b702b6c7d1dcf5922317c4f325f5d2e

[code]
void SketchObject::onDocumentRestored()
 {
     try {
-        rebuildExternalGeometry();
+        if(Support.getValue()) {
+            validateExternalLinks();
+            rebuildExternalGeometry();
+        }
         Constraints.acceptGeometry(getCompleteGeometry());
     }
[/code]

The issue is that "rebuildExternalGeometry" calls "rebuildVertexIndex". So for any sketch not having external geometry, if you open it, select everything and hit del, you will have a crash because
I effectively removed the creation of the index in this dossier. You won't have one if you do anything rebuilding the index before hitting del, like creating geometry, though.
2015-09-28 11:42:56 +02:00
Abdullah Tahiri 01ba165d9a Bug fix: deletion of groups of external geometry
================================================

Issue reported inter alia here:
http://forum.freecadweb.org/viewtopic.php?f=10&t=12380#p99456

How to reproduce:
1. Make an external geometry hexagon (make a hexagon, pad it, make a sketch on a hexagonal face and make all the lines external geometry)
2. Box select the external lines and press "del"

On the first pressing of "del" 3 lines were deleted and 3 remained, select again, on the second press 1 remains, select again, on the last press all are deleted.

Why?
Internal and External geometry were handled together in a single set. Group deletion of geometry is effected starting from the highest index,
so that upon deleting an element, the index of the remaining elements does not change. Handling both groups together caused that the external geometry
was actually deleted on the inversed order (as they are (decreasing) negative values for representation, but increasing positive indexes in the external geometry array).

Solution:
Internal and External geometries are handled separatedly
2015-09-28 11:14:30 +02:00
wmayer e9594501dd + use dedicated exception classes for expression and parsing errors 2015-09-27 23:17:33 +02:00
wmayer ee28daa669 + replace old C casts with static_cast in generated C++ code, remove unused parent structure of Python classes, support of -1 as return value of setCustomAttributes 2015-09-27 22:08:08 +02:00
wmayer 6fea753584 fix warnings 2015-09-27 22:05:01 +02:00
wmayer 0ef3a052c3 + ignore color of PLY file for point clouds 2015-09-27 22:04:16 +02:00
wmayer cff628737b To see if the DlgExpressionInput can be closed check if it's under the cursor
Add some test code to deal with modal dialogs on Windows
2015-09-27 16:56:44 +02:00
wmayer cc446b1c5a + fix gcc warnings 2015-09-27 11:25:39 +02:00
wmayer fa5b160887 + fix export of ASCII STL 2015-09-27 10:58:51 +02:00
wmayer 309373c404 + fix transparent background for Windows systems
+ set application-wide event filter and handle mouse press events
+ fix expressPosition() to return exact position of line edit
+ fix warnings in ui file
+ use DlgExpressionInput as non-modal dialog in QuantitySpinBox
2015-09-26 19:36:11 +02:00
Stefan Tröger 98ed315b2d Enhance expression icon
- fix size and position on kubuntu
- different icon for set or unset expression for better visual feedback
2015-09-26 19:09:07 +02:00
Stefan Tröger ae033fc046 Fix usability bugs of new expression input
- click on background closes popup
- size on open is now correct if expression is set initially
2015-09-26 19:09:07 +02:00
Stefan Tröger 96998d390a first take on alternative expression ui input dialog 2015-09-26 19:09:07 +02:00
Yorik van Havre 6a93d1392d Merge pull request #53 from wood-galaxy/equipement-fix
Arch : Fix ViewProviderComponent if vobj have not DiffuseColor attribute
2015-09-25 15:23:55 -03:00
wood-galaxy c94c203843 Arch : little fix in ArchComponent 2015-09-25 20:02:38 +02:00
wood-galaxy 9b1fc9e705 Arch : Fix ViewProviderComponent if vobj have not DiffuseColor attribute
Comment PropertyPartShape in Equipement because it
doesn't work if base object is a solid.
2015-09-25 19:48:31 +02:00
wmayer f8d3210730 + fix build failure with gcc 2015-09-25 01:19:22 +02:00
wmayer e786cfbc90 + reimplement virtual methods in PropertyExpressionEngine 2015-09-25 00:52:44 +02:00
wmayer 1059ff14fc + register python type if its dict doesn't exist 2015-09-25 00:51:38 +02:00
wmayer 202b51171c + improve ply support 2015-09-24 23:19:33 +02:00
Przemo Firszt 8c38e25377 Materials: Fix BOM problem in FCMat files
BOM is byte order mark and it was crashing ConfigParser:

Traceback (most recent call last):
  File
"/home/przemo/software/FreeCAD/build/Mod/Fem/MechanicalMaterial.py",
line 109, in setEdit
    taskd = _MechanicalMaterialTaskPanel(self.Object)
  File
"/home/przemo/software/FreeCAD/build/Mod/Fem/MechanicalMaterial.py",
line 138, in __init__
    self.import_materials()
  File
"/home/przemo/software/FreeCAD/build/Mod/Fem/MechanicalMaterial.py",
line 264, in import_materials
    self.add_mat_dir(user_mat_dirname,
":/icons/preferences-general.svg")
  File
"/home/przemo/software/FreeCAD/build/Mod/Fem/MechanicalMaterial.py",
line 245, in add_mat_dir
    self.materials[a_path] = Material.importFCMat(a_path)
  File "/home/przemo/software/FreeCAD/build/Mod/Material/Material.py",
line 57, in importFCMat
    Config.read(fileName)
  File "/usr/lib64/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
  File "/usr/lib64/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
<class 'ConfigParser.MissingSectionHeaderError'>: File contains no
section headers.
file: /home/przemo/.FreeCAD/Materials/AlMg3F24.FCMat, line: 1
'\xef\xbb\xbf; AlMg3F24 - 3.3535.26 - DIN 1725\n'

Reported-by: sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-24 11:07:23 -03:00
wmayer 8257751ef7 + fix clang build failure 2015-09-24 13:14:23 +02:00
wmayer 29c8e82dae + fixes unicode support in expression engine 2015-09-24 13:10:54 +02:00
wmayer 12050b4c7d + use escaped unicode for mesh import 2015-09-24 10:10:22 +02:00
Eivind Kvedalen 89df605c3b Expression editor: Qt-workaround for '='-key; compare with text() instead. 2015-09-24 09:53:14 +02:00
Eivind Kvedalen 0894d5bdae ExpressionCompleter: Skip all types of links when building completer model. 2015-09-24 09:52:45 +02:00
wmayer 10786c65b8 + support of unicode names for sketch constraints 2015-09-24 03:17:47 +02:00
Bernd Hahnebach 8e8ecdd36f FEM: icons for FemShellThickness and FemBeamSection 2015-09-23 20:11:11 -03:00
Bernd Hahnebach 705c339f21 FEM: added object FemShellThickness and FemBeamSection to enable shell and beam analysises 2015-09-23 20:11:11 -03:00
Yorik van Havre de1bdefc7c Merge pull request #49 from pgilfernandez/pablogil-maya
New Maya navigation style
2015-09-23 20:05:05 -03:00
Yorik van Havre 2b172a9f41 Materials: Applied rockn's bugfix in material editor 2015-09-23 19:34:50 -03:00
Eivind Kvedalen 7b39e233e3 Expression parser: Fixed parsing of numbers like 2e3 (with e/E, but without decimal part). 2015-09-23 20:05:01 +02:00
Eivind Kvedalen 28fe9b481d QuantitySpinBox: Fixed placement of expression editor pop-up. 2015-09-23 18:48:22 +02:00
Priit Laes 90ccc1cee4 build: Remove unused SoQt cmake scripts 2015-09-23 12:25:43 +02:00
Priit Laes e891ec1ba2 build: Remove unneeded f2c cmake scripts 2015-09-23 12:25:43 +02:00
Priit Laes e4cf5fab49 build: Remove unneeded ODE configuration files 2015-09-23 12:25:42 +02:00
Przemo Firszt e544a66086 Travis: run FreeCAD and check log against .log_errors
All phrases that should trigger test build failure should be
added to .log_errors, one per line.

Tested-by: sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-23 10:06:19 +02:00
Przemo Firszt f85352d93d FEM: Fix file names in MechanicalAnalysis.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt d29f3fa276 FEM: FemTools - add function documentation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt 8cd0939fff FEM: Update inp_file_name after base_name or working_directory change
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt cee4fc688f FEM: Fix icon names
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt 9ce1020d84 FEM: Fix white spaces
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt ee7beea983 FEM: Fix file paths + tidy up naming
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
wmayer 60062892a6 + backward compatibility of Linear and Polar pattern 2015-09-22 18:04:07 +02:00
wmayer b33be62bb6 + rename signal to signalRelabelObject and remove unused code 2015-09-22 17:13:03 +02:00
wmayer a8507628fa Fix warnings: -Wuninitialized in expression engine 2015-09-22 10:12:17 +02:00
Mateusz Skowroński 43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Yorik van Havre 0ce3d46e92 Materias: Fixed small bug in material editor 2015-09-21 19:49:04 -03:00
wmayer 037ec5be78 + fix build failure 2015-09-21 23:42:18 +02:00
Przemo Firszt b25d2cd54d FEM: FemTest rework
- move test files to a separate directory
- use real life model to generate .inp files (model included)
- change format of csv node/volume files to allow direct copy&paste from .inp files
- use pre prepared real-life .dat & .frd files to test analysis results loading functions
- much more fine grained error reporting
- remove empty lines for output
- add helper function to print to console

Example run of the FEM test:

--------------- Start of FEM tests ---------------
Checking FEM new analysis...
Checking FEM new mesh...
sh: SMDS_MemoryLimit: command not found
Checking FEM new material...
Checking FEM new fixed constraint...
Checking FEM new force constraint...
Checking FEM new pressure constraint...
Checking FEM inp file prerequisites...
Checking FEM inp file write...
Setting up working directory /tmp/FEM_static
Writing /tmp/FEM_static/Mesh.inp for static analysis
Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_static.inp to /tmp/FEM_static/Mesh.inp
Setting up working directory to /home/przemo/software/FreeCAD/build/Mod/Fem/test_files in order to read simulated calculations
Setting base name to read test cube_static.frd file...
Checking FEM frd file read from static analysis...
Result object created as "Results"
Reading stats from result object for static analysis...
Setting analysis type to 'frequency"
Setting up working directory /tmp/FEM_frequency
Writing /tmp/FEM_frequency/Mesh.inp for frequency analysis
Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_frequency.inp to /tmp/FEM_frequency/Mesh.inp
Setting working directory to read simulated calculations...
Setting base name to read test cube_frequency.frd file...
Checking FEM frd file read from frequency analysis...
Last result object created as "Mode_10_results"
Reading stats from result object for frequency analysis...
--------------- End of FEM tests ---------------

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-21 11:16:03 -03:00
wmayer 14b15ac095 + get Label directly 2015-09-21 14:51:13 +02:00
wmayer b936514937 + fix build problems with MSVC and libpack 2015-09-21 14:51:12 +02:00
Eivind Kvedalen 4a3de89af0 Spreadsheet: Added round, trunc, ceil, and floor functions. 2015-09-21 14:51:12 +02:00
Eivind Kvedalen 310a684251 Spreadsheet: Added auto completer. 2015-09-21 14:51:11 +02:00
Eivind Kvedalen 4d5646fa5d Spreadsheet: Replaced own Expression classed by the ones in App. 2015-09-21 14:51:11 +02:00
Eivind Kvedalen 67800ec8c4 Sketcher: Added support for expressions. 2015-09-21 14:51:10 +02:00
Eivind Kvedalen cea2e62f57 Added QStyledItemDelegate to Qt4All.h 2015-09-21 14:51:09 +02:00
Eivind Kvedalen ddfbe349cf PartDesign: Added support for expressions. 2015-09-21 14:51:09 +02:00
Eivind Kvedalen 897f8b78b8 Added expression support to QuantitySpinBox and InputField classes. 2015-09-21 14:51:08 +02:00
Eivind Kvedalen 31a6fece52 Added ExpressionCompleter class. 2015-09-21 14:51:07 +02:00
Eivind Kvedalen d7cbdf6a31 Updated Document::exportGraphviz() to visualize expression dependencies. 2015-09-21 14:51:07 +02:00
Eivind Kvedalen a8328ec092 Modified Document::recompute() to take expressions into account. 2015-09-21 14:51:06 +02:00
Eivind Kvedalen fb2b1a6ec0 Added PropertyExpressionEngine to DocumentObject class. 2015-09-21 14:51:05 +02:00
Eivind Kvedalen 8259ec6764 Added PropertyExpressionEngine class. 2015-09-21 14:51:05 +02:00
Eivind Kvedalen b052c21b16 DocumentObject: Added getOldLabel() method, preparation for renaming of object identifiers. 2015-09-21 14:51:04 +02:00
Eivind Kvedalen 3f0fc98d72 Part: Added getPaths(...) method to PropertyPartShape. 2015-09-21 14:51:04 +02:00
Eivind Kvedalen ddc22a4101 Added setValue/getValue/canonicalPath/getPaths/verifyPath methods to various Property classes. 2015-09-21 14:51:03 +02:00
Eivind Kvedalen 722a40dd41 Added Expression classes to App directory. Added Expression interface to Property base class. 2015-09-21 14:51:02 +02:00
Eivind Kvedalen 3474419925 Spreadsheet: Updated documentation. 2015-09-21 14:51:02 +02:00
Eivind Kvedalen 4f589f6d60 Spreadsheet: Use Base::fromStdString/toStdString. 2015-09-21 14:51:01 +02:00
Eivind Kvedalen bee11897a1 Spreadsheet: Fixed bug with dangling pointer when a document object is deleted. 2015-09-21 14:51:01 +02:00
Eivind Kvedalen 4d1ebeccfa Base: Added toStdString and fromStdString, to convert std::string to/from QString,
assuming std::string is utf-8 encoded.
2015-09-21 14:51:00 +02:00
Eivind Kvedalen 61cbad8a12 Spreadsheet: Removed 'using namespace App'; preparation for moving Expression
classes to App.
2015-09-21 14:51:00 +02:00
Eivind Kvedalen 98700edbca Added Base::freecad_dynamic_cast(...) 2015-09-21 14:50:59 +02:00
Eivind Kvedalen f7625481a2 Spreadsheet: Made freecad_dynamic_cast calls unambiguous (preparation for next commit). 2015-09-21 14:50:58 +02:00
Eivind Kvedalen 2206e1cd7f Added -Wno-sign-compare -Wno-reorder -Wno-switch -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment to mask warnings when compiling salomesmesh. 2015-09-21 14:50:58 +02:00
Yorik van Havre d3d7387da2 Arch: fixed bug in material dialog 2015-09-20 21:17:12 -03:00
wmayer ee59f1263c + if translation of group is done do not overwrite 2015-09-20 17:00:21 +02:00
wmayer 433efbc115 + fix possible crash in debug mode 2015-09-20 16:59:17 +02:00
wmayer cda9bf9ed5 + allow to set a default action for an exclusive group 2015-09-20 15:47:11 +02:00
wmayer ec91085765 + duplicate string array for Python commands 2015-09-20 14:11:53 +02:00
wmayer 1dad42c2f6 + fixes #0002126: Fails to load .FCStd file which contains many MultiByte-Char strings 2015-09-20 12:29:05 +02:00
wmayer bd105711d4 + delete helper file for copy/paste on application exit 2015-09-19 22:10:49 +02:00
wmayer b9a512361d + by default create a zip file for auto-save 2015-09-19 21:32:17 +02:00
wmayer 7d09444dd9 + fixes #0001237: the project file is not saved when the /tmp directory is full, but the user is not aware of it 2015-09-19 18:59:22 +02:00
wmayer bd1fc886fe + fix typo 2015-09-19 17:03:38 +02:00
wmayer 2991bbf033 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +02:00
wmayer e5c3a09502 + for file-based recovery write the data files in worker threads 2015-09-19 13:12:59 +02:00
wmayer 848f9c4d46 + implement file based auto-save & recovery mechanism 2015-09-19 01:13:33 +02:00
wmayer 8db1280a4d + make RecoveryWriter more robust 2015-09-18 15:32:33 +02:00
wmayer bb05d17596 + implement FileWriter class based on files and a specialized sub-class for recovery purposes 2015-09-17 21:37:47 +02:00
wmayer 300e176eb3 + fixes #0002268: Segmentation Fault when using sketcher 2015-09-17 13:31:10 +02:00
wmayer 32367b1744 + save Brep in binary format for recovery files 2015-09-16 22:58:47 +02:00
wmayer 739e643f2f + check returned mdi view to be of the requested type 2015-09-16 16:15:19 +02:00
wmayer b9797ec92a + To avoid possible memory leaks or inconsistencies on Document::resetEdit() call finishEditing() of view provider inside document because the editing view could be closed already 2015-09-16 14:20:13 +02:00
wmayer 6dfc395a06 + fix method ViewProviderDocumentObject::getActiveView()
+ fix SoAutoZoomTranslation and SoZoomTranslation to get correct scaling factor
(do not rely on active view because this can be the wrong one and thus delivers wrong results)
2015-09-16 11:32:35 +02:00
wmayer 470b9ff756 + add convenience method to get editing view of a view provider 2015-09-15 22:09:28 +02:00
wmayer cbfdfd5c2e + proper Python exception handling in Gui.doCommand(Gui) 2015-09-15 18:36:15 +02:00
wmayer 5652ca2c61 + fix crash due to sloppy reference counting 2015-09-15 18:19:36 +02:00
wmayer fa1d43345a + fixes #0000870: Center sketch to a constraint that has been double clicked in the constraint list. 2015-09-15 17:24:23 +02:00
Bernd Hahnebach 75fbb93180 FEM: CalculiX writer comments regarding load calculation algorithm 2015-09-15 15:30:15 +02:00
Bernd Hahnebach 4f31fc44e6 FEM: ccxInpWriter formating according flake8 2015-09-15 15:13:30 +02:00
Bernd Hahnebach 04b6024e64 FEM: update FemAnalysis class description 2015-09-15 15:13:30 +02:00
Bernd Hahnebach c618962cd0 FEM: use more obvious method names in ccxInpWriter 2015-09-15 15:13:29 +02:00
Bernd Hahnebach 84e2b9ebbf FEM: make MechanicalMaterial less noisy 2015-09-15 15:13:29 +02:00
Bernd Hahnebach 40d35f23e4 FEM: fix typo in class type definition in MechanicalMaterial 2015-09-15 15:13:29 +02:00
Bernd Hahnebach fb9f43667d FEM: delete Debug prints in ccxInpWriter 2015-09-15 15:13:28 +02:00
Bernd Hahnebach 5a2940fb82 FEM: add to ccxInpWriter: CLOAD for shell meshes and solid meshes without face data 2015-09-15 15:13:28 +02:00
Bernd Hahnebach b553d9895d FEM: TestFem, use no space in materialname 2015-09-15 15:13:28 +02:00
Bernd Hahnebach c7ab1fd98b FEM: add FEM Mesh Type to the CalculiX elementset up to date only solid is supported 2015-09-15 15:13:27 +02:00
Bernd Hahnebach bab3ec689a FEM: CalculiX file writer move getTriangleArea to helpers 2015-09-15 15:13:27 +02:00
wmayer b28680f3d8 + fixes #0002150: [Ctrl]+[Z] is buffered in a non-intuitive way, does not function in 'edit mode' 2015-09-15 14:30:15 +02:00
wmayer 7dc59751cc + fixes #0002117: problems with rendering an arc - NAN 2015-09-15 12:53:22 +02:00
wmayer 2a569497b9 + fixes #0002118: Units conversion when using Imperial decimal (in/lb) 2015-09-15 11:30:11 +02:00
wmayer 29f827a575 + do not update item while editor is active 2015-09-15 00:30:28 +02:00
wmayer a7012575d4 + fixes #0002106: Add 'Default' option in Preferences 2015-09-15 00:12:40 +02:00
sgrogan 60cd098ae9 Remove Specific Weight from .FCMat files 2015-09-14 17:36:44 -03:00
sgrogan 2d1b79cbb0 Replace Specific Weight with Density 2015-09-14 17:36:44 -03:00
sgrogan 7d771c7a36 Make alternate material directory UserAppData/Materials 2015-09-14 17:36:44 -03:00
Yorik van Havre 163d206513 Updated ts files 2015-09-14 14:31:47 -03:00
Yorik van Havre 898d27e8d8 Updated ts & crowdin scripts with latest modules and languages 2015-09-14 14:31:27 -03:00
wmayer 718982cdcf + fixes #0002223: Units not displaying correctly 2015-09-14 15:57:35 +02:00
wmayer c135ca40a5 + fixes #0002222: Number of normals in exported VRML is wrong 2015-09-14 14:45:34 +02:00
wmayer 694c409caf + minor changes 2015-09-13 23:24:12 +02:00
wmayer b9865ed4f1 + fixes #0002209: Files that have a dot in name do not get the extension 2015-09-13 21:25:18 +02:00
wmayer d3281a66eb + fix whitespace, fix notification of changed property in view provider 2015-09-13 18:46:06 +02:00
wmayer 337a84328d + fixes #0002160: Customised keyboard shortcuts: D, U conflict 2015-09-13 18:29:21 +02:00
wmayer 9f5283d001 + fixes #0001941: Refresh Property Editor 2015-09-13 15:53:59 +02:00
wmayer 043dc1616d + fixes #0002197: Buggy Placement dialog when using Euler angles 2015-09-13 15:17:44 +02:00
wmayer 8cee8992ab Merge branch 'install' 2015-09-13 10:28:23 +02:00
Przemo Firszt 140272b9d3 Travis: Add sudo make install
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-12 20:22:21 +01:00
Yorik van Havre 216a747978 Draft: bumped minimum dxf lib to 1.39 2015-09-12 15:20:51 -03:00
Yorik van Havre ac84b8171e Draft: Added fix from Draft-dxf-importer issue 6 2015-09-12 14:32:50 -03:00
Yorik van Havre 83988ca831 Draft: Added wiki instructions URL to DXFimporter download fail message 2015-09-12 14:28:25 -03:00
wmayer 9fb882b103 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-09-12 12:41:56 +02:00
sgrogan 3274f42bb0 [PATCH] fix missing drawing vs fem 2015-09-12 12:41:31 +02:00
Jon Nordby e81c4cf62a Path: Basic .rml postprocessor for Roland Modela MDX
Jog, drill, linear and arc motions works.
Tested on machine with some trivial projects,
dimensions and feedrate speeds verified.

Safe-Z/clearance command currently not respected (defaults to max height, super conservative).
2015-09-11 18:54:19 -03:00
Yorik van Havre 7189c727bc Merge remote-tracking branch 'jonnor/path-cli-fixes' 2015-09-11 18:51:17 -03:00
wmayer 29b2c9ab6c + improve code style 2015-09-11 22:00:25 +02:00
Abdullah Tahiri 47c0859c1b Sketcher: Bug fixes: inability to create links to external geometry
=================================================================

First bug: Inability to create links to external geometry as described here:
http://forum.freecadweb.org/download/file.php?id=16668

Second bug: FC crashes on changing the support after having imported external geometry as described here:
http://forum.freecadweb.org/viewtopic.php?f=10&t=12380

and solving this ticket:
http://www.freecadweb.org/tracker/view.php?id=2225

Solution to first bug:

If for some reason a sketch ends up having a list of external geometries (property) that can not be recreated (rebuilt),
they remain latent, do not show the external elements in the elements widget or in the screen and prevent adding the
elements again.

In cases where the saved file contains invalid external geometry links (which will give raise to a handled exception that would prevent external geometry creation),
this condition gets detected during restore and the invalid links are deleted before external geometry creation, so as to allow the rest of external links to be recreated.

Solution to second bug:

It is also related to invalid external links (the link was existing, but upon change on the support, it is possible that an external edge is no longer valid, reduction of edges in support).
This situation is detected upon entering into edit mode, and the invalid ones are deleted.

Note that there is still the possibility for the user to remap an invalid sketch BEFORE editing, if the remapping is successful, it may not be necessary to delete links (all depends on the
specific case).
2015-09-11 21:25:58 +02:00
wmayer 185735ca2c + fixes #0002258: Silent uninstall blocks on MessageBox, fixes #0002056: Support silent (de)installation using NSIS 2015-09-11 19:43:20 +02:00
wmayer 4d776eb03f + fix warning in smesh headers 2015-09-11 18:52:26 +02:00
wmayer 731b2567b3 Mod/Sandbox: Remove -Wunused-result warnings. 2015-09-11 18:42:25 +02:00
wmayer 9da3580b3d WildMagic: Remove -Wunused-result warnings. 2015-09-11 18:20:49 +02:00
wmayer 5ef9039f5e zipios++: Remove -Wunused-result warnings. 2015-09-11 18:11:11 +02:00
wmayer 470880ebed Mod/Robot: Removed -Wreorder warnings. 2015-09-11 16:48:36 +02:00
wmayer 7f0c5b5f23 Mod/Robot: Removed -Wunused-variable warnings. 2015-09-11 16:14:17 +02:00
wmayer df4c99f157 Mod/Robot: Removed -Wsign-compare warnings. 2015-09-11 16:09:11 +02:00
wmayer 1f1660a860 Mod/Robot: Removed -Wunused-result warnings. 2015-09-11 15:45:21 +02:00
wmayer 98ab26ce12 Mod/Sketcher: Removed -Wreorder warnings. 2015-09-11 15:34:34 +02:00
Eivind Kvedalen b4ee6b9be6 Mod/Spreadsheet: Removed unused method. 2015-09-11 15:24:12 +02:00
Eivind Kvedalen e0f3ab2473 Mod/Spreadsheet: Removed -Wsign-compare warnings. 2015-09-11 15:23:37 +02:00
wmayer 4d9af51470 Mod/Path: Removed-Wuninitialized warnings. 2015-09-11 15:19:18 +02:00
Eivind Kvedalen 1f93879a0c Mod/Path: Removed -Wunused-but-set-variable warnings. 2015-09-11 15:16:02 +02:00
Eivind Kvedalen cbee95494e Mod/Path: Removed -Wunused-function warnings. 2015-09-11 15:13:58 +02:00
wmayer c05baee29a + fix warnings in Fem 2015-09-11 15:11:55 +02:00
Eivind Kvedalen 6d84d419c2 Mod/Fem: Removed -Wunused-variable warnings. 2015-09-11 14:52:32 +02:00
wmayer 99348d3a5b + fix cmake issue caused by patch 2015-09-11 14:47:47 +02:00
wmayer ec898944af + don't use hardcoded height in PropertyItemDelegate::sizeHint 2015-09-11 10:35:48 +02:00
Johannes Obermayr 9bceab911b Robot: Fix last -Wreturn-type warning.
Since getTypeName() returns None for None and default both must be handled the same way in other switches.

After applying following bug will be fixed:
http://www.freecadweb.org/tracker/view.php?id=2212
2015-09-11 07:18:07 +02:00
Johannes Obermayr 79ae0091ad libarea doesn't depend on parts from CMAKE_INSTALL_LIBDIR
Fixes:
 -- Installing: /home/abuild/rpmbuild/BUILDROOT/FreeCAD-0.15.99+git20150727.1925-1.1.x86_64/usr/lib64/FreeCAD/lib/area.so
 CMake Error at src/Mod/Path/libarea/cmake_install.cmake:53 (file):
   file RPATH_CHANGE could not write new RPATH:

     /usr/lib64/FreeCAD/lib

   to the file:

     /home/abuild/rpmbuild/BUILDROOT/FreeCAD-0.15.99+git20150727.1925-1.1.x86_64/usr/lib64/FreeCAD/lib/area.so

   No valid ELF RPATH or RUNPATH entry exists in the file;
2015-09-11 07:18:07 +02:00
Johannes Obermayr 2b9da837d7 Avoid build time on generated files from pyside-rcc and pyside-uic.
Fixes build compare:
[ 3218s] RPM file checksum differs.
[ 3218s] Extracting packages
[ 3232s] /usr/lib64/FreeCAD/Mod/Arch/Arch_rc.py differs (Python script, ASCII text executable, with very long lines)
[ 3232s] --- old//usr/lib64/FreeCAD/Mod/Arch/Arch_rc.py2015-01-21 20:26:34.000000000 +0000
[ 3232s] +++ new//usr/lib64/FreeCAD/Mod/Arch/Arch_rc.py2015-01-23 11:41:24.000000000 +0000
[ 3232s] @@ -2,7 +2,7 @@
[ 3232s]
[ 3232s]  # Resource object code
[ 3232s]  #
[ 3232s] -# Created: Wed Jan 21 20:26:34 2015
[ 3232s] +# Created: Fri Jan 23 11:41:24 2015
[ 3232s]  #      by: The Resource Compiler for PySide (Qt v4.8.4)
[ 3232s]  #
[ 3232s]  # WARNING! All changes made in this file will be lost!
2015-09-11 07:18:07 +02:00
Przemo Firszt 7446930f69 FEM: Fix invalid update_displacement reset call
Reset parameter is not an option, empty parameters list call does the resetting.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-10 14:04:38 +01:00
Abdullah Tahiri 53320b260e Sketcher: Renaming old get Coincident functions and introducing a extended one
==============================================================================

What is this?

method

getCoincidentPoints

actually only included (as indicated in the documentation comment) those points coincident by a single constraint.

That is not "all the coincident points".

However some methods currently using it are expecting exactly that (coincident points linked by a single constraint).

A new method is introduced:
const std::map<int, Sketcher::PointPos> getAllCoincidentPoints(int GeoId, PointPos PosId);

that provides all the points coincident with the given one, directly (via a single constraint) or indirectly (via multiple coincident constraints).

The old method is renamed to:
getDirectlyCoincidentPoints

So as to have a more meaningful name to differentiate between both methods.
2015-09-09 22:57:49 +02:00
Abdullah Tahiri 82e41125da Sketcher bug/feature request: arePointsCoincident/coincidence creation
======================================================================

1. SketchObject::arePointsCoincident upgraded to check for indirect coincidence.
2. Coincidence constraint creation now checks for indirect coincidences and avoids
creating redundant coincidence constraints (for example during box selection).
2015-09-09 22:56:14 +02:00
Abdullah Tahiri 224b3ec7d7 Sketcher: Improvement: Horizontal/Vertical Autoconstraint creation with External Geometry
=====================================================================================

This fixes a bug related to:
http://www.freecadweb.org/tracker/view.php?id=2093

that during creation of a geometric element if a vertical/horiz autoconstraint is to be enforced, it is not enforced if the endpoints of the geometric element under creation are
coincident with external geometry.

According to the discussion here:
http://forum.freecadweb.org/viewtopic.php?f=10&t=12254&sid=eacf5bdee068cb71cc54dc5a62a6849d&start=20#p99359

this fixes the bug.

It does not fulfil the request on the ticket as it was decided to still allow an explicit addition of a vertical/horizontal constraint, as
it may be needed in some cases and the user expects to be able to add them, even if it will lead to an overconstrained sketch.

How to reproduce?
1. Create a rectange
2. Pad it
3. Create a new sketch on a face
4. link two corners as "external geometry" (but not the ones of a diagonal)
5. Create a line coincident with the first and second corners, so that the line is horizontal or vertical

In master it will force horiz or vert leading to a overconstrained sketch.
With this patch, the horiz/vert will not be enforced in this case.
2015-09-09 22:50:36 +02:00
wmayer 003199d6df + fix possible loss of data with recovery function, show auto-save message in status bar 2015-09-09 18:49:45 +02:00
Przemo Firszt 32c96b4267 Tests, FEM: Add test for frequency analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 12:17:12 -03:00
sgrogan 8cfc4b66be Remove Hardcoded Icons from Drawing and Mesh WB 2015-09-09 12:15:55 -03:00
Przemo Firszt 25b501e215 FEM: Add reset_all funcion to FemTools
reset_all groups purge_results, reset_mesh_color and reset_mesh_deformation

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:50 +02:00
Przemo Firszt 0ba28a5ba6 FEM: Add function documentation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:49 +02:00
Przemo Firszt 89d795ff90 FEM: Add option to limit max value of result being used to color FEM mesh
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:48 +02:00
Przemo Firszt b516e35b19 FEM: Add frequency analysis to FEM wb
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:47 +02:00
Przemo Firszt 7bf1bcdec3 FEM: Add get_results_object function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:46 +02:00
Przemo Firszt d52ad7e4bf FEM: Raise exception on use or load of non existing results
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:46 +02:00
Przemo Firszt 2f681ab928 Material: Add generic glass FCMat file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:45 +02:00
wmayer cff386e210 + easier way to change license and url of an existing document 2015-09-09 13:53:07 +02:00
Jon Nordby 685865ce31 Draft: Fix typos in circleFrom2PointsRadius()
Can't have been used in a while...
2015-09-08 21:19:43 +02:00
Jon Nordby 6f89398b07 Path: Allow PostUtils to be used in CLI mode 2015-09-08 21:19:43 +02:00
Jon Nordby b195afc8ca Path: Fix unable to import from CLI
Need to guard 'import FreeCADGui' in this case.
2015-09-08 21:18:31 +02:00
wmayer 3c10cd1af2 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-09-08 19:17:58 +02:00
wmayer bd94486c7e + fix inconsistencies between license note and url 2015-09-08 19:17:36 +02:00
Yorik van Havre c515004611 Draft: Further typos in DraftGeomUtils 2015-09-08 13:18:22 -03:00
Yorik van Havre 9972dfbec9 Draft: fixed typo in DraftGeomUtils 2015-09-08 12:41:49 -03:00
Yorik van Havre f1b21bf01d Added Tools/githubstats.py script to check download stats from github 2015-09-08 00:18:31 -03:00
Yorik van Havre 98e9dd08ac Preferences->Document->License URL field is now editable 2015-09-07 20:10:02 -03:00
Yorik van Havre 6b792952c3 Draft: Added preference setting to use the new C++ dxf importer 2015-09-07 16:46:08 -03:00
Mateusz Skowroński b4e3fcb428 Fix for bugs #2236 & #2237 2015-09-07 15:28:18 -03:00
Yorik van Havre 23b1ed5c79 Arch: Fixed imports in ArchRoof 2015-09-07 15:10:29 -03:00
wmayer 7f9aa7b4a5 + add method to write/read BREP in binary format 2015-09-07 19:02:56 +02:00
Yorik van Havre 3665b77827 Draft: Added a pref option to disable SVG page scaling on import - fixes #2062 2015-09-05 23:35:52 -03:00
wmayer 4da63d1d03 + fixes #0002238: Python: Environment Variable 'path' with mutated vowel 2015-09-05 14:52:06 +02:00
Yorik van Havre 220afa90db Extending doxygen stuff for Draft & Arch 2015-09-04 19:14:36 -03:00
Yorik van Havre bfad821cf2 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2015-09-04 19:14:04 -03:00
wmayer 134acba916 + fix switching to another mdi view when using the sketcher creation command from task panel 2015-09-04 21:34:26 +02:00
wmayer 568f2634fe + fix switching to another mdi view when using the sketcher creation command from task panel 2015-09-04 21:06:56 +02:00
Yorik van Havre 39035fc252 Draft: Prepared support for dimensions in new DXF importer 2015-09-04 16:05:32 -03:00
wmayer 1fa67d08d8 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-09-04 17:53:58 +02:00
wmayer 16f813281c + issue #0000175: Auto save function 2015-09-04 17:53:22 +02:00
Yorik van Havre fa550f0957 Arch: bigger default section plane - fixes #2189 2015-09-04 12:49:03 -03:00
Yorik van Havre 989a5fa933 Draft: fixed precision problem - fixes #1940 2015-09-04 12:43:09 -03:00
Yorik van Havre 91b2506ccc Changed all references to DraftGeomUtils.sortEdges to Part.__sortEdges__ 2015-09-04 11:54:57 -03:00
wmayer 9cb63295e9 + issue #0000175: Auto save function 2015-09-04 15:08:12 +02:00
wmayer 9253572afe + implement GUI to enable/disable auto-save and its timeout 2015-09-04 00:48:26 +02:00
wmayer a811a3bf03 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-09-03 19:09:33 +02:00
wmayer 60b555d64b + implement auto-save function for documents 2015-09-03 19:09:03 +02:00
Yorik van Havre 3dfc22231e Part.__sortEdges__ now reorients edges if needed 2015-09-03 11:17:46 -03:00
wmayer ada32f936a + allow to create a compound from a single part object 2015-09-03 13:19:21 +02:00
Yorik van Havre 60e63e12d6 Draft: Allow Clones to clone a group 2015-09-02 20:07:17 -03:00
wmayer 26b424e776 + support of exclusive Python command groups 2015-09-02 22:52:04 +02:00
Yorik van Havre a90fd14fe7 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2015-09-02 13:41:32 -03:00
Yorik van Havre da2c497671 Added SaveCopy command
This command saves a copy of the current document under a new name,
without modifying the document itself.

Available in menu File -> Save a Copy or from python with
FreeCAD.ActiveDocument.saveCopy(filename)
2015-09-02 13:38:14 -03:00
Yorik van Havre 0d9dc9414d Draft: fixed display mode of objects converted from sketches - fixes #2166 2015-09-02 13:37:00 -03:00
wmayer e461f65552 + fix build for FreeBSD 2015-09-02 18:06:37 +02:00
wmayer 49dfb24267 + Fix suffix for Korean 2015-09-02 18:06:14 +02:00
wmayer 890f1f10c3 + fix linking error in Sandbox module 2015-09-02 14:08:43 +02:00
Alexander Golubev 0603c3fb61 App/DocumentObserver: make slot methods unimplemented rather pure-virtual and clenup derived classes accordingly 2015-09-02 13:54:44 +02:00
Alexander Golubev 3f8350157a put -Wall flag before the user specified flags 2015-09-02 11:08:16 +02:00
wmayer 993a8a8583 + fix build failure in debug build type 2015-09-01 19:39:34 +02:00
wmayer 979d1299cc + fix various warnings with gcc 2015-09-01 19:29:39 +02:00
Yorik van Havre 9426a77690 Fixed crash when empty lines in App::Annotation - fixes #2016 2015-09-01 11:48:08 -03:00
Yorik van Havre d0e43137ce Draft: Fixed translation again 2015-09-01 10:50:23 -03:00
Yorik van Havre d38863538c Merge branch 'master' of github.com:FreeCAD/FreeCAD 2015-09-01 10:47:47 -03:00
Yorik van Havre 2aff34eab8 Draft/Arch: Used new PropertyVectorDistance where needed 2015-09-01 10:47:25 -03:00
Yorik van Havre 4daf44b925 Draft: Fixed small issue in translation 2015-09-01 10:46:21 -03:00
wmayer 3a4e93bb3d + implement method getPointNormals 2015-09-01 14:59:14 +02:00
wmayer 9846e52ed9 + fix flaws in class PropertyVectorDistance 2015-09-01 13:49:01 +02:00
wmayer 86a7ed44e0 + fix various warnings with VC++ 2015-09-01 12:50:10 +02:00
Yorik van Havre e19e7336cd Added new property type: App::PropertyVectorDistance
This works exactly as a normal PropertyVector, but it
uses the Units-enabled GUI editor instead.
2015-08-31 22:57:29 -03:00
Yorik van Havre 1ed0ec974a Arch: Fixed crash when loading old files 2015-08-31 18:17:29 -03:00
Abdullah Tahiri 650f3282d5 Sketcher: Rename of the "Defaults" button of the advanced solver dialog
=======================================================================

Just renaming the button and adding a tooltip as discussed here:
http://forum.freecadweb.org/viewtopic.php?f=8&t=12180&start=30#p98221
2015-08-31 13:58:12 +02:00
wmayer 3807cbdb23 + improve whitespaces 2015-08-31 13:53:48 +02:00
Abdullah Tahiri 27bace846e Part Design: Bug fix Sketcher tools Menu in Part Design Menu
============================================================

As per forum request:
http://forum.freecadweb.org/viewtopic.php?f=10&t=11840&start=40#p97205

This actually was a bug of last year when I wanted to introduce it, coded it, but failed to actually make it shown.
2015-08-30 12:08:46 +02:00
Abdullah Tahiri 35b1b5bb04 Sketcher: SelectElementsAssociatedWithConstraints added to tools toolbar
========================================================================

By express request:
http://forum.freecadweb.org/viewtopic.php?f=10&t=11840&start=40#p97202
2015-08-30 12:08:46 +02:00
Abdullah Tahiri 927fca0ece Sketcher: Bug fix addGeometry list creation and construction lines
==================================================================

A recent improvement was to allow to create an object (several geometric elements) as construction lines
by providing an additional parameter as true (that defaults to false).

This introduced a bug, that when a list of geometries mixing construction and normal lines was added (with the parameter as false),
construction lines would be converted to normal lines.

This fixes the bug.
2015-08-30 12:08:45 +02:00
Abdullah Tahiri 9583ce4c70 Sketcher: Clone Copy and Sketcher Mirror icons by Jim 2015-08-30 12:08:45 +02:00
Abdullah Tahiri d795eb2b7d Sketcher: New Functionality: Mirror full sketch
===============================================

Support for mirroring a full sketch.

A dialog appears allowing to select X, Y axis mirroring or mirroring about the origin of the sketch.
2015-08-30 12:08:44 +02:00
Abdullah Tahiri 0e01764f0b Sketcher: UI Copy/Clone as a single dropdown toolbar icon
=========================================================

This commit provides with a single toolbar button to select between a copy and clone.

Copy just copies the constraints.
Clone modifies the dimensional constraints to geometric constraints, so that the constrained geometry follows the changes in the original object.
2015-08-30 12:08:44 +02:00
Abdullah Tahiri 97d551b551 Sketcher: Extension of Copy/Array functionality to clone
=============================================================

This commit allows the user to select in advance whether he wants a simple copy or a clone.

This involves substitution of dimensional constraints in the copies by equality and parallel constraints.

Terminology change for Arrays, now it is Rectangular array
2015-08-30 12:08:43 +02:00
Abdullah Tahiri 6ea93a4a04 Sketcher: Symmetry/Copy/2DLinearArray art by Jim
SVG and XPM icons for copy and array creation by Jim
2015-08-30 12:08:42 +02:00
Abdullah Tahiri 6a16910ba5 Sketcher: UI Copy Support & 2D Array python command rework
==========================================================

- Support for copying geometric elements in the sketcher with Ctrl+C (or using the still missing icon). It will show you the vector of displacement from the
"reference point". The reference point can be chosen by the user (although it is not necessary to do it so) by making the point the user wish to be the reference point
the last selected element. It conveniently incorporates "autoconstraints", so that you can make this point (the one of the copy) directly coincident with any other point in the sketch.

- Python 2D array command modified to lock elements position using construction lines and constraints.
- Support for different spacing between u and v directions (the direction of the cols and the direction of the rows).

- Support to avoid copying DistanceX and DistanceY constraints when used for locking a point. This means that if the geometry that you copy(array) is
fully constraint, the resulting 2D array is also fully constraint.

- UI support for creating 2D linear arrays in the sketcher.
- Bug fix in python addArray, wrong line copy startingpoint calculation fixed.

How to create a 2D array in the sketcher:
1. Select your geometric elements.
2. Click the button
3. Fill in the rows/cols and preferences on spacing and constraining each element of the array
4. Click Ok
5. Define the direction of the cols of the array and click
2015-08-30 12:08:42 +02:00
Abdullah Tahiri ee43612125 Sketcher: AddSymmetric End-to-End point tangency bug fix
========================================================

For a while End-to-endpoint tangency is implemented via AngleViaPoint constraint. The code was not recalculating the "value" of the constraint in this case.

This also forces to set the geometry first and constraints afterwards, as the AutoLockTangencyAndPerpty function requires a valid GeoId to operate (not a big deal anyway).

Correction of the condition to allow the symmetry when a single line is mirrored about a point pertaining to a geometric element.
2015-08-30 12:08:41 +02:00
Abdullah Tahiri 3eb8f21116 Sketcher: New Features: Python copy and array commands
======================================================

Two new python commands (no UI yet).

Copy: Copies the geoids in a list by a displacement given by a Vector3d:

App.ActiveDocument.Sketch001.addCopy([0,1,2,3,4,5],App.Vector(150,150,0))

Array: Copies the geoids in a list cols times in the displacement vector
direction and rows times in the perpendicular to the displacement vector:

App.ActiveDocument.Sketch001.addArray([0,1,2,3,4,5], App.Vector(150,150,0),3,4)

N.B.: You need to recompute or solve to update the view

App.ActiveDocument.recompute()

or

App.ActiveDocument.Sketch001.solve()
2015-08-30 12:08:40 +02:00
Abdullah Tahiri 359e9a5d78 Sketcher: New Feature: Symmetric tool
=====================================

Creates geometry symmetric to the selected one with respect to the last selected point or line.

It does not support the following constraints:

- Angle
- Horiz/vertical distance
- SnellLaw

Horizontal and Vertical (directional) dimensions removed from the the copying process when created
on a single edge (by picking one edge instead of two points), i.e. Constraint involving only one GeoId at "First".
2015-08-30 12:08:40 +02:00
Abdullah Tahiri fbc6ed5c77 Sketcher: Bug fix: Wrong solver information upon failed solve
=============================================================

http://forum.freecadweb.org/viewtopic.php?f=10&t=11341&start=80#p92820

...I already have a minor bug, if you insert a conflicting dimensional constraint,
the solver information is not updated, the work-around is to hit "Manual Update".
2015-08-30 12:08:39 +02:00
Przemo Firszt bade81ddcf Doc: Quarter doc main page is not FreeCAD documentation main page
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-30 11:59:21 +02:00
wmayer 32bcbda232 + fix various warnings 2015-08-30 11:48:26 +02:00
wmayer cac09437c8 + fix various warnings 2015-08-29 23:01:19 +02:00
wmayer 13fa571c41 + fix 'switch' warnings 2015-08-29 22:26:48 +02:00
wmayer f7eb1ef924 + fix various warnings 2015-08-29 22:12:33 +02:00
wmayer cb16fec6bb + fix various warnings 2015-08-29 22:05:09 +02:00
wmayer 1a12d109e9 + fix strict-aliasing warnings 2015-08-29 19:48:08 +02:00
wmayer 023de9b0f8 + fix author notice 2015-08-29 18:49:16 +02:00
Alexander Golubev 4fcbff9d34 Mod/Complete: suppress a minor warning
The warning was dedicated to using of char as an array index.
2015-08-29 18:36:04 +02:00
Alexander Golubev 2d6e82fb2c Mod/Robot: fix yet another warning (potentialy harmful)
Warning was -Woverloaded-virtual
2015-08-29 18:36:03 +02:00
Alexander Golubev d2176be234 Mod/Spreadsheet: fix yet another warning (potentialy harmful)
Warning was -Woverloaded-virtual
2015-08-29 18:36:02 +02:00
Alexander Golubev a8634f09fc 3rdParty/salomesmesh: suppress several small warnings
Warnings was about a struct declared as type and as usual added several
additional brackets.
2015-08-29 18:36:01 +02:00
Alexander Golubev c3dfc7e30c 3rdParty/salomesmesh: fix a couple error-prone warnings
The Warnings was about hiding bases class RemoveElement() and
RemoveFreeElement() virtual methodes which may caused calling wrong
function by bases class pointer.
2015-08-29 18:36:01 +02:00
Alexander Golubev cf652c8410 Mod/Mesh: suppress bunch of warnings on C++11 usage
Warnings was like:
src/Mod/Mesh/App/WildMagic4/Wm4Vector4.cpp|21 col 49| warning: first declaration of static data member specialization of 'ZERO' outside namespace 'Wm4' is a C++11 extension [-Wc++11-extensions]
2015-08-29 18:36:00 +02:00
Alexander Golubev de2f8a26b2 Mod/Spreadsheet: suppress warnings
Warnings was:
src/Mod/Spreadsheet/App/Expression.cpp|788 col 20| warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2015-08-29 18:35:59 +02:00
Alexander Golubev bbbefaf188 Mod/Sketcher: suppress warning
Warning was:
src/Mod/Sketcher/Gui/CommandConstraints.cpp|1031 col 28| warning: '&&' within '||' [-Wlogical-op-parentheses]
2015-08-29 18:35:58 +02:00
Alexander Golubev cd9488daf7 Mod/Sketcher: add missing brackets in conditions
Warning was:
src/Mod/Sketcher/Gui/CommandConstraints.cpp|131 col 99| warning: '&&' within '||' [-Wlogical-op-parentheses]
2015-08-29 18:35:58 +02:00
Alexander Golubev 95f0decaa5 Mod/Robot: fix missing return statement
Warning was:
src/Mod/Robot/App/kdl_cp/chainjnttojacsolver.cpp|46 col 5| warning: control may reach end of non-void function [-Wreturn-type]
2015-08-29 18:35:57 +02:00
Alexander Golubev cd0ae20ef5 Mod/Robot: fix some spaces and a couple of warnings
Warnings wsa:
src/Mod/Robot/App/kdl_cp/chaindynparam.cpp|105 col 5| warning: control may reach end of non-void function [-Wreturn-type]
src/Mod/Robot/App/kdl_cp/chainidsolver_recursive_newton_euler.cpp|82 col 5| warning: control may reach end of non-void function [-Wreturn-type]
2015-08-29 18:35:56 +02:00
Alexander Golubev efb08237ac Mod/Robot: fix spacing and add a couple of FIXME's
It's to be considered to delete the class ChainIkSolverVel_pinv_nso:
it seems it's not used anythere and unmantained/unfinished for many years.
2015-08-29 18:35:55 +02:00
Alexander Golubev 4326c9657e Gui: fix constructor arguments due to prototype change
Warning message was:
src/Gui/DownloadManager.cpp|295 col 54| warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
2015-08-29 18:35:55 +02:00
Alexander Golubev 80941aa0e0 Gui & Mod/Sketcher: use fabs() instead abs()
Warnings was like:
src/Mod/Sketcher/Gui/DrawSketchHandler.cpp|350 col 28| warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
Also see:
http://forum.freecadweb.org/viewtopic.php?t=10920
http://forum.freecadweb.org/viewtopic.php?f=10&t=5258
2015-08-29 18:35:54 +02:00
Alexander Golubev 774dac17ac salomesmesh: suppress several warnings
Warning was like:
src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Mesh.cpp|1028 col 5| warning: add explicit braces to avoid dangling else [-Wdangling-else]
src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp|7377 col 27| warning: '&&' within '||' [-Wlogical-op-parentheses]
2015-08-29 18:35:53 +02:00
Alexander Golubev b714b8f4ad salomsmesh: fix more bad conditions
warning was:
src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Penta_3D.cpp|832 col 9| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
2015-08-29 18:35:52 +02:00
Alexander Golubev a48d05e2bf salomesmesh: fix an error because of bad priorities in logial operators 2015-08-29 18:35:52 +02:00
Alexander Golubev 75ce52f6b8 salomesmesh: fix broken conditions
Warnings was:
src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp|617 col 19| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
||   bool isAlgo = ( !anHyp->GetType() == SMESHDS_Hypothesis::PARAM_ALGO );
||                   ^                 ~~
src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp|2165 col 31| warning: '&&' within '||' [-Wlogical-op-parentheses]
||       if ( !aMinStr.IsEmpty() && !aMinStr.IsIntegerValue() ||
2015-08-29 18:35:51 +02:00
Alexander Golubev 09c7179389 salomesmesh: fix function missing return statement
3rdParty/salomesmesh/src/SMESHDS/SMESHDS_GroupOnGeom.cpp|95 col 3| warning: control may reach end of non-void function [-Wreturn-type]
||   }
2015-08-29 18:35:50 +02:00
Alexander Golubev 5aa4679847 salomesmesh: fix tests in conditions
Lots of warnings like:
src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Command.cpp|57 col 6| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
||         if (!myType == SMESHDS_AddNode)
||

Most of them resulted in conditions being always false.
2015-08-29 18:35:50 +02:00
Alexander Golubev f5cd28fc53 Pivy: suppress warning
Warning was:
src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh.cpp|2303 col 31| warning:
'&&' within '||' [-Wlogical-op-parentheses]
||       !hasConstructionFaces() && elem->GetType() == SMDSAbs_Face ||
||       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2015-08-29 18:35:49 +02:00
Alexander Golubev 4b992c27bb Pivy: fix several warnings
Warnings like:
    warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]

All was due to small defined size of the onstack array.
2015-08-29 18:35:48 +02:00
Alexander Golubev 554d8f4078 Pivy: Fix a compiller warning with wrong check
Warning was:
src/3rdParty/Pivy-0.5/coin_wrap.cpp|244969 col 15| warning: comparison of function 'time' not equal to a null pointer is always true [-Wtautological-pointer-compare]
||           if (time != NULL) {
||               ^~~~    ~~~~

This one supposed to be a copy-paste typo.
2015-08-29 18:35:46 +02:00
wmayer 6a18530a8d + if FreeCAD is not running in Gui mode do not replace Python std. output 2015-08-29 17:22:40 +02:00
wmayer c3656ad646 + replace assert() to avoid crash 2015-08-29 16:34:36 +02:00
Yorik van Havre f70d5be2b7 Arch: Fixed DAE export - fixes #2219 2015-08-28 17:46:52 -03:00
Przemo Firszt daa024cc79 Material: Add missing Density fields using Tools
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:59:02 +01:00
Przemo Firszt fdb782c5c7 Materials: Add Materials.ods file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:59:02 +01:00
Przemo Firszt 729c1b4a73 Materials: Add Tools for FCMat<->ods conversion
Testing and proofreading by sgrogan

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:51 +01:00
Przemo Firszt 285ad9dbfa Materials: Update Readme.txt
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt 84a88c4d2f Material: Add TEMPLATE.FCMat file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt d2c7366f9a Material: Clean material files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
wmayer 8ec1bab139 + fixes #0002229: some ttf fonts make Draft.makeShapeString crash 2015-08-26 22:56:37 +02:00
wmayer a801fb20b8 + disable SVG and IDTF export for 3d view 2015-08-26 22:11:53 +02:00
wmayer 99fc24ea07 + fixes #0002221 2015-08-26 19:24:00 +02:00
wmayer 84a65a53ef + remove method View3DInventor::dumpSelection 2015-08-26 18:58:59 +02:00
wmayer 04cb2d4411 + code refactoring for VRML and Inventor export 2015-08-26 18:55:14 +02:00
wmayer a7a1edbc64 + restore old axonometric behaviour 2015-08-26 13:44:01 +02:00
Yorik van Havre d13179b63f Arch: IFC exporter now exports cloned Arch objects with shared geometry 2015-08-25 22:11:40 -03:00
wmayer 27dc80c846 + support of checkable commands 2015-08-25 18:01:37 +02:00
wmayer 1e745a6a6f + improve formatting 2015-08-25 15:11:42 +02:00
Yorik van Havre 70550739b6 Arch: IFC importer now treats objects with shared shapes as clones 2015-08-21 11:42:42 -03:00
wmayer 60707fc256 + algorithm to split a segment from the mesh 2015-08-20 08:49:22 +02:00
Przemo Firszt 15d7369de8 FEM: Force consistent DENSITY formatting
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-18 13:44:28 +01:00
Przemo Firszt 5e3dc0c2c9 Tests, FEM: Fix inp file writing test
It's a compare line-by-line without comment lines now instead of
previously used md5 sum comparison.

inp pre filtering method suggested by Far-Zer
File location fixes by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-18 13:44:28 +01:00
Yorik van Havre 53eb0dd758 Arch: Minor fix in OBJ exporter - fixes #2216 2015-08-17 20:27:19 -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 6d1cb3c97a Draft: Small fixes in the new DXF importer 2015-08-17 11:48:02 -03:00
Bernd Hahnebach 0c82efe57a Arch: fix in import structural analysis ifc 2015-08-14 18:14:30 -03:00
Yorik van Havre 62c0a19071 Added preferences setting for default App::Annotation color 2015-08-13 23:12:00 -03:00
Yorik van Havre c733370cee Adapted cmake files for changes made in previous commit 2015-08-13 16:08:23 -03:00
Yorik van Havre 617088284c Merge branch 'master' of github.com:FreeCAD/FreeCAD 2015-08-13 15:55:43 -03:00
Yorik van Havre f64678a7ee Removed old StartPage files (cf debian bug #726805) 2015-08-13 15:55:21 -03:00
wmayer 4dee0663c3 + test command to show race conditions in Console class
+ fix race conditions in Console class
2015-08-13 18:57:52 +02:00
Yorik van Havre 9d10f3e026 Draft: Added text support to new DXF importer - issue #2205 2015-08-13 10:06:43 -03:00
wmayer 790714712a + avoid slow heap checking in debug mode when loading a mesh file 2015-08-12 17:51:22 +02:00
wmayer ab8d8a04ad + check for null pointer when trying to get associated view provider of a document object 2015-08-12 17:44:29 +02:00
wmayer c79662e35b + fix include dirs for DraftUtils 2015-08-12 17:34:09 +02:00
Yorik van Havre 51cff8f0c3 Draft: Added blocks support to the new dxf importer #2205 2015-08-12 10:23:55 -03:00
Bernd Hahnebach 73808aa15d Arch: remove trailling white spaces 2015-08-11 20:55:16 +02:00
Bernd Hahnebach 4dc09efd0d Arch: added object types to struct ifc import 2015-08-11 11:05:16 -03:00
Bernd Hahnebach aec3ab60cb Arch: add options to import structural engineering ifc 2015-08-11 11:05:16 -03:00
Yorik van Havre d5f80ff61c Draft: Starting a C++ DXF importer - issue #2205 2015-08-10 19:55:59 -03:00
Yorik van Havre 4f6a50ac27 Fixed git link in readme 2015-08-06 11:11:04 -03:00
Yorik van Havre 7fd2157ab0 Nicer readme file with screenshot 2015-08-06 11:08:26 -03:00
wmayer 13bf1a9cf5 + make FEM unittest more platform independent 2015-08-05 11:31:14 +02:00
Przemo Firszt f395f38d09 Tests, FEM: Add missing Density and update md5 of standard inp file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-05 11:02:37 +02:00
Przemo Firszt 95a7083267 Gui: add missing X11 lib
Code by wmayer
2015-08-05 11:02:36 +02:00
Yorik van Havre 192dca36c5 Draft: small bugfix - fixes #2159 2015-08-04 23:58:46 -03:00
Yorik van Havre 8c222a8c51 Draft: small bugfix - issue #2162 2015-08-04 23:50:33 -03:00
Yorik van Havre 2bc0826c77 Arch: Reintroduced support for custom subvolumes for windows 2015-08-04 22:18:30 -03:00
wmayer 76c0f55ebe + make mesh merge more performant 2015-08-04 11:32:52 +02:00
Yorik van Havre b4ea012edc Mesh: Added Mesh Merge command
This command joins selected mesh objects into one
2015-08-03 15:46:30 -03:00
Yorik van Havre cfbcd3a6f3 Arch: Encoding fix in DAE importer 2015-08-03 15:45:47 -03:00
wmayer 617bd8c859 + re-insert removed line 2015-08-03 10:53:36 +02:00
wwmayer e7441149f0 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer 92a65a8b5b + remove option to build deprecated cam module 2015-08-01 10:47:46 +02:00
Przemo Firszt bc442592d2 Tests, Units: Add Density test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
Przemo Firszt f808f03302 Tests, Units: Fix formatting
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
Przemo Firszt 7d8fb99cea Units: Add Density to internal schema
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
Przemo Firszt d380187ef3 FEM, Material: Add DENSITY to inp files and basic material files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
Przemo Firszt b85c4430bd FEM: Fix invalid stdout/stderr variable names
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:13 -03:00
Yorik van Havre 2475be5fa1 Arch: more fixes in IFC importer 2015-07-31 12:56:13 -03:00
wwmayer 9196591803 + write message to start make 2015-07-31 01:27:48 +02:00
wwmayer 8da4f1dd1d + fixes #0001322 2015-07-31 00:37:05 +02:00
wwmayer 059bbdc496 + write more informative error messages for missing libraries 2015-07-30 23:22:44 +02:00
Yorik van Havre 5ae28eb038 Arch: small bugfix in IFC importer 2015-07-30 11:53:57 -03:00
Yorik van Havre 686f2adc58 Draft: small cosmetic fix to DXF importer 2015-07-30 11:53:18 -03:00
wmayer d71d8943cb + handle single quote when writing XML 2015-07-30 11:52:50 +02:00
Przemo Firszt d371cff4f2 FEM: Rename Fem_Quick_Analysis icon to fem-quick-analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt b5c08388b8 FEM: Rename Fem_Result icon to fem-result
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt 35f506d369 FEM: Rename Fem_Purge_Results icon to fem-purge-results
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt 4c813656ea FEM: Rename Fem_NewAnalysis icon to fem-new-analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt 2a3409b4a6 FEM: Rename Fem_Material icon to fem-material
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt facb110329 FEM: Rename Fem_Inp_Editor icon to fem-inp-editor
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt 6ca8a12525 FEM: Rename Fem_FemMesh_createnodebypoly icon to fem-fem-mesh-create-node-by-poly
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt bb1a41f15e FEM: Rename Fem_FemMesh icon to fem-fem-mesh-from-shape
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt c9c28a8690 FEM: Rename Fem_ConstraintPulley icon to fem-constraint-pulley
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt dc35235863 FEM: Rename Fem_ConstraintPressure icon to fem-constraint-pressure
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt 1d766e9677 FEM: Rename Fem_ConstraintGear icon to fem-constraint-gear
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt 5674ca802e FEM: Rename Fem_ConstraintForce icon to fem-constraint-force
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt 93b24a1ab7 FEM: Rename Fem_ConstraintFixed icon to fem-constraint-fixed
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
Przemo Firszt 505b4ba8d3 FEM: Rename Fem_ConstraintBearing icon to fem-constraint-bearing
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:33 -03:00
Przemo Firszt 7a71e14a78 FEM: Rename Fem_Analysis icon to fem-analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:33 -03:00
Przemo Firszt 337881348c FEM: Rename Fem_AddPart icon to fem-add-part
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:33 -03:00
Przemo Firszt b88706bcd4 FEM: Rename Fem_AddMaterial icon to fem-add-material
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:33 -03:00
Przemo Firszt f3d82fd9fa FEM: Rename Fem_AddFemMesh icon to fem-add-fem-mesh
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:33 -03:00
Przemo Firszt 1d0d6dfe07 FEM: Tidy up icons ResultDisplacement, ResultStress and Result
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:33 -03:00
Przemo Firszt 5f4f6047e3 Tests, FEM: Add inp file writing test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 10:58:19 -03:00
Przemo Firszt b9676cf7ee FEM: Prepare ccxInpWriter for automated tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 10:58:19 -03:00
Przemo Firszt 461e506c41 FEM: Add command only when GUI is up
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 10:58:19 -03:00
Przemo Firszt 1de29d0ffa Test, FEM: Refactor existing tests as preparation for full analysis test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 10:58:19 -03:00
Yorik van Havre 8d4510fd29 Arch: further encoding fixes in IFC importer 2015-07-29 10:47:49 -03:00
Yorik van Havre 2515a69626 Arch: always use utf8 encoding when using ifcopenshell 2015-07-28 20:53:11 -03:00
wmayer ae7a53f4c1 + cmake policy CMP0054 2015-07-28 17:30:00 +02:00
wmayer 4cf84fe9d2 + update template module 2015-07-28 15:07:27 +02:00
wmayer b81482d597 + harmonize Coin3D cmake variables with official check 2015-07-28 14:55:15 +02:00
wmayer 7d98705396 + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer 953ff71e99 + fix linking error on area module with clbundler 2015-07-28 11:44:37 +02:00
Przemo Firszt cc7fa5b28c Test, FEM: Add pressure constraint test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 16:25:01 -03:00
Przemo Firszt 3ef54f66bb Test, FEM: Add force constraint test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 16:25:01 -03:00
Przemo Firszt 32ebdf8e6f Test, FEM: Add fixed constraint test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 16:25:01 -03:00
Yorik van Havre e80fc80be3 Arch: search for movable children in groups too 2015-07-27 16:18:48 -03:00
Przemo Firszt 89b609ea8d Tests: build with -j2
Suggested & tested by saso
2015-07-27 14:03:44 +01:00
Przemo Firszt 0bfe92e83e Test, FEM: Add mesh test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 14:03:44 +01:00
Przemo Firszt 632a554802 Test, FEM: Add new analysis test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 14:03:44 +01:00
Przemo Firszt 14c36da81d Test: Fix formatting in TestApp.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 14:03:44 +01:00
Przemo Firszt 472b4943ce FEM: Remove no longer relevant comment. QuickAnalysis solved the problem
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 14:03:44 +01:00
Przemo Firszt a9b28e541b FEM: No need to have ViewObject in _ViewProviderFemAnalysis init
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 14:03:44 +01:00
Przemo Firszt f5ad8ca415 FEM: Don't import FemGui when it's not required
This is part of preparation to create automated FEM wb tests

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 14:03:44 +01:00
wmayer ddac5eed60 + fix crash in MeshCurvature::ComputePerVertex for empty meshes 2015-07-27 12:17:16 +02:00
wmayer 51f0e99d7b + use nodefaultlib linker flag for modules 2015-07-27 11:52:19 +02:00
wmayer d95003e92c + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer 7c517e7620 + change axonometric view 2015-07-25 17:51:18 +02:00
wmayer 4319548f08 + fix typo in 'axonometric' 2015-07-25 16:54:18 +02:00
wmayer b5475db2de + create MODULE libraries in given directory 2015-07-24 22:56:18 +02:00
wmayer 2bbbeaafd2 + make area build with LibPack 2015-07-24 19:23:06 +02:00
wmayer b045896ce2 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-07-24 16:45:31 +02:00
Przemo Firszt 6bd0501e53 CI: Add libboost-python-dev
Latest travis build failed at cmake stage:

CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1202 (message):

  Unable to find the requested Boost libraries.

  Boost version: 1.46.1

  Boost include path: /usr/include

  The following Boost libraries could not be found:

          boost_python

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the

  directory containing Boost libraries or BOOST_ROOT to the location of

  Boost.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-24 10:00:50 +01:00
Yorik van Havre cad1db484b Path: fixed clang warnings in libarea 2015-07-23 23:28:33 -03:00
Dan Falck 6d4bd04c9b changed the way points are compared for equality 2015-07-23 23:17:15 -03:00
Dan Falck 56fad0cceb cleaned up area cmake again 2015-07-23 23:17:15 -03:00
Dan Falck 98a32d7982 added BSD license, removed shared lib for C++ 2015-07-23 23:17:15 -03:00
Dan Falck a6bb9a5e80 added CMakeLists for libarea 2015-07-23 23:17:15 -03:00
Dan Falck afd2f27bdc somehow I forgot to add this earlier 2015-07-23 23:17:15 -03:00
Dan Falck 0d5aee2f62 removed dxf related files and code that used them 2015-07-23 23:17:15 -03:00
Dan Falck 797a6f1ddb initial add of libarea files 2015-07-23 23:17:15 -03:00
Przemo Firszt f52401715d CI: Remove building on master only
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-23 15:47:29 +01:00
Przemo Firszt e742d473a6 CI: Add a test to .travis.yml
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-23 10:52:06 -03:00
Przemo Firszt 15bcb20d44 Typu in .travis.yml
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-23 10:52:06 -03:00
Yorik van Havre 34f1450cbd Arch: Fixed encoding in filenames 2015-07-22 17:51:55 -03:00
Przemo Firszt dff298c5b0 CI: Add initial .travis.yml file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-22 15:07:11 +01:00
wmayer de636242b3 Merge branch 'master' of git://github.com/FreeCAD/FreeCAD 2015-07-21 00:05:57 +02:00
Yorik van Havre fcefdc0a8d Draft: small fix in DXF importer 2015-07-20 10:27:25 -03:00
Sebastian Hoogen 519d93fa4f remove sourceforge git url 2015-07-19 20:27:04 +02:00
Yorik van Havre c2bedaeb96 Arch: small fix in windows - fixes #2193 2015-07-19 12:10:46 -03:00
Pablo Gil 18c63c1ee4 + improved comments 2015-07-19 11:27:20 +02:00
Pablo Gil 9e9cbfb1a7 + Maya navigation style 2015-07-18 19:33:05 +02:00
wmayer 36249a64ce + use variables instead of hard-coded library names 2015-07-17 14:54:02 +02:00
wmayer 1b58ec8bb7 + simplify dependencies in CMakeLists.txt files 2015-07-17 12:18:44 +02:00
wmayer 74e397c869 + eliminate cmake variable QT_QTCORE_LIBRARY_DEBUG 2015-07-17 11:33:49 +02:00
wmayer bb9f43746f + eliminate cmake variable Boost_DEBUG_LIBRARIES 2015-07-17 11:05:25 +02:00
wmayer 40cd060c5b + replace PYTHON_LIBRARY with correct variable PYTHON_LIBRARIES 2015-07-16 19:29:56 +02:00
wmayer 0b1da87302 + eliminate cmake variable QT_DEBUG_LIBRARIES 2015-07-16 19:06:20 +02:00
wmayer 6b3d7b17a7 + implement onDelete for Python proxy of view provider 2015-07-16 16:13:39 +02:00
wmayer 3241b1ece1 + Support preference pages for Python widget class 2015-07-16 00:10:23 +02:00
wmayer 62c6a61b8b + fix cmake variables related to debug/release libraries of Qt 2015-07-15 13:33:31 +02:00
Przemo Firszt ea0cc96c15 3rdParty: Remove boost-numeric, ANN and atlas
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-15 10:27:54 +01:00
wmayer 945638c405 Path: Fix a further warning 2015-07-14 19:12:46 +02:00
wmayer e6621ea78c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-07-14 19:05:39 +02:00
wmayer 3a00aa5918 + fix wrong vertical size policy of task groups 2015-07-14 19:05:12 +02:00
Yorik van Havre 9b476e140d Path: Several fixes suggested by wmayer 2015-07-14 12:23:40 -03:00
wmayer 44ae0d7ae7 + fix mesh smoothing panel 2015-07-14 17:02:38 +02:00
wmayer 2ce0fac098 + set a minimalistic style sheet on task panel 2015-07-14 16:27:49 +02:00
wmayer 5273c47c1b + fix layouting problem due to bad implementation of minimumSizeHint() in ActionPanel and ActionGroup 2015-07-14 14:22:00 +02:00
sgrogan 4d2e81796d [PATCH] Fix dependency on QtCored4 and icons 2015-07-13 10:52:02 +02:00
wmayer a369791665 + issue #0002053: Support of themes 2015-07-12 23:59:26 +02:00
wmayer a5619f3bb6 + issue #0002053: Support of themes 2015-07-12 23:12:05 +02:00
wmayer f7644fc9f3 + issue #0002053: Support of themes 2015-07-12 22:54:56 +02:00
sgrogan b52ab25322 + by default disable bundled pivy and enable use of FreeType on all OS 2015-07-12 15:59:09 +02:00
wmayer 18f0ec61eb + fix crash in ViewProviderFemMesh::setHighlightNodes when values out of range 2015-07-12 10:47:57 +02:00
wmayer 2f25170763 + write out product name if defined to IGES/STEP files 2015-07-11 14:05:47 +02:00
wmayer 7bd6dccac7 + support user template parameter file for branding 2015-07-11 12:46:55 +02:00
wmayer 66de19b162 + improve loading splash screen of branded application 2015-07-11 02:59:56 +02:00
wmayer d6d9264f25 + fix possible crash when application icon is empty 2015-07-11 01:12:52 +02:00
wmayer b3970f63ba + implement missing types in FemMesh.addFace 2015-07-10 11:01:17 +02:00
wmayer af793f16b0 + event to restore/clear action style scheme 2015-07-09 23:08:10 +02:00
wmayer 82a4eb0cec + apply Debian patch: unittest to stdout 2015-07-09 15:29:45 +02:00
wmayer 18a770f616 + Fix crash when passing emtpy argument list to Path.Tooltable 2015-07-09 13:14:11 +02:00
wmayer ce5ce0f933 + implement SystemPanelScheme and use for Linux 2015-07-09 12:12:51 +02:00
wmayer 5fc3370235 + fix possible inconsistency of arrow button in task header 2015-07-08 22:23:24 +02:00
wmayer 1eb76ba48c + support dynamic property 'fold' in TaskHeader 2015-07-08 20:22:21 +02:00
wmayer 5b3d50afc4 + use icon of style sheet for task header
+ fix size issue with task panel
+ enable QSint task panel
2015-07-08 15:17:49 +02:00
wmayer df04df01f7 + add QSint test widget 2015-07-07 17:43:23 +02:00
wmayer 7b37841fdc + reset built-in scheme when setting global style sheet 2015-07-07 12:35:48 +02:00
wmayer 997001bbd9 + usage of QSint 2015-07-07 12:34:20 +02:00
wmayer b738537452 + add QSint scheme for FreeCAD 2015-07-07 11:45:57 +02:00
wmayer 61db2cb15e + extend QSint API, fix problems with Qt macro 2015-07-07 11:42:24 +02:00
wmayer 83bef31698 + add QSint source to build 2015-07-07 11:41:20 +02:00
wmayer bf97878f37 set export macro for QSint 2015-07-07 11:33:21 +02:00
wmayer 36241de2c6 + remove test class TaskPanelView 2015-07-07 11:25:31 +02:00
wmayer 3299e0c377 + add license notice 2015-07-07 11:10:54 +02:00
wmayer f71f962f54 + Add QSint sources 2015-07-07 11:10:13 +02:00
wmayer cc281d482e + move branding stuff from main() to FreeCADApp 2015-07-07 00:52:13 +02:00
Przemo Firszt 1470a32533 FEM: suppress some non error console messages
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:52 +02:00
Przemo Firszt bf1accec06 FEM: get noisy if ccx produces something in stderr
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:51 +02:00
Przemo Firszt f6bf3f3055 FEM: show ccx exit code if the code is not 0
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:51 +02:00
Przemo Firszt c87c15946c FEM: raise exception is no analysis is specified or found in __init__
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:50 +02:00
Przemo Firszt 9a7151863c FEM: reset results_present on purge_results
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:49 +02:00
Przemo Firszt 3d94464ba4 FEM: add use_results to allow selecting results by name
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:49 +02:00
Przemo Firszt e850604cdf FEM: Rename set_result_type to show_result
show_result by default shows Von Mises strass

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:48 +02:00
Przemo Firszt 52c453bdba FEM: add show_displacement to FemTools
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:47 +02:00
Przemo Firszt ff742beb97 FEM: Add multi-thread calcs
Slightly modified code by kwahoo
2015-07-06 19:21:46 +02:00
Przemo Firszt b45190fb4d FEM: Add Quick Analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:46 +02:00
Przemo Firszt 7f9e50a22b FEM: Allow to run inp writing/ccx in separate thread
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:45 +02:00
Przemo Firszt 4c4e76aa2b FEM: Use check_prerequisites from FemTools
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:44 +02:00
Przemo Firszt 3187141dfe FEM: move writing inp file to FemTools module
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:44 +02:00
Przemo Firszt e0956f67f3 FEM: Add basic FemTools module
That module will handle in the future all non-gui related features
that are currently in MechanicalAnalysis.py. It will allow easier
python scripting and greater flexibility when creating new FEM wb
features.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:43 +02:00
Przemo Firszt 2abdcf3b57 FEM: Move check_prerequisites to helpers section
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:42 +02:00
Przemo Firszt 5816bf1871 FEM: Move prepare_analysis_objects out of _JobControlTaskPanel class
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:41 +02:00
Przemo Firszt 81ff338236 FEM: Rename object to analysis_object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:41 +02:00
Przemo Firszt d250dc0425 FEM: Remove no longer used tempfile import
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:40 +02:00
Przemo Firszt c8436a94d6 FEM: Fix and activate setting working directory for Calculix
Also add FEM preferences option to define working ccx directory

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:39 +02:00
Przemo Firszt 99d07fbd9a FEM: rename obj to move descriptive analysis_obj
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:39 +02:00
Przemo Firszt 28b0a8bb77 FEM: Split prepare_analysis_objects from check_prerequisites
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:38 +02:00
Przemo Firszt 67714c5025 FEM: Temporary dir is only used by ccxInpWriter, so move it there
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:37 +02:00
Przemo Firszt f83520b2cc FEM: Remove out of date comments
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:37 +02:00
Yorik van Havre 3f4e55a474 Initial merge of Path module branch
authors: Yorik van Havre, Dan Falck, Brad Collette, Frederik Johansson, Dmitry Platonov,

eb4fd6c Path: moved colors preferences page to Path group
f4e5d70 a little more work on auto tool change
99a6e2f tied tool numbers in ops to last loaded tool
2d6fcda no need to select object for tooltable edit
b53eb15 Path: Fixed path bug #10 - Tooltableeditor
d6e996f Path: Fixed path bug #36 - Finish editing
16fe598 Path: Fixed path bug #37: labels in compound dialog
22dc594 Bugfix in pocket, was producing strange arcs due to a rounding error Path doesnt render values such as:-4.4408920985e-16 produced by python
9aae1d5 Make Gcode editor restore its size and position from last opened
b44e1d6 Move addToProject to PathUtils
71b727a Make all tools show its correct icon in the tree
86b32e0 Further simplify the code and fix issue in PathHop
e63b6b7 Simplify code and make automatic project creation more consistent across tools
261bfa3 Add ability to have external orocos-kdl library instead of the suplied in FreeCAD, used in Robot and Path workbenches
95efa27 Drilling-rapid to first location before moving Z
73537d6 I forgot to parse the SubObjects of the selection
044c23d improvements to drilling selection and properties
347fe62 small improvement to PathKurveUtils sorting
95ffe39 formatting
1003968 split full circles
27b19c2 added basic feedrate to PathKurveUtils
372ef57 Path: removed Path_rc and DemoParts from Cmake
98705ad using toBiarcs for paths based on splines
32663e5 slight startpt/endpt simplification
fd8f258 parametric start and end pts to PathKurve
b5e4761 still working on pathkurvetutils and points
01bf423 worked out clockwise profile paths
2825191 fixed typo
5a87872 still working on start and stop points for kurve
7fe77bc allowing points for start and stop of path
cb57d1b making ptlist consistant
3f2bf6c improvements to PathKurve
e3765a0 added libarea for pofile op-still much work to do
c882df2 small fix for adding arcs to edgelist
2cbac06 forgot Path_rc.py
45bf437 applied fix for windows icons not showing
61dbe07 PathUtils code cleanup
9d49cb8 Fix SortPath if no offset is specified
332eca0 split SortEdges and MakePath in prep for using kurve_funcs from HeeksCNC
799f1f1 tweaking visualization a bit
ba8eee6 small change back to way project holds toolpath for visualization
5ca4984 applied Werner's kdl patch
14c93be added units to tlo,revised centroid post
3c6341d Path: fixed spaces missing in file reading
10c20f9 removed editor button from project and post work
68ff118 removed stock command added small function to find last z value
0b71f92 tidying up profile a bit
fe8b4e9 moved the findtool function to PathUtils
4441695 Path: Exposed Command.transform() to python
09ed1d1 Path: Added a default empty preferences page
6ff0689 forgot to add the PathFromShape.py file
d6e3c4a added simple python proxy for PathShape So that it can be inserted into the Project tree automatically. Later, we can connect the base object to the shape so that it changes if the base shape is changed.
f5ca514 clean up of PathCopy.py
8336b96 moved Path from Shape to New Operation menu
7e73998 made PathCopy a child of the Project/Compound
7674b37 missed a modified file for unit handling
9aa1327 small change to account for pathcopy being InList
c35a109 PathPost doesn't barf now if the user rearranged the project.
09c4a1f working on Machine properties again
4bc32a4 more view property fixes
a453ad2 set defaults from post
3b051cb more property changes
ef5a015 reorganized properties.  Used PropertyLength/Distance in Drilling
311a059 made it so that the viewprovider settings would stick
e427303 fixed post function
3e528dc removed post processor file property from PathProject and added it to PathMachine
58a5339 added Machine object to hold post processor file name and tooltable information. Moved the cornermin,cornermax bounding box of machine to it. Haven't connected post processor file output from it yet, will do that next. Disconnected path output from Project object. It is really just a Group now that holds all the other path objects. Posts will now have to parse the objects inside it to get gcode. I think we are already doing that with the linuxcnc post and I plan on doing that with future posts. Removed a lot of view properties from lots of objects that don't need them. Use mode=2 and vobj.setEditorMode('LineWidth',mode) as an example of that. Removed placement property for things like PathComment because it doesn't make sense to try to alter placement of nongeometric things.
dd8b831 adding properties for using units
f84a2cc Multiple selection of points and circles for drilling.
f3d645a added viewprovider for drill icon in object tree
f564462 changed R plane behaviour for G81 drill cycle
85a056d added a few more drill/tap/bore cycles,changed z to R plane between drill cycles
9312ef9 Path: Added 3D representation of G81, G82 and G83 drill ops
0ed19d5 A stab at pathpocket with some reasonable properties and stepping down.
da9d6b5 forgot a quote mark
1c49c8d changed icon for optional stop
b7eb50e First bit of work on drilling.
4b3bc52 moved where comments and optional stops are located
3e9fbd7 added optional and mandatory stop commands
9e94269 added comment object
c3e44f5 removed a few properties
7cf86d7 automatic populating of tool numbers based on active ToolNumber
b607843 added tool length offset and load tool commands, made PathCompound accept objects that PathProject removed
8a93d54 reworked linuxcnc_post to use commands natively and not toGCode()
85f2cfd PathPost command now handles more cases including generic. Adds a simple dumper post to get raw commands.
aa827fa added G43 tool length offset
b1bf6d3 added new post, modded Profile for comments, fixed ZClearance in Profile
2fd5f2c added post process command and button
3cf6107 forgot about adding a file to cmake again
77f8a7f added new post, rearranged icons,modified PathProject
7e6adf3 added active property to PathPocket
d6b479a fixed stock, added active/inactive to a few ops
9a96b72 added pathplane and made fixture and pathprofile automatically populate or even create a project
d214281 forgot to add the actual script needed for stock
1adf36a added PathStock for material visualization
2ef30ea fixed bug in fixtures and changed icon
7b3e9dd made fixtures go inside a Path Project
6143c9a fixed JSON encoding error
c46cb2b added simple script to use the ToolTableEditor`
fc70a4d Turned Compound & Project into python objects
a1b9127 trying to fix segfualt
1bbf53e repaired fixture offsets
739e387 missing import. revised for new structure.  Creates multiple paths again.
38f2d25 added missing import
1837645 adding parameters to PathCompound
208bfdb Path: New pre/post interface
a252be1 rearranged and added some parameters to PathProject and PathCompound
9fa6278 Path: Added safe height property to project
de6812e made the icon a bit thicker
25beab0 merging Path-Copy with Path-Fixture
5cfffdc added icon for fixture offsets
af18281 Path: Added Path Copy object
89865ef pre support tool change and spindle speed (partially)
e9960f7 changes to opensbp post only.
421c12b Path: Fixed bug in paths with no move
272a11d added linuxcnc_post.py back to cmake
715c72b removed unused files
4ea4e18 added fixture offset script, removed unneeded scripts
855a3e0 fix for toolchange to get Tnumber to show
64f497c Path: Fixed unresponsive import/export dialogs
51c7a9e revert example post to simple form
5e25f3a Renamed pre_ and post_ scripts to _pre and _post
9837f3f first pass cleanup
9a42cee Path: Fixed scripts search path
3467a73 Path: search for pre & post scripts in user dir too - fixes #12
b46e527 Path: fixed precision bug - closes #25
c65fc05 added another post from sliptonic
718f499 Path: Enabled comments in Paths
ea0952f Path: Added preference color for machine extents
7578467 Path: Implemented machine properties  - issue yorikvanhavre/FreeCAD#8
1ae3a7d minor change to comment location
49f742d added Spindle Speed to profile
2a4374c added a second post processor example
5278d46 worked on sorting, reversing, sorting, and more sorting
7bc81bf separating selection function from PathUtils
64dd77c Path: small fix in absolute/relative coords
f435303 face selection works again
fa7074f rolled back and took another try at discretizing curves
ae1ff5b changed discretizing slightly
8e47d16 added discretizing of bezier curves to toolpaths
e85e087 fix for open wires/profiles worked on sorting again
a9a8a29 worked out arc segments over 180 degrees but not full circles yet
073a4a0 refactoring where sorting takes place
6723052 one more time on the sorting
050221c arc direction and path order-still problems but better
d7a79b1 I think I worked out backwards arc problem
a721aae corrected final depth on profile
4f07f01 I forgot to add the file for the previous commit
8eac175 combined ConvGcode and PathSelection into PathUtils
488a593 added some profile utility functions
4c4e0b2 worked on arc moves and reordering
cf04c3a Path: Added Hop tool and added arcs handlingin PathShape
417e9c7 Path: removed Tool number from dressup
4cedb9d Path: Fixed dressup
1b7e79f Path: Added UsePlacements property to compounds
8241513 Path: Added Dressup + fixed cmake + enabled python view provider
9721037 Path: Update bounding boxes when drawing path
9d8192e Path: Split compound into compound and project objects
250cdc7 Path: Added Drilling tool
8939e03 Path: Added translation file
466fe54 Path: Added an initial rapid move to FeatureShapes
7dfab6f Path: Added pocket tool
795f3c0 Path: added a ShowFirstRapid property to the path viewprovider
21e1272 Path: show number of tools in compound's task dialog
8dde2c5 Path: Added Profile tool
32b3fc1 Path: Added GUI import/export
fa1db60 Path: allow to import heeks tooltables and removed c++ workbench
e8c5a3a Path: Fixed tooltable editor
29fd0e4 Path: Allow pre scripts to return a list to create a compound
1eec4bd Path: Tooltable editor (BUGGY)
3ee661d Path: updated Path module dependencies in cmake
7137e04 Path: Added UI to reorder children of a path compound feature
3fb7073 Path: Added Path::FeatureShape feature
f496615 Path: added post editor
069b070 Path: Added structure for post scripts
bd0e669 Path: Added Path.insert() function
fcf1f18 Path: small bugfixes
09124e3 Path: Added spaces in (pseudo) Gcode output
efcb755 Path: Added pre script example
7a6a267 adding macro to find outer profile
274ff82 added a few macros
521d095 Path: Added FeatureCompound object
06eee1a adding python scripts and part files
42119ab added LGPL license
e8f0742 added demo parts and python experiments
c849734 Path: added tooltable property & Path.show() function
1886b4a Path: Added Path::FeaturePython object
b48b9d8 Path: correct placement behaviour and support for G90 and G91
00fe8a6 Path: Added support for G00
896c359 Path: Enabled different color for rapid moves
885a8d9 Path: small fix
a8d310b Path: improvements to the view provider
9fd88c5 Path: now removes comments when creating paths from gcode
dc0a0f1 Path: Fixed Z coordinate
ba6abc8 Path: Fixed color properties
8605629 Path: remember Z coord of last point if not specified
0d66fa9 Path: Misc upgrades to the view provider
f77c399 Path: Now supposes absolute positions instead of relative
a23b4e8 Path: Tooltable now behaves as a dicionary
eef5669 Path: simplified file saving/restoring
f15262f Path: enabled reading & writing of Path features
0a735ee More uniform caps system for enums, and added more materials
ad3f88e added a few more tools
ef62185 added more tools
f489758 removed whitespaces
5f906c6 added a few more tool definitions
84608dc minor changes to names
3ca1b5c Path: added Tool and Tooltable objects
d852a0b Path: extended path py object, enable coin representation in view provider
f7980b3 Path: extended the command object
a6205c4 Added Path Feature
dae6499 Path: Added Path object
693c0df Temporarily removed Gui from cmake
c2519e7 Path module: First commit
b3860d5 made a little progress- added ConvGcode to split and reverse paths
5761235 removed wire.reverse()- I couldn't get the hang of it
54a5482 added selection script along with parameters for profile
cecc1df Path: removed Tool number from dressup
7ca8e79 Path: Fixed dressup
d7d1a9b Path: Added UsePlacements property to compounds
a001d7c Path: Added Dressup + fixed cmake + enabled python view provider
5ff31b3 Path: Update bounding boxes when drawing path
946f26c Path: Split compound into compound and project objects
4c9fedd Path: Added Drilling tool
e88d431 Path: Added translation file
a989530 Path: Added an initial rapid move to FeatureShapes
8faab1e Path: Added pocket tool
e2dd1a4 Path: added a ShowFirstRapid property to the path viewprovider
5daa4ed Path: show number of tools in compound's task dialog
18bd973 Path: Added Profile tool
f613104 Path: Added GUI import/export
7e7bc79 Path: allow to import heeks tooltables and removed c++ workbench
a60325f Path: Fixed tooltable editor
802b413 Path: Allow pre scripts to return a list to create a compound
35fb2a1 Path: Tooltable editor (BUGGY)
3040bc1 Path: updated Path module dependencies in cmake
680d9a8 Path: Added UI to reorder children of a path compound feature
8ed321c Path: Added Path::FeatureShape feature
f81ccdd Path: added post editor
34d2cef Path: Added structure for post scripts
2ea3060 Path: Added Path.insert() function
e8561f4 Path: small bugfixes
ef6fe49 Path: Added spaces in (pseudo) Gcode output
909a944 Path: Added pre script example
58abd71 adding macro to find outer profile
a7415c5 added a few macros
51cd15b Path: Added FeatureCompound object
be6c10a adding python scripts and part files
30bde91 added LGPL license
93babeb added demo parts and python experiments
f69c9a9 Path: added tooltable property & Path.show() function
5796bea Path: Added Path::FeaturePython object
e6052bd Path: correct placement behaviour and support for G90 and G91
9f3977c Path: Added support for G00
1b95678 Path: Enabled different color for rapid moves
90bdc2c Path: small fix
6394ceb Path: improvements to the view provider
aa93f1e Path: now removes comments when creating paths from gcode
35a479b Path: Fixed Z coordinate
1947315 Path: Fixed color properties
987d8e3 Path: remember Z coord of last point if not specified
64da26c Path: Misc upgrades to the view provider
283df2b Path: Now supposes absolute positions instead of relative
b59a46d Path: Tooltable now behaves as a dicionary
b4c2edb Path: simplified file saving/restoring
8b36988 Path: enabled reading & writing of Path features
308bb20 More uniform caps system for enums, and added more materials
f9f129c added a few more tools
eb83a31 added more tools
bb40643 removed whitespaces
13cd406 added a few more tool definitions
6357082 minor changes to names
6a14580 Path: added Tool and Tooltable objects
bc14864 Path: extended path py object, enable coin representation in view provider
a8a19a0 Path: extended the command object
0174d04 Added Path Feature
a829a6c Path: Added Path object
ba7ca94 Temporarily removed Gui from cmake
3c9d77a Path module: First commit
2015-07-04 18:30:10 -03:00
Yorik van Havre 6c32edfb8c Fixed screenshot URL in Gnome appdata file - fixes #2179 2015-07-03 18:48:22 -03:00
wmayer e404490651 + fix broken PolyPickerSelection 2015-07-02 14:51:38 +02:00
Csaba Nagy 6b01685808 + Add command line options dump-config and get-config 2015-07-02 13:22:13 +02:00
blobfish 0c93e0bcd5 Part: ModelRefine: don't call edgefuse perform directly 2015-07-02 10:26:02 +02:00
wmayer 9687c66a25 + add missing header 2015-07-02 06:59:13 +02:00
wmayer 834c0a642d + include missing header files 2015-07-01 13:02:29 +02:00
wmayer 2b53da4eee + include missing header files 2015-06-30 17:48:03 +02:00
wmayer d826ad5b51 + Remove dependency to iisTaskPanel when not needed 2015-06-30 16:53:22 +02:00
wmayer de7c8fcbbf + issue #0002053: Support of themes 2015-06-30 13:14:56 +02:00
wmayer 28a142d94e + alternative paintEvent implementation for ColorButton 2015-06-30 01:04:43 +02:00
wmayer 48c25da133 + issue #0002053: Support of themes 2015-06-29 14:33:14 +02:00
wmayer cd0b369425 + issue #0002053: Support of themes 2015-06-28 23:30:42 +02:00
wmayer 0765dc1aae + move up/down commands with action group 2015-06-28 17:32:44 +02:00
Yorik van Havre e239c65ba1 Arch: Small fix in IFC exporter 2015-06-28 00:23:06 -03:00
Yorik van Havre c7440ef92e Added fcinfo utility
This utility prints information about a given FreeCAD file (*.FCStd)
on screen, including document properties, number of included objects
and object sizes.

It can be used as a textconv tool for git diff by adding this utility to
your exec path andadding this entry to .gitattributes: *.fcstd diff=fcinfo

Usage: fcinfo myfile.FCStd
2015-06-27 20:01:35 -03:00
wmayer eaa5b15291 + return 0 for empty icon names of Python commands 2015-06-27 19:24:11 +02:00
wmayer 882ecd3ce3 + implement class PythonGroupCommand 2015-06-27 17:21:02 +02:00
Yorik van Havre 38fffd8218 Draft: Enabled importing of SVG's symbol and use elements 2015-06-26 17:01:43 -03:00
Yorik van Havre fed516d582 Arch: fixed bug in rebars 2015-06-26 13:50:02 -03:00
Daniel Falck 1a1927b8d5 added units to Draft Point Properties 2015-06-25 23:34:01 -03:00
Yorik van Havre 89cbdb35b6 Arch: External edges are now automatically removed from Rebars base sketches 2015-06-25 19:54:57 -03:00
wmayer 864e0bcccb + make it more obvious what BRep mode for IGES export means 2015-06-25 16:41:53 +02:00
Abdullah Tahiri cac47d2548 Sketch: Bug Fix: Maintain the Elements and Constraint Widget synchronized
=========================================================================

What?
Sometimes this widgets where out of sync

Why?
Under the update only when it is redrawn policy, sometimes only one of them, i.e. the one associated with the property
triggering the updateData was updated.

Solution:
Both are updated after every redraw.

It also complements the previous bug fix related to crash on deleting, by updating the widgets to account for the deleted geometry.
2015-06-25 14:33:27 +02:00
Abdullah Tahiri 214169616d Sketch: Bug fix: On delete crash with unsuccesful solving
==========================================================

Fixes the one reported by JMG here (Thanks!!):
http://forum.freecadweb.org/viewtopic.php?f=3&t=11508#p92693

Why?
- The newly introduced redrawing policy requires that the solver geometry matches in number the sketchobject geometry.
- Most (all) problems with updateColor or getGeometry returning a null pointer are related to an out of sync between UI geometry and SketchObject geometry.

General solution:
- In other bugs, a missing "solve()" is the problem, once the solver and sketchobject geometries have the same number, an SketchObject::OnChanged triggers
a VPSketch::draw (via VPSketch::updateData) which updates the UI geometry to match SketchObject geometry and then the problem does not arise.

Particular solution:
- In this bug, the problem is not a missing solve, but the fact that the solving was not succesful and did not synchronize the geometries, however triggering a
draw() on unsuccessful solving, syncronizes the UI geometry with the SketchObject geometry and the crash is gone.
2015-06-25 14:33:22 +02:00
Eivind Kvedalen 3a69c926b5 Spreadsheet: Fixed bug in dependency tracking between objects. 2015-06-25 10:40:29 +02:00
Eivind Kvedalen 2e7b4602a9 Spreadsheet: Added initializer for Spreadsheet::RangeExpression class. 2015-06-25 10:40:15 +02:00
Eivind Kvedalen c61c12d834 Unit: Added overflow/underflow checking. 2015-06-25 10:40:00 +02:00
wmayer 165261e358 + fix memory leak 2015-06-24 20:07:36 +02:00
wmayer c3c27817b6 + whitespace fixes 2015-06-24 19:59:53 +02:00
Abdullah Tahiri 2a54fba098 Sketcher: SparseQR as default QR method
=======================================

The SparseQR is set as default method. However, in accordance with the previous commit, only if a new enough Eigen library is present will SparseQR be executed.

If the library is old and SparseQR can not be reliably used, FC will automatically fall back to use DenseQR.

This ensures that users that have a new enough library > 3.2.2 will benefit from the performance increase, while the users that use older library will still have
the same performance as in legacy FC.
2015-06-24 17:57:06 +02:00
Abdullah Tahiri ffaa0c8249 Sketcher: SparseQR conditional compilation
==========================================

For Eigen>=3.2.2 SparseQR is compiled in

For older versions SparseQR is not compiled in and if the option is selected FC gives a warning in the console and falls back to DenseQR.

This ensures that a user can get a sketch solved and work normally even if SparseQR is selected and the Eigen version is too old to support SparseQR.
2015-06-24 17:57:05 +02:00
Abdullah Tahiri 1fc88ebe24 Sketcher: Auto Update Mode bug fix
==================================

Bug:
http://forum.freecadweb.org/viewtopic.php?f=10&t=11341&start=60#p92422

Why?
- When coding Auto Update Mode I forgot to solve the sketch when the constraint is cancelled to restore the solver level constraints.
2015-06-24 17:57:05 +02:00
Abdullah Tahiri 82e24d830e Sketcher: Solver Advanced Control: New Param: QR Pivot Threshold
================================================================

A new parameter added to the form in order to control how low a value should be
to be considered zero (how high a value shall be to be accounted for in rank calculation)

Debug for QR pivot threshold is also added.
2015-06-24 17:57:04 +02:00
Abdullah Tahiri 8f68b14627 Sketcher: DL Solver Debug Improvement
=====================================

- In "Iteration Level" debug mode, DL now shows the stop condition code.
- More debug code
2015-06-24 17:57:04 +02:00
Abdullah Tahiri efb08cd11c Sketcher: Disable Eigen multithread
===================================

Eigen currently only provides multithread for matrix products. It has been reported that it is even slightly slower than single-thread.
Therefore, temporarely the code is commented out. If Eigen ever implements multithread for QR decomposition, then it will make a lot of
sense to enable this.
2015-06-24 17:57:03 +02:00
Abdullah Tahiri 7f442c5a3f Sketcher: Improvement: Continuous Mode - View sketch Perpendicular
==================================================================

It allows the view sketch perpendicular button to be active during continuous mode creation (and if activated does not exit the continuous mode).

Feature requested:
http://forum.freecadweb.org/viewtopic.php?f=10&t=11051&start=30#p92256
2015-06-24 17:57:02 +02:00
Abdullah Tahiri 22bcb40484 Sketcher: Bug fix: Dense QR is set by default
=============================================

EigenQR branch 3.2 with debug code fails an assertion. The result is generally ok if we disable the assertions, however it
eventually leads to memory leakage.

This commit reenables Eigen's assertions when in debug mode, and sets dense QR as default QR algoritm until Eigen's issue is solved.
2015-06-24 17:57:02 +02:00
Abdullah Tahiri cb2d70b4f0 Sketcher: Bug fix: Solver Advanced Control in BFGS
==================================================

- ternary operator usage was making BFGS not to iterate
- Amount of debug information for BFGS increased
2015-06-24 17:57:01 +02:00
Abdullah Tahiri 86f0df4f3c Sketcher: Improvement Continuous Creation Mode: Leave Sketch
============================================================

This enables to exit the sketch by clicking the corresponding toolbar icon, even when in creation mode, i.e.
with a drawHandler active.

Requested here:
http://forum.freecadweb.org/viewtopic.php?f=10&t=11051&start=30#p92181
2015-06-24 17:57:01 +02:00
Abdullah Tahiri f3592c1216 Sketcher: Improvements: Solver Advanced control
===============================================

- Increased solver debug
- Changing default values from float to string, as float has "only" a precision of 12 decimals.
- Default values as macros
2015-06-24 17:57:00 +02:00
Abdullah Tahiri 516b0d3c56 Sketcher: Workaround for Eigen bug: SparseQR crash on matrices with rows>cols
=============================================================================

There is an issue with an assertion in Eigen, as reported here:
https://forum.kde.org/viewtopic.php?f=74&t=117474
http://forum.freecadweb.org/viewtopic.php?f=10&t=11341&p=92153#p92146

The work-around is to disable debug assertions for Eigen until the problem
gets solved.
2015-06-24 17:57:00 +02:00
Abdullah Tahiri 6030da1182 Sketcher: Solver improvements and bug fixes
===========================================

- Improvement Debug added to redundant solving in Iteration Mode, to show when just one iteration solved the system
- Fix wrong QR information on empty sketch
2015-06-24 17:56:59 +02:00
Abdullah Tahiri bae32f74bb Sketcher: New setting: Show advanced solver taskbox
===================================================

I makes the advanced solver taskbox by default disabled (not shown) and provides
a setting in Preferences->Display->Sketcher to enable it.
2015-06-24 17:56:59 +02:00
Abdullah Tahiri 796c9d79d4 Sketcher: New Features: SparseQR decomposition and Solver advanced control TaskBox
==================================================================================

The solver has been adapted to use Eigen's SparseQR QR decomposition algorithm. The original
Dense QR implementation is maintained and can be selected using the Advanced Control TaskBox (see below).

The use of SparseQR provides over an order of magnitude improvement in solving time in complex sketches due to
the Sparse nature of the Jacobian matrix of the system of equations.

The solver advanced control is a new TaskBox in the Sketcher that allows to select which algorithms are to be used for
the different solving operations and tweak its parameters. It is not intended to be a user control, but means to debug
solving problems and improve the algorithms and their configuration.

This commit also introduces multithread support for Eigen. Currently it is only limited to products and does not provide
a substantial speed improvement. It is expected to have more multithreaded operations in Eigen in the future.

As a bonus, the TaskBoxes in the Taskbar of the Sketcher remember the last state (collapsed or deployed).
2015-06-24 17:56:58 +02:00
Abdullah Tahiri 02df1acb5f Gui: New feature: Extension of TaskView to notify if a taskbox is hidden or visible
===================================================================================

http://forum.freecadweb.org/viewtopic.php?f=10&t=11363
2015-06-24 17:56:58 +02:00
Abdullah Tahiri 480d23f8e1 Sketcher: Bug fix: Unexpected crashes during certain operations
===============================================================

The sketcher crashed for example during effecting a fillet operation.

Cause:
The ElementsWidget/ConstraintWidget was being updated as a consequence of adding/removing geometry/constraints, and it was effecting
a selection after the update, in cases where the geometry in the screen was not being redraw (because the sketchobject was still unsolved), therefore
trying to select an element that according to ViewProvider did not exist (as it is created during redraw).

Solution:
Widgets update when their properties changes, provided that a redraw is effected (which actually also saves some (negligible) time, as they are only updated when they should).
2015-06-24 17:56:57 +02:00
Abdullah Tahiri 93c836fdcf Sketcher: Bug fix Trim
======================

In no update mode, the last constraint was not enforced. The DoF was not properly shown.

The trim operation it is always solved at the end now if in no recompute mode.
2015-06-24 17:56:56 +02:00
Abdullah Tahiri 65310f00ab Sketcher bug fixes: Crash on deleting a line from the sketch
============================================================

- Crashing on deleting line on fully constraint box

As a bonus:
- Fully constrained sketch not shown in green on opening the sketch
2015-06-24 17:56:56 +02:00
Przemo Firszt 4caa464ebb FEM: All FEM results are stored in a single object
Functionality previously provided by setNodeColorByResult is now
in setNodeColorByScalars. FemResult* object is no longer required,
the function accepts list of elements and a list of values.

Functionality previously provided by setNodeDisplacementByResult is now
in setNodeDisplacementByVectors. FemResult* object is no longer required,
the function accepts list of elements and a list of vectors.

A side effect: FemResultValues and FemResultVector are no longer used
and have bee removed.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-24 17:44:02 +02:00
DeepSOIC ed6af74a78 Navigation: fix unable to deselect after editing a sketch
After editing a sketch, it was impossible to deselect the just-edited
sketch by clicking empty space (gesture navigation).
2015-06-24 17:27:07 +02:00
wmayer 9680f13854 + fix loading of certain urls in web page 2015-06-24 13:35:13 +02:00
Fredrik Johansson 16c740a6f9 Add ability to have external orocos-kdl library instead of the suplied
in FreeCAD, used in Robot and Path workbenches

cmake switch: FREECAD_USE_EXTERNAL_KDL

Makes Robot workbench and Path compilable on OS X 10.9
2015-06-24 11:54:31 +02:00
lorenz_l bc920f9a24 set names for QTimer in mainWindow, to find them from python 2015-06-23 20:23:52 +02:00
Yorik van Havre 18624df555 Draft: Better docstring for DraftGeomUtils.fillet() 2015-06-22 22:03:13 -03:00
Yorik van Havre 4379846dfa Arch: Section planes now restore the view clipping when loaded 2015-06-22 21:58:56 -03:00
Yorik van Havre cd25a34171 Arch: added warning message when wall base is not a Part or Mesh 2015-06-21 21:45:18 -03:00
wmayer 72abf54d12 + setup qss search paths 2015-06-19 23:27:39 +02:00
wmayer 0ea718177d + set utf-8 encoding when recording a macro 2015-06-19 14:52:20 +02:00
Abdullah Tahiri 074d5d7f11 Sketcher: Bug fix External geometry not appearing upon insertion
================================================================

A last moment change to regulate redrawing introduced this issue (reducing the redrawing to the cases where the solver geometry and the sketchObject geometry are equal).
This change also solved other issues.

The case of adding external geometry is special because the DoF is the same after insertion, yet there is an insertion (as opposed to the toggle case, where there is a change but no insertion).

SketchObject has been adapted to require a solver update before moving (which also caused a non-yet-reported crash, a separate bug), and CommandCreateGeo has been adapted to trigger a solve with
auto update mode disabled. This solve is a very low cost one as the geometry is already in place.
2015-06-17 14:53:34 +02:00
Yorik van Havre 8b4492ebc5 Arch: small bugfix in cutvolumes 2015-06-17 09:45:01 -03:00
wmayer 238becaebb + further optimization in sketcher 2015-06-16 10:18:11 +02:00
wmayer 788fadf4a8 + fix const correctness 2015-06-15 23:42:37 +02:00
Abdullah Tahiri ec5f3b2b98 Sketcher: new Feature: Group creation of Sketcher geometry and other improvements and bug fixes
===============================================================================================

Group creation:
- complex geometries (consisting of several geometry elements and constraints) have been rewritten to use python list (one command call for all geometries and constraints)
- Ellipse ExposeInternalGeo as group creation of geometries and constraints

To construction mode creation:
- addGeometry python and SketchObject functions modified to take an additional optional parameter "construction" to create the geometry/geometries directly as construction.
  In addition to the shorter form, this helps generate less amount of onChange propagation and Redraws.
- all the geometry creation commands in CommandCreateGeo.cpp have been rewritten to use the new construction argument. This includes modifying the regular polygon script to
take a new optional parameter to create geometry as construction in addGeometry.
- special care is taken in group creation not make construction points
- Show/hide internal geometry implemented with this option.

To solving:
- the solve previously included after every geometry addition (when in no Update, e.i. no Recompute mode) has been removed and each Gui::Command calls either an UpdateActive
for recompute or a Solve in no Update mode. This is behaviour is less intrusive and uniform with group creation.

Bug fixes and redrawing reduction:
- Fixes the CheckId exception problem. The solution also helps further remove redraws during creation of complex geometry (e.g. Slot)
- Fixes touching the sketch by only opening it.
- Code clean up.
2015-06-15 22:56:36 +02:00
Abdullah Tahiri 61bd2d41ac Sketcher: Requested Feature: Remove help button
===============================================

The help button next to the close button in the Task dialog is now removed.

It was requested that this button is removed as it is inconsistent with other help sources and it is not implemented.
2015-06-15 22:56:20 +02:00
Abdullah Tahiri d1acd124cc Sketcher: Bug fix: Undo/Redo implementation
================================================

Fixes a bug in master that the dependent 3D geometry would not update on Undo (in Auto update mode enabled).

Undo and redo signals are handled by ViewProvider in order to introduce an recompute or solve() of the sketchObject
as determined by the Auto Update Mode in order to update DoF and dependent geometry if necessary.
2015-06-15 22:56:04 +02:00
Abdullah Tahiri da5270131c Gui New Feature: Gui::Document support for App::Document undo and redo signals
==========================================================================

It defines new slots connected to App::Document's signalUndo/signalRedo, which
triggers Gui::Document's signalUndoDocument and signalRedoDocument signals.

setModified is not executed upon redo/undo, as this is already done on modification of the properties if
properties were modified, and if there were not, no setModified is needed anyway.
2015-06-15 22:55:49 +02:00
Abdullah Tahiri eb7a3c763c Bug fix: General reduction solution / new sketch solving model
=================================================================

The new solving architecture focus all the solving on the SketchObject.

Actions that change the DoF can call execute() (i.e. recompute) or Solve() depending on whether a full recompute of dependent features is required or not.
In both calls the geometry of the solver is updated with the geometry of the SketchObject.

The only additional call that calls the solver is MovePoint. This function may or may not update the geometry of the SketchObject
(as now it is intended for UI related solving, like dragging, rubberbands, ...).

In operations that do not involve a change of DoF and therefore do not require a sketch solving, it may happen that as a side effect of moving a point, the
geometry changes to old behaviour. In order to avoid that, those SketchObject operations, as for example setConstruction or ToggleConstruction,
must set a flag "bool solverNeedsUpdate" to true. In case a movePoint is executed before any other solver execution, the geometry is first updated and then
the moving is performed.

So to keep in mind when programming sketcher operations:
-> Need recompute (UpdateActive)
-> Need solving because DoF changed (solve())
-> The operation does not change DoF (set solverNeedsUpdate to true)
2015-06-15 22:55:28 +02:00
Abdullah Tahiri 4b0bd78814 Sketcher: Bug fixes to Auto-Update Mode
=======================================

- Fixing toggle AutoUpdate Mode
- Fix Auto-Update Sketcher tools
- Fix missing createGeo recomputes
- Missing constraints recomputes fixed

Various fixes for non-Update mode:
- Fixes lack of update upon entering a conflicting datum constraint.
- Fixes lack of update upon setting the reference/driving status of a constraint

- Added tooltips to buttons
2015-06-15 22:55:04 +02:00
Abdullah Tahiri 339717c96f Sketcher: Bug fix of New Solver Model: DoF and solver update on deletion of constraints
=========================================================

Upon deletion of a constraint, the constraint was still enforced for UI operations (dragging of a point) and DoF was not updated.
2015-06-15 22:54:49 +02:00
Abdullah Tahiri a21265f9b6 Sketcher: New Feature: Avoiding to continuously recompute all the sketch (and dependent objects)
======================================================================================

There is a checkbox, default disabled, that makes the commands NOT to generate a recompute after each.
This means that if you are editing a sketch that is used to generate a pad or pocket, if the checkbox is
disabled, the dependent objects do not get recomputed.

There is a button next to it to force a manual recompute, in case it is needed.

If the user wants the previous behavior, he only needs to activate the checkbox. The previous status of the box
is restored upon entering a sketch in edit mode.

It is remarkable the case of the Fillet and Trim

On changing ActSketch (solvedSketch) to SketchObject and making movePoint not systematically update the geometry, the solving in MovePoint was confronted with solving for "the last solved geometry",
which is the default behaviour, in some situations (Fillet and Trim) where geometry had changed at SketchObject level, and was the subject of the moving actions.

MovePoint has been updated to take an extra optional parameter, to force the change in solved geometry in those situations.

Some other minor bug also fixed in Fillet creation in CommandCreateGeo.cpp

This commit also introduces conditional recompute on some operations of:
- constraints
- geometry creation (reubication of update active to comprise the autoconstraints within a single UpdateActive)
2015-06-15 22:54:32 +02:00
Abdullah Tahiri 0e92e6356f Sketcher: Major re-structuration: New Solving Model: General Sketch Solve call reduction
=======================================================================================

ActSketch in ViewProvider dissapears. The temporal sketch (sketch.cpp) for solving is now a data member of SketchObject.cpp (hereinafter solvedSketch). All the solving is concentrated in SketchObject.cpp.

SketchObject provides an interface to expose its solver, as it is still currently needed for some UI operations from ViewProviderSketch, like dragging points (solving rubber bands).

ViewProviderSketch still can select whether to draw the solvedSketch geometry (previously ActSketch) geometry (UI staff) or the SketchObject geometry. Performancewise, it makes sense to separate this two
geometries, as the SketchObject one involves modifying the Geometry and Constraint Properties (including all the undo related functionality), which would mess the undo functinality and incur in a big
peformance penalisation while dragging. One characteristic of solvedSketch is that its geometry is solved, whereas the geometry of SketchObject may not have been solved yet.

These geometries may differ at for the following reasons:
1. The geometry corresponds to an ongoing dragging operation, so solvedSketch has the last calculated dragging geometry, while SketchObject has the one corresponding to initial position.
2. Geometry/constraints were added to the sketch, but no solve/execute was triggered yet (envisioned situation is the future group creation functionality not in this commit).

What do I gain?

- Inserting a (simple) geometry element now costs 1 solver execution.
- Inserting a constraint now costs 1 solver executions.

For reference, in previous versions inserting a constraint involved 5 solver executions.

The following information provide a historical review of the coding of this commit (formed of 10 squashed commits):

This is a general sketch solve call reduction, not only during geometry creation (this commit does not include until here any specific measure to reduce calls on geometry creation, that is another branch)

After a lot of profiling, it seems that the "cause"(tm) that creates so many solver calls is that every update generates a solving in ViewProviderSketch, regardless of the need for that update,
many times with the only aim of providing the DoF for the message dialog and keeping ActSketch in sync with SketchObject in case it is needed (currently UI moving points, constraints,...).

Sketch solver is now a data member of SketchObject instead of a temporal object that gets initilized and destroyed.

This allows:
1. Potentially more synergy reducing calls to setUpSketch (still to be seen, still to be optimized)
2. Allowing SketchObject to access the latest geometry that has been solved => In future, allow objects that use SketchObject to obtain the latest
solved geometry instead the geometry of SketchObject that may still be unsolved. This is relevant for drawing the geometry

No more solving in ViewProviderSketch. Solving a Sketch is now an exclusive competence of SketchObject.

There is however a lot of cleaning to do in ViewProviderSketch

(I mean, not that these commits are making a mess in VPSketch,
but that as a consequence of the changes, it should be possible to
optimize VPSketch, specially moving and drawing methods)

Very useful comment for future developers that may wonder why a solve per constraint just upon addition is necessary.

Added a new function to get the size of the geometry of the instance of the solver object (Sketch.cpp).
The previous way was to extract the geometry, which is costly and error prone, as you have to delete it afterwards.

Inserted comment about the necessity of triggering a Part2D update during edit mode
2015-06-15 22:53:59 +02:00
wmayer 280019ddf9 + implement Geometry.copy for Python 2015-06-15 21:28:29 +02:00
Eivind Kvedalen f99fd100e6 Added zoom and automatic refresh of dependency graph view. 2015-06-15 11:32:24 +02:00
Yorik van Havre 1749ff2d5d Added a Revert command to the File menu - fixes #2040 2015-06-14 22:58:07 -03:00
Yorik van Havre d0cfe4b010 Arch: Allow to build Arch objects from Part Compounds - fixes #2095
Arch objects can now be based on a Part Compound and will take
its DiffuseColor property. Arch objects that are clones of
such objects will also copy that property.
2015-06-14 18:36:54 -03:00
Eivind Kvedalen d0d98b8775 Spreadsheet: Fixed exception bug in SheetPy::setCustomAttributes(...). 2015-06-13 12:48:21 +02:00
Eivind Kvedalen e864bb8d92 Spreadsheet: Added test macro. 2015-06-13 12:47:52 +02:00
Eivind Kvedalen efc21a5a63 Spreadsheet: Removed superfluous fc_target_copy_resource call in CMakeLists.txt. 2015-06-13 12:47:36 +02:00
Eivind Kvedalen 9d5d05a708 Spreadsheet: Fixed handling of unary minus/plus, exponentation order, and unit rule (#2099) 2015-06-13 12:47:19 +02:00
Eivind Kvedalen 12e4d59458 Spreadsheet: Fixed bug in setEdit method for Spreadsheet module (#2144) 2015-06-13 12:46:53 +02:00
Yorik van Havre edbbcfb790 Draft: Fixed placement of one-face Facebinders 2015-06-12 11:08:49 -03:00
Yorik van Havre 40f8bb4143 Arch: Fixed encoding bug in IFC export 2015-06-11 23:02:29 -03:00
wmayer 5040a97b0b + filter out removed workbenches 2015-06-11 00:19:20 +02:00
wmayer 4a7419c064 + fix whitespaces 2015-06-10 23:21:46 +02:00
Przemo Firszt 615d037de0 App: Add workbenches with unknown status to enabled list
Newly installed workbenches are not on enabled nor disabled list, so
they were treated as disabled. That behaviur could be confusing for
the user as a newly installed workbench was not shouwing up on the
workbench list. This commit changes that behaviour and new workbenches
are enabled by default.

Reported-by: r-frank
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-10 22:11:24 +02:00
wmayer 4f5534a87a + fixes #0002116: FreeCAD crash when I click on treeview 2015-06-09 21:55:35 +02:00
wmayer 54317becbf + fix writing STEP settings 2015-06-09 21:23:16 +02:00
Przemo Firszt 3a7772d0f7 FEM: Save/restore result dialog settings
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt 793a5b79f1 FEM: Rename dialog element callbacks
Also setDisplacement function has been removed

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt 5853eabc62 FEM: Always import FemGui
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt 6de28c158d FEM: fix white space
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt f5146b8d43 App: fix typo
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt 9766893be1 FEM: Change FEM results selection to radio buttons
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt f29b003810 FEM: Add reset_mesh_color and reset_mesh_deformation functions
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt ca47eeaeff FEM: Remove unused property
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt 6df5809c33 FEM: Optimise check_prerequisities
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt da83e47241 FEM: Remove old results before loading new set
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt 157399e395 FEM: Fix problem with using old displacement value after recalculation
Reported-by: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Yorik van Havre beedcc06fe New splashscreen 2015-06-09 11:36:19 -03:00
Yorik van Havre 895510e08d Draft: small bugfix in Drawing view 2015-06-08 19:05:37 -03:00
Yorik van Havre 48113f3bca Arch: Fixed encoding in IFC import - fixes #2149 2015-06-06 12:52:44 -03:00
Ian Rees 418cefd7ee Cleaning up compile warnings, mainly in Sketcher
fabs() instead of std::abs(), add cmath include
2015-06-04 18:12:39 +02:00
DeepSOIC 37fbcb64a6 Part: new tools - JoinFeatures (Connect, Embed and Cutout)
Attributions:
Mark (quick61) - icons
Yorik - help with internationalization
Everyone who appeared in forum thread "A new Part tool is being born...
JoinFeatures!" - for endorsement!
http://forum.freecadweb.org/viewtopic.php?f=22&t=11112
2015-06-04 09:47:59 +02:00
Ian Rees 5ced7e5cbe Add #include that's required with Homebrew 2015-06-04 09:54:20 +12:00
wmayer c3808cd991 + Use update mechanism for CmdSketcherToggleConstruction 2015-06-03 19:12:48 +02:00
wmayer cf1a77a44d + Use update mechanism for CmdSketcherToggleDrivingConstraint 2015-06-03 18:31:30 +02:00
wmayer c91018946c + Extend Command framework to allow to update QAction 2015-06-03 18:30:36 +02:00
Yorik van Havre 0fec404c6d Arch: fixed Label encoding in IFC export 2015-06-02 19:58:59 -03:00
wmayer 1808fd83ed Expose attribute to Python to access icon of view provider 2015-06-02 16:21:56 +02:00
Przemo Firszt 4e94c02dda FEM: Rename animateNodes to applyDisplacementToNodes
Also animateNodes is now applyDisplacementToNodes.
The funcions are not doing animation, but are responsible
for deforming mesh.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt 8195ce579b FEM: Remove not used setColorStress function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt aed303f4ff FEM: Add curly brackets to one line for/if or if/if commands
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt 70318d7820 FEM: Disable Show result button if there are no results in analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt 749e772d85 FEM: Add Purge FEM results button
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt 97a6333f87 FEM: Simplify setting FEM results when user selected None
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt 302dbbf0be FEM: Fix problem with Show button not reverting mesh deformation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt dc7da86261 FEM: Don't use bool as variable name
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:21 +01:00
Przemo Firszt 6a13a51b90 FEM: Don't check is Show is checked after slider has been moved.
Slider is disbled is Show is not ticked, so that check is redundant.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:10 +01:00
Przemo Firszt 74234e7000 FEM: Switch to reading analysis stats from AnalysisStats object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt 597c9b856b FEM: Add AnalysisStats object
This commit add a new object to Analysis: AnalysisStats. AnalysisStats
contains list with 15 values (an example):
-0.000776373	<-- minimum X displacement
-7.74494e-06	<-- average X displacement
0.000774115	<-- maximum X displacement
-0.00416267	<-- minimum Y displacement
-0.00204191	<-- average Y displacement
0		<-- maximum Y displacement
-0.000775108	<-- minimum Z displacement
1.09288e-05	<-- average Z displacement
0.000775122	<-- maximum Z displacement
0		<-- minimum Abs displacement
0.00214509	<-- average Abs displacement
0.00430481	<-- maximum Abs displacement
0.390598	<-- minimum Von Mises Stress
0.93509		<-- average Von Mises Stress
1.47765		<-- maximum Von Mises Stress

Those values will be used to set field values in FEM results dialog
instead of currently used values returned by setNodeColorByResult
function.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt 9c6ee0ac63 FEM: simplify reading lines from frd file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt f5863b6d9b FEM: replace input with frd_file in ccxFrdReader.py
input is a built-in function name and should not be used as variable name

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt 05cb44bfb0 FEM: use is instead of == for None in ccxFrdReader.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt 39b407fdba FEM: replace deprecated has_key in ccxFrdReader.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt cd5cc689dc FEM: white space fixes in ccxFrdReader.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
J.L. Cercos-Pita b27e512828 Corrected the wetted surface units 2015-06-01 12:00:30 -03:00
J.L. Cercos-Pita 657041d6b1 Updated the spreadsheets to the new module 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita f7be7d1e30 Fixed the locales 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita dfa96bd3fe Fixed the locales in the Hydrostatic tools 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita 63360966f9 Fixed the problems with the group separator in some locales 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita 3a52249400 Extended the locale fixe to the stored variables into the Ship instance 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita f867db6f71 Fixed the problems with the group separator in some locales 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita 5c79b2f762 Updated the areas computation tool to the new spreadsheet 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita 071829dbc9 Fixed 'Axes' object has no attribute 'get_frame' error (see http://matplotlib.org/api/api_changes.html) 2015-05-31 19:28:16 +02:00
wmayer 2e14552a50 + fixes #0002134: FreeCAD crashes when the window is restored and a plot is shown 2015-05-31 17:29:30 +02:00
wmayer a12f700aa2 + fix some warnings 2015-05-30 20:59:25 +02:00
wmayer 351e7aae6f + fix wrong default of ContinueMode in settings panel 2015-05-30 20:42:33 +02:00
wmayer eef340f19c + fix whitespaces 2015-05-30 20:30:12 +02:00
Abdullah Tahiri 3b1873f1dc Sketcher Improvement: Always enable geometry creation
==============================================================================

Now you can switch from one tool to the next just by clicking on the next tool
2015-05-30 16:39:34 +02:00
Abdullah Tahiri ca356c308e Sketcher Driving/Reference and Construction/Normal single buttons icons
=======================================================================
2015-05-30 16:39:33 +02:00
Abdullah Tahiri 0bd3801314 Sketcher: UI Improvement Smart button for constraints and geometry toogle/creation
==================================================================================

Geometry button:
- if no object selected, the legacy toggle icon has a new functionality, switch to/from creating in construction mode
- if object selected, it has the legacy functionality
- the button can be clicked during "continuos creation mode" to switch from creating to/from creating in construction mode

Constraint button:
- The button is not selectable if nothing is selected (it would be impossible to determine the effect)
- When constraints are selected, the button toggles the constraints to/from Driving.
- When geometry is selected, the button switches from/to reference mode, the change is apparent from the color of the constraint icons.

Continuous creation mode:
- Default changed so that it is active unless you change it in settings

Updated terminology
2015-05-30 16:39:32 +02:00
Abdullah Tahiri a1c3b942aa Sketcher: Driving/reference creation improvements and some other fixes
======================================================================

- Changing from Driving to reference does not include unnecessary solvings.
- Added some checks to avoid making Driving constraints when calling directly from python and involving only external geometry (would give redundant constraints).
- New python command toggleDriving to just change the status from reference to Driving
- New UI toolbar Command to toggle constraints
- Fix to allow switching from/to construction mode during continuous mode creation.
- Enable/Disable for constraints in constraints widget has changed to operate on multiselection and now effects "toggle" instead of enable/disable.
- Disable the option to directly create a SnellsLaw non-driving constraint (this constraint does not support direct creation, it can be toggled to non-driving after creation though).
2015-05-30 16:39:32 +02:00
Abdullah Tahiri 4dfc96e102 Bug fix: Point was created as construction on construction mode
==============================================================

Points should not be construction points.
2015-05-30 16:39:31 +02:00
Abdullah Tahiri 8685e94b76 Bug fix: Sketcher fillet on construction lines
==============================================

The fillet applied to construction lines generates normal (not construction) geometry.

How to replicate?
1.Make a square and make all lines construction lines.
2.Apply fillet tool, there result will be a white line fillet connecting two blue constructions lines.
2015-05-30 16:39:31 +02:00
Abdullah Tahiri 75fa12964e Sketcher Driving/reference mode icons 2015-05-30 16:39:30 +02:00
Abdullah Tahiri 765b720c48 Sketcher New Feature: Toggle Mode for Reference/Driving constraints
===================================================================

It allows to create constraints directly into Reference or Driving mode.

It does not include icons
2015-05-30 16:39:30 +02:00
Abdullah Tahiri d5ec887526 Sketcher: Construction Mode Icons 2015-05-30 16:39:28 +02:00
Abdullah Tahiri 1c803df7d4 Sketcher new Feature: Creation Mode of geometry
===============================================

It allows to select whether the geometry will be created as construction geometry or normal geometry.

This commit includes an important bug fix to reduce the number of times the sketcher solver is called when toggling
geometry. It makes an important difference in the creation during construction mode and InternalAligment geometry like the ellipse.

This commit does not include icons.

You have a button next to toggle that after having been clicked, switches from Normal to Construction geometry and vice versa
2015-05-30 16:39:28 +02:00
Abdullah Tahiri 3231a0c92a Sketcher: New Feature: External Geometry Linking improvement
============================================================

It lifts the need of clicking on the external geometry icon upon importing each external geometry element.

All the elements on which the user clicks are imported until the user right clicks with the mouse or presses ESC, like the Trim or Fillet tools.
2015-05-30 16:39:27 +02:00
Abdullah Tahiri ba5a8fe87c Sketcher: New Feature: Continuous creation mode
===============================================

When creating a type of geometric element, the user can create as many elements of that type he wishes without having to click the button before each insertion.

The insertion of that type of elements ends by pressing ESC or clicking the right button of the mouse.

This mode is by default disabled and can be enabled in Preferences->Display->Sketch->Geometry Creation "Continue Mode".
2015-05-30 16:39:26 +02:00
Abdullah Tahiri f7c9566f1e Sketcher bug fixes: Non-driving constraints editable on double click and color settings not working
===================================================================================================

This fixes a bug in the original implementation, that a non-driving constraint value could be
edited by double clicking on it in the 3D view.

It also includes minimal documentation on some functions.

It also includes:
- Color setting for non-driving constraints was not working.
- Settle UI terminology dispute:
  * Driving Constraint (normal red constraint)
  * Reference Constraint (non-driving constraint)
2015-05-30 16:39:26 +02:00
Abdullah Tahiri ad180fb2c3 Sketcher New Feature: Non-driving constraints Icons by bejant
=============================================================

Nice icons to differentiate driving from non-driving constraints by bejant
2015-05-30 16:39:25 +02:00
Abdullah Tahiri bc85670ce9 Sketcher new Feature: Non-driving constraints (aka Driven constraints or dimensions)
====================================================================================

It allows to enable and disable a constraint in the constraint list.

When disabled, the constraints current value is shown, but its value is not enforced (it is driven by the other constraints and user interaction).

A disabled constraint can be enabled (as far as it is enforceable, see non-driving constraints to external geometry below).

The sketcher functionality has been extended to support non-driving constraints to external geometry elements. This were previously excluded from
the possibility of creating a constraint on them (as their values depend on other sketches and would be redundant with the unchanged value or conflicting when value is changed).
Now these constraints are created as non-driving, but as they are not enforceable, the UI does not allow you to make them driving.

The constraint filter has been extended to include a Non-Driving constraints category.

Thanks again to Werner for his continuous support, and specially in this case to DeepSOIC, as he pointed towards a much better implementation solution than my original idea.
2015-05-30 16:39:25 +02:00
Abdullah Tahiri 5676c632f6 Bug fix: Sketcher Polygon autoconstraints
=========================================

The autoconstraints on creation of an hexagon were not working.

How to reproduce?
1. In a sketch make a couple of lines
2. Create an hexagon (or other polygon of your choice) with center in one end of a line and with side coincident with the end point of the other line

Result:
Neither the center nor the side autoconstraints are properly created.

Fix:
Straightforward. Just correct the indexes. Last is always the circle. Last but one is always a side.
2015-05-27 16:22:31 +02:00
wmayer 24b71377e1 + fix whitespaces 2015-05-26 17:55:38 +02:00
Przemo Firszt cd4952dee4 FEM: fix white spaces in ccxInpWriter.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-26 14:33:43 +01:00
Przemo Firszt e13a8cf304 FEM: Add ConstraintPressure
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-26 14:17:45 +01:00
Bernd Hahnebach 3c629f095d FEM: CLOAD, mesh face area is used for surface loads on volume faces 2015-05-26 13:50:38 +02:00
Abdullah Tahiri 81bd2cf34a Bug fix: Sketcher: "Ask for value after creating distance constraint" setting not working
========================================================================================

How to replicate:
1. Go to Preferences->Display->Sketch and disable that checkbox.
2. Create a distance constraint (radius, distance, ...)

It will ask for the value regardless of whether the checkbox is clicked or not.

Why?
In SketcherSettings.ui the prefpath is "Mod/Sketcher"
The code refered to ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Sketcher/General");
2015-05-26 13:45:24 +02:00
wmayer a2bdc366f0 + make sure that Sketch.clear() doesn't allow any arguments 2015-05-26 13:11:48 +02:00
Abdullah Tahiri b5ff8cdc82 Sketcher Bug fix: Python function clear() contains wrong code
=============================================================

This function is like this from 2011 according to git blame.

The original code makes no sense. I assume that what is intended in this
function (in accordance with SketchPy.xml) is call the method clear in
Sketch.cpp.
2015-05-26 13:08:22 +02:00
wmayer b882109cb1 + rename method for points of selection 2015-05-26 12:51:39 +02:00
wood-galaxy 7843225fad Arch : Arch Section take current WorkingPlane Placement 2015-05-24 17:03:45 -03:00
Przemo Firszt c5903523ea Part: PartDesign: Fine tune chamfer, fillet and draft icons
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-24 10:52:26 +01:00
Yorik van Havre bb3be15ff5 Draft: Removed the 'Hide Draft Workbench' Draft preference since we now have full WB customization 2015-05-23 13:17:50 -03:00
wmayer 1099b23587 + raise error message when trying to mesh without netgen support 2015-05-22 16:15:18 +02:00
wmayer a4441f2a41 + implement missing methods of Python API for SelectionObject 2015-05-21 12:45:36 +02:00
wmayer f20519d352 + new parameter 'CoinOffscreenRenderer' to use Coin's offscreen renderer 2015-05-20 22:11:25 +02:00
wmayer ef610c8c96 + remove SoFCSelection from ViewProviderGeometryObject 2015-05-20 21:44:27 +02:00
wmayer 27863408c9 + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
wmayer 562ecea9cf + fix text in drawing dialog 2015-05-20 18:16:49 +02:00
wmayer dbfedbdeae + fix a few minor issues in DlgWorkbenchesImp and QListWidgetCustom 2015-05-20 11:18:46 +02:00
jriegel d5ae1988b8 small fix in README 2015-05-20 06:49:23 +02:00
jriegel aa142250e0 add shell and beam support to FEM mesh ViewProvider 2015-05-19 21:42:36 +02:00
wmayer 4ae424b44a + fix minor bug in string concatenation 2015-05-19 21:18:45 +02:00
Kirill Gavrilov be70bad701 + fixes #0002108: Add OpenCascade navigation style 2015-05-19 20:24:09 +02:00
Kirill Gavrilov e75fd5e69a + fixes: #0002109: Matrix4D - add missing constructor body 2015-05-19 20:10:48 +02:00
Yorik van Havre afef89a8ef Arch: Fixed materials merge in IFC import 2015-05-19 10:15:07 -03:00
Przemo Firszt 4c383527f8 App: Add dialog to pick preferred workbenches
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 22:25:59 +02:00
Przemo Firszt b507505a47 FEM: Fix crash on missing unit when editing material second time
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 17:09:30 +01:00
Przemo Firszt b7e7f1f40a Base: Handle Unit::Stress tha same way as Unit::Pressure in UnitsSchema
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 16:43:45 +01:00
Przemo Firszt 4729cafdcc Base: Fix GPa/MPa units in UnitsSchemaMKS.cpp
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 16:37:09 +01:00
Yorik van Havre 691b1af944 Arch: Added pref option to IFC import to treat materials with same name as one 2015-05-17 14:22:24 -03:00
wmayer 9431d301d3 + for VRML and OpenInventor export only selection, fix whitespaces 2015-05-17 13:53:22 +02:00
wmayer 994fbd072a + whitespace fixes 2015-05-17 12:53:00 +02:00
wmayer f8eb61fdf8 + prepare OCAF document to keep placement 2015-05-16 21:41:53 +02:00
wmayer 854b4be506 + prepare OCAF document to keep placement 2015-05-16 18:01:57 +02:00
wmayer 00a124cea1 + Pad type UpToFirst and UpToFace doesn't produce expected results. 2015-05-16 14:19:20 +02:00
wmayer a6436f7d12 + fixes #0001655: Pocket type UpToFirst and UpToFace doesn't produce expected results. 2015-05-16 12:44:07 +02:00
wmayer 78671cb27e + raise exceptions in TopoShape::makeOffsetShape if needed 2015-05-15 20:20:37 +02:00
wmayer 4fe99f2658 + whitespace improvement 2015-05-15 20:07:55 +02:00
blobfish 0950e1963a Part: Offset: fill rework. 2015-05-15 20:00:47 +02:00
blobfish cb2002d188 Part: ModelRefine: fix for bug# 2097 2015-05-15 18:06:33 +02:00
Yorik van Havre 25da93e2ea Arch: small bugfix in IFC importer 2015-05-15 11:27:15 -03:00
wmayer 96e77ab5bf + FEM: replace set with list to preserve order 2015-05-15 13:48:29 +02:00
wmayer 84d579186c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-05-13 12:01:23 +02:00
Yorik van Havre a6fad36ab6 Arch: small bugfix in windows 2015-05-12 23:26:41 -03:00
Yorik van Havre c7c5171233 Draft: fixed typo 2015-05-12 22:14:06 -03:00
Przemo Firszt 29044021cd FEM: Fix Von Mises equation
Reported-by: sgrogan and confirmed by drei

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-12 15:58:49 +01:00
Yorik van Havre bcec2d45ad Arch: Added MDF presets to panel 2015-05-10 11:30:01 -03:00
Sebastian Hoogen d4f3cb7277 use transformGeometry in importSVG
partly reverts f045df1ef3 as workaround
for issue #2062
2015-05-09 19:57:36 +02:00
Yorik van Havre 31cecf79a1 Draft: Added archang's patch to importDWG 2015-05-09 12:39:53 -03:00
wmayer 1f1acad4f8 + set appropriate step size in clipping dialog 2015-05-09 14:54:28 +02:00
wmayer 45604b3874 + use list of pairs instead of map for getVolumesByFace 2015-05-09 12:02:25 +02:00
wmayer fbdfeef2a3 + add method getPolesAndWeights() to NURBS surfaces and curves 2015-05-09 00:58:07 +02:00
wmayer 814c144ecb + FEM: add a couple of methods to Python interface 2015-05-09 00:15:05 +02:00
wmayer 9e89f2ff9a + implement FemMesh::getVolumesByFace, replace inner list by tuple 2015-05-08 21:45:13 +02:00
Przemo Firszt cd6088332f FEM: Fix invalid CLOAD formatting
Existing code was producing invalid results:

a = 9876543212346789864323456.9543234578986432345678
>>> print "{:.13}".format(repr(a))
9.87654321234
>>> a
9.87654321234679e+24
The new converision should work fine:
>>> print "{:.13E}".format(a)
9.8765432123468E+24

Reported & fixed by ulrich1a
2015-05-08 20:59:32 +02:00
Przemo Firszt 6ab70bece6 FEM: inp file formatting/typos
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:59:14 +02:00
Przemo Firszt 48efcc449b FEM: Add getccxVolumesByFace and write_face_load functions
getccxVolumesByFace returns std::map<int, int> with ID of volume
and a number of face as per CalculiX definition. The same function is
accessible for python and returns list with the same information, like
this: [[229, 3], [230, 3], [233, 2], [238, 2]]

write_face_load produces something like this in the .inp file:

***********************************************************
** element + CalculiX face + load in [MPa]
** written by write_face_load function
*DLOAD
** Load on face Face2
229,P3,10.0
230,P3,10.0
233,P2,10.0
238,P2,10.0

Optimised by wmayer

Signed-off-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:59 +02:00
Przemo Firszt be43c7f5c0 FEM: getNodesByVertex should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:43 +02:00
Przemo Firszt 3395d4ea02 FEM: getNodesByEdge should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:26 +02:00
Przemo Firszt 0e670396fa FEM: getNodesByFace should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:07 +02:00
wmayer 72a0c490ac + use right iterator variable 2015-05-08 12:40:57 +02:00
wmayer 2dd871389e + fix branding bug, use tr() function of class not QObject 2015-05-08 01:08:19 +02:00
wmayer 4efaacc5b3 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-05-08 00:54:36 +02:00
wmayer f840f89922 + switch between old and new offscreen renderer 2015-05-08 00:54:09 +02:00
Yorik van Havre 6c7911a602 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-05-07 18:17:50 -03:00
Yorik van Havre dd78ad7e72 Better message if qt help file is not found - fixes #2084 2015-05-07 18:17:35 -03:00
Yorik van Havre 24e310ec57 Arch: Fixed makefile 2015-05-07 18:14:52 -03:00
wmayer 00438fffd2 + before trying to write out snapshot image check if it's null 2015-05-07 23:07:20 +02:00
Yorik van Havre 7b1135a3e9 Arch: moved some ui files to resource 2015-05-07 17:38:24 -03:00
Yorik van Havre a9ecbdc802 Arch / Draft: reorganized preferences files 2015-05-07 17:06:56 -03:00
wmayer 54220d5040 + handle case when workbench fails to be created, fix problem when inserting menu 2015-05-06 10:47:51 +02:00
wmayer 13070cbe23 + improve doc string 2015-05-04 15:20:23 +02:00
wmayer 477b3ce3f2 + fixes #0002085: Only one Toolbar Separator 2015-05-03 21:32:24 +02:00
wmayer 6cd9220079 + show build type 2015-05-02 17:56:44 +02:00
wmayer 74c912f169 + fixes #0002064: Editable text changes in drawing template not restored. 2015-05-02 13:14:38 +02:00
wmayer 894e66056e + show build type 2015-05-02 02:13:13 +02:00
wmayer f6c25f94de + code cleanup: remove deprecated class ViewProviderPartBase 2015-05-02 00:37:05 +02:00
wmayer 58b54aa729 + code cleanup: remove NO_USE_QT_MDI_AREA 2015-05-01 23:27:20 +02:00
wmayer b35d28a941 + whitespace fixes, add curly braces to outer loop 2015-05-01 18:49:20 +02:00
DeepSOIC 24797fb65e Sketcher: allow mass selection for Point-on-object constraint 2015-05-01 18:31:18 +02:00
Przemo Firszt 605e8cd72c FEM: Add comments to .inp file about functions
Adding detailed information which function is responsible for
creating a proticular section of the .inp file should save
some guesswork. An example from the .inp file:

[..]
***********************************************************
** node sets for loads
** written by write_load_node_sets function
*NSET,NSET=FemConstraintForce
1,
3,
[..]

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:30:53 +02:00
Przemo Firszt beb6cecf59 FEM: Use local variable to avoid long strings in write_constraints_force
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:30:35 +02:00
Przemo Firszt dec69a8769 FEM: Use local variable to avoid long strings in write_constraints_fixed
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:30:20 +02:00
Przemo Firszt 0b7c02850e FEM: Use local variable to avoid long strings in write_materials
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:30:05 +02:00
Przemo Firszt 5bf115ddba FEM: Use local variable to avoid long strings in write_load_node_sets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:29:48 +02:00
Przemo Firszt 39fd6d9217 FEM: Material name has to be limited to 80 characters for ccx
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:29:30 +02:00
Przemo Firszt 27e43f6939 FEM: Use local variable to avoid long strings in write_fixed_node_sets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:29:14 +02:00
Przemo Firszt d7ae64fb45 FEM: Use local variable to avoid long strings in write_material_element_sets
print material_object['Object'].Name, ':  ', material_object['Object'].Material['Name']

becomes this:

print mat_obj_name, ':  ', mat_name

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:28:57 +02:00
Przemo Firszt a99a897ae8 FEM: Rename variables f->elem, inpfile->f
The reason behind that change is that auxiliary variables,
like a file handle, should not be too visible. inpfile was
a good description, but we're handling only one file and there
is no need to use a descriptive variable name for it in every function.
It's enough that is used in write_calculix_input_file

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:28:39 +02:00
wmayer dd2b39ddd6 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
wmayer d8f63bcfd1 + fix broken brush selection 2015-05-01 02:08:06 +02:00
wmayer 6b6070281e + whitespacee/typo fixes 2015-04-30 23:16:57 +02:00
wmayer 11239b034c + always keep digits at end when using copyObject, remove deprecated third parameter 2015-04-29 16:33:20 +02:00
wmayer 1811795e41 + fix build failure for zipios++ from Fedora 2015-04-29 10:31:10 +02:00
Przemo Firszt f5874a74e4 FEM: Split inp write_calculix_input_file into functions
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:19 +02:00
Przemo Firszt 30a69a5797 FEM: Make sure Young's modulus is written in MPa
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:18 +02:00
Przemo Firszt ab26d7fd50 FEM: Replace invalid General_description with Description
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:17 +02:00
Przemo Firszt 7036d46bf2 FEM: ccxInpWriter shouldn't do any validation or guessing
Also, there is no need to print material parameters to the console.
User can see that info in dialog box, in .inp file and it's also printed
to console after material has been set.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:17 +02:00
Przemo Firszt 5e48d624e4 FEM: Make sure Edit/Run buttons stay disabled if ccxInpWriter didn't generate .inp file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:16 +02:00
Przemo Firszt ed8267643b FEM: Cleaning ccxInpWriter
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:15 +02:00
Przemo Firszt b61bb54b78 FEM: General_name is invalid since f96f319986
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:14 +02:00
Przemo Firszt c9a54019aa FEM: Reduce femConsole noise
Showing ccx output during short colculations doesn't make any sense.
During long calculations user is flooded with messages, that ccx
produced empty output.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:14 +02:00
Przemo Firszt 9f7728573d FEM: Remove multiple empty lines produced by ccx before sending to FEM console
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:13 +02:00
Przemo Firszt bdfe2bafda FEM: Always scroll FEM console to the bottom after adding new message
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:12 +02:00
Przemo Firszt cd4e71eadd FEM: Typo/white space fix
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:12 +02:00
Przemo Firszt 294939f471 FEM: Rename CalculixLib to ccxFrdReader
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:11 +02:00
Przemo Firszt d6b2ae8096 FEM: Move .inp writer to InpWriter.py file
Suggested by: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:10 +02:00
Przemo Firszt 42bc0b57f8 FEM: Remove never used saveMat function
That function won't be used as there is a plan to merge material
handling with Arch wb and Arch wb already has material editor.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:09 +02:00
Przemo Firszt af4ad9059a FEM: Remove never used colorValue function and FemLib.py file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:08 +02:00
Przemo Firszt c6d1052f1f FEM: Force showing Youngs modulus in MPa
That commit fixes inconsistent behaviour of Young's modulus input field
units in FEM material dialog window.

Reported-by: sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:08 +02:00
Przemo Firszt efcfd10a56 FEM: Remove empty python file added with commit 2818bc4ddf
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:07 +02:00
Przemo Firszt 79caef00cb FEM: Fix typo
Reported-by: dubstar-04
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:06 +02:00
Yorik van Havre 8d46ebc405 Removed obsoleted README files - fixes #1974 2015-04-27 11:15:36 -03:00
wmayer 56ef3b56ec Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-26 22:17:58 +02:00
wmayer badfa3ad17 + unit test for PropertyEnumeration 2015-04-26 22:17:32 +02:00
Yorik van Havre d449cab279 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-26 17:11:27 -03:00
Yorik van Havre 69b213b7e5 Arch: Fixed missing cmake entries in last commit 2015-04-26 17:10:52 -03:00
wmayer c84ce15054 + preserve current index when setting enumeration 2015-04-26 22:10:40 +02:00
Yorik van Havre 02f938ebdf First groundwork on Arch Schedule tool 2015-04-26 13:57:36 -03:00
wmayer baf0dc0524 + fix broken unit test 2015-04-25 21:58:41 +02:00
Ian Rees 74c9a3dc4e Now with more Property properties! 2015-04-25 23:43:15 +12:00
wmayer 070198ecf2 + fix gcc build failure 2015-04-25 10:21:32 +02:00
Ian Rees f1b75dbe29 Refactored PropertyEnumeration 2015-04-24 23:33:33 +02:00
wmayer 67c4dcdf70 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-24 21:46:19 +02:00
wmayer 2a3edfcd84 + FEM: Add icon to command 2015-04-24 21:45:34 +02:00
Yorik van Havre c692d6e136 Arch: IFC importer can now recreate extrusions
By enabling the setting in IFC preferences, the IFC
importer can now detect if an input shape is a normal
extrusion, and create the object as a Part::Extrusion.
2015-04-24 16:30:38 -03:00
Yorik van Havre 9967bbe297 Drawing: Symbols can now contain editable texts 2015-04-23 23:13:58 -03:00
wmayer 4db69850fb + FEM: reimplement function to create FEM mesh from shape 2015-04-23 23:36:05 +02:00
wmayer ec96217335 + FEM: cleanup of unused dialog 2015-04-23 23:11:47 +02:00
Przemo Firszt 7ec585ec18 FEM: Change Start Calculations shortcut to S, C
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:05:44 +02:00
Przemo Firszt a4429c9ea8 FEM: Change Show Results shortcut to S, R
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:05:27 +02:00
Przemo Firszt 6ba642a3cc FEM: Change New Analysis shortcut to N, A
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:05:06 +02:00
Przemo Firszt e6d7b7e586 FEM: Change Mechanical Material shortcut to M, M
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:04:50 +02:00
Przemo Firszt 249c2641e0 FEM: Change order of FEM toolbar items
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:04:31 +02:00
Przemo Firszt f3b33f52e6 FEM: Reset min/max/avg to the initial state after user selected None
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:04:09 +02:00
Przemo Firszt 31a263ed89 FEM: Show displacement/stress nicely formatted and with proper units
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:03:44 +02:00
Przemo Firszt bf1ffb612f FEM: Rename min/max to avoid unintentional built-in function overload
min/max are python build-in functions, so we shouldn't use them as variable names

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:03:26 +02:00
Przemo Firszt dd3c7f1bfb FEM: Fix white spaces
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:03:04 +02:00
Przemo Firszt 129cc88b0b FEM: Ignore unicode conversion errors
Solution suggested by shoogen
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:02:42 +02:00
Przemo Firszt c5850e510a FEM: Cut material name to 80 characters
CalculiX documentation tells that maximum alowed material name length
is 80 characters, so we have to respect that. Also ccx quietly fails if
that limit is not honoured.

Reported-by: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:02:22 +02:00
Przemo Firszt 1e026ac477 Material: Use repr instead of backticks
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:02:02 +02:00
Przemo Firszt 4f36439028 Material: Fix white space errors in Material.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:01:39 +02:00
Przemo Firszt f96f319986 FEM: Change default behaviour of ConfigParser used for materials
ConfigParser changes option capital letters in keys to small letters.
That commit changes it to generate verbatim keys as read from FCMat
files. Also Section names are no longer used to generate material
dictionary.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:01:18 +02:00
Przemo Firszt 9b2f2b15bc FEM: Change way of handling combobox with FEM results
Identification of selected result item is no longer based
on the item string, but on a separate userData. This method
is language agnostic.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:00:56 +02:00
Przemo Firszt d548490a2b FEM: Clean white spaces in MechanicalAnalysis.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 16:59:52 +02:00
Przemo Firszt f482dc2383 FEM: Clean imports in MechanicalAnalysis.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 16:59:30 +02:00
Przemo Firszt 957f723782 FEM: Make sure .inp doesn't contain force values that crash ccx
ccx crashes when a force has too many digits like this:
FemConstraintForce,2,1.5966711853290134e-18
but it's OK with that format:
FemConstraintForce,2,1.5966711853e-18

An example of ccx error:
*ERROR reading *CLOAD. Card image:
FEMCONSTRAINTFORCE,3,1.5966711853290134E-18

This commits adds formatting to make sure the numbers are within ccx
limits.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 16:58:57 +02:00
wmayer 13b8d323b2 + FEM: Improve drag and drop for FEM analysis object 2015-04-23 13:31:14 +02:00
Yorik van Havre bf32404975 added new set of Drawing templates - fixes #2065 #2043 #2005 2015-04-22 19:01:55 -03:00
wmayer f460cec308 + FEM: Support drag and drop for analysis object 2015-04-22 23:24:43 +02:00
wmayer bf2266aee3 + hide input shape after creating fem object, give feedback on wrong selection for nodes set 2015-04-22 22:45:07 +02:00
Bernd Hahnebach f4f7759bba FEM: CalculiX input file, possibility to write more than one material object 2015-04-22 15:28:37 -03:00
wmayer 02b84611b2 + extend Inventor builder, project curve on mesh 2015-04-22 17:15:49 +02:00
wmayer 197aa0c85c + fix bug in read-only InputField, minor Utf-8 issue in meshing dialog 2015-04-22 14:01:27 +02:00
Yorik van Havre bab894b775 Arch: Better output of ArchVRM renderer 2015-04-20 18:34:40 -03:00
Yorik van Havre 01480a174a Workaround for issue #1963 - Search for templates in userAppData/Templates folder 2015-04-20 12:45:43 -03:00
wmayer 01768b70e7 + FEM: remove useless error message 2015-04-20 11:35:40 +02:00
wmayer 9dfb87d227 + do not translate units 2015-04-20 10:48:06 +02:00
wmayer 225fce9604 + do not translate units 2015-04-19 23:41:27 +02:00
Yorik van Havre 4d630dbc32 Arch: misc improvements to materials and IFC
* Improved IFC export of curved surfaces
* Better icon for materials group
* Fixes in IFC export of materials
2015-04-19 16:34:36 -03:00
wmayer bba2dd581b + update Debian packaging files 2015-04-19 13:42:02 +02:00
wmayer f12a26b5fb + remove broken command from FEM workbench 2015-04-18 22:06:55 +02:00
Yorik van Havre 3e82f69ca5 Arch: Enabled materials in IFC import & export 2015-04-17 19:43:54 -03:00
wmayer 017e0f38d1 + fixes #0001998: For 32 px and 48 px the icons with a submenu in toolbars are not display at the good size 2015-04-17 23:16:28 +02:00
wmayer 59e45e0ae9 + use .dylib for normal shared libraries under MacOSX 2015-04-17 18:13:51 +02:00
Przemo Firszt 943ded5774 FEM: Fix typo in fem_console_message name
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt 987dddfc78 FEM: Fix rare crash related to the date of compilation of ccx
Printing FEM console message could fail if ccx was compiled in March
and standard output contained double dotted a.
"You are using an executable made on Mi 4. Mär 19:49:02 CET 2015"

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt 4b56d3d406 FEM: Fix typo. Rename MathObject to MaterialObject
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt 35c5de0782 FEM: No need to check length, empty list evaluates to False
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt 25c18729e1 FEM: Disable "open editor" and "run ccx" buttons.
This commit moves checking prerequisites to function. The function
is called before writing .inp file to make sure all required objects
are included in the analysis. "open editor" and "run ccx" buttons are
if check_prerequisites runs successfully.

Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt 2d90d39cc3 FEM: Make sure cursor gets restored if write_calculix_input_file fails
Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt d3c7270031 FEM: Fix typos
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt ac5fe442dc FEM: Group all helper functions together
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt b6ea746fa2 FEM: Rename chooseMat to choose_material
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt 3066e6b3d0 FEM: Use built-in None material if there was no previous material
Adding material was using by default transient None material that
has no properties assigned. If use accepted that type of material
an attempt to write CalculiX input file was ending up with a crash.
Using built-in None material prevents that situation.

Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt 6437beaec1 FEM: Use default True value for material dirs
Defaulting to False was causing problems during migration. The default
checkbox of linked FEM preferences is True, but for the first time users
there was nothing stored in UseBuiltInMaterials, UseMaterialsFromConfigDir
and UseMaterialsFromCustomDir, so the materials were not showing up in
the material ComboBox.

Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt 76aa89b536 FEM: Catch ccx errors and print to FEM console in red
Code by wmayer

http://forum.freecadweb.org/viewtopic.php?f=18&t=10514&p=84921#p84901
2015-04-17 10:51:56 +02:00
Przemo Firszt 2acfadfeef FEM: Change way of converting ccx output to unicode
Previous method was prone to UnicodeDecodeError. The try-catch for
UnicodeDecodeError stays in as additional safety net.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt 663771f0a4 FEM: Sort materials within each category
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Yorik van Havre 6750127a05 Arch: Added materials support 2015-04-15 22:08:54 -03:00
Ian Rees f068e723ea Remember last tab selected in PropertyView 2015-04-15 09:12:30 +12:00
wmayer 38ca5341a6 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-14 16:34:11 +02:00
wmayer 0c1fb8e4d8 + delay checking for ccx path, handle exceptions 2015-04-14 16:33:44 +02:00
Przemo Firszt 84467808a4 FEM: Use get_material_data in print_mat_data function
get_material_name provides material name in a safe way, so there is
no need to check in General_name exists in material definition

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:46 +02:00
Przemo Firszt 9eb6cf7480 FEM: Clean code to remove space-after-comma flake8 warning
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:45 +02:00
Przemo Firszt abefd40bb7 FEM: Add Preferences option to hide materials from user defined directory
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:45 +02:00
Przemo Firszt 1d5b4709fe FEM: Add Preferences option to hide materials from .FreeCAD/Materials directory
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:44 +02:00
Przemo Firszt 32a51db481 FEM: Add Preferences option to hide built in materials
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:43 +02:00
Przemo Firszt 956e5f0da0 FEM: Remove self.params
It doesn't make sense to pull preferences in __init__ for later use as
they change dependin on user action.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:43 +02:00
Przemo Firszt 5040266320 FEM: Add message about reverting material after user clicked Cancel button
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:42 +02:00
Przemo Firszt 9205db4b77 FEM: Fix problem with lost values after editing material properties
Now a valid value is stored immediately into object material.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:41 +02:00
Przemo Firszt 75fcae04b9 FEM: Compare material using all properies and handle non-local materials
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:41 +02:00
Przemo Firszt c091b87459 FEM: Rename comboBox_MaterialsInDir to cb_materials
The combo box no longer stores materials from just one dir, so name
needs to be changed

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:40 +02:00
Przemo Firszt 8113463e1e FEM: Import all materials in init instead of on-demand import
On-demand import is no longer good enough as we have 3 different
material directories and materials may have non-unique names.
A material is now identified by a full file path.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:39 +02:00
Przemo Firszt 343225dcc2 FEM: Show material description below combo box
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:39 +02:00
Przemo Firszt 97f5f76433 FEM: Add function for adding materiales from a directory
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:38 +02:00
Przemo Firszt 7cb4df59f7 FEM: Use chooseMat directly set set initial value for material
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:37 +02:00
Przemo Firszt 9a9f7e64a5 FEM: Add icons to materials
Add icons to distinguish where the material is from. FreeCAD icon for
build-in materials, notmal material icon for materials from user
preferences directory which is "~/.FreeCAD/Materials" on linux or
from an user defined location defined in FEM preferences.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:36 +02:00
Przemo Firszt f7fd04aa2b FEM: Add option to define custom material directory
That commit also tidies up FEM preferences, so all file
choosers have the same width

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:36 +02:00
Przemo Firszt 0039ea9e72 FEM: Rename dirname to sytem_mat_dir
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:35 +02:00
Przemo Firszt 54ae984650 FEM: Read materials from user settings directory
That commit also adds python function getUserAppDataDir that calls
Application::getUserAppDataDir()

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:34 +02:00
Przemo Firszt b7bb4346da FEM: Fill default ccx binary location in Preferences
ccx path is filled for linux and windows if it was empty.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:33 +02:00
Przemo Firszt bf179d9f78 FEM: Add option to define ccx path in Preferences
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:32 +02:00
Sebastian Hoogen 7ddd9d2ce0 check BoundingBox before calling distToShape
to find intersecting edges. issue #2050
2015-04-14 10:12:04 -03:00
wmayer f6638d49ce + improve abaqus export 2015-04-14 13:33:20 +02:00
wmayer 0e91902e74 + move to Qt's built-in search system for icon resources 2015-04-14 11:37:24 +02:00
wmayer 2dc1890fd2 + fix rendering problems for FEM elements 2015-04-13 22:11:27 +02:00
wmayer 1c79de55ed + workaround for limit of length of file names 2015-04-13 18:23:30 +02:00
wmayer 618192fca5 + fix critical memory leak 2015-04-13 17:24:54 +02:00
wmayer f53fd0fe90 + allow PNG format with POV-Ray 3.7 on Windows 2015-04-13 11:12:14 +02:00
wmayer 0c0365bb49 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-13 10:33:39 +02:00
wmayer d9b6007722 + fix wrong template path for Raytracing/Lux project 2015-04-13 10:33:10 +02:00
Yorik van Havre a7c346606f Material: Fixed bug in cmake file from commit 6685ae0 2015-04-12 19:21:32 -03:00
wmayer 3e1e5974f0 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-12 18:39:27 +02:00
wmayer 8991b9e04b + add Document::sendMsgToFirstView, fix memory leak 2015-04-12 18:39:01 +02:00
Yorik van Havre 6685ae0142 Material: Added prefix to steel material cards 2015-04-12 13:31:49 -03:00
wmayer 52db9a6cff + set shape color when reading STEP with colors 2015-04-12 12:43:21 +02:00
wmayer 708f6665e6 + fixes #0001831: FreeCAD can start only once 2015-04-12 02:02:30 +02:00
wmayer 2a5659c36b Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-11 22:30:36 +02:00
wmayer 8476bab7dc + fixes #0001963: Only write needed user data in FCSTD file if any. 2015-04-11 22:30:11 +02:00
Yorik van Havre 5c079f8da7 Arch: small fix in IFC explorer 2015-04-11 14:58:33 -03:00
wmayer 00daa1cbd2 + fixes #0001989: 'Open recent' not saved until exit. 2015-04-11 19:04:31 +02:00
wmayer 4e54841a75 + fixes #0002047: Don't register recent files which can't be opened 2015-04-11 17:34:46 +02:00
wmayer c62319d2d9 + make XML parser more robust against unexpected structure 2015-04-11 13:11:12 +02:00
wmayer 9ea9980b2c + fix bad choose of limit 2015-04-11 01:06:03 +02:00
Bernd Hahnebach 56b15fb690 FEM: CalculiX file, boundaries one line for each axis 2015-04-11 00:17:08 +02:00
Bernd Hahnebach 08be917054 FEM: cheange some Comments in CalculiX input file 2015-04-11 00:16:51 +02:00
wmayer 64b83139c7 + fix highlighting of words with numbers 2015-04-10 23:38:29 +02:00
wmayer 1c79112f6e + handling of undercore in calltips window 2015-04-10 19:36:30 +02:00
wmayer b3cbf2b3da + fix Part.__sortEdges__, check for object type in Part.Wire 2015-04-10 18:25:31 +02:00
Yorik van Havre 0c32b1b0ec Draft: make sure normal is consistent for whole path in PathArray 2015-04-10 12:10:28 -03:00
Yorik van Havre 7a096acccd Arch: Objects with same colors are now exported to IFC with same IfcSurfaceStyle 2015-04-09 21:07:44 -03:00
Yorik van Havre 1f47d2cac0 Arch: added DAE importer patch - fixes #2044 2015-04-09 20:17:37 -03:00
wmayer e18796efc5 + fix crash of ccx, use darker green for ccx output, fix typos 2015-04-09 23:26:06 +02:00
Ian Rees 4024f46677 Expands list of mesh formats for import/export 2015-04-09 22:15:28 +02:00
Sebastian Hoogen 6a6a3d3bd0 use multiFuse in Draft/Array issue #1971 2015-04-09 20:19:13 +02:00
Przemo Firszt c774316642 FEM: Unify access rights for FEM svg images
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:11 +02:00
Przemo Firszt 9731fc4e4d FEM: Replace hardcoded icon with a normal image file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:11 +02:00
Przemo Firszt 03e5bb55a4 Material: Change PLA material description
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:10 +02:00
Przemo Firszt 6c3e3b740b Material: Use MPa for Young's modulus in material definitions
Scientific notation removed.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:10 +02:00
Przemo Firszt 72b73d8208 Base: Fix pressure unit problem in internal unit schema
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:09 +02:00
Przemo Firszt be1240a977 FEM: Change Young's modulus limit
2000 was way too low and it was causing some unxepected behaviour for
Young's modulud over 2000 kPa

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:09 +02:00
Przemo Firszt 3a7f48c632 FEM: Fix typo
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:08 +02:00
Przemo Firszt ab2f1c5d1d FEM: Enable displacement related elements on "Show" only
Displacement related elements (factor, slider max and the slider itself)
are now only active when "Show" is selected. Previously they were active
even when "Show" wasn't checked and it was potentially confusing for the
user as nothing was changing when chacnging slider settings.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:08 +02:00
Przemo Firszt 8489a014d1 FEM: replace vertical factor scroll bar with a horizonal one
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:07 +02:00
Przemo Firszt 54bb4e297e FEM: Add "None" and simplify material setting
The "-->choose Material" has been replaced with a not defined material.
That makes setting/retrieving material to/from the object much easier
and allows user to have a "not defined" material. Previously it wasn't
possible to change i.e. form Steel to "not defined".

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:06 +02:00
Przemo Firszt aec082639f FEM: Clean unused import in MechanicalMaterial.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:06 +02:00
Przemo Firszt 65396bc95b FEM: Comment out not yet used saveMat function 2015-04-09 19:45:05 +02:00
Przemo Firszt 18aad09d0d FEM: Replace spinBox_young_modulus with input_fd_young_modulus
spinBox_young_modulus variable is not Gui::SpinBox, but Gui::InputField

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:05 +02:00
Przemo Firszt 56bf10afef FEM: Replace duplicated code with print_mat_data function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:04 +02:00
Przemo Firszt 8de8b991a5 FEM: Replace deprecated has_key with in
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:04 +02:00
Przemo Firszt 135cfbd80f FEM: Remove unused local variable
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:03 +02:00
Przemo Firszt 157a1d8e77 FEM: Fix spaces around =/+/: and brackets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:03 +02:00
Przemo Firszt 5a1249dc3b FEM: Fix white space errors
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:02 +02:00
Przemo Firszt 6bfd683dcf FEM: Clean unused imports in MechanicalMaterial.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:02 +02:00
Przemo Firszt 1ff82e48c6 FEM: Fix copyright date
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:01 +02:00
Przemo Firszt 0f9bcc2f84 FEM: Replace deprecated backticks with repr
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:01 +02:00
Przemo Firszt 7b01cd6832 FEM: Replace "!=" with "is not" when comparing to None
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:00 +02:00
Przemo Firszt 7030aa7482 FEM: Fix white space errors
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:00 +02:00
Przemo Firszt 835228ef34 FEM: Fix spaces around =/+/: and brackets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:59 +02:00
Przemo Firszt 40e8f5b020 FEM: Clean unused imports
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:58 +02:00
Przemo Firszt 3b46c4e94a FEM: Fix copyright date
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:57 +02:00
Przemo Firszt 1af11d9db7 FEM: Rename OutStr to more descriptive fem_console_message
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:57 +02:00
Przemo Firszt b149ba0288 FEM: Make CalculiX execute error message red
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:56 +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 5d0bc520b9 Gui: Added entry to Selection View's context menu, to use selected objects in the python console 2015-04-08 14:08:14 -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
DeepSOIC 694b0339fd GestureNav: bug fix (tilting) + kill messagebox
Fixed a bug where starting tilting with LMB+RMB with LMB in sketcher
caused odd behavior.
No more messagebox upon hitting H key when the cursor is over nothing
(replaced with a warning). The messagebox was very annoying when trying
to hunt a point with touch input.
2015-04-07 00:57:24 +03:00
DeepSOIC 8ba5f73c1a GestureNav: bug fix (gesture lockup in sketcher)
Navigation by gestures didn't work after double-clicking a constraint in
sketcher to edit a value. This was probably caused by the last mouse
button release event not reaching the viewer.
2015-04-07 00:57:23 +03:00
DeepSOIC 963b993abc Gestures: fix running on win XP
Potential fix, by dynamically linking SetGestureConfig
2015-04-07 00:57:22 +03:00
wmayer 176f3e6057 + use correct function to get resource directory 2015-04-05 18:30:35 +02:00
wmayer 960be3c809 + fix memory leak in toBiArcs 2015-04-05 17:19:04 +02:00
wmayer 79de781304 + remove leftover 2015-04-05 16:50:58 +02:00
wmayer 1d1e71b52f + integrate biarcs algorithm 2015-04-05 14:10:03 +02:00
wmayer d3af1ea85a + fix compiler warning 2015-04-04 14:09:00 +02:00
wmayer 453eb18abb + start external editor without blocking GUI 2015-04-03 17:55:51 +02:00
Przemo Firszt d13c279d5a FEM: Add preferences dialog
This patch add FEM preferrences dialog. There is currently only
one option to define if internal or external editor should be used to
open CalculiX input .inp files. Disabling internal editor allows to
define path to external editor.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-03 08:07:28 +02:00
wmayer b36c34b105 + fixes #0002033: boolean failure, model refine 2015-04-03 07:39:17 +02:00
wmayer 32688a636b + check for Win7 to activate gesture support 2015-04-01 21:56:56 +02:00
wmayer c519989ec0 + apply patch from Debian to fix build failure of KDL with clang 2015-04-01 16:15:29 +02:00
Ian Rees ccfaa56b31 Improves build on MacOS with Homebrew or MacPorts
Squashed commit of the following:

commit e158a2049b922cead90cee4a9d3814093db8d00d
Merge: e7c5c06 d545f5b
Author: Ian Rees <ian.rees@gmail.com>
Date:   Wed Mar 25 17:08:56 2015 +1300

    Merge branch 'mac-app-bundle' into macports-build-1

commit d545f5b0de0efa6a0fd020ac98bb6809d9254019
Author: Ian Rees <ian.rees@gmail.com>
Date:   Thu Mar 19 22:30:20 2015 +1300

    Minor fixes to Mac application bundle creation

commit e7c5c0630b47e89fc719259f3d81be724627f915
Author: Ian Rees <ian.rees@gmail.com>
Date:   Thu Mar 19 16:35:34 2015 +1300

    Report error if no OpenCasCADe found

commit 976b51c13a1619acf66b9d4fad5594fee292aa76
Author: Ian Rees <ian.rees@gmail.com>
Date:   Thu Mar 19 16:30:47 2015 +1300

    Detects OCE automatically on Homebrew and MacPorts

commit 1cc477f77f388f2ccb26f3884320819f8cb33249
Author: Ian Rees <ian.rees@gmail.com>
Date:   Tue Mar 17 15:00:34 2015 +1300

    Find PySide and Shiboken automagically on MacPorts

commit 8bf2ebf7397a1c8c4b1b6f1d97e303f335ab47d7
Author: Ian Rees <ian.rees@gmail.com>
Date:   Mon Mar 16 23:05:35 2015 +1300

    Finds the Python include dir and library on OSX

commit 8bba9b2c78cfe65d7c295c4c99f0a176e1281539
Author: Ian Rees <ian.rees@gmail.com>
Date:   Mon Mar 16 17:31:43 2015 +1300

    Detects Python executable in MacPorts or Homebrew

commit 349a2e0e5c4d370c331bdb54d80d8f4323db8a6b
Author: Ian Rees <ian.rees@gmail.com>
Date:   Mon Mar 16 08:25:16 2015 +1300

    Missing correct Python lib is error on cmake-ing

commit 1625fe7c1c7fb2d944b04d93be8cf90d5c829be9
Author: Ian Rees <ian.rees@gmail.com>
Date:   Sun Mar 15 21:06:08 2015 +1300

    Find PySide's UIC and RCC tools properly on MacPorts
2015-04-01 14:40:34 +02:00
wmayer ebb1ca3b36 + improve whitespaces 2015-04-01 13:17:26 +02:00
Torsten Sadowski 75070b1810 Builds and runs with or without 3Dconnexion.framework on Mac
Moved on top of a clean master
2015-04-01 12:30:07 +02:00
Peter Lama 6c42e558e2 + get version number from Version.h 2015-04-01 12:02:51 +02:00
wmayer bc9b8bcf19 + support .inp file format 2015-04-01 11:09:46 +02:00
wmayer 5b27b3194e tmp. disable gesture support 2015-03-31 23:44:23 +02:00
wmayer 8e0110a18e + fix various things 2015-03-31 23:08:12 +02:00
DeepSOIC 4f5747ebef New navigation style: GestureNavigationStyle 2015-03-31 21:49:01 +02:00
DeepSOIC 7085e1ec0c Gestures: inventor touch events and device 2015-03-31 21:49:01 +02:00
DeepSOIC 7f0ca58154 Gestures: tuning windows to enable rotates and switch off horz/vert stickiness of pans 2015-03-31 21:49:00 +02:00
DeepSOIC c0d15db47c Gestures: subscribe 3d view to recieve gestures 2015-03-31 21:49:00 +02:00
DeepSOIC 77ef990fa7 Gestures: custom Windows gesture recognizer
Translates native Windows pinch and rotate gestures into Qt's pinch
gestures.
2015-03-31 21:49:00 +02:00
wmayer 862e65df6c + build failure 2015-03-31 13:00:42 +02:00
wmayer 1d4de73415 + support context-menu in Python view providers 2015-03-31 11:32:43 +02:00
wmayer 9ce46db813 + extend ActionFunction and use in mesh view provider 2015-03-31 01:02:16 +02:00
wmayer bbb3e3f459 + fix build failure with gcc 2015-03-30 23:16:28 +02:00
wmayer ae584e8ec8 + implement mechanism to connect QAction signal with class method 2015-03-30 23:07:34 +02:00
wmayer 018854360d + implement mechanism to connect QAction signal with class method 2015-03-30 23:06:35 +02:00
wmayer 90b5d64831 + remove platform check 2015-03-30 16:36:40 +02:00
wmayer 30098b62e3 FEM: improve Abaqus syntax highlighter 2015-03-30 15:28:08 +02:00
wmayer ff774748cd + FEM: get nodes by vertex 2015-03-30 11:45:35 +02:00
wmayer f84a150bfd + choose consistent C++ and Python method names
+ fix typos
+fix whitespaces
2015-03-30 10:42:14 +02:00
Bernd Hahnebach a15ea4ca18 Fem: add Support for loads and supports on edges to CalculiX file 2015-03-30 10:24:38 +02:00
Bernd Hahnebach e4c2421350 Fem: added Support for more than one Force- and FixedObject in CalculiX file 2015-03-30 10:23:42 +02:00
wmayer dadc87eff8 + fixes #0002029: VRML inline ignored 2015-03-30 02:23:49 +02:00
wmayer 995de944c8 + fixes #0002029: VRML inline ignored 2015-03-29 23:35:39 +02:00
wmayer 88ef0b58d9 + syntax highlighter for Abaqus, show short filename on tabs 2015-03-28 21:50:01 +01:00
Przemo Firszt 18e4fdf5c2 + FEM: Use existing internal editor for inp files 2015-03-28 19:33:11 +01:00
wmayer bf7bc3532e Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-03-28 17:40:36 +01:00
DeepSOIC 89d0a7a176 Sketcher: bugfix: disallow opening when geometry types changed 2015-03-28 17:35:10 +01:00
DeepSOIC 3e6eb430fa Sketcher: small asserts cleanup 2015-03-28 17:35:10 +01:00
DeepSOIC 94c26629c0 Sketcher: add checks for null pointers
Made throws on null pointers.
2015-03-28 17:35:10 +01:00
DeepSOIC 5d9b7a4e03 Sketcher: fix repr string for symmetric constr. 2015-03-28 17:19:37 +01:00
wmayer 30e4eae4aa + fix gcc build failure 2015-03-28 16:35:27 +01:00
wmayer f3cd3e4ce8 + fixes #0002029: VRML inline ignored 2015-03-28 14:51:03 +01:00
wmayer 436749f864 + fixes #0002029: VRML inline ignored 2015-03-27 16:42:14 +01:00
Bernd Hahnebach b4b0ed5c44 Fem: fix: system() is evaluated instead of calling it 2015-03-26 19:38:10 +01:00
wmayer f6d50e6f33 + disable lighting effect of axis cross 2015-03-23 21:08:28 +01:00
wmayer 70a1124a1d + re-enable check for active window for spaceball events 2015-03-23 19:44:04 +01:00
blobfish eba335c615 Part: ModelRefine: catch bspline isEqual exception 2015-03-22 18:43:39 +01:00
wmayer 5ff38ba7d5 + add methods to get GProps from curves and surfaces 2015-03-22 18:39:49 +01:00
wmayer 0a4b08fcb6 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-03-22 12:13:14 +01:00
wmayer 1719f4269a + check if directory exists when trying to save image 2015-03-22 12:12:42 +01:00
Yorik van Havre d67d9603c2 Better PDF generation script 2015-03-21 17:45:08 -03:00
wmayer f87fbe7e2a Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-03-21 19:56:00 +01:00
Sebastian Hoogen db13fbb7b3 add angularDeflection property to ViewProvider
issue #1868
2015-03-21 19:27:43 +01:00
Yorik van Havre 6a2a20f64b Draft: Fixed children being moved together with section planes 2015-03-21 13:23:23 -03:00
wmayer 05bc4d13e1 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-03-21 16:57:36 +01:00
Yorik van Havre 5057f28a49 Drawing: Added SVG pattern generation module 2015-03-21 12:08:05 -03:00
Yorik van Havre 103ee9943d Arch: Added clickable links in IFC explorer 2015-03-21 12:08:05 -03:00
Yorik van Havre 6fb4a7d6f4 Arch: Added more properties needed for green buildings 2015-03-21 12:08:05 -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 2afea6c661 Arch: Allow section planes to clip the 3D view 2015-03-21 12:08:05 -03:00
Yorik van Havre de4fbb94ef Arch: added space types 2015-03-21 12:08:05 -03:00
Yorik van Havre a6206196f6 Arch: added bimserver and git utilities 2015-03-21 12:08:05 -03:00
Ian Rees bd28c52fca Warn user if they cascade/tile windows on Mac 2015-03-21 15:59:44 +01:00
Ian Rees 2de5c0f59c Doxygen ignore _rc.py files 2015-03-21 15:55:48 +01:00
Sebastian Hoogen 089174c297 test for default color from preferences in OpenSCAD/Explode command 2015-03-21 13:29:33 +01:00
Sebastian Hoogen 1846087723 improvements in exportDRAWEXE
fix Draft._clone output
export Shape2DViews
export Part::MultiFuse with single boolean operation like done in c2ce8f5eba
make DRAWEXE ouput more readable
* omit unessary parameters of spheres, cylinders, cones and tori
* denormalize the rotation axis in placements
* use the extension .tcl for the output
2015-03-21 13:29:32 +01:00
Sebastian Hoogen 16c1dbd25d document the convention used for Euler angles (XY'Z'')
in the Placement dialog and the docstrings of the Rotation python class.
fixes #2007
2015-03-21 13:29:32 +01:00
Sebastian Hoogen 01b491b16e use shape.proximity(s) to test for overlapping faces in CSG import 2015-03-21 13:29:31 +01:00
Sebastian Hoogen 565a875365 add shape.proximity(shape) 2015-03-21 13:29:30 +01:00
Sebastian Hoogen 89117e2c6d set FileName property to transient
in order no to leak information in the FCStd file
2015-03-21 13:29:29 +01:00
wmayer 77fe619fa9 + fix layout in DlgReportView page 2015-03-21 13:00:57 +01:00
Przemo Firszt a53f6818b4 FEM: Add description to massage about CalculiX binary
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:04:11 +01:00
Przemo Firszt ec27cbc1c6 FEM: Add printCalculiXstdout function
That non-critical part was quite often silently crashing with
UnicodeDecodeError and as a side effect FreeCAD wasn't loading perfectly
valid CalculiX result file. In long run that function should be replaced
with a write-to-log counterpart and the CalculiX stdout should be shown
to the user only upon request.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:03:56 +01:00
Przemo Firszt d693051f14 FEM: Add function to show CalculiX state changes
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:03:43 +01:00
Przemo Firszt e0ed154996 FEM: Warn user about not implemented Loads/Supports
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:03:27 +01:00
Przemo Firszt 0ed9b18367 FEM: Link exisitng calculixError procedure with error signal
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:03:05 +01:00
Przemo Firszt 47b88e47fb FEM: Add message to indicate end of writing CalculiX input file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:02:52 +01:00
Przemo Firszt ea640ea104 FEM: fix typos
machanical -> mechanical
Van Mises -> Von Mises

http://en.wikipedia.org/wiki/Von_Mises_yield_criterion

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:02:36 +01:00
Przemo Firszt 41539d672b FEM: Fix cursor error
FEM wb was throwing errors:
X Error: BadCursor (invalid Cursor parameter) 6
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x3
X Error: BadCursor (invalid Cursor parameter) 6
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x3
X Error: BadCursor (invalid Cursor parameter) 6
  Major opcode: 95 (X_FreeCursor)
  Resource id:  0x3

according to this [1] that patch should not make any change for windows
and fixes the problem on linux.

[1] https://bugreports.qt.io/browse/PYSIDE-243

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:02:20 +01:00
wmayer ff667115e1 + start development for 0.16 2015-03-20 14:40:14 +01:00
wmayer 4e41e535ff + fix for MacOSX when changing anti-aliasing setting 2015-03-16 23:40:27 +01:00
Przemo Firszt 91e3d30e5b FEM: Replace fem console prints with a function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-16 18:42:02 +00:00
Przemo Firszt 5ed9e816a0 FEM: Show error if results file is missing
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-16 18:42:02 +00:00
Bernd Hahnebach 5b6360684d Fem: units in CalculiX file: mm and N 2015-03-16 07:29:34 +01:00
wmayer a0892a9c56 + show message when changing anti-aliasing 2015-03-15 20:02:21 +01:00
wmayer e0dab757be Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-03-15 18:53:29 +01:00
wmayer 0950b33014 + issue #0002007: Base::Rotation::get/setYawPitchRoll uses wrong euler convention 2015-03-15 18:53:03 +01:00
Yorik van Havre 0f7ef76d56 Draft: added shoogens fix IRW test 2015-03-15 14:42:36 -03:00
wmayer b007bd19e4 + improve abaqus exporter 2015-03-15 14:53:22 +01:00
wmayer 5d159f5cf3 + fix crash in export to abaqus 2015-03-15 02:08:55 +01:00
DeepSOIC 08f7afb0e4 PartDesign: fix wrong sketch pad (#1854)
Fixes the issue where, when a sketch is cloned, and selected for
padding, the clone gets padded instead of the sketch.
It also allows padding of a sketch that is already used by anything
else, except for PartDesign features.
+ the same fix for PartDesign Revolution.
2015-03-14 14:18:34 +01:00
wmayer e85935c4e3 + add Spacemouse pro wireless 2015-03-14 13:40:57 +01:00
getitzack 878b670d52 Update GuiApplicationNativeEventAwareWin32.cpp
Added "3dconnexion space mouse wireless" support for windows. Added 3dconnexion vendor ID, product ID, and extended the strcut tag_VirtualKeys.
2015-03-14 13:39:26 +01:00
Yorik van Havre 95ed267150 Updated offline documentation (final) 2015-03-13 17:30:42 +01:00
Bernd Hahnebach 9a6b729694 Fem: typo in thickness property of FemAnalysis class 2015-03-13 10:09:43 -03:00
wood-galaxy 10aa881f72 fix #1991 : display message for dxf library missing
at the import of importDXF and open, insert and export functions.
Also the message allow user to enabled FreeCAD to download the library.
2015-03-12 15:22:47 -03:00
wmayer 0063b80937 + fixes #0002001: Crash inserting Raytracing Template when in Image View 2015-03-12 12:45:37 +01:00
wmayer bafe8d4b14 + set Const attribute to some methods of FemMesh 2015-03-12 10:42:23 +01:00
Sebastian Hoogen 1676c032b9 properly cast to unsigned before the shift 2015-03-11 21:43:04 +01:00
Sebastian Hoogen 850ca3ac54 trivial bugfix in Draft DXF export
wrong namespace for Part.OCCError
2015-03-11 21:35:30 +01:00
wmayer 4a5a4e9af2 + fixes #0001970: Spaceball 5000 USB no longer works in Windows 7 in 0.15 dev versions 2015-03-11 12:44:38 +01:00
wmayer 9ba57683d5 + method to get Eigensystem of mesh data 2015-03-10 22:47:46 +01:00
wmayer cc7c1d1f44 + fix assert failure in FemMesh 2015-03-10 12:44:22 +01:00
wmayer bfce8c7991 + anti-aliasing for preview of 3d view 2015-03-08 23:10:13 +01:00
wmayer 6958972a52 set cache context when off-screen rendering 2015-03-08 19:12:31 +01:00
Yorik van Havre f3922e5411 Minor fixes in offline doc scripts 2015-03-08 01:02:12 -03:00
Yorik van Havre 0f562ed09b Updated offline documentation files from current wiki 2015-03-08 01:01:29 -03:00
Yorik van Havre 0009e58291 Merged crowdin translations 2015-03-07 15:17:58 -03:00
Yorik van Havre e170a08192 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-03-07 14:32:08 -03:00
Yorik van Havre 720bce762b Updated version number in qt doc script 2015-03-07 14:31:51 -03:00
Bernd Hahnebach 89a6e67e35 Fem: ContraintForce: units are no longer printed on widget 2015-03-06 17:03:35 +01:00
Bernd Hahnebach 4a8e1a58b0 Fem: Fix in CalculiX file if not supported shapes are used for constraints 2015-03-06 17:03:22 +01:00
Bernd Hahnebach baba11610a FEM: add comments to CalculiX input file 2015-03-05 22:31:04 +01:00
Eivind Kvedalen 3743008cda - Self-reference bug
- Refactoring/clean-up of code
- Dependency tracking of aliased cells
- Various resolution errors
- Rewriting of ranges when columns/rows are inserted/removed
- References to aliases keep their units.
2015-03-04 22:18:20 +01:00
wmayer 1b7c0e2a51 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-03-01 11:39:02 +01:00
wmayer f970c97d2f + fixes #0001984: Set CMakeLists *not* to build the useless Assembly module by default 2015-03-01 11:38:38 +01:00
Yorik van Havre 21211aeff2 Draft: Fixed translation of snap bar 2015-02-28 16:45:04 -03:00
Stefan Tröger d5ee7a6efe implement correct vertex normals
- use mesh vertices uv value to get correct normals from face
- remove unused normal and shading options for parts
2015-02-28 15:09:38 +01:00
wmayer d29d62b4ab + fix linker error with MSVC 2012 2015-02-28 12:42:27 +01:00
wmayer bebca4e54c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-02-27 23:28:04 +01:00
wmayer b24f25d874 + in Fem constraint force dialog handle empty Direction 2015-02-27 23:27:08 +01:00
Yorik van Havre 8d8eba6dac Updated ts files from source 2015-02-27 18:56:51 -03:00
Yorik van Havre 8d98921dd7 Updated translations from crowdin 2015-02-27 18:46:03 -03:00
Yorik van Havre 84de2cd5c8 Small fixes in updateTranslations script 2015-02-27 18:38:25 -03:00
Yorik van Havre 9e67696fd5 Material: Added missing units 2015-02-27 13:31:13 -03:00
wmayer 2a4d29d0ac + use undo/redo for Fem constraint force dialog 2015-02-27 11:21:05 +01:00
Bernd Hahnebach d44d0fbda3 Fem Workaround for choosing material data 2015-02-26 23:26:11 +01:00
Bernd Hahnebach fb908f6f82 make main material cards to work correctly with FemWB 2015-02-26 21:25:59 +01:00
Bernd Hahnebach b42ea802b5 Fem make CalculiX Inputfile editable befor run CalculiX 2015-02-26 09:56:58 -03:00
Bernd Hahnebach d5d6b08980 Standard CalculiX Material added 2015-02-26 09:56:58 -03:00
Sebastian Hoogen 75ced60a58 + fixes #0001966: edges in Shape2DView extend beyond endpoint 2015-02-25 18:45:40 -03:00
Yorik van Havre 67d303ae85 Arch: removed old debug message 2015-02-25 18:44:45 -03:00
wmayer f69b38dcde + fix doc string of Part.makeLoft 2015-02-25 21:36:40 +01:00
Sebastian Hoogen ed80eb6c35 enter rubberband after moved by dragIgnoredDistance
issue #1149
2015-02-24 23:51:11 +01:00
Bernd Hahnebach a6dd8870ab Fix Fem Find Calculix binary (if installed) on Linux 2015-02-24 17:12:50 +01:00
Bernd Hahnebach 38eaf76dea Fix Fem DirectionVector of the ForceObject 2015-02-24 17:12:34 +01:00
Bernd Hahnebach 08a5a89847 Fix Fem we do not have initial stresses 2015-02-24 17:12:14 +01:00
Sebastian Hoogen a77106a58f adapt importCSG to makeFace property and change in importDXF
in commit 06a689eff2
2015-02-24 16:36:25 +01:00
Yorik van Havre 627e32aa2c Arch: misc bugfixes in IFC export 2015-02-23 19:34:29 -03:00
wmayer 007f939731 + check for correct OCC version 2015-02-23 16:05:17 +01: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 fac9d35efa Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-02-22 14:53:45 -03:00
Yorik van Havre ff7deabf56 Reformatted README & added more links 2015-02-22 14:53:30 -03:00
wmayer b5b54c59f1 + fix for OCC 6.3 2015-02-22 18:41:18 +01:00
wmayer e8fafa1691 Merge commit '7fa991944298e3723641891cc49424a552b42804' 2015-02-22 18:28:15 +01:00
Peter Lama 119d55be4c Integrate script for making a relocatable OS X app 2015-02-22 18:23:10 +01:00
wmayer f47df84705 + change doc string of Vector.projectPointToLine 2015-02-22 18:14:45 +01:00
Peter Lama 7fa9919442 Add python bin dir as hint for finding PySide tools
(On OS X and Windows)

This should handle most situations
2015-02-21 20:08:56 -08:00
wmayer f2d8fc91ec + issue #0001970: Spaceball 5000 USB no longer works in Windows 7 in 0.15 dev versions 2015-02-21 18:46:06 +01:00
wmayer 153e988237 + make argument of multiFuse const reference 2015-02-21 12:48:12 +01:00
Sebastian Hoogen c2ce8f5eba add TopoShape::multiFuse method
to fuse multiple shapes at once.
2015-02-21 12:35:21 +01:00
Sebastian Hoogen acfafc0b2b Use multiple tool shapes for MultiFuse Feature
issue #1971
2015-02-21 12:35:20 +01:00
wmayer 312f63e43e + edit command for meshes to display components 2015-02-20 22:28:37 +01:00
wmayer 18f1cf7821 + fix issue with bad default value of natural direction 2015-02-20 14:40:03 +01:00
wmayer a869033925 + add slots for undo/redo to Python document observer 2015-02-18 21:36:47 +01:00
wmayer 22b63a7653 + fix ambiguous shortcuts 2015-02-18 13:07:42 +01:00
wmayer 78171d59fd + fixes #0001972: FreeCAD crashes when using keyboard shortcut H to constrain a line 2015-02-18 12:50:16 +01:00
DeepSOIC aeabffeed8 Sketcher: bugfix in updating constraints after external geometry delete 2015-02-17 12:27:32 +01:00
DeepSOIC 13406a4daf Sketch:Validation: swap endpoints for reversed + constraint orientation locking controls
Added buttons to port sketches to CCW-emulation Sketcher.

Bonus =) : Added constraint orientation lock/unlock buttons (affects
point-wise modes of tangent and perpendicular constraints so far)
2015-02-17 12:27:32 +01:00
DeepSOIC 0767cd35f8 Sketcher: fix reversed geometry and rotated arcs
Fixes a bug where an arc, ellipse, or arc-of-ellipse, being reversed in
XY plane, behaved badly in sketcher (see forum thread "Sketch: how to
handle reversed external arcs?"
http://forum.freecadweb.org/viewtopic.php?f=10&t=9130 ).
Also fixes a problem with rotated arcs (see forum thread "Rotating Arc
in Sketcher"
http://forum.freecadweb.org/viewtopic.php?f=22&t=9145#p74262 ).

This is done by adding an emulation flag to a few methods in
Part::GeomXXX, which makes the shape to pretend being non-reversed
(CCW). This causes endpoints of reversed arcs of circles lineked as
external geometry to swap, causing broken sketches sometimes.
2015-02-17 12:27:31 +01:00
Abdullah Tahiri 0b081876e5 Ellipse: External geometry rotated fix
This commit solves the problem that a ellipse appears rotated when added as external geometry, if the face having the
elliptical shape has a direction vector in the -z axis.

This solves the problem. However, the issue with CW and CCW shapes in the sketcher shall be further investigated in order
to arrive to a general acceptable solution.
2015-02-17 12:27:31 +01:00
Eivind Kvedalen c3af4232a4 Spreadsheet: getProperty does not return 0 when property is not found, but throws an exception. Handle this instead. 2015-02-17 11:47:56 +01:00
Eivind Kvedalen 4ab13b9fea Spreadsheet: Remove empty set from documentObjectToCellMap. 2015-02-17 11:47:11 +01:00
Eivind Kvedalen 43e777c7e5 Spreadsheet: docDeps property was not properly maintained, resulting in spurious links to other objects. 2015-02-17 11:46:12 +01:00
Eivind Kvedalen 2621c22409 Spreadsheet: Don't return error message when custom attribute is not found. 2015-02-17 11:45:30 +01:00
Eivind Kvedalen 1b43ca109b Spreadsheet: Consistently use App::Document::Label as reference for document names when tracking dependencies. 2015-02-17 11:44:55 +01:00
Eivind Kvedalen 1f94a15869 Fixed crash when setting/resetting bold/italic/underline on empty cells. 2015-02-17 11:44:21 +01:00
Yorik van Havre 423e700e8a Arch: fixed support of 2D entities in IFC importer 2015-02-16 12:20:29 -02:00
Yorik van Havre 9b4b46f1d0 Arch: small fix in DAE importer 2015-02-15 23:41:46 -02:00
Yorik van Havre 0bb651da4d Updated translation files 2015-02-14 12:16:39 -02:00
Yorik van Havre 7bbdb0a333 Spreadsheet: Added translation file 2015-02-14 12:15:01 -02:00
Yorik van Havre 0b0f6cf215 Spreadsheet: Added back old python spreadsheet code for archiving purposes 2015-02-14 12:03:22 -02:00
wmayer be2bb52796 + open transaction when duplicating selection 2015-02-13 23:12:51 +01:00
wmayer 74e169dc11 + open transaction when pasting clipboard into document 2015-02-13 23:01:41 +01:00
wmayer d89d1808b7 + fixes #0001945: selection out of sync with viewer 2015-02-13 22:26:04 +01:00
wmayer f54da66bd3 + remove unused variable 2015-02-13 22:13:38 +01:00
Eivind Kvedalen d153fb2dbd + Fixed merge of cells to retain value in upper left cell+ Replaced std::map::at() with iterators and find. Removed some superfluous calls to std::map::find()
+ Visual Studio fixes
+ Fixed return values
+ Removed unused variables
2015-02-13 21:53:59 +01:00
Eivind Kvedalen 383ffa6e15 Initial implementation of Spreadsheet module (C++ version) by Eivind Kvedalen.
Various fixes for Windows by
Peter Lama <peterldev94@gmail.com>
Werner Mayer <wmayer@users.sourceforge.net>
2015-02-13 21:53:58 +01:00
Eivind Kvedalen 8ec6b3493d Added Quantity::operator>(...). 2015-02-13 21:53:58 +01:00
Eivind Kvedalen 75dab66916 Added InterpreterSingleton::getValue(...) function. 2015-02-13 21:53:57 +01:00
Eivind Kvedalen 524e982b5e Added tracking of external documents to dependency tracking code. 2015-02-13 21:53:57 +01:00
Eivind Kvedalen e70b859395 Made Property::encodeAttribute static. 2015-02-13 21:53:56 +01:00
Yorik van Havre 5a9d79ac94 Draft: Fixed DXF imorter for non-GUI operation - fixes #1961 2015-02-13 16:49:29 -02:00
Yorik van Havre 40f0927705 Arch: Adapted IFC importer for new IfcOpenShell6
Squashed following commits:
* Arch: Adapted IFC importer for IfcOpenShell6
* Arch: further fixes for ifcopenshell6 compatibility
* Arch: IFC importer now converts to/from  meters for better compatibility with IfcOpenShell
* Arch: further fixes with ifcopenshell6
* Arch: precision adjustments in IFC exporter
* Arch: small fix in makeRoof
2015-02-13 16:41:34 -02:00
Yorik van Havre 6202476061 Draft: made new DXF libraries dialogs translatable 2015-02-13 16:01:16 -02:00
wood-galaxy c516b2456e Draft : Show dialog if DXF libraries not found/not downloadable 2015-02-13 15:31:50 -02:00
wmayer e551c4ef28 + write out material information for x3d format 2015-02-13 17:26:49 +01:00
Sebastian Hoogen 192a32d8d1 refuse to change the placement of PartDesign::Feature Objects
in OpenSCAD/Explode Group command
2015-02-13 00:40:27 +01:00
Yorik van Havre cd5783ac2e Draft: fixed importSVG - fixes #1964 2015-02-12 11:57:39 -02:00
wmayer c61a382a73 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-02-12 14:07:10 +01:00
Sebastian Hoogen cd771f65c6 meshing was removed from StlTransfer
with OCCT CR0025357 issue #1906
2015-02-12 13:46:14 +01:00
Yorik van Havre 4bb365f9b6 Draft: Small fix in DXF importer - fixes #1961 2015-02-12 13:46:14 +01:00
Yorik van Havre f99b6cf534 Fixed typo 2015-02-12 13:46:13 +01:00
Yorik van Havre f278c297fd Drawing: reset the default template to the classic one 2015-02-12 13:46:13 +01:00
Yorik van Havre fe3bb2c5e8 Draft: Small fix in DXF importer - fixes #1961 2015-02-11 16:08:34 -02:00
Yorik van Havre 02efe58818 Fixed typo 2015-02-11 15:50:18 -02:00
Yorik van Havre ff269ef60a Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-02-11 11:25:09 -02:00
wmayer 750e44128d Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-02-11 09:50:41 +01:00
Yorik van Havre 9f40bf1da9 Drawing: reset the default template to the classic one 2015-02-10 14:05:14 -02:00
Sebastian Hoogen 12407a1057 disable conversion of BSplines to circles in SVG drawing output
partly revert 0a31bebaed
2015-02-10 15:45:34 +01:00
Yorik van Havre b67405e16e Fixed typo in text 2015-02-10 11:52:49 -02:00
Yorik van Havre 7b34d02c4c Draft: re-added Draft-Drawing tool to DraftWB 2015-02-09 12:26:41 -02:00
Johannes Obermayr 4ef4369d09 Mod/Complete: Check for modules at runtime.This fixes runtime errors if e. g. TestGui isn't installed due to -DBUILD_TEST=OFF ... 2015-02-08 16:37:14 +01:00
Johannes Obermayr b63c5d0e04 Mod/Complete: Check for modules at runtime.
This fixes runtime errors if e. g. TestGui isn't installed due to -DBUILD_TEST=OFF ...
2015-02-08 16:24:04 +01:00
Sebastian Hoogen faac8c36ba add encoding parameter to .as_std_string()
to handle PyUnicode Objects. Usually ASCII for object names and Utf-8
for file names and console output.
issue #995
2015-02-08 15:37:00 +01: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
Sebastian Hoogen 8ec87dbdf2 rename python classes for shapes and
implememnt __getstate__ and __setstate__ to enable pickling
issue #1948
2015-02-04 17:07:29 +01:00
wmayer 79173e37cd + correct usage of SoPolygonOffset 2015-02-02 14:18:16 +01:00
wmayer 65c56d0bd6 +support to write/read colors to/from OFF file 2015-02-02 09:59:02 +01:00
wmayer c2d0857ddc + fix possible crash in DocumentItem 2015-02-01 12:09:37 +01:00
wmayer f19fe1f8ed + improve loading SVG files in debug mode 2015-02-01 11:14:00 +01:00
wmayer e788741631 + fixes #0001938: addObject() maximum recursion depth exceeded Error 2015-01-31 17:26:03 +01:00
Yorik van Havre dc623f2646 Fixed a typo 2015-01-27 13:57:49 -02:00
Yorik van Havre 8628a6e0e0 Draft: small fix in SVG generation 2015-01-26 17:38:30 -02:00
Yorik van Havre 2ef086a028 Cosmetic fix in crowdin script 2015-01-26 16:26:28 -02:00
Yorik van Havre d8146a0cf8 Updated ts files 2015-01-26 16:23:48 -02:00
Yorik van Havre 6ffc0e177a Drawing: small fix in DraftView command 2015-01-26 16:00:13 -02:00
Yorik van Havre 0da2e4c45a Disabled internal pivy building by default on non-windows platforms - fixes #1335 2015-01-25 12:17:36 -02:00
wmayer 97987db462 + fix problems on unit tests, open transaction when creating distance object, layout warning, ... 2015-01-25 14:04:33 +01:00
wmayer 2cff92a73e + fixes #0001776: Illegal character when opening project 2015-01-25 12:36:24 +01:00
wmayer 683e342cff + fix linker error with MSVC 2015-01-25 12:22:04 +01:00
Sebastian Hoogen 5a9484f06c round the drawing view projection direction
before calculating the necessary view rotation to anticipate the
rounding that happens on saving and reloading the file. fixes #1909
2015-01-24 23:37:38 +01:00
Sebastian Hoogen f32caef40c respect locale environment except for LC_NUMERIC
fixes #1852
2015-01-24 19:52:25 +01:00
wmayer be38772631 + fixes #0001482 2015-01-24 16:32:21 +01:00
wmayer ed46ec272f + slight fix in file filter 2015-01-24 16:31:49 +01:00
wmayer 39aa178b13 + fixes #0001925: Preferences not kept well 2015-01-23 19:41:31 +01:00
wmayer c066183f4b + fix layout of document settings panel 2015-01-23 18:23:01 +01:00
Yorik van Havre 9b345d8264 Arch: Corrected some texts 2015-01-23 12:45:11 -02:00
Yorik van Havre 801906ce51 Added utility script to manage crowdin stuff 2015-01-23 00:00:47 -02:00
Yorik van Havre 06a689eff2 Draft: Added warning dialog against heavy DXF import operations - fixes #1685 2015-01-22 12:21:15 -02:00
Yorik van Havre 378deaf7a3 Fixed small naming error - fixes #1883 2015-01-20 21:23:34 -02:00
Sebastian Hoogen d059520046 Use splines in dxf drawing output 2015-01-20 20:08:40 -02:00
Yorik van Havre cb0fc8cd8e Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-20 20:04:54 -02:00
Yorik van Havre 645d176a13 Added preference setting to set default Author & License - fixes #1883
* added fields in Prefereces->Default->Document
* new documents take the values of those fields
2015-01-20 20:01:14 -02:00
wmayer 2c7d8a2358 + fixes #0001928: The export CAD dialog in PartGui always adds an extension to the filename 2015-01-20 21:38:38 +01:00
Sebastian Hoogen c05f7762f8 import dxf splines as Draft BezCurve if applicable
fixes 1743
2015-01-20 20:07:25 +01:00
Sebastian Hoogen 17a85e4352 Set offset mode for extrusion draft 2015-01-20 11:30:13 +01:00
Sebastian Hoogen 9c698201e2 handle Draft Ellipse arcs 2015-01-20 11:28:17 +01:00
Sebastian Hoogen 2509e59b51 catch non-orthogonal transformation matrix
bugfix for f045df1ef3
2015-01-20 11:26:39 +01:00
wmayer 85214a4359 + fix problem with values > 1000 in quantity spinbox 2015-01-19 21:59:51 +01:00
Yorik van Havre a91fcc681c Draft: Improvements to Trimex tool - fixes #1598
* Autotrim 2 intersecting draft lines, wires or arcs
* Don't snap if CTRL is not pressed
* Allow to trim/extend against itself
2015-01-19 13:49:33 -02:00
wmayer ca0fb1480e + fix gcc build failure 2015-01-19 11:42:45 +01:00
wmayer 3c754da0cb + improve QuantitySpinBox 2015-01-19 00:36:07 +01:00
Yorik van Havre 3887080274 Wait before deleting __objs__ (Werner can you check if its Ok? Thanks) 2015-01-18 15:42:28 -02:00
Yorik van Havre 767d7b442a Draft: fixed leftovers from last commit 2015-01-18 13:44:56 -02:00
Yorik van Havre 044c1c0ef1 Draft: More robust method to write DXF arcs 2015-01-18 13:42:17 -02:00
wmayer 86882eec6a + Handle PyCXX exception in Command::invoke 2015-01-17 16:36:19 +01:00
Yorik van Havre 8fbe631046 Draft: Fixed svg export view box - fixes #1810 2015-01-17 12:51:09 -02:00
wood-galaxy 1de729d6e9 + fixes #0001923: Fix typo for a string within the Arch wokbench 2015-01-17 11:41:22 +01:00
wmayer 1f44226882 + copy DiffuseColor property when creating simple copy 2015-01-16 23:31:07 +01:00
wmayer f5c363db9d + fixes #0001922: occ exception during python shell.makeHalfSpace 2015-01-16 23:11:07 +01:00
Yorik van Havre 79458a83d0 Draft: minor fix in up/downgrade 2015-01-16 19:57:39 -02:00
Yorik van Havre 62b0498e6f Draft: Added a recompute() at the end of Upgrade and Downgrade 2015-01-16 18:05:02 -02:00
Yorik van Havre 90540deb29 Arch: Removed Create from Scratch option from presets - fixes #1835 2015-01-16 17:34:24 -02:00
Yorik van Havre f0ce2e6be6 Moved Draft-Drawing tool to the Drawing WB (renamed Draft View) 2015-01-16 17:16:39 -02:00
Sebastian Hoogen 0aabd2d5ec importDXF: bugfix for handling weights in splines 2015-01-16 18:22:42 +01:00
Sebastian Hoogen c90c2441d2 importDXF: provide polygon fallback for splines
with invalid multiplicities
2015-01-16 15:10:31 -02:00
Sebastian Hoogen ad54783016 improve DXF spline import 2015-01-16 15:10:31 -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
wood-galaxy f72c802f5d Arch CutPlane : Fix some strings to be translatable 2015-01-15 10:27:49 -02:00
wood-galaxy 73c342e05c Arch Roof : Improvement on gable case 2015-01-15 10:26:43 -02:00
wood-galaxy 16564430a1 Arch Roof : Add units in column header. 2015-01-15 10:26:43 -02:00
wmayer ee4436b2c0 + add toShape() to Part.Point, allow to pass Part.Point in Part.Vertex 2015-01-15 11:39:53 +01:00
wmayer 17099d0545 + fixes #0001916: Cannot cancel angle constraint dialogue in sketcher 2015-01-15 00:36:44 +01:00
wmayer cbf0bb0aac + change copyright notice 2015-01-15 00:36:27 +01:00
Sebastian Hoogen f045df1ef3 avoid using transformGeometry in importSVG 2015-01-14 11:56:45 -02:00
Yorik van Havre ae3fafea6c Updated base translation files for crowdin 2015-01-13 20:00:09 -02:00
Yorik van Havre 7a710279ad Draft: Fixed continued dimension - fixes #1891 2015-01-13 19:07:05 -02:00
wmayer fa4f8b0735 + do not throw exception from inside signal handler to get useful stack trace for segmentation faults 2015-01-13 22:01:59 +01:00
wmayer 7c789a1bf7 + allow to suppress verbose mode of XMLReader 2015-01-13 21:57:18 +01:00
wmayer 395d5249d4 + minor change 2015-01-13 21:54:54 +01:00
wmayer 477099bbfe + remove useless stuff from Init files 2015-01-13 16:19:19 +01: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
wmayer 5289967304 + fixes #0001482: v0.14 Mirrored objects parent the original object 2015-01-13 00:03:20 +01:00
wmayer bdfaaee833 + fixes #0001869: Clones displayed in wrong view mode 2015-01-12 19:36:04 +01:00
wmayer eb9b6acdd6 + re-enable reading/writing grid size 2015-01-12 16:29:31 +01:00
wmayer 3f03e954da + fixes #0001914: A4_Landscape_ISO7200 2015-01-12 11:27:30 +01:00
Richard Crozier 65092be5f3 Correct spelling of FEM Netgen Mesh 'Fineness' parameter 2015-01-12 11:12:30 +01:00
wmayer c6fe925dfd + fixes #0001856: Add standard set of blank ISO drawing template sizes 2015-01-12 01:56:14 +01:00
wmayer c9a70c7f03 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-12 01:44:13 +01:00
wmayer b437dfd9da + fixes #0001912: Drawing Workbench Not Displaying Views of Cylindrical Parts. 2015-01-12 01:43:48 +01:00
Yorik van Havre 4cf15ae696 Draft: implemented new, more robust version of sortEdges - fixes #1911 2015-01-11 22:09:29 -02:00
wmayer e16305cb83 + fixes #0001791: Counterbores do not follow when hole is moved 2015-01-12 00:55:56 +01:00
wmayer 351b9d7425 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-11 22:15:48 +01:00
wmayer a672630756 + fixes #0001905: Group-ordering of orphaned children not working as expected 2015-01-11 22:15:18 +01:00
Yorik van Havre af65c413d1 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-11 15:55:32 -02:00
Yorik van Havre 74856e5fbf Draft: Dimensions ExtLines property can now be negative - fixes #1677 2015-01-11 15:55:19 -02:00
wmayer 0b904e674b + support Bezier curves for SVG output 2015-01-11 16:02:27 +01:00
wmayer 82edb4b50a + fixes #0001662: IGES does not export correctly 2015-01-11 12:14:41 +01:00
wmayer 0a31bebaed + fixes #0001898: Drawing workbench draws cylinder in orthographic projection wrong 2015-01-11 01:46:31 +01:00
wmayer 9cb8471fa2 + fixes #0001856: Add standard set of blank ISO drawing template sizes 2015-01-10 22:21:20 +01:00
wmayer 2e91cd1000 + add new templates from triplus 2015-01-10 22:19:46 +01:00
wmayer 3210d0d2a0 + issue #0001856: Add standard set of blank ISO drawing template sizes 2015-01-10 19:09:58 +01:00
wmayer f1e9966084 + fixes #0001054: Show name of feature when it reports a warning 2015-01-10 16:37:49 +01:00
wmayer 0954adf784 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-10 15:15:42 +01:00
wmayer 6a3437e28e + fixes #0000692: Sketcher: Add angle constraint for arcs 2015-01-10 15:15:18 +01:00
Sebastian Hoogen ff8ad03aa3 bugfix in dxf output of arc
regression created by 099ece5c00
2015-01-10 12:09:00 -02:00
Sebastian Hoogen 9ce08e7596 make the Qt::ISODate workaround obvious
by including the intended implmentation
2015-01-10 12:09:00 -02:00
Sebastian Hoogen fe4ab358e5 issue #1450 2015-01-10 12:09:00 -02:00
wmayer 2bff32d704 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-10 12:17:57 +01:00
wmayer 32546115b7 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-10 01:23:09 +01:00
Yorik van Havre 183a0f066b Draft: Fixed typo - fixes #1907 2015-01-09 20:46:07 -02:00
Yorik van Havre 02eecc4fd7 Draft: small bug in Draft GUI - fixes #1908 2015-01-09 20:43:33 -02:00
wmayer 396e9c93b7 + fixes #0001553: printing drawing full size (1:1) prints wrong size 2015-01-09 21:15:27 +01:00
Yorik van Havre fa12868df9 Fixed gnome app file - fixes #1754 2015-01-09 13:28:36 -02:00
wmayer ddfb525c87 + fixes #0000932: Unexpected scaling of a printed Drawing From FreeCAD but not always from exported SVG 2015-01-09 14:00:18 +01:00
wmayer c5b2609974 + select number of quantity spinbox when value is set in property editor 2015-01-07 22:05:00 +01:00
wmayer 311ba87b6c + issue #0000932: Unexpected scaling of a printed Drawing From FreeCAD but not always from exported SVG 2015-01-07 19:35:52 +01:00
wmayer f24e216db4 + fixes #0001652: Proper support of units for all geometric primitives 2015-01-07 15:31:07 +01:00
wmayer be2e191681 + fixes #0001669: Part operation with parts in groups splits again when moved back into group 2015-01-07 11:02:52 +01:00
wmayer 80db2a3bd9 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-06 18:39:00 +01:00
wmayer 010fc6f307 + fixes #0001721: PartDesign Pad 'Up to face' face selection in the 3D view not working 2015-01-06 18:38:33 +01:00
wood galaxy 641c295d44 Arch : Added mid-point to Frame Basepoint - fixes #1892 2015-01-06 13:44:44 -02:00
wmayer fb19ea5089 + fixes #0001870: Revolution and Groove in Part-Design do not hide the sketch and parent-feature for some geometries 2015-01-06 15:00:24 +01:00
wmayer 053f76086b + fix one more missing va_end 2015-01-06 12:06:12 +01:00
Julien Nabet b325bcea3d Fix some cppcheck reports:
- (error) va_list '<var>' was opened but not closed by va_end()
- (style) Same expression on both sides of '||'
- (style) Same expression on both sides of '!='
2015-01-06 11:37:44 +01:00
wmayer 67ca966c98 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-05 23:04:48 +01:00
Michael Georg Hansen be919bb6b3 Use the FreeCAD's working directory as initial directory for FileChooser. 2015-01-05 23:01:52 +01:00
Yorik van Havre bde130821d Draft: Finished ellipse support - fixes #1788 2015-01-05 19:23:02 -02:00
wmayer 296c07142a + fixes #0001896: Selection View widget don't display latin characters for label. 2015-01-05 21:46:51 +01:00
wmayer 489f2451fa + fix a couple of issues in selection view 2015-01-05 19:48:43 +01:00
wmayer 55d124255e + fixes #0001851: Qt Assistant loads Error 404 2015-01-05 18:02:15 +01:00
wmayer 71efef4761 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-05 16:29:06 +01:00
wmayer ee86871bed + fixes #0000763: Bad IGS import 2015-01-05 16:28:40 +01:00
wood galaxy 03183527b2 Draft : fix some utf8 decode
Impacted Lines : 688,2061,2972
2015-01-05 13:13:45 -02:00
wood galaxy 2db39c3d71 Arch : Fix some utf8 decode 2015-01-05 13:13:45 -02:00
wood galaxy 95c0fe3a84 Arch : Internal object name are in English.
Arch objets Label could be translated.
2015-01-05 13:13:45 -02:00
wood galaxy 5657eed566 Arch: Fixed building label 2015-01-05 13:13:45 -02:00
wmayer ab24e9df6a + Implement repr() method of Python binding for ParameterGrp 2015-01-05 13:45:46 +01:00
Sebastian Hoogen be447e64b5 revise drawing dxf ellipse export 2015-01-05 12:26:51 +01:00
Sebastian Hoogen 099ece5c00 determine the angles of an arc only by the axis and paramter range 2015-01-05 12:26:50 +01:00
wmayer 5ecf5b2ef6 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-05 11:21:06 +01:00
Stefan Tröger 7895134432 + Assign the correct context id to the new render action so that correct VBOs are used 2015-01-05 11:20:28 +01:00
Yorik van Havre 9ee08a97ea Draft: fixed #1664 again 2015-01-04 20:38:47 -02:00
wmayer b2e32abe7e + fixes #0001705: Download manager does not follow redirect (HTTP status 302) 2015-01-04 23:15:58 +01:00
Yorik van Havre 9141d28826 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-04 15:34:12 -02:00
Yorik van Havre 47f172bfa2 Arch: Fixed window label 2015-01-04 15:33:54 -02:00
wmayer 25b78f9026 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-04 18:15:59 +01:00
wmayer c3102b69bc + issue #0001705: Download manager does not follow redirect (HTTP status 302) 2015-01-04 18:15:20 +01:00
Yorik van Havre a7b3b85aa1 Arch: Fixed the task panel of Windows - fixes #1835 2015-01-04 15:00:31 -02:00
wmayer 0d1fc35b20 + add try/catch block to notify() method 2015-01-04 13:26:34 +01:00
wmayer d3bc389765 + exception handling if moving sketch fails 2015-01-04 13:02:11 +01:00
wmayer 4cfc2a1a08 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-03 22:39:45 +01:00
wmayer 6c187572c7 + fix undo/redo issues with ortho views 2015-01-03 22:39:07 +01: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
wmayer d8e0df9e97 + fixes #0001678: Visibility property is ignored on drawing sheets 2015-01-03 17:09:17 +01:00
wmayer e7963472b0 + close drawing view when deleting page object 2015-01-03 14:23:17 +01:00
wmayer 3614a08911 + fixes #0001698: All drawing pages are opened automatically when opening a project file 2015-01-03 13:45:12 +01:00
wmayer c47eea61fa + return point/facet indices as unsigned long in Python 2015-01-03 11:24:57 +01: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
wmayer 08828e5dc0 + fixes #0001225: Allow User to Rotate Arc Radius Constraint Text and Leader 2015-01-02 21:26:03 +01:00
Yorik van Havre fe994efa66 Draft: Fixed import of DXF splines - fixes #1743 2015-01-02 17:05:27 -02:00
Yorik van Havre 12afbc9ed5 Arch: trivial bugfix 2015-01-02 16:49:31 -02:00
Yorik van Havre 1dd069ec7f Raytracing: added transparency to lux feature - fixes #1771 2015-01-02 16:48:35 -02:00
wmayer 393d64d53c + fixes #0000498: 'Measure Distance' tool sometimes renders distances inside of solid objects 2015-01-02 14:57:14 +01:00
wmayer 26666a1fda + minor optimization 2015-01-02 12:26:29 +01:00
DeepSOIC c4fb8fc8ae Sketcher: AngleViaPoint: revert from OCC angle precalculation
Returning back to the slow temporary-sketch-based
calculateAngleViaPoint, because OCC-based version was incompatible with
always-CCW sketcher geometry. More info in "Sketch: how to handle
reversed external arcs?" forum thread
http://forum.freecadweb.org/viewtopic.php?f=10&t=9130&sid=1b994fa1236db5ac2371eeb9a53de23f
2015-01-02 11:48:34 +01:00
DeepSOIC 93d00b2dab Sketcher: validateConstraint update
Refactor validateConstraint and add angle-via-point and snell's law
support there.
2015-01-02 11:48:33 +01:00
DeepSOIC 684036fae8 Sketcher Ellipse: code cleanup
deleting redundant overloaded functions involving arc-of-ellipse, a few
todo comments, not implemented methods, System(constraintlist)
constructor.
2015-01-02 11:48:33 +01:00
DeepSOIC ab7d980de0 Sketcher: solver rebranding - renamed directory
Sketcher: solver rebranding - updated references

cleanup

Sketcher: GCS: remove unused NAN and INF
2015-01-02 11:48:32 +01:00
DeepSOIC 9cc2ff7944 Sketcher Constraints: small code refactor
Unifying first checks in grad().
2015-01-02 11:48:32 +01:00
DeepSOIC 8660d9a914 Sketcher Ellipse: porting to DeriVector2
Sketcher Ellipse: porting tangent-line to DeriVector2

Replacing a ton of unreadable, sage generated math code with
easy-to-manage C++ code.

Sketcher Ellipse: porting internal align-t to DeriVector2

Sketcher Ellipse: small math refactor; const members

Moving the repeating code computing deriv+value of major radius to a
method of GCS::Ellipse.
Marking several methods of DeriVector2 as const member functions.

Sketcher Ellipse: porting arc angle rules to DeriVector2

Just porting.
Probably a complete remake of the concept is worth... Angles can be
calculated explicitly, there's no need to load the solver. I see no
benefits whatsoever on using the solver to keep track of angle values.

Sketcher Ellipse: porting equality to DeriVector2
2015-01-02 11:48:31 +01:00
DeepSOIC 43e8b30846 OpticConstraints: Adding Snell's law
Fix AngleViaPoint to support new derivative calculation technique.

OpticConstraints: Adding Snell's law. Fix AngleViaPoint to support new derivative calculation technique.

Snell's law constraint added to GCS, but not yet exposed and cannot be
tested.
Since the way CalculateNormal() returns derivatives had changed,
AngleViaPoint constraint needed modifications. Nothing serious.

OpticConstraints: SnellsLaw progress

Addable through python. Fix math. Some quick-and-dirty visual stuff to
get rid of hangs and to see the constraint in action.

OpticConstraints: SnellsLaw: flipping logic fix

OpticConstraints: SnellsLaw progress

Added toolbar button. Allowed editing a datum by doubleclick. New error
message approach during constraint creation.

OpticConstraints: SnellsLaw

OpticConstraints: SnellsLaw: list label improvement

OpticConstraints: SnellsLaw: fix after rebase

OpticConstraints: SnellsLaw: expose helper constraints

Snell's law internally is made of three constraints: point-on-object,
coincident and the Snell's sin/sin. They were all buried under one UI
constraint. Exposing them allows to construct reflection and
birefringence on the point (attempting to do so used to result in
redundant constraints and was often not functional at all).
This commit breaks compatibility with older files.

OpticConstraints: SnellsLaw: small refactor of math

Placing the duplicated code of error and gradient calculation into a
private method.

OpticConstraints: SnellsLaw: fix datum edit unit

OpticConstraints: SnellsLaw: fix datum edit bug

After previous fix, the dimensionless value was not accepted (the
constraint's value did not change, the changes were ignored).
2015-01-02 11:48:31 +01:00
DeepSOIC 68ec9e44f8 OpticConstraints: SnellsLaw: icon 2015-01-02 11:48:30 +01:00
DeepSOIC 397e37ad1c GCS: fundamental changes to simplify derivatives
GCS::Vector2D was morphed into a DeriVector2, a derivative-aware vector.
A bunch of vector math methods were added that implicitly calculate
respective derivatives. Now, there is no need to calculate the partials
- most is done implicitly.
2015-01-02 11:48:30 +01:00
DeepSOIC 3838bddcdb AngleViaPoint Constraint
AngleViaPoint: fixes in UI routines + new messages

Goofed undo message in tangency via point is fixed.
Forgotten updateActive, clearSelection have been added.
New more informative error messages for tangent constraint.

AngleViaPoint: using it instead of via line tangency

* replaced the helper construction line for ellipse-to-ellipse and
similar tangency with a point. Using tangent-via-point there
* deleted tangency via line for point-to-point on
(cherry picked from commit 9e3fa8c8de0f49c0ef3c978e015eb905358dbdd9)

AngleViaPoint: internal/external tangency locking

*Added automatic tangency type lockdown for all new constraints (only
for point-wise tangency).
Tangency type is stored in the constraint datum field, as an angle value
shifted by Pi/2 (to be able to treat 0.0 as undefined type).
Added ability to switch the tangency by setting datum value from python
(can be abused by passing arbitrary angle).
Further simplified the tangency related code in Sketch.cpp.

AngleViaPoint: added license to Geo.cpp

AngleViaPoint: renames in Constraints.cpp/.h

Changed some names to increase self-explanatoryness:
bool "remapped" renamed to "pvecChangedFlag"
"ReconstructEverything()" renamed to "ReconstructGeomPointers()"

AngleViaPoint: renames in Constraints.cpp/.h

Changed some names to increase self-explanatoryness:
bool "remapped" renamed to "pvecChangedFlag"
"ReconstructEverything()" renamed to "ReconstructGeomPointers()"

AngleViaPoint: using for endpoint perpendicularity

+ direction lockdown, just as with tangency.
+ quite a lot of old code is gone because of that

AngleViaPoint: perp-ty UI routine made similar to tangent

(Git has made a very messy diff.)
The changes are:
* Perpendicularity-via-point (3-element selection) support added.
* Endpoint-to-curve and endpoint-to-endpoint supports all shape
combinations.
* a bit of code cleanup and clarifications.

AngleViaPoint: placement of perpendicular icon in 3d view

AngleViaPoint: fix: allow setDatum of perpendicular constraint

AngleViaPoint: fix: centers of ellipses are not endpoints

isSimpleVertex used to return false for centers of ellipses and arcs of
ellipses, which made them being accepted for point-to-point tangency.
Should be fixed forever, mo more changes are expected to be necessary
for new types of geometry.

AngleViaPoint: precalc with OCC (work in progress)

Work in progress (not yet working).
Using OCC's tangent to replace implementation of
SketchObject::calculateAngleViaPoint.

AngleViaPoint: fix math: normal now points inwards, where it was intended initially and goofed up.

AngleViaPoint: adding comments to the code

AngleViaPoint: using GeomCurve::closestParameterToBasicCurve for angle precalculation

AngleViaPoint: Py method: changeConstraintsLocking

changeConstraintsLocking(True) - locks/re-locks all lockable
tangency/perpendicularity constraints of the sketch (applicable to
existing sketches).
changeConstraintsLocking(False) - removes locking information from
lockable constraints

AngleViaPoint: final SketchObject::calculateAngleViaPoint

Now, finally, using OCC functionality (thanks Abdullah!), without
composing temporary Sketch object.
2015-01-02 11:48:29 +01:00
DeepSOIC 9f821e06b5 Sketcher: Responsivity tweaks and AngleViaPoint Constraint
Solver iteration limit independent of system size (reduces hangs when
solver fails to converge).
Repaint() instead of update() to force render for every movePoint.

Sketcher: New Constraint AngleViaPoint

* Adding generic CalculateNormal() method
* Reconfiguration of GCS geometry classes: adding a base class "Curve",
that has a pure virtual function CalculateNormal().
* Initial inplementation of the new function.
* adding Vector2D class (I wanted to reuse the existing, but got wierd
compile errors, so implemented a new one... TODO.)
* Adding redirection support into GCS shapes. Adding a Copy method to
GCS::Curve.
* Automatic point-on-object
* Angle precalculation: when AngleViaPoint is added, angle is properly calculated based on
existing geometry.
* Added tangency-via-point using one.
* Implemented placement of tangency-via-point icon in 3d view. Also
affected is the placement of point-on-object icon (since it is very
similar code, it is now shared with tangency-via-point)
* Placement and moving of angle datum
Functions: calculateAngleViaPoint, isPointOnCurve,
calculateConstraintError exposed to python
* Endpoint tangency: All endpoint-to-endpoint and endpoint-to-curve tangency now works
through AngleViaPoint constraint and obsolete code clean up (most procedures
addConstraintTangentXXX2YYY)
2015-01-02 11:48:28 +01:00
Abdullah Tahiri ec03fb541f Part: Extension of Geometry::Curve
Part: Extension of Geometry::Curve to wrap more functions of OCC

Apart from:
    bool tangent(double u, gp_Dir&) const;
that was already implemented, now it also implements:
    Base::Vector3d pointAtParameter(double u) const;
    Base::Vector3d firstDerivativeAtParameter(double u) const;
    Base::Vector3d secondDerivativeAtParameter(double u) const;
    bool normal(double u, gp_Dir& dir) const;
    bool closestParameter(Base::Vector3d point, double &u);

i.e. apart from giving the tangent vector for a given curve at parameter value u,
it also gives:
   - The point cartesian coordinates of the curve point at parameter value u
   - The vector of the first derivative at parameter value u
   - The vector of the second derivative at parameter value u
   - The normal vector to the curve at parameter value u
   - The parameter value of a curve closest ot a given point

Code cleanup: Changing Trim functionality of Ellipse to use OCC calculations

Part Curve functions extension: closestParameterToBasicCurve

It provides the parameter of the curve closest to a given point. If the curve is a Trimmed curve, the parameter of the basic underlaying curve closest to the point is provided.
2015-01-02 11:48:28 +01:00
Sebastian Hoogen a8dd528c1a Build python Qt resource files at compile time
fixes #1888
2015-01-02 11:14:07 +01:00
Yorik van Havre f3af41e4cc Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-01 19:06:26 -02:00
Yorik van Havre 051b38b1c1 Arch: temporarily disabled custom subvolume in windows 2015-01-01 19:06:11 -02:00
Yorik van Havre 60b648b053 Arch: Equipments now take the diffuse color of their base object on creation 2015-01-01 19:06:00 -02:00
wmayer f545455466 + fixes #0001889: Crash when undoing move of base object of a part fillet 2015-01-01 21:05:19 +01:00
Yorik van Havre 2680395ede Draft: adapt icon sizes from preferences settings - fixes #1783 2014-12-31 21:23:24 -02:00
Yorik van Havre 845849fa91 Arch: implemented reading & writing of Ifc properties in IFC files 2014-12-31 18:35:39 -02:00
Yorik van Havre 244373779d Arch: Fixed IFC import bug - fixes #1887 2014-12-31 15:21:41 -02:00
Yorik van Havre 3f607d73a4 Arch: Fixed Arch example - fixes #1789 2014-12-31 14:42:22 -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
wmayer ca5062cbfe + fixes #0001885: Unhandled exception when trying to enter edit-mode for objects while drawing view is active 2014-12-31 14:08:03 +01:00
wmayer 4d618955b3 + fixes #0001884: Crash when double-clicking on Clip element with drawing page closed 2014-12-31 13:15:33 +01:00
wmayer b2f8a4ed2a + fixes #0001723: Display errormessage in tree in tooltip 2014-12-30 22:44:29 +01:00
wmayer 2c53bd1e9a + fixes #0001670: Orthographic projection: scale/position is empty when unchecking 'Auto scale/position' 2014-12-30 19:14:07 +01:00
wmayer c231866b8d + fixes #0001746: Part Fillet and Chamfer do not show correct length/radius when editing old items 2014-12-30 17:20:32 +01:00
wmayer ff09f0524d + fixes #0001656: Vertical/horizontal distance constraint confuses for a line or two points 2014-12-30 15:20:29 +01:00
wmayer fba0ef0671 + fixes #0001657: Sketcher: First digit can not be deleted when editing grid size 2014-12-30 14:18:02 +01:00
wmayer 7aa91ecee3 + fixes #0001760: FC fails to load a *.FCStd file if the filename lacks the *.FCStd file extension 2014-12-30 00:31:39 +01:00
wmayer 72f947433c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-12-29 22:28:52 +01:00
wmayer f51daa88e0 + fixes #0001819: Getter Methods for Data inside a sketch 2014-12-29 22:28:12 +01:00
Yorik van Havre 2f78c021db Arch: Fixed encodings in Survey - fixes #1825 2014-12-29 18:54:33 -02:00
Yorik van Havre 638fa8ba75 Draft: Changed working plane button text to Auto - fixes #1879 2014-12-29 17:54:04 -02:00
wmayer 84aad261fc + fixes #0001876: replace helpful text in task tab with an info button 2014-12-29 18:49:17 +01:00
wmayer d83c02387c + fix constraint evaluation function 2014-12-29 15:17:04 +01:00
Peter Lama 32dd867a30 Fix duplicate 'optimized' when using new libpack
When using a CLbundler libpack, PYTHON_LIBRARY has both optimized and debug
libs, but it doesn't when using an old libpack, which was the reason for
commit f5a4e680
2014-12-28 19:04:31 -08:00
wmayer 6a1cb47e30 + fixes #0001616: crash when selecting 'Edit Sketch' 2014-12-29 01:13:03 +01:00
wmayer 51c017ae24 + fixes #0001877: associate a grayed out icon with Freecad's backup files (fcstd1) 2014-12-28 23:54:08 +01:00
wmayer e329cb5c3a + fixes #0001878: model refine exception 2014-12-28 18:10:02 +01:00
wmayer 7d8b1f30c3 + fixes #0001720: Freecad crash when handling invalid sketches 2014-12-28 17:10:54 +01:00
wmayer 6a211b9dbe + fixes #0001060: Editing sketch crashes FreeCAD 2014-12-27 22:47:21 +01:00
wmayer 16a8965038 + do not long apply changes in mesh settings on existing mesh objects 2014-12-27 18:32:18 +01:00
wmayer 7149cce90f + fixes #0000957: Sketch view problem when go to edit 2014-12-27 17:50:37 +01:00
wmayer b172e069a1 + fix conversion from Qi image to Inventor when image uses a color table 2014-12-27 13:51:36 +01:00
wmayer 6a9252744d + fixes #0000976: Usability: default Material drop-down is not the active material type 2014-12-27 00:56:46 +01:00
wmayer 93e5668967 + make undo/redo accessible from drawing view 2014-12-26 22:46:02 +01:00
wmayer 9290274e1c + fixes #0000711: fileted borders not projected on 2D drawing + deleted views still showing 2014-12-26 22:24:45 +01:00
wmayer d060cdf400 + revert changes for issue 1873 2014-12-26 00:08:26 +01:00
wmayer 272cb566e9 + fix minor issue in toggle construction command 2014-12-25 23:13:01 +01:00
wmayer 29d50dbc01 + improve whitespace 2014-12-25 23:10:42 +01:00
wmayer e8802adcbe + fixes #0001838: When In Sketcher Make It Difficult To Mistakenly Delete A Feature 2014-12-25 22:43:09 +01:00
wmayer a6b8bd6815 + improve whitespace, fix warnings 2014-12-25 09:48:23 +01:00
wmayer 33bc596fd8 + fixes #0001873: Error working with getSelectionEx()[0].SubObjects 2014-12-23 22:04:34 +01:00
Yorik van Havre 11a4025c4b Arch: Fixed Ifc explorer to work with recent ifcopenshell 2014-12-23 17:34:56 -02:00
Sebastian Hoogen d0126061c8 DRAWEXE export: minor bugfix 2014-12-23 15:58:17 +01: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 2db457b74a Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-12-23 15:32:37 +01:00
wmayer 3fa8a1ed2b + fixes #0001874: Scripted constraints not evaluated correctly 2014-12-23 15:32:03 +01:00
Yorik van Havre da5504eebb Draft: Fixed autoconversion of bsplines to circles in DXF export 2014-12-23 12:13:25 -02:00
wmayer c918ef7e40 + fix whitespaces in Python module 2014-12-22 12:54:09 +01:00
wmayer 491ea2b52a + use QApplication instead of qApp 2014-12-22 12:30:44 +01:00
wmayer 5478c0fdfe + fixes #0001872: HAVE_CONFIG_H regression 2014-12-22 10:24:26 +01:00
wmayer a5bbabdc3e Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-12-22 03:07:53 +01:00
wmayer 5aefd2d346 + fixes #0001859: Unable to select PNG files for icons for macros in Tools-Customize 2014-12-22 03:07:26 +01:00
wmayer 366e974b7f + fixes #0001864: Support Command-D and Command-. on Mac OSX 2014-12-21 14:56:56 +01:00
wmayer 02cc02eaee + fix build failure 2014-12-21 11:21:32 +01:00
Abdullah Tahiri 75377ebfd3 Part Module New Feature: Hyperbola & ArcOfHyperbola
- Completed Hyperbola c++ implementation and python wrapper
- Created ArOfHyperbola c++ and python wrapper implementation
2014-12-21 00:54:07 +01:00
Abdullah Tahiri 6997cc9991 Part Module New Feature: Parabola & ArcOfParabola
- Completed Parabola c++ implementation and python wrapper implementation
- Created ArOfParabola c++ and python wrapper implementation
2014-12-21 00:51:24 +01:00
Sebastian Hoogen 2b01506c65 reapply changes from 6f907c3b
avoiding to wrongly attribute the follwoing commit message to jobermayr

Thew previous commit detects the OCC/OCE version by parsing Standard_Version.hxx
using a REGEX. The result is saved as OCC_VERSION_STRING. The comparsion
VERSION_LESS requires cmake version >= 2.8.0
2014-12-20 22:41:31 +01:00
Johannes Obermayr f050733132 Fix OCE / OCC version detection. 2014-12-20 22:41:31 +01:00
Michael Georg Hansen 8effb87566 Prevent pages and views from being put into the drawing sheet. 2014-12-20 22:18:43 +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 fe1d67fd65 Simplify access to projection properties.
Directly access the properties where possible.
2014-12-20 22:17:46 +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
Michael Georg Hansen ef24aaa3ce Reuse projection settings from an existing view when creating new part views.
Select a part and a view on a drawing page, then the view created for the part
will have the same projection settings as the selected view.
2014-12-20 22:16:41 +01:00
wmayer 6af1186d27 + remove Makefile.am, remove some leftovers, avoid including unneeded headers in GCS.cpp 2014-12-20 14:06:54 +01:00
wmayer d486f3351d + fix pow() ambiguity 2014-12-20 14:01:23 +01:00
Abdullah Tahiri 501c40f0e6 Sketcher: Ellipse implementation enhancements
- ArcOfEllipse enhancement: Tangency ArcOfEllipse to ArcOfEllipse or ArcOfCircle by selecting end/starting points...
- Minor bug corrections (Thanks DeepSOIC)
- ExposeInternalGeometry python command
- DeleteUnusedInternalGeometry python command
- On deletion of an Ellipse/ArcOfEllipse all further unconstrained internal geometry is also deleted.
- This cleans up the code by eliminating code repetition in the creation methods.
- Major bug fix for autoconstraints for ellipse and arc of ellipse creation (for both creation methods)
- Major bug fix Start and Endpoint constraints of an arc of ellipse where not taking into account that Sketcher arcs are always CCW, so they have to be exchanged if we convert a CW arc into a CCW arc.

Sketcher: General bug fix: Tangency wrongly suggested

What?
=====
- On creation of a shape autoconstraints are suggested.
- Tangent autoconstraint was suggested even with lines perpendicular to the tangency direction

Reproduce
=========
- Make a circle on the origin and move the mouse along the X axis, it will suggest a tangency that is impossible
- Click on the axis and no circle will be created

Solution
========
- The SeekConstraint now can use the parameter dir to give a direction that is substantially perpendicular to the expected tangency, so that
if an object having a direction (a line) is hit, a tangency will not be suggested if within around 6 degrees of being parallel.
- Additionally, if such a line is an X,Y axis of the sketch, tangency will only be suggested if the direction is within 6 degrees of being perpendicular (i.e. it is almost tangent already while sketching).
- This difference is due to the fact that an X or Y axis can not "move" to meet the object under creation, whereas a line can.
2014-12-20 12:33:37 +01:00
Mark A. Taff 80120a6bac Ellipse implementation: Several bug fixes
I. Fix minor bug where wrong b was used to create ellipse internal geometry.

Tweak the internal geometry code a bit and reformat it so it isn't so wide.
Also begin debugging constraint conflicts on small circular ellipses.

There seem to be two issues currently in major/minor internal geometry lines:
  1) Sometimes minorLength > majorLength due to round-tripping doubles, and
  2) Constraint conflicts when majorLength > minorLength by an epsilon on the order of 1e-6

(cherry picked from commit 5c3e20af1a95c860112289dcdda54ea99778bc3a)

II. When testing for a valid ellipse, also ensure that the mangled major axis length > the mangled axis length.

This additional condition ensures that major and minor axis constraints don't conflict in the case of small
(nearly) circular ellipses.

The is still a potential bug in the solver when the major length is just slightly larger than the minor, but this fix
makes it nigh impossible to reproduce.
(cherry picked from commit 7e274bc32d9aa1a12ab52bfa33ed80353540b062)

III. Code clean up

Remove redundant 3d vectors.

(cherry picked from commit c656d5165c8bae8f101a2b46af6b12348d06cefe)
2014-12-20 12:33:37 +01:00
Abdullah Tahiri c8d7f70dba Sketcher: Ellipse implementation: Art by Jim 2014-12-20 12:33:36 +01:00
DeepSOIC fc7f1791d2 Fix intern. geom. placement for ellipse arc a<b
(cherry picked from commit 896372cbae2d5667f72f6ee9e628eea482846156)
2014-12-20 12:33:36 +01:00
Abdullah Tahiri 83edcf4c86 Sketcher: Ellipse : Integration of all conics under a single toolbar space 2014-12-20 12:33:35 +01:00
Abdullah Tahiri ba2c2d36e0 Sketcher: Ellipse implementation Art by Jim
- Art for setting all conics under a single icon
- Art for ellipse for 3 points creation method
2014-12-20 12:33:35 +01:00
Mark A. Taff bccb9466cc Implement two construction methods for ellipses:
--Center, major radius, minor radius
  --Periapsis, apoapsis, minor radius

Artist: We need an icon for periapsis, apoapsis, minor radius method.
(cherry picked from commit f0a4339621b0bf901754af14c3cd36c95ca55966)
2014-12-20 12:33:35 +01:00
Abdullah Tahiri 901bbbed57 Sketcher: Various Ellipse enhancements
- Autoconstraints for Ellipse
- Conversion of a Part.Arc of an Ellipse to Sketcher.
2014-12-20 12:33:34 +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
Abdullah Tahiri f5df65c4c4 Sketcher: Ellipse enhancement: All internal geometry is shown on creation
Elements that have internal geometry are created with the internal geometry on creation.

It has been under discussion for a long time. Ulrich was in favour (asked for it several times).
DeepSOIC implemented the focus because he hated the poor dragging of the ellipse when empty.
2014-12-20 12:33:33 +01:00
DeepSOIC 9d135bdc4e Sketcher: Ellipse enhancement: Negative focus on creation to improve dragging
Focus2 is thrown in automatically for ellipse arcs

(cherry picked from commit 1ab814e6b07fd946dbb2910cc1bfb8588c61afb8)
2014-12-20 12:33:33 +01:00
Abdullah Tahiri d0362fa4a2 Sketcher Ellipse and ArcOfEllipse: Extra features and bug fixes
- Visual representation of equality constraint: Separate circle and arcofcircle implementation from ellipse and arcofellipse implementation
- Fix for Alignment constraint: Now it allows to assign a second element, one by one
- Box selection for ArcOfEllipses
  Fixes the bug that vertex far away got selected due to lack of sync between the selection and draw loops.
2014-12-20 12:33:32 +01:00
DeepSOIC f24b589d67 Sketcher Ellipse bug fix:
- Fix placement of equality symbols at ellipses and arcs of ellipses
2014-12-20 12:33:32 +01:00
Abdullah Tahiri a067a7c25a Sketcher Ellipse and ArcOfEllipse: Extra features and bug fixes
- Minor changes to alignment constraint selection to avoid to create objects just for simple calculations
- Equality constraint of Ellipse, ArcOfEllipse and combinations of those elements
- Bugfix for internalalignment creation of major and minor of ellipse and extension to arcofellipse
- Trim support for ellipses
- Solver threshold for rank calculation set at 1e-13.
- Trim support for arc of ellipse
- Ellipses and ArcOfEllipses as external geometry
- Validate Sketch now supports arcs of ellipse
- Tangents of Ellipse or ArcOfEllipse to any of ArcOfcircle, circle and Ellipse (using construction elements)
- Perpendicularity constraint
- Bug fix: Show/hide internal geometry not working for external geometry
- Visualization of Internal alignment constraints when selecting in the constraint widget
- Equality for ellipses and arc of ellipses
2014-12-20 12:33:31 +01:00
DeepSOIC 21354e9a8b Sketcher Ellipse bug fixes:
- Fix of internal geometry creation
- Fix swapped negative and positive ends of major radius line on creation
- Removing the fudge factor (no longer needed)
- Fix to restore internal alignment - autodecide on constraint creation which point of the line is closer to the position
2014-12-20 12:33:30 +01:00
Abdullah Tahiri fb0d830560 Sketcher Ellipse and ArcOfEllipse: Major bug fixes
- Change mode so that focus1 is not a point, but two doubles so that visual model and solver model match in number of points.
- Solver fix to deal with reduced constraint partials accuracy (threshold for matrix rank calculation tweak)
- Changes suggested by logari81
2014-12-20 12:33:30 +01:00
DeepSOIC e423c308af Sketcher Ellipse bug fix: Jump back on mouseup when shrinked 2014-12-20 12:33:29 +01:00
Abdullah Tahiri a458c3e6d2 Sketcher New Feature: Ellipse support
- Ellipse introduction button via (center,majaxis extreme, a point in edge), ellipse is always CCW so that Z axis goes in the positive direction of the sketch
- Backwards compatibility with files of previous versions of ellipse not defining a phi angle
- Art by Jim (all the icons you see and the XPMs shown on creation of an ellipse)
- Element Widget support for ellipses
- Box selection for ellipses
- Point on Ellipse constraint based on the gardener's method based on Ulrich's function proposal (radcan simplified, i.e. with simplify_radical sage function)
- Tangent: Ellipse to Line based on DeepSOIC's geometric formulation (radcan simplified)

Sketcher New Feature: Internal Alignment Constraint
- The element to which internal alignment is applied has to be selected last.
- All other elements are added in the order of priority, taking into account existing elements
- Art by Jim (beautiful icons).

Sketcher New Feature: Tool to show/hide/restore the internal geometry of an element
- New functionality for show/hide internal geometry:
  toggles between hiding all unused internal geometry elements and showing all internal geometry.
  The restore function is implicit to the showing all internal geometry

Sketcher New Feature: Arc of Ellipse support
- Part::Geometry + Python implementation
- ArcOfEllipse creation method
- Art by Jim (all the icons you see and the XPMs shown on creation of arc of ellipse elements)
- Sketcher Element widget for ArcOfEllipse.

Bug fix: Select elements associated to constraints works now for foci internal alignment constraints
2014-12-20 12:33:29 +01:00
Abdullah Tahiri 6eec2e9851 Ellipse implementation: Art by Jim
- it also includes a shell script equivalent to the UpdateResources.bat for those who use linux
2014-12-20 12:31:27 +01:00
wmayer b24acb3201 + fix package failure 2014-12-19 18:53:23 +01:00
wmayer c64224d945 + set SMESH include dir when using libpack 2014-12-19 13:32:30 +01:00
wmayer 08171f474a + revert PyCXX removal 2014-12-19 11:31:05 +01:00
Richard M. Shaw a8d24be3b3 Update CMake config to work with smesh 6.5.3.1.
New fork of standalone smesh is available here:
https://github.com/tpaviot/smesh
2014-12-19 11:23:38 +01:00
Peter Lama 662d72b4a3 Remove cmake requirement for fortran
Commit b253a148 removed the need for a fortran compiler, but cmake
was still requiring one
2014-12-18 20:14:18 -08:00
wmayer d8722070b8 + extend State attribute of document object 2014-12-17 18:20:30 +01:00
wmayer c1823efe38 + fix build failure 2014-12-16 17:06:05 +01:00
wmayer 977fa48b77 + handle std::exception in Document::slotChangedObject 2014-12-16 15:06:40 +01:00
wmayer 5aac822c71 + issue #0001038: Improve and show List properties in Tree View 2014-12-16 14:31:36 +01:00
wmayer f37a752975 + fixes #0001848: Radius of circle given in degrees 2014-12-16 12:10:15 +01:00
wmayer 171a8cf85a + fixes #0001857: Broken start page in Ukrainian language 2014-12-16 10:20:29 +01:00
wmayer 6e5118c9c8 + fixes #0001038: Improve and show List properties in Tree View 2014-12-15 23:54:55 +01:00
wmayer 78f07f8731 + fixes #0001790: Crash on undo/redo with a selection 2014-12-14 00:06:08 +01:00
wmayer ff7e33b95d + reimplement copyObject based on merge document 2014-12-13 21:43:20 +01:00
wmayer 157ab9508e Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-12-13 19:35:53 +01:00
wmayer f9986e54e4 + get full dependency when copying an object 2014-12-13 19:35:28 +01:00
Yorik van Havre 0ea52029cd Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-12-13 13:37:19 -02:00
Yorik van Havre 7e86d94a48 Material: Added mk2's material cards 2014-12-13 13:36:51 -02:00
Yorik van Havre 4f3b1e2595 Drawing: added new set of empty templates - issue 1856 2014-12-13 13:30:15 -02:00
wmayer 69edf4b6c9 + merge project on app level 2014-12-13 16:15:21 +01:00
Yorik van Havre b2df659699 Fixed small error in concrete material 2014-12-12 14:56:27 -02:00
J.L. Cercos-Pita f58807168d Removed autotools makefile template 2014-12-12 14:49:58 -02:00
J.L. Cercos-Pita 5a23e77385 Fixed the module copy path 2014-12-12 14:49:58 -02:00
J.L. Cercos-Pita fc7c75ba84 Regenrated the branch (rebase failed) 2014-12-12 14:49:58 -02:00
Yorik van Havre 94187a6872 Draft: small fix in Draft.py 2014-12-12 14:38:07 -02:00
wmayer 7801fbef3a + fixes #0001849: Enable Spin Boxes support for Pad, Fillet and Chamfer 2014-12-11 18:25:30 +01:00
wmayer 5665302521 + implement PrefQuantitySpinBox 2014-12-11 14:23:32 +01:00
wmayer ae3755cf01 + utc time with timezone 2014-12-10 15:39:45 +01:00
Sebastian Hoogen 7a8492fddc use ISO 8601 timestamps including timezone
for creation and last changed properties
2014-12-10 12:52:06 +01:00
Sebastian Hoogen fc14611c93 use 4 spaces to indent XML output 2014-12-10 01:33:51 +01:00
wmayer d4a5249b4b + when creating picture check whether pbuffer is supported 2014-12-09 14:18:44 +01:00
wmayer 5da5be2eea + fix crash in spnav settings dialog while changing language, improve whitespaces 2014-12-09 13:44:25 +01:00
wood galaxy 6aa91b3622 Ready for merge : fix issues #1618 and #1607
Implement getSubVolume to cut wall with roof.
Now Roof is not hidden when removing it to a wall.
2014-12-08 12:23:01 -02:00
wood galaxy 341782ec54 Implement Overhang 2014-12-08 12:23:01 -02:00
wood galaxy 1876f36611 Fix bug if user enter thickness = 0 2014-12-08 12:23:01 -02:00
wood galaxy 715b5d7fe9 Add a new Arch Roof Builder 2014-12-08 12:23:01 -02:00
wmayer c02590c666 + support of merging projects on App level 2014-12-07 00:38:53 +01:00
wmayer 2608d0aaf2 + 0001849: Enable Spin Boxes support for Pad, Fillet and Chamfer 2014-12-07 00:38:02 +01:00
wmayer ec4a496866 + when checking for custom toolbars do not auto-create sub-groups in user parameters 2014-12-06 14:46:08 +01:00
Sebastian Hoogen c931bee01d list multiple branches in version info
in case last commit is a octopus merge
2014-12-06 13:54:50 +01:00
Sebastian Hoogen 8a93916331 calculate the revision number from reference commit 2014-12-06 13:54:49 +01:00
Sebastian Hoogen 54cfed03ba split the revision information
to a number for those commits common with the blessed master and a number for
those ahead of the current master

choose the url from available remotes
remove ssh username
accept ssh://[...].sf.net as origin
2014-12-06 13:54:48 +01:00
wmayer 2347d677dd + support global custom toolbars 2014-12-06 13:21:36 +01:00
jriegel 9a07c3ad9e fix in reading results from Calculix 2014-12-06 13:10:09 +01:00
wmayer 4964628291 + check if file handle is valid in FileInfo::isFile 2014-12-04 16:44:22 +01:00
wmayer 6872b2c393 + fixes #0001736: Parts with multiple colors are displayed in a single bad color after hiding 2014-12-04 14:36:43 +01:00
wmayer 0db3326e68 + fixes #0001845: The Project Utility drops the diffuse colors 2014-12-04 01:23:41 +01:00
Yorik van Havre a6563fb03a Draft: Fixed polygon center snap 2014-12-03 11:16:08 -02:00
wmayer c6f1132664 + degree symbol is not 7-bit ASCII, use utf-8 2014-12-03 10:26:15 +01:00
wmayer 3de3aa49d3 + make sure to use valid compression level 2014-12-02 23:02:04 +01:00
wmayer 52dc0dda47 + allow to modify placement via sub-attributes 2014-12-02 19:19:23 +01:00
wmayer 351ad4f6c7 + fixes #0001363: VRML export can produce corrupt files 2014-12-02 15:40:36 +01:00
wmayer f5a4e68068 + revert regression with mixing Python debug and release libs 2014-12-02 11:29:28 +01:00
wmayer 640c9cbf8b + fixes #0001361: StartPage scripts and resources are installed twice 2014-12-01 15:57:23 +01:00
wmayer dd3412b159 + improve whitespaces 2014-12-01 11:36:33 +01:00
wmayer 73859191f3 + exposing onBeforeChange to Python 2014-12-01 10:58:25 +01:00
jriegel 9c2f8d785d Merge branch 'refs/heads/review-CL-Bundler' 2014-11-29 20:08:06 +01:00
jriegel 38fc7ba604 Merge branch 'refs/heads/master' into review-CL-Bundler 2014-11-29 15:43:19 +01:00
wmayer 2896372a75 + fix mesh unit tests 2014-11-29 15:17:58 +01:00
Michael Georg Hansen 55884f373c Print an error message if PySideTools are not found. 2014-11-28 10:55:30 -02:00
wmayer c04c513b41 + fix typo, consistent icon name 2014-11-26 14:36:11 +01:00
Abdullah Tahiri fe3beb89fd Sketcher Enhancement: Merge sketches : Art by Jim 2014-11-26 14:23:46 +01:00
Abdullah Tahiri 0f72bc68ba Sketcher Enhancement: Merge sketches
- It copies the geometry and associated constraints of a plurality of sketches into a new sketch
- The functionality is accessible from outside sketch edit mode, directly from the menu Sketch
2014-11-26 14:23:14 +01:00
wmayer e3e2667252 + remove some more autotools files 2014-11-26 13:03:59 +01:00
Sebastian Hoogen debca91e98 remove support for automake 2014-11-26 10:26:30 +01:00
wmayer c9ab183bf4 + set DBL_MAX as maximum for units 2014-11-24 14:30:50 +01:00
Sebastian Hoogen 428b47d74a importOpenSCAD: support for projection(cut=true) 2014-11-23 19:26:28 -02:00
Sebastian Hoogen c8934c06a8 enhancements in exportDRAWEXE.py
simplify float formatting
support for Part::Thickness in exportDRAWEXE.py
support for Draft::Ellipse in exportDRAWEXE.py
support for Annotations
2014-11-23 19:24:34 -02:00
Yorik van Havre 58a84d2748 Arch: small fix in sectionplane - fixes #1836 2014-11-23 19:23:13 -02:00
wmayer 3c61d41dbf + fix bug in mesh bounding box, fix clang warning 2014-11-23 10:55:36 +01:00
jriegel 7d30060c4e fix in destruction of the application 2014-11-22 16:41:22 +01:00
jriegel 81ef381b66 fix for VC9 2014-11-22 14:34:05 +01:00
jriegel 10ff1e579d fix bug on highlighting invisibel nodes 2014-11-22 13:51:31 +01:00
jriegel 1bc6df8eac Merge branch 'refs/heads/master' into review-CL-Bundler
Conflicts:
	src/3rdParty/salomesmesh/CMakeLists.txt
2014-11-22 13:51:04 +01:00
jriegel 6483c66cba small fix for VS 2013 2014-11-22 12:46:10 +01:00
wood galaxy c5f2e9e56b Add PointOnObject constraints to 2-pane window 2014-11-21 23:11:29 -02:00
wood galaxy af89ebc803 add preview CutVolume in Arch CutPlane 2014-11-21 23:03:53 -02:00
wood galaxy 5f261fb636 make compatible with Part typed object
tool make a Part Cut object when object are not Arch typed.
the cutVolume is now Red and 75 transparence
2014-11-21 23:03:53 -02:00
wmayer d354e21ce5 + prepare for netgen 5.x support 2014-11-20 16:30:10 +01:00
wmayer 6bdf0b4b76 + minor fix 2014-11-19 22:56:29 +01:00
wmayer be7f583aa0 + fix issues on 64-bit Linux/MacOSX systems 2014-11-19 15:32:35 +01:00
wmayer b11acfd165 + handle unicode strings in class PythonWrapper 2014-11-19 11:18:18 +01:00
WandererFan 7a201f9b74 Work around for Mantis issue 0954 on Helix Primitive
To be removed after OCC helix bug corrected.
2014-11-17 17:45:34 -05:00
wmayer 3904d0a8ee + fixes #0001830: Gui.export() cannot handle long filenames 2014-11-17 21:11:28 +01:00
wmayer 3d03e208d9 + fixes #0001829: DlgPrimitives replaces non ASCII charaters in objects Labels by ? 2014-11-17 20:36:22 +01:00
wood galaxy e070a717a5 improvement to Cut Plane
Move cut plane on itw own.
Add ArchCutPlan to CmakeList
Add task panel
Add choice between side of the face
2014-11-17 15:44:11 +01:00
DeepSOIC 86a1757c20 Sketcher: Slot: proper tangent constraints
Endpoint-to-endpoint tangency is applied now instead of
tangency+coincident.
Fixes issue #0001828 ( http://freecadweb.org/tracker/view.php?id=0001828
)
2014-11-16 23:14:41 +01:00
wmayer 62de0655d7 + fix inconsistency problem after undo/redo 2014-11-16 19:13:06 +01:00
wmayer 2ead6f9bcf + whitespace improvement 2014-11-16 19:12:34 +01:00
wmayer 7a307cdab3 + fix crash when dragging a point adter undoing the deletion of a line 2014-11-16 19:11:31 +01:00
wmayer 4e2cbaf045 + fix saving problem with file names containing an apostrophe 2014-11-15 22:45:56 +01:00
jriegel 7499f77f08 ignore in src build directory 2014-11-15 21:18:52 +01:00
jriegel 6f907c3b48 some fixes in build with CL-Bundler 2014-11-15 21:18:22 +01:00
wmayer a622d14c2d + port to CMake 3.0 2014-11-15 18:48:58 +01:00
wmayer fc903d93df + support adding circles as external geometry not lying on the sketch plane 2014-11-15 14:31:24 +01:00
jriegel 8c1b1aa86b Port to VC12 2014-11-15 14:07:02 +01:00
jriegel f2d990d9ca fix some warnings in cMake 2014-11-15 13:22:48 +01:00
jriegel f4fc7e88fa Merge remote-tracking branch 'refs/remotes/peterl94-github/new-libpack' into review-CL-Bundler 2014-11-15 13:07:23 +01:00
Peter Lama f13f5dc520 Add support for CLbundler created LibPack
* New 'UseLibPack' cmake file sets CMAKE_PREFIX_PATH so that find_package
  can be used for most packages.
* Mimic fc_wrap_cpp defined in other 'UseLibPack' files. Some file
  dependencies did not get set correctly otherwise.
* OCE 0.16 does not have Standard_ctype.hxx
* shfolder.h can't be used with Win SDK 7.0
2014-11-14 08:01:09 -08:00
Yorik van Havre 18c0b3ba69 Arch: small optimization in archframe code 2014-11-13 19:30:02 -02:00
wood galaxy 1ce87b2ecf make BasePoint compatible with Frame without BasePoint 2014-11-13 19:26:11 -02:00
wood galaxy 659add8ba3 Add BasePoint Property to Arch Frame
BasePoint allow user to change by wich vertex of the profil the frame
passe of.
2014-11-13 19:26:11 -02:00
wood galaxy f7830b8da3 Make cutComponent working 2014-11-12 15:36:16 -02:00
wood galaxy b17f401c5c Add arch cutComponent feature 2014-11-12 15:36:16 -02:00
Yorik van Havre c07d2ad91b Draft - small (provisory) encoding fix - fixes #1825 2014-11-11 20:11:31 -02:00
wmayer 730ad0fbea + support anti-aliasing in offscreen renderer 2014-11-10 14:10:38 +01: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
Yorik van Havre 039cacbfde Arch: fixed encoding problem in Survey tool - fixes #1821 2014-11-09 17:27:37 -02:00
wmayer d30eb39a1e + fixes #0001808: Double Clicking Sketcher PolyLine Causing Crash 2014-11-09 17:59:54 +01:00
wmayer efe414e4c2 + fix transparency problem, support antialiasing, background color issue 2014-11-08 23:06:53 +01:00
wmayer 99caf6d015 + support of arbitrary background colors in snapshot function 2014-11-08 18:23:41 +01:00
wmayer e753af2fd7 + fix possible scaling problem of datum label 2014-11-08 15:55:47 +01:00
wmayer 97696aadfa + fix gradient background issue when creating snapshot, remove superfluous signal from FileOptionsDialog 2014-11-08 14:50:27 +01:00
wmayer bedd2b15a7 + fix copying Python resource files to destination on Windows 2014-11-08 11:08:58 +01:00
wmayer 951f440e15 + fix build failure on Windows 2014-11-07 19:59:17 +01:00
Yorik van Havre a18a8e105a Cleaned up the dependencies in debian control file
* Added python-tools
* Replaced opencascade with oce (opencascade not in debian repos anymore)
* Updated some obsolete package names
2014-11-07 09:34:28 -02:00
Sebastian Hoogen 9426f5d4cf OpenSCAD rc file is now compiled at build time 2014-11-06 23:31:24 -02:00
wmayer 82ed56a3a9 + fix bug in SoQTQuarterAdaptor::processSoEvent 2014-11-06 19:14:14 +01:00
Stefan Tröger 69f4bbb2ef fixes #0001781: Reimplement arrow keys for 3d view
- including minor formating fixes
2014-11-06 18:56:51 +01:00
wmayer 4a28b93521 + workaround for cropped images with Coin4 2014-11-06 16:49:50 +01:00
WandererFan ba97d17b2a Fix #0001722 Left-handed helix with an angle>0 produces 1 too many turns 2014-11-06 10:49:02 -02:00
Yorik van Havre a88038c7a0 fixed binary path in FindPysideTools cmake file - fixes #1796 2014-11-05 20:07:53 -02:00
Yorik van Havre 75deaa658f Arch and Draft rc files are now compiled at build time - issue #1796 2014-11-05 20:07:53 -02:00
blobfish 8d8c727ac5 Part: ModelRefine: Fix for avoid edges of edgeFuse not working 2014-11-05 14:54:38 +01:00
Jan Rheinländer 46ec224b04 Part: ModelRefine: Test files 2014-11-05 14:54:37 +01:00
blobfish 37e0750cd2 Part: ModelRefine: adding bspline support 2014-11-05 14:54:36 +01:00
blobfish 0a94a9b78c Part: ModelRefine: Add FixMissingSeam 2014-11-05 14:54:36 +01:00
blobfish 1b9773299a Part: ModelRefine: fix for missing tolerances. 2014-11-05 14:54:35 +01:00
Jan Rheinländer 7d359a4618 Part: ModelRefine: Enhancement for cylindrical faces 2014-11-05 14:54:34 +01:00
wmayer fa3a2a0d3a + fix various rendering problems 2014-11-04 18:56:05 +01:00
wmayer 3507e301c2 + improve plane fit 2014-11-04 15:03:25 +01:00
wmayer 5c84e47422 + fixes #0001816: parseQuantity returns garbage 2014-11-04 14:51:19 +01:00
wmayer d66fc092e1 + better exception handling in Part module 2014-11-04 11:03:51 +01:00
wmayer a7157ce6a9 + add new render type to 3d viewer 2014-11-03 23:09:38 +01:00
wmayer 980b17ca86 + improve error handling in plane fit 2014-11-03 18:20:55 +01:00
WandererFan fc6d57f8b3 Fix #1787 Draft.PathArray align
Correct handling of Euler angle calculations.
2014-11-03 10:24:23 -02:00
Yorik van Havre 2836f4cb99 Arch: Provisorily implemented workaround for utf8 paths and ifcopenshell - issue #1795 2014-11-02 15:47:29 -02:00
wmayer ae09625140 + expose function to Python to check for invalid mesh points 2014-10-31 15:57:28 +01:00
wmayer 267ca0813a + fixes #0001798: Support general ellipsoid with three radii 2014-10-30 18:02:18 +01:00
wmayer 1f450972d2 + change between AP203 and AP214 schemes 2014-10-30 13:07:25 +01:00
wmayer 92ebfab47a + customize STEP header 2014-10-30 11:48:33 +01:00
Peter Lama f9e6efac2e Fix building FreeCAD with PCL
PCLConfig also calls find_package for boost, but with different
components
2014-10-29 21:36:01 -07:00
wmayer 76906d20a0 + customize IGES header 2014-10-29 16:39:33 +01:00
wmayer b6df4a490e + header for IGES files (disabled) 2014-10-29 12:29:48 +01:00
wmayer c67f326174 + split STEP and IGES settings into separate pages, handle Brep mode of IGES format 2014-10-28 19:27:23 +01:00
wmayer 9256de8c1a + fixes #0001665: Allow setting higher value for number of backup files 2014-10-28 18:15:51 +01:00
wmayer 822e45c4f7 + fixes #0001806: Wrong object name shown in App::PropertyLink Properties in the property editor 2014-10-27 17:05:27 +01:00
wmayer 429e55d744 + make sure to set unique labels for newly created documents 2014-10-27 13:11:50 +01:00
wmayer a239e7b194 + fixes #0001797: Fix focus problem with Quarter based viewer 2014-10-27 11:36:33 +01:00
wmayer 30d38e6749 + fix bug in Python binding of Quarter viewer 2014-10-24 19:29:35 +02:00
wmayer f119e740c8 + port cache context handling 2014-10-22 15:26:22 +02:00
wmayer 621aebdbef + change API of GLPainter 2014-10-22 14:48:38 +02:00
wmayer 8fb596221f + fixes #0001794: new defined as a macro sometimes conflicts with boost 2014-10-22 12:39:43 +02:00
wmayer 61ec6e2924 + fix problem with disappearing content of image view 2014-10-22 10:59:17 +02:00
wmayer 28d1bf5ed9 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-10-21 21:41:28 +02:00
wmayer 7602b8f20c + make help system more flexible 2014-10-21 21:41:07 +02:00
wmayer 6b98223c07 + remove useless statement 2014-10-21 21:40:25 +02:00
wmayer d98f883a7e + formatting message 2014-10-20 21:43:35 +02:00
Sebastian Hoogen da4c4aacbe Output Mac OS version (or Windows 8) on splashscreen 2014-10-19 20:02:10 +02:00
wmayer 4259a9391b + save last used export/import filter 2014-10-19 19:42:50 +02:00
wmayer 5ddb891bd3 + fix Python binding of 3d viewer 2014-10-19 18:59:05 +02:00
wmayer ab66d0a45f + fix more Quarter port issues 2014-10-19 17:49:31 +02:00
wmayer 5912342e3f + support of home path with non-ASCII chars 2014-10-19 17:27:02 +02:00
wmayer eb89cb422c + harmonize API 2014-10-19 14:28:39 +02:00
wmayer f233a50a00 + harmonize API 2014-10-19 14:25:51 +02:00
wmayer 21eae7f900 + port Sandbox module to Quarter 2014-10-19 12:16:33 +02:00
Yorik van Havre bd1bbff874 Draft: Disabled automatic DXF library download - fixes #1785
Note for existing users: Can be reenabled in menu Edit > Preferences >
Import-Export > DXF > Automatic update
2014-10-18 10:21:26 -03:00
wmayer dd392efeb1 + fixes #0001735: Ellipsoids visibility problems 2014-10-16 19:36:54 +02:00
wmayer 84bd9a4a88 + fixes #0001779: memory leak 2014-10-16 18:57:53 +02:00
Sebastian Hoogen bce3de5b5d move exportDRAWEXE.py to Sandbox WB 2014-10-15 15:53:52 +02:00
Sebastian Hoogen 31c39e222a fixes #1706 rename anaglyph stereo mode red/cyan 2014-10-15 15:53:18 +02:00
Sebastian Hoogen 81d4b94902 issue #1788 SVG output of trimmed curves 2014-10-15 15:52:59 +02:00
wmayer ea967caecc + fix build failure 2014-10-15 15:45:40 +02:00
wmayer 7422f073ea + share GL widgets when creating further 3d views of a document 2014-10-15 12:04:06 +02:00
Sebastian Hoogen 8711bdd78f issue #1573 remove unavailable headers 2014-10-14 18:46:24 +02:00
Abdullah Tahiri ca1eba6107 Sketcher: Element Widget enhancement: Support for external geometry
Python naming used is "ExternalEdge" for consistency with the name appearing in the status bar when selecting that object.

As discussed:
http://forum.freecadweb.org/viewtopic.php?f=10&t=6861&sid=bd9ad10357f8a7de146c4fbd2d53c23b&start=90
2014-10-14 18:33:21 +02:00
wmayer a96f390097 + fix build problems with Python & MacOSX 2014-10-13 22:02:57 +02:00
Sebastian Hoogen a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Sebastian Hoogen 05af9207a3 use Icons for Refine and Increase tolerance features 2014-10-11 13:09:33 +02:00
Sebastian Hoogen f1283cf24c fixes #1782 remove unused precsion parameters
from gp_Trsf::SetValues
2014-10-11 13:03:02 +02:00
Sebastian Hoogen eb598ffd16 fixes #1740 quote pov-ray binary on windows
this fixes a bug introduced by 3523741e96
it restores the double quotes for the shell and uses single quotes for the
python string.
2014-10-11 12:56:38 +02:00
wmayer 980d1eb0eb + fix expressions 2014-10-10 19:01:34 +02:00
wmayer 71154f5f25 + fix issues with force constraint 2014-10-10 17:42:33 +02:00
wmayer 96e286a060 + fix anti-aliasing issue 2014-10-10 16:58:02 +02:00
wmayer 39f2132029 + fix whitespaces 2014-10-10 15:48:31 +02:00
wmayer 4a3838fa44 + fix stack overflow error 2014-10-10 15:47:20 +02:00
Yorik van Havre daedcf4f1c Draft: Adapted Draft module for python3 compatibility - issue #995 2014-10-05 19:40:14 -03:00
Yorik van Havre 8d2e08ffa0 Little fixes to allow pycxx to compile with python3 2014-10-05 17:31:17 -03:00
Yorik van Havre 3c091ac69a Draft: prevented possible deletion of draft wire during edit - fixes #1680 2014-10-05 17:30:18 -03:00
Sebastian Hoogen f2367c6c19 bugfix in unit parser
partly revert to 810fadab23
and change python string handling to "et" method
2014-10-05 14:44:04 -03:00
Yorik van Havre 9671d9658b Arch: Fixed axis object - fixes #1605 2014-10-05 13:09:08 -03:00
Jose Luis Cercos-Pita 4de77a921a Set PySide to all ambiguous QtGui and QtCore calls 2014-10-04 11:42:34 -03:00
Yorik van Havre 537e759142 Draft: Added DraftGeomUtils.pocket2d(shape,float)
Returns a list of wires obtained by offsetting the wires of the given
shape by the given amount (outer wire inside, inner wires outside) and
resolving intersections
2014-10-03 17:35:40 -03:00
wmayer 05de6c103f + add missing header to Tools2D.h 2014-10-02 11:40:39 +02:00
Yorik van Havre 3540634c34 Start: Set version info text color to white - fixes #1772 2014-10-01 19:27:50 -03:00
wmayer f02da38566 + fix Qt help problems 2014-10-01 17:16:43 +02:00
Stefan Tröger 3cbfb0a5c7 Prevent QPainter buffer swap
As the QGraphicsScene overlay does not work for all cards/drivers we disable the possible buffer swap of the qpainter, as this could be a potential source of the flickering. If the painter swaps buffers and we do it again the user will see first the correct picture (first swap) and then something uninitalized (second swap)
2014-09-29 10:11:29 +02:00
Stefan Tröger 4e63e11df6 Make stereo modes work again
Be aware that stereo rendering based on SoRenderManager does not allow background colors as the opengl buffers are cleared before rendering. As FreeCAD draws the background before the standart coin rendering the background gets erased again.
2014-09-29 10:11:28 +02:00
wmayer ac010de9c9 + fix minor bug when adding coincidence constraint 2014-09-28 15:06:02 +02:00
Yorik van Havre 463b5d4a7e Draft: display coordinates using the current locale's decimal separator - fixes #1741 2014-09-27 16:23:59 -03:00
Sebastian Hoogen e820a32653 issue #1701 2014-09-27 13:07:30 -03:00
wmayer f0bf3cb6ab + Proper handling of sketch plane parallel to view direction 2014-09-27 15:53:21 +02:00
Yorik van Havre f87bd2ac35 Patched PyCXX 6.2.5 with original FreeCAD changes made in 6.2.0 2014-09-24 18:19:26 -03:00
Yorik van Havre 69c4b37fe6 Fixed relativepaths in PyCXX 2014-09-24 18:19:25 -03:00
Yorik van Havre ad3908cca6 Upgraded PyCXX to version 6.2.5 2014-09-24 18:19:25 -03:00
Yorik van Havre 16e8b0ee3f Draft: Reverting provisorily to the old version of DraftGeomUtils.sortEdges 2014-09-24 18:13:55 -03:00
Yorik van Havre f0c59e4cc2 Arch: fixed string encoding in Space object 2014-09-24 18:13:18 -03:00
wmayer e88b712ff9 + fix typos 2014-09-24 22:06:13 +02:00
wmayer 6e92028ca6 + add option to disable automatic fit to view when loading data file 2014-09-24 18:49:19 +02:00
wmayer 23a58fedf7 + fix warnings with clang 2014-09-24 18:00:46 +02:00
wmayer 032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
wmayer 5201223da4 + fix warnings with clang 2014-09-24 16:00:10 +02:00
wmayer 003c2bf77d + fix warnings with clang 2014-09-24 15:55:36 +02:00
wmayer dfd2eb3327 + fixes #0001762: Update 'About FreeCAD' Screen 2014-09-23 19:31:37 +02:00
wmayer c20e83e0d6 + set fix precision for FPS counter 2014-09-23 18:19:35 +02:00
wmayer 3ff7d569c8 + fix build error 2014-09-23 12:51:31 +02:00
Stefan Tröger 71e0793493 fix framerate rendering 2014-09-23 10:11:12 +02:00
Stefan Tröger deda49b098 fix qt moc warnings 2014-09-23 10:11:12 +02:00
Stefan Tröger 42ae8a6246 fix backlight issue 2014-09-23 10:11:12 +02:00
Stefan Tröger cc5c9f6031 ensure that the glwidget is returned 2014-09-23 10:11:12 +02:00
Stefan Tröger d02d966b9c fix rotation center after view all 2014-09-23 10:11:12 +02:00
Stefan Tröger ad1bfc32fb fix reported bugs
- compile on windows
- fix cursors
2014-09-23 10:11:12 +02:00
Stefan Tröger b18ebc9064 Port QuarterWidget to QGraphicsView
Derive from QGraphicsView instead of QGLWidget to allow to add widgets as overlay over the 3d scene later on.
2014-09-23 10:11:12 +02:00
Stefan Tröger cf167ec60a add View3DInventorViewer python interface
As quarter is not wrapped by SWIG we need to expose our own python interface class.
This is a start with the most important functions to access the render and event
manager. Furthermore all extra functions available next to the swig wrapper functions
are exposed. Everything else can be added when needed.
2014-09-23 10:11:12 +02:00
Stefan Tröger eb7f1bf3e5 Adopt mouse selection to quarter widget
Quarter Widget soes not allow to switch of multisampling on the fly, therefore we need to use glgraphicsitem instead of direct opengl xor rendering for mouse selection
2014-09-23 10:11:11 +02:00
Stefan Tröger 72cab0c002 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
Stefan Tröger e1265c874d add default quarter files 2014-09-23 10:11:11 +02:00
Yorik van Havre e08788eca9 Arch: Extended role property to all Arch objects - fixes #1577 2014-09-21 15:12:06 -03:00
Yorik van Havre 4f5f9be38c Spreadsheet - added a recompute() - fixes #1761 2014-09-21 14:40:01 -03:00
Sebastian Hoogen 856418a2e5 use the commit time (in UTC) in version information
as it is more meaningfull than the author time
2014-09-20 21:54:41 +02:00
wmayer eae8f22ee5 + add lost s 2014-09-20 18:01:40 +02:00
wmayer 26e01e0900 + build with Qt < 4.7 and OCC < 6.5 2014-09-20 17:49:29 +02:00
Sebastian Hoogen 6a89b33816 fixes #1745 Encode Annotation Text using latin1
for Coin Versions <= 3
2014-09-20 16:26:59 +02:00
Sebastian Hoogen 6ad50db01b fixes #1744 Use unicode in Unit system 2014-09-20 08:58:06 +02:00
Yorik van Havre 810fadab23 Fixed bug introduced by last commit 2014-09-19 13:13:34 -03:00
Sebastian Hoogen e54297313b fixes #1755: don't translate toolbar names
in InitGui.py of Arch and Spreadsheet
2014-09-19 10:35:00 -03:00
jriegel 6561b99347 Merge branch 'refs/heads/Rift' 2014-09-19 11:08:00 +02:00
jriegel 3d00535d57 FreeCAD-VR: Small fix for older compilers 2014-09-19 11:03:35 +02:00
Yorik van Havre fbeb7beba3 Fixed label of document - fixes #453 2014-09-18 20:17:50 -03:00
Yorik van Havre 328bdcf636 Draft: small fix in trackers - fixes #1757 2014-09-18 19:39:37 -03:00
Yorik van Havre 6e5fbc74a8 Added base translation file for the Web WB - issue #453 2014-09-18 12:24:16 -03:00
Yorik van Havre 0f559a7184 Draft: Fixed rotation UI unit - fixes #1664 2014-09-18 11:18:15 -03:00
Yorik van Havre f796cacf65 Draft: Grid now checks preferences settings when redrawn - fixes #1671 2014-09-18 11:09:43 -03:00
Abdullah Tahiri 749abc5ed7 Sketcher fixes: Symmetry arrows properly scaled, fixed icon in constraint taskbar list contextual menu 2014-09-18 16:01:34 +02:00
jriegel a81308ab57 FreeCAD-VR: Small cleanups 2014-09-18 10:25:28 +02:00
Yorik van Havre 524e5cbe32 Arch: Added sill height option to creation dialog - fixes #1609 2014-09-17 20:24:35 -03:00
Yorik van Havre 552c0b3af3 Arch: fixed window movements - fixes #1597 2014-09-17 19:39:54 -03:00
Yorik van Havre 7f90948712 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-09-17 14:20:07 -03:00
Yorik van Havre e7cc192650 Draft: provisorily fixed error in sortEdges 2014-09-17 14:19:42 -03:00
jriegel 719c6e9425 FreeCAD-VR: fix Z direction 2014-09-17 19:13:48 +02:00
jriegel b5c2554378 FreeCAD-VR: Proper light handling 2014-09-17 18:55:51 +02:00
Abdullah Tahiri 02cb12db52 Sketcher enhancement: Constraint icons visible over lines 2014-09-17 18:49:40 +02:00
Abdullah Tahiri d562e1a389 Sketcher Art enhancement: New Symmetric constraint icon by Jim
There is more space in between the > < symbols now, so it is more clear as it overlaps less.

Thanks Jim!
2014-09-17 18:49:16 +02:00
Abdullah Tahiri 0adfa0a7ed Sketcher Bug fix: Arrows for symmetry constraint are back
The arrows were there in the code, but at a certain point, code was written to set the this->imgHeight value programatically, based on
whether it had text or not. As symmetry constraint does not have text the variable failed to initialize. Being zero, it did not pass
the ASSERT in the render function, so it was not rendered.

This includes Werner's fix for improver cast of a SoRayPickAction to SoGLRenderAction:
SbVec2s vp_size = static_cast<SoGLRenderAction*>(action)->getViewportRegion().getWindowSize();
to
SbVec2s vp_size = SoViewportRegionElement::get(state).getWindowSize();

At least sometimes tt is a SoRayPickAction because:

When you move with the mouse over the sketcher (when in edit mode) you enter the method ViewProviderSketch::mouseMove.
Inside there the method getPointOnRay is called to get a picked point underneath the cursor. Inside the latter method
an instance of SoRayPickAction is created to traverse the scene graph. After a long cascade of function calls you
finally enter SoDatumLabel::generatePrimitives(SoAction*).
2014-09-17 18:48:54 +02:00
Abdullah Tahiri fdb7de1dda Sketcher visualization enhancement: Do not group sketcher symmetry icons.
Do not add a symmetry constraint icon to a group of icons, so that it lies on the line or point providing the symmetry (symmetry axis/point),
as it is more clear to the user which line this is.
2014-09-17 18:48:36 +02:00
Abdullah Tahiri 95c512d9a1 Sketcher feature enhancement: Symmetry constraint perpendicular to axis of symmetry
Solves Mantis ticket: http://www.freecadweb.org/tracker/view.php?id=1623
Unrelated minor fix: remove unused variable
2014-09-17 18:48:15 +02:00
jriegel 9a19baa8f5 FreeCAD-VR: Positional light and fix in camera positioning 2014-09-17 18:35:11 +02:00
Yorik van Havre 6e9d2e9b21 Draft: Added progress bar to dxf library download - fixes #1644 2014-09-17 13:30:51 -03:00
Abdullah Tahiri da2df00eea Sketcher visualization: Increase readability of redundant constraint solver message
Color changed to "OrangeRed" to improve readability.
2014-09-17 16:43:51 +02:00
Abdullah Tahiri 5f2670dbcf Sketcher Redundant/Conflicting art by Jim 2014-09-17 16:43:51 +02:00
Abdullah Tahiri 34cc7c3136 Sketcher new feature: Select Conflict and Redundant Constraints
Based (and solves) Mantis ticket:
http://www.freecadweb.org/tracker/view.php?id=1643

The ticket refers only to redundant, and ask for deletion.

Two commands are created, one for redundant constraints and other for conflicting constraints.

As usually removing one constraint of the "at least one" is sufficient, the implementation selects the constraints (but does not delete them).

The user therefore easily identify the constraints involved and decide to delete them.

This implementation takes into account the edit->Actsketch that ViewProvidedSketch creates for solving, as it is this instance the one that generates the messages in the Sketcher Taskbar.

No buttons in the toolbar by default (can be added by the user), but an hyperlink in the solver messages which triggers the selection of the appropriate command (conflicting or redundant).
2014-09-17 16:43:50 +02:00
Abdullah Tahiri bdbf5140f9 Sketcher new feature: Selects the elements associated with the selected constraint(s)
Ex 1: User selects constraints from the list => right click => select "select elements" from the contextual menu => The elements (edges,vertex) involved in the constraint(s) are selected.

Ex 2: User selects (a) constraint(s) => Clicks button in toolbar (if included by the user) => The elements (edges,vertex) involved in the constraint(s) are selected.

Intended as visual aid to see which elements are being affected by a constraint.

Requested by Jim on thread:
http://forum.freecadweb.org/viewtopic.php?f=19&t=6875&start=10

Solving another Mantis ticket I can not find now.
2014-09-17 16:43:49 +02:00
jriegel 4c7fb2d0f0 FreeCAD-VR: Upright position and remembering render window position 2014-09-17 15:01:28 +02:00
jriegel 1c741b6e0d FreeCAD-VR: Remove Tabs and add orientation for viewer position 2014-09-17 13:49:44 +02:00
Sebastian Hoogen d537fc9b53 try to use Execptions in Draft module 2014-09-17 12:52:36 +02:00
Sebastian Hoogen 333e6e3155 use exceptions in OpenSCAD module
derive OpenSCADError from FreeCADError if possible
2014-09-17 11:59:49 +02:00
Sebastian Hoogen 57db95a1c3 issue #1701 removed further except: statements 2014-09-17 11:57:32 +02:00
Sebastian Hoogen ed66ada1cf issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +02:00
Sebastian Hoogen 1b1d8010a6 removed catch (...) in Drawing
which discarded type information when rethrowing base type
2014-09-17 11:15:56 +02:00
Sebastian Hoogen 5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
Yorik van Havre f1dffbb90e Arch: Hide/show windows together with their parents - fixes #1733 2014-09-16 20:03:50 -03:00
Yorik van Havre 9f7956b17e Web: Added an Open Link In External Browser context menu option - fixes #1017 2014-09-16 14:16:44 -03:00
jriegel 0d6ccb7654 FreeCAD-VR: Some fixes 2014-09-16 18:14:42 +02:00
Yorik van Havre 302fcde1e0 Startpage now checks for new versions - issue #1017
After loading, the startpage now checks for
http://www.freecadweb.org/version.php and compares
with current version, and displays a message accordingly.
2014-09-16 12:58:07 -03:00
Yorik van Havre b0c66cf6f7 Draft: fixed typo 2014-09-16 11:26:47 -03:00
Abdullah Tahiri 4aa71db3c8 Sketcher Element Widget enhancement: Auto-switch to Edge (first valid type)
Feature requested by nahshon.
- In auto-switch to edge mode, actually switch to first valid type, which is always
edge, except for a point. It reduces the amount of clicks when dealing with points.
- Correction of a typo.
2014-09-16 10:12:53 +02:00
Yorik van Havre a4f208c8ac Draft: replaced DraftGeomUtils.sortEdges with better version from pkoning2 - fixes #1691 2014-09-15 17:30:37 -03:00
Yorik van Havre 78f34666b2 Draft: Added a button to Dimension UI to select existing edges - fixes #1636 2014-09-15 17:05:44 -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
jriegel 2a4626d27a FreeCAD-VR: Render the FreeCAD scene graph 2014-09-15 19:50:55 +02: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
jriegel 0d2ce7073a FreeCAD-VR: Separating FreeCAD and Coin/Rift stuff 2014-09-15 17:14:44 +02:00
jriegel 069da65528 FreeCAD-VR: some fixes on FrameBuffer rendering portion 2014-09-15 16:27:40 +02:00
wmayer 470a414241 + fixes #0001715: Mefisto Mesh Fails since translated by f2c 2014-09-14 18:26:12 +02:00
jriegel 66a58c40ad FreeCAD-VR: Some fixes... 2014-09-14 14:57:07 +02:00
jriegel 250426f792 FreeCAD-VR: Handling the safety warning 2014-09-14 13:54:02 +02:00
Sebastian Hoogen 5d406144aa use utf-8 for coin4 and latin1 for coin3 2014-09-14 11:08:55 +02:00
Yorik van Havre a0e461a925 Arch: minor bugfix 2014-09-13 18:23:35 -03:00
jriegel ad2406a763 FreeCAD-VR: First succesfull render on the Rift! 2014-09-13 20:03:57 +02:00
Yorik van Havre 8b25a40cbf Arch: equipments now choose type (Part or Mesh) on creation based on the base object 2014-09-13 13:54:47 -03:00
Yorik van Havre ce0f2452c8 Mis upgrades for the selection window - fixes #1737
* Added a search box that searches through object labels
* Added a context menu to selected items
* Allow to double-click an item to isolate
2014-09-13 12:02:45 -03:00
jriegel c0152eeb68 FreeCAD-VR: command integration 2014-09-13 10:18:52 +02:00
jriegel 537d7edfd8 porting the offscreen rendering version to SDK 4.2 2014-09-12 20:15:04 +02:00
jriegel 6ee9466c12 Make a new Build option for building VR support and make FindRift using the 64bit libs 2014-09-12 20:14:15 +02:00
jriegel 6c170bce18 Merge branch 'refs/heads/master' into jriegel/Rift 2014-09-12 12:27: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
wmayer d1fb7fa839 + do not add units to translation 2014-09-10 10:35:49 +02: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
wmayer 3d6ba6c5d6 + fixes #0001726: Dialog for saving document should indicate documentname 2014-09-03 14:45:19 +02:00
wmayer 2f4ce2bbc0 + Add StackWalker to get log messages on crashes (MSVC only) 2014-09-03 11:48:34 +02:00
Yorik van Havre 620a4dde93 Arch: small fix to Remove tool 2014-09-02 23:04:44 -03:00
wmayer 8f54360226 + minor fix 2014-09-02 17:43:25 +02:00
Sebastian Hoogen a81a307346 issue #1700 replace raise Exception() 2014-09-01 22:47:05 +02:00
wmayer e5a54d0791 + fixes #0001714: FreeCAD 0.14 Stable crashes when importing a step model 2014-09-01 19:11:46 +02:00
Sebastian Hoogen 2c38c7d31a exportDRAWEXE: support Part::Plane and ::Ellipse 2014-09-01 11:09:58 +02:00
Sebastian Hoogen 256d844801 python property Continuity of GeometrySurface 2014-09-01 11:04:38 +02: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 850d0b5e82 Added Gui.showDownloads() py function to show the download manager, and allow to click https links in webgui browser 2014-08-31 16:51:51 -03:00
Yorik van Havre c60d39c4e7 Arch: fixed import IFC again (better this time) 2014-08-31 15:03:58 -03:00
Jose Luis Cercos-Pita ed0c6ebd7d Plot: Fixed PyQt imported in the resources loading 2014-08-31 18:37:26 +02:00
Yorik van Havre dddc278cc5 Arch: fixed bug in importIFC 2014-08-31 13:29:15 -03:00
wmayer f2319de49d + do not abort if user.cfg or system.cfg is empty 2014-08-31 16:10:45 +02:00
wmayer ce528d1c4a + fixes #0001719: Show current shortcuts (S) in menus and hover text. 2014-08-31 14:28:33 +02:00
Yorik van Havre 80e80fef83 Arch: allow for equipment objects to be part shapes 2014-08-30 19:17:30 -03:00
wmayer 7c89591ff6 + allow to load PartDesign even if PySide is not found, suppress MinGW warnings 2014-08-30 23:26:29 +02:00
Yorik van Havre cef2c1bc8c Arch: Added Equipment tool
The purpose of this tool is to handle standalone objects such as
furniture or sanitary equipment in a building. It is mesh-based,
and accepts either a mesh or a part shape as its base object.
2014-08-29 19:16:28 -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 16ede0e55c Draft: fixes in DXF exporter - fixes #1590, #1653
* Fixed arc directions
* Turned max spline segment length preference option into a float
* Fixed ellipses export
2014-08-28 13:32:45 -03:00
wmayer a1fab61ed6 + minor fix of output format 2014-08-28 15:47:09 +02:00
wmayer 89d07313a5 + do not try to use framebuffer objects when it's not supported on the system 2014-08-28 15:35:17 +02:00
wmayer d10469ed72 + restore FREECAD_BUILD_DEBIAN to fix PPA failures 2014-08-28 13:07:09 +02:00
wmayer 5c269996b8 + restore lost changes, improve whitspaces, suppress useless MSVC warnings 2014-08-28 12:37:42 +02:00
wmayer f4e7a2e2a0 + silent pcl check, output formatting 2014-08-28 10:58:53 +02:00
wmayer 90e3b58950 + set pcl components for LibPacks 2014-08-28 10:41:59 +02:00
wmayer fd821fb7b4 + do pcl components checks 2014-08-28 01:51:58 +02:00
wmayer a579bdce72 + fix for pcl 1.6 2014-08-28 00:02:58 +02:00
jriegel eb734eb6f4 Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/review-NewLibPack 2014-08-27 22:25:35 +02:00
jriegel f260a0f219 fix Win64 bug in FileInfo 2014-08-27 22:22:29 +02:00
jriegel 889e7bbdce Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/Rift 2014-08-27 17:48:59 +02:00
jriegel e2b93c4c80 Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/review-NewLibPack 2014-08-27 16:43:48 +02:00
jriegel 5bdfe81488 Destinquish old and new OpenCV 2014-08-27 16:42:50 +02:00
jriegel c1f0f70b88 Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/review-NewLibPack
Conflicts:
	src/3rdParty/salomesmesh/CMakeLists.txt
2014-08-27 15:39:00 +02:00
wmayer 346e5c6a77 + fix more compiler warnings 2014-08-27 13:26:44 +02:00
wmayer cc775f9254 + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
Simon Pasquet 55cf9ddeaa Customized keyboard shortcuts now accept up to 4 keys 2014-08-26 10:31:54 -03:00
wmayer d974d6897b + fixes #0001713: Allow Part.Arc to be used as Sketcher geometry 2014-08-26 13:09:37 +02:00
jriegel 58a7be992b Intergrate Werners PCL Triangulation patch and upgrade it to PCL 1.7 2014-08-26 10:28:37 +02:00
jriegel 7183cda616 Merge remote-tracking branch 'refs/remotes/origin/wmayer/pcl-testing' into jriegel/NewWinBuild
Conflicts:
	src/Mod/Points/App/CMakeLists.txt
	src/Mod/ReverseEngineering/App/AppReverseEngineeringPy.cpp
2014-08-26 08:42:47 +02:00
jriegel e4383e8f24 Test import for Ply via PCL in Points 2014-08-25 23:27:17 +02:00
jriegel 4d19ec20fb Add OpenCV again and test command 2014-08-25 23:16:54 +02:00
jriegel e16f8a5b45 Add switch for compile with and without PCL 2014-08-25 23:16:34 +02:00
wmayer 97514d1806 + fix for word size of OS 2014-08-25 15:25:09 +02:00
wmayer f28f83bf91 + Show word size info of OS 2014-08-25 11:41:13 +02:00
Itai Nahshon e9ea1e2727 Fix automatic creation of tangent constriants.
a. Use scale to calculate max distance
b. Consider only circle/arc that actually touch the newly created line
c. Use of arc angles correctly
d. Find nearest touch point (not nearest center)
e. some optimization
2014-08-24 19:07:31 +02:00
Itai Nahshon 6eeaae57b8 Sketcher: Ignore small mouse moves after selection.
Switch to drag mode only after cursor moved 3 pixels.
2014-08-24 19:07:16 +02:00
wmayer 3c8a00dfec + fixes #0001703: Spreadsheet PropertyController 2014-08-23 14:38:30 +02:00
Ian Rees 0eec1d8e49 Updated CxImage README 2014-08-22 21:37:20 +02:00
wmayer 1f2cd53bf7 + fix localization problems in PropertyConstraintListItem, + improve whitespaces 2014-08-22 21:32:19 +02:00
Ian Rees 539e2d2f33 Added a quick README to src/3rdParty/CxImage 2014-08-22 15:51:58 +12:00
wmayer 763eb132cf + respect placement in VRML and Inventor objects 2014-08-21 21:46:03 +02:00
jriegel 492a39c19a simplify Mefisto project without Fortran part... 2014-08-21 18:34:21 +02:00
jriegel 1aed444318 define for PCL usage for older LibPacks 2014-08-21 18:17:20 +02:00
wmayer 833bd4e77b Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-08-21 18:16:42 +02:00
wmayer c1c25f1a5c + add GL test stuff into Sandbox module 2014-08-21 18:15:43 +02:00
jriegel d65a4e4ed7 some type clearification 2014-08-21 17:59:33 +02:00
Yorik van Havre 317206ac59 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-08-21 12:38:18 -03:00
wmayer 811fb3be24 + port RegExp utility to Qt4 2014-08-21 17:32:30 +02:00
wmayer 1b4fb56cdc + fix DrawingView::onRelabel() to accept any page names 2014-08-21 17:26:52 +02:00
Yorik van Havre 806c857c6f Draft: removed unnecessary latin1 decode operations 2014-08-21 11:44:28 -03:00
Abdullah Tahiri 7cc5167623 Sketcher properties feature enhancement: Separated sublist for unnamed datum constraints 2014-08-21 14:11:51 +02:00
wmayer e814d997e5 + fix trim mesh with plane 2014-08-21 13:26:35 +02:00
wmayer d0a200303b + suppress annoying warnings with MSVC for SMESH sources 2014-08-20 15:31:33 +02:00
Michael G. Hansen 9419259ff6 1659: 3dconnexion space navigator moves view even when FreeCAD is not the active application
Check whether the freecad window is active before relaying the space navigator events.
2014-08-19 15:46:52 +02:00
Michael G. Hansen 808d2e93bf Fix typo. 2014-08-19 15:26:58 +02:00
Michael G. Hansen dd7bd833c6 Fix bug 1643: Projections are always added to the first drawing page 2014-08-19 15:07:02 +02:00
wmayer e9100c7ddb + fix build failure on Windows, remove unused headers, whitespace improvements 2014-08-19 14:02:16 +02:00
Abdullah Tahiri a9fef8412f New feature: Edit Sketch datum constraints from data Property view
This feature shows in the data properties associated to a TreeView element,
the datum constraints, i.e. those with an associated value.
2014-08-19 13:23:15 +02:00
jriegel 0e53a593db cleaning up CMake file and some comments 2014-08-18 22:42:23 +02:00
jriegel b253a14818 move MEFISTO to inline c file instead of fortran... 2014-08-18 22:32:10 +02:00
Sebastian Hoogen e2f54c793c improvements to exportDRAWEXE
load only MODELING module instead of ALL
show TypeId of unsupported Objects
use angel of revolution for cones
improve sweep output
support for point, vertex, Part and Draft Polygon
cache object names to reuse them in DRAWEXE
do not expode spine which are allready edges
don't try to make faces from arcs (if this failed in FreeCAD allready)

use rounded floats if they safe digits

Sometimes the floats seems to be rounded to twelve decimal
places. we round them if it allows so safe digigts.
round angles
2014-08-18 14:45:42 -03:00
Sebastian Hoogen 3c7c04cafe bugfix in Draft.ViewProiderPoint
remove access to nonexistant property
2014-08-18 14:45:42 -03:00
Sebastian Hoogen 5ecf0cb40b Reverse the projection direction of DXF exports 2014-08-18 14:45:42 -03:00
wmayer 7110c55c33 + fixes #0001689: Show name of the drawing page in the tab of the drawing 2014-08-18 14:44:28 +02:00
wmayer 8943ef58b2 + fixes #0001696: Quantity.getValueAs('rad') touches the Property 2014-08-18 13:30:14 +02:00
Sebastian Hoogen 3198c42397 flush stdout after reseting the console color 2014-08-18 13:11:16 +02:00
wmayer 967566acf1 + improve OCC version macro, fix build failure with MinGW, fix build failure with Coin2 2014-08-18 11:34:02 +02:00
Yorik van Havre 5e82febd0a Enhanced a bit the document icon in tree view 2014-08-17 18:49:49 -03:00
Yorik van Havre 14292c11cd Draft: Objects drawn on an existing face will no longer take it as support unless the face was already selected 2014-08-17 18:09:44 -03:00
jriegel ee64f54765 OCL tests 2014-08-17 20:15:12 +02:00
wmayer 75fa3d4067 + prepare property editor for items with unknown number of children 2014-08-17 18:36:27 +02:00
Yorik van Havre f0eee59283 Draft: Fixed small regression in Draft2Sketch 2014-08-16 19:40:35 -03:00
Bernd Hahnebach 6436b29034 Arch: fix in new ifc-importer 2014-08-16 12:37:06 -03:00
wmayer 6556bc776a + fixes #0001689: Show name of the drawing page in the tab of the drawing 2014-08-16 15:08:55 +02:00
wmayer 8808b82371 + fixes #0001690: sketch.getPoint crashes FreeCAD if the point does not exist 2014-08-16 14:41:30 +02:00
wmayer 92cb03bca1 + code cleanup 2014-08-16 14:15:46 +02: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
wmayer 4dc12740e8 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-08-15 14:37:25 +02:00
Sebastian Hoogen 4ba56b5c29 fixes #0001684: Sweep ignores the list of subshapes 2014-08-15 14:35:59 +02:00
Yorik van Havre 7665e34a3a Draft: Fixed wrong preferences text 2014-08-14 19:51:31 -03:00
Johannes Reinhardt 941f7dae00 Use new curve discretization 2014-08-14 23:28:50 +02:00
Johannes Reinhardt 8189dddec1 Revert "Arch: Turned jreinhardt's fix to webGL into an option"
This reverts commit 90f2fc2034.

Conflicts:
	src/Mod/Arch/Arch_rc.py
	src/Mod/Arch/Resources/ui/archprefs-import.ui
2014-08-14 23:28:50 +02:00
wmayer 7eaa4fff74 + Support Quasi methods in discretize() 2014-08-14 19:11:51 +02:00
Yorik van Havre 7369fbd154 Draft: clearer preference text for dimension style setting 2014-08-14 11:57:17 -03:00
wmayer ee2e7fc3fa + Give example for discretize() matching the shape type 2014-08-14 11:38:39 +02:00
wmayer 9ed61f107b + support First and Last keywords in discretize 2014-08-14 11:16:54 +02:00
jriegel 976511154c Remove all hardcoded INT types out of PyCXX to make X64 warning free 2014-08-14 09:13:53 +02:00
wmayer 3d2a2b06f0 + fix and improve discretize() method 2014-08-13 23:33:27 +02:00
Yorik van Havre d0288deabb Arch: small bugfixes in Drawing projection stuff 2014-08-13 16:21:08 -03:00
jriegel fea803c2fb Changes for LibPack 10.x 2014-08-13 21:05:40 +02:00
jriegel 551a095176 comenting out use of Qt internal API only on Windows 2014-08-13 21:05:13 +02:00
jriegel 95923c3afc remove Standard_String.hxx, no longer needed 2014-08-13 21:04:27 +02:00
jriegel 7767f0e6c7 Fix for VC11, should be backwards compatible 2014-08-13 21:01:27 +02:00
jriegel 4f5e1e3b8b fix using Release lib in Debug 2014-08-13 21:00:50 +02:00
jriegel 6303650cc1 Use default eigen in Approximation... 2014-08-13 21:00:15 +02:00
jriegel b5431d57e0 Change std::make_pairs to C++11 standard without template arguments 2014-08-13 20:59:29 +02:00
wmayer fedbd2fc2e + Check for valid document in link properties 2014-08-13 17:47:50 +02:00
wmayer ed4f7dcd35 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-08-13 12:49:37 +02:00
wmayer 7939027c98 + fixes #0001682: Crash after updating editable texts in drawing 2014-08-13 12:49:09 +02:00
Yorik van Havre a9b5970512 Arch: Misc improvements to section planes 2014-08-13 00:28:27 -03:00
Sebastian Hoogen 92382edbc9 bugfixes and feature enhancements in exportDRAWEXE
bugfix to Loft in exportDRAWEXE
added Extrusion
ability to clean shapes from teselation before export
support for Fillet in exportDRAWEXE
name shapes with restore command
remove trailing dot from decimals
include version information in output
allow to test if a suboject is supported
explode sections of loft and sweep and edges for fillet
2014-08-12 18:17:07 +02:00
wmayer e21972be9b + fix cmake configure failure 2014-08-12 17:03:01 +02:00
Sebastian Hoogen 1f162dec2d link against TKAdvTools only if OCCT < 6.7.3 2014-08-12 08:10:54 +02:00
wmayer fcb2714d0d + on document load set camera setting of the MDI views 2014-08-12 00:07:16 +02:00
wmayer 4ad43e60b0 + fixes #0001667: 'Save file' disabled when viewing a drawing 2014-08-11 22:59:16 +02:00
wmayer 29f3f0cfc2 + do not apply corrupted transformation (NaN) from SoCenterballManip 2014-08-11 14:56:30 +02:00
wmayer b8df4593c9 + change selectNumber() to check against the locale signs 2014-08-11 11:07:24 +02:00
wmayer 17e2737062 + fix regression in selectNumber(), + little performance boost, fix whitespaces 2014-08-11 10:46:43 +02:00
jriegel 915ea8a609 New parser c-files 2014-08-10 19:17:40 +02:00
jriegel 1b4190b047 Merge branch 'refs/heads/negative_sign_problem-2' 2014-08-10 19:12:39 +02:00
jriegel 601d7f3c03 remove double parameter functions from quantity parser 2014-08-10 19:10:14 +02:00
wmayer 5a33d95526 + Add macro to test and get OCC version 2014-08-10 18:52:28 +02:00
Yorik van Havre a05bf739c5 Draft: Fixed Offset tool - fixes #1634, #1635 2014-08-09 13:41:52 -03:00
Ian Rees 3a96bb60fe Sketcher: Don't change preselection during box selection 2014-08-09 07:34:04 +02: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
Abdullah Tahiri 37d5012647 Sketcher Elements widget - New feature -
- Remembers how the user left the "Auto switch to Edge" and the "Extended Name" checkboxes
and restores the values on next use of the Sketcher WB.
2014-08-08 18:32:54 +02:00
Yorik van Havre b64f283ce8 Draft: Removed leftovers from the macros menu 2014-08-08 11:21:37 -03:00
wmayer 854596aaa0 minor fixes in gear panel 2014-08-08 13:21:06 +02:00
Aglef Kaiser 420e71afbb Involute gear script extended for internal gears 2014-08-08 12:10:38 +02:00
Yorik van Havre 6b5b1a7443 Raytracing: Using names instead of labels in exported files - fixes #1663 2014-08-07 22:24:57 -03:00
Yorik van Havre 7778988faa Drawing: Allow to select the page in which to create a view feature - fixes #1668 2014-08-07 22:00:31 -03:00
wmayer 28490532f5 + fix dir2qrc script to keep alphabetical order of file names, update Sketcher.qrc 2014-08-07 20:29:31 +02:00
Abdullah Tahiri e2db94facd updated icons for sketcher
- Selection icons added.
- Art by Jim
- Clean up sketcher xpm small icons: Only constraint icons seem to be necessary
2014-08-07 19:49:51 +02:00
Abdullah Tahiri b5002dc6fe changes in sketcher
- Varios minor bug fixes.
- Added the other commands to the toolbar.
- Bug fix: missing AbortCommand().
- Mode Auto-switch to edge (Sponssi mode) has selection combo disabled to avoid interferring with this mode.
However, if auto-switch checkbox is unchecked (Jim-Abdullah mode), the combo is enabled and selection of
element type can be effected via the combo with the mouse.

In any case "z" shortcut iterates round robin the "valid types" of the preselected (hovered) element.
2014-08-07 19:49:51 +02:00
wmayer 09b8b25144 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-08-07 19:47:11 +02:00
wmayer 1cd2dab81f + rename duplicate class name 2014-08-07 18:41:54 +02:00
Yorik van Havre 3c0c72e4c0 Draft: removed macros menu - fixes #490
The macros menu code is on http://www.freecadweb.org/wiki/index.php?title=Macro_MacroMenu
2014-08-07 11:07:22 -03:00
Yorik van Havre dc3ebfb502 Fix in Drawing page object - fixes #1540
* Changing the editable texts updates the page automatically
* Added a doc.recompute() after creating a new page
2014-08-07 10:39:33 -03:00
Yorik van Havre e0bdc07c4d Fixed output of ViewObject attribute in console mode 2014-08-07 10:38:41 -03:00
Yorik van Havre c66de2f8cb Draft: fix in SelectGroup tool - fixes #1568 2014-08-06 19:55:26 -03:00
Yorik van Havre dbed1e35e5 Draft: small fix in Array object 2014-08-06 19:33:55 -03:00
wmayer bd64ce3bb7 + implement save() function in PointKernel, fix icon issue in mesh workbench 2014-08-06 17:39:15 +02:00
wmayer 0c2d201396 + fix security issue (do not run uncontrolled format string) 2014-08-06 10:16:06 +02:00
Yorik van Havre 46583f2960 Used Gui.addModule() instead of import in Draft & Arch 2014-08-05 19:38:40 -03:00
Yorik van Havre 81e983b6ac Exposed doCommand (Gui version) to python - fixes #1564 2014-08-05 19:28:36 -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
wmayer be3299a46d code review: move transaction to outside from loop, fix several bugs, fix whitespaces 2014-08-05 00:35:03 +02:00
wmayer 1011dd4175 Squashed commit of the following:
commit 695becbbfff961b13e3edb5a4e1e4487bc53b4bb
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Mon Aug 4 15:24:33 2014 +0200

    - Making combo disable state.
    - Updating Art (Thanks Jim!)

commit d5391d40ace450fa2e65fe2b4ab8029ad37cacf8
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Fri Aug 1 00:40:15 2014 +0200

    - Adaptation of code to Workbench's new Template structure.
    - Minor adaptation of new ViewProvideSketch code to new constraint code (only in code extensions needed for element Widget)

commit ecdec20afa33c9a950e6054e80e4aa9c72aad8b6
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Thu Jul 31 15:31:38 2014 +0200

    Fix so that when applying a coincident constraint to a plurality of points,
    if one constraint on a couple of points exists, no new coincident constraint is
    added to this couple.

    Fixes: http://forum.freecadweb.org/viewtopic.php?f=3&t=6890

commit 32ef59d76e6c63356f5d36598ca11eb47c2e52af
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Thu Jul 31 14:13:58 2014 +0200

    Add some placeholder art for icons to avoid having a cross icon and annoying icon not found messages.

commit ccb60a3a7e71a0eb8ad5d896542314a98ef314a8
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Mon Jul 28 20:15:29 2014 +0200

    - Fixed Length Constraint accelerator (D) to SHIFT+D to avoid colision with other higher level FreeCAD accelerator assignment.
    - Selection Accelerators now toggle on shortcut execution, and act when no other element is selected (fixed bug)

    TODO: Art+Toolbar

commit 791358d046e8eeb03fa00272f5627c75254c48eb
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Mon Jul 28 15:12:07 2014 +0200

    Fixing shortcut system:
    - Take shortcuts automatically from CommandManager.
    - Fixed two shortcuts in CommandConstraints (Point on Object - O and
    Parallel Constraint - P to SHIFT+O and SHIFT+P to avoid collision with other constraints)
    - Fixed shortcuts in CommandConstraintAccel to non-already-existing combinations
    - Fixed Sketcher Menu to show accelerators

commit 12d366406a45038ce1a4f725a98e4f570475084b
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Mon Jul 28 11:53:37 2014 +0200

    Implemented SHIFT multiple selection functionality in listwidget.

commit 0606ea7dfe38fdf8924f65f14382f1b327145c80
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Mon Jul 28 11:02:02 2014 +0200

    Added Sketcher Accelerators for:
    - Selection of H Axis
    - V Axis
    - Origin

    Main TODO: Shortcuts and Shift in list widget implementation

commit 297464807fc56fbcf31efadff9625fc05bb20c41
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Wed Jul 23 11:37:21 2014 +0200

    Implementation of:
    - Switch on 'Z' instead of 'Shift'
    - Checkbox to select whether element internal name (e.g. Edge10) should be presented on list or not (Sponssi requested)
    - Checkbox to force going back to "Edge" type on change from one element to the next (Sponssi requested)

commit c8764b116acdcfdc7ef7658dc6009fb8db807906
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Wed Jul 23 07:57:11 2014 +0200

    TaskSketcher Elements:
    - Store Vertex within elements for optimization (reduce loops searching for vertex in every function call)
    - Added the accelerators described below + Toggle Construction as context menu commands
    - Fixed bug (Thanks sponssi!): After some element has been preselected from the list and the cursor moved to the drawing area,
    the preselection doesn't seem to be resetted in the widget or whereever it is handled.
    Tapping shift still swaps the preselection between the points of the previously selected element.
    The left mouse button has to be clicked in the draw area to get rid of this.
    http://forum.freecadweb.org/viewtopic.php?f=10&t=6861&sid=7eea4adc7ecf4cebd561b357601866a2&start=20
    - Extended naming of elements, to facilitate writing python code (as requested by sponssi).
    - Minor modifications (creation of utility fuctions, code readibility, ...)

    Sketcher Workbench:
    - First effort to add a toolbar with the accelerators.

    Sketcher Accelerators: (Perform actions on existing elements, as opposed to Geometry Creation, not restricted to applying constraints)
    - Close Shape : of selected edges (i.e. lines and arcs)
    - Connect : selected edges (connect endpoint edge with starting point of next edge according to selection order)
    - Select Constraints : associated with currently selected edges

commit 1dc18204a4e2e38f71d729a7692383f50a7d4654
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Sat Jul 12 16:06:48 2014 +0200

    New alternative implementation of the Sketch Element List.

    This version comprises:
    - Identification via icon of type of geometric element (Point, Arc, Line, Circle) and
      Type of selection (Edge, Starting Point, End Point, Center Point)
    - Corrected a bug where upon selection from the combobox, the icons were not updated (Thanks Jim!)
    - Implementation of jump to next valid type of last preselected element (aka fast-forward) for all the types.

commit 4d472ef796362405c3982355f86489fa92cbfe6d
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Thu Jun 26 17:15:51 2014 +0200

    Feature request by jmaustpc
    - When an object does not have an element, lets put a different icon.
    - Currently the constraint lock icon is used until availability of a new one.

commit 6d15478f6533ff3805520a8ca36d1c41908cb0af
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Thu Jun 26 14:54:23 2014 +0200

    Bug fix (preselection not disappearing on changing element without the element Type).

commit e33043e17781fcf6399257696f115f68ab4580ec
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Thu Jun 26 14:39:20 2014 +0200

    New nicer icons by jmaustpc. They look much nicer :-)

commit 2ce2d6ff1ad2d81b0b1e30ffcbe9f2cc445f2e5b
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Thu Jun 26 14:37:21 2014 +0200

    Fast-Forward functionality:
    - If an element not having "midpoint" is preselected, then on pressing SHIFT the
    Type will jump from EndPoint to Line skipping midpoint.
    - This is intended as a productivity feature, as most sketch elements usually are lines

commit 1865d06d06582a49da10ddc123133807a4593060
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Wed Jun 25 15:47:22 2014 +0200

    Bug fix (thanks jmaustpc)
    - Preselection is maintained even though the geometric element does not have the "Type".
    - Fix involves calling for remove preselection in TaskSketcherElement
    - Implementing the response to the message RmvPreselection in ViewProviderSketch

commit 14e21da4b4ed0e9a2b3e846a4e51f6745d5e0ab7
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Mon Jun 23 14:25:35 2014 +0200

    Fix Bug with null pointer (thanks jmaustpc!)
    Clean up code

commit 0d99eb633f1bca45d4e7bb22c57bd4892767a390
Author: Abdullah Tahiri <abdullah.tahiri.yo@gmail.com>
Date:   Wed Jun 11 16:32:48 2014 +0200

    New widget for the Taskbar of the Sketcher WB.

    The objectives of this widget are:
    1. Allow editing of sketches when they have (partially) overlapping lines of any type
       (construction/external/normal).
    2. Allow the construction of sketches using the keyboard (less mouse intensive)

    The widget works as follows:
    1. A QListWidget presents a list of elements, element is here a geometric element
    formed Types edges, starting points, end points and midpoints (e.g. circles, arcs)
    2. On hovering/Entering one item in the list, it is preselected for easy identification.
    3. The selection can be switched from one type to another using the SHIFT key
    (press and release) in a round-robin fashion (or you can select it using the droplist)
    4. Selection of different types is possible (e.g. two points and a line).
    5. The contextual menu accessible by right click allow to apply a constraint to the
    selection.
    6. The constraints in the contextual menu have shortcuts, so you can actually use the
    shortcut directly from the QListWidget.

    Additional features introduced to other parts during development...
    - New color introduced for Types that are selected and preselected at the same time
    - Edges is a SoLineSet. You can not apply many So modifiers (width,offset) to parts of a SoLineSet.
    An edge part of a SoLineSet that is drawn after another one, covers it unless it is closer to the
    camera. The system of manual offsets already in place for points has been extended to properly
    handle (i.e. show) overlapping lines part of a SoLineSet.
2014-08-05 00:35:02 +02:00
Yorik van Havre 62e9b60816 Added a couple of missing units in MKS schema 2014-08-04 19:16:10 -03:00
Yorik van Havre f5f6cb1adf Arch: Enhanced Space tool - fixes #1610 2014-08-04 18:24:20 -03:00
Yorik van Havre a7d1b80fc3 Draft: Fixed offset in SelectPlane tool - fixes #1606 2014-08-04 13:53:38 -03:00
Yorik van Havre a601434c27 Draft: adapted Draft2Sketch tool for macro recording - fixes #1661 2014-08-04 12:37:59 -03:00
Yorik van Havre e41996c9db Draft: default Z to 1 in Scale tool - fixes #1660 2014-08-04 12:01:44 -03:00
Yorik van Havre caf02318b5 Arch: Included some utility functions into Arch module
* makeCompoundFromSelected: creates a compound object from selected subobjects
* cleanArchSplitter: cleans the splitters on imported Arch objects
* rebuildArchShape: tries to rebuild a solid from the faces of an invalid shape
2014-08-04 11:11:11 -03:00
jriegel 36a0641edd App and Base Compiles with new LibPack 2014-08-03 22:56:52 +02:00
Johan K 83a5f1547f Adding selectNumber handling of locale, this wont work with groupseparators 2014-08-03 22:31:57 +02:00
jriegel ec2198107b move build specifier in own cMake group 2014-08-03 20:53:19 +02:00
jriegel c24a5161fc New LibPack 10 for Win 64 2014-08-03 20:37:06 +02:00
Yorik van Havre c7bfaf2ed7 Arch: small bugfixes and optimisations 2014-08-03 15:14:33 -03:00
Johan K 5cfdabb45a Adding changes 2014-08-03 20:13:05 +02:00
jriegel b32b227733 clean up number scanner in Units 2014-08-03 17:24:42 +02:00
jriegel 1da5543657 fix swedish minus simbol 2014-08-03 16:01:21 +02:00
wmayer ced08b0416 + fix memory leak 2014-08-02 18:26:23 +02:00
wmayer 578fbbefa4 + fix bug when releasing button after dragging point or curve 2014-08-02 17:52:12 +02:00
Ian Rees c836dab53d Removed some debugging stuff that was accidentally pushed earlier 2014-08-02 20:04:56 +12:00
Yorik van Havre 2d8963de03 Arch: Added scaling in IFC importer 2014-08-01 21:44:46 -03:00
Yorik van Havre a548203ca9 Arch: removed obsolete IFC preference options 2014-08-01 21:34:49 -03:00
Yorik van Havre 3b86494afb Arch: fixed bug in wall extrusions 2014-08-01 21:28:32 -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 fec636b835 Arch: Introduced new IFC importer/exporter
* The new IFC importer uses excusively the newest ifcopenshell.py module
* Renamed old importer to importIFClegacy.py
* Included the now deprecated ifcReader and ifcWriter modules into importIFClegacy
* The new IFC importer falls back on the older one if the ifcopenshell module is not found
2014-08-01 18:39:10 -03:00
wmayer 7a3ddd5bae + fix author note, fix various crashes, improve mesh selection stuff 2014-08-01 16:39:59 +02:00
wmayer 4032a88c2d Revert "remove TKAdvTools"
This reverts commit 6843d6ad5d.
2014-08-01 15:07:27 +02:00
Yorik van Havre f0d5564747 Draft: DXF lib is now pulled from its specific branch 2014-07-31 11:26:17 -03:00
wmayer 406d32aebb + Replace InputField with QuantitySpinBox 2014-07-31 15:14:27 +02:00
wmayer 609422f08a More detailed error message when xerces fails to read in parameters 2014-07-31 10:58:48 +02:00
Yorik van Havre d946499e4d Draft: diverted current dxfLibrary download folder 2014-07-30 23:54:14 -03:00
wmayer e327662d28 0001638: Not possible to draw anything. 2014-07-30 18:21:53 +02:00
wmayer 7294271c0c + Allow to get clean copy of a shape from Python 2014-07-30 12:21:22 +02:00
wmayer a252471625 + fix author notes, fix memory leak, fix build failure under Windows 2014-07-30 10:05:13 +02:00
wmayer 6ca580456b Squashed commit of the following:
commit 8853bf442b6e1a98699fa90fca5eb30b3f6d3a5e
Author: Ian Rees <ian.rees@gmail.com>
Date:   Tue Jul 29 15:46:59 2014 +1200

    Refactoring and small fix in constraint icon bounding boxes

commit c03e4c13d8fd657e18e3c78d16bbdef209f8c779
Author: Ian Rees <ian.rees@gmail.com>
Date:   Mon Jul 28 15:41:15 2014 +1200

    Implemented picking of individual constraints from combined icons

commit 254aaab450fe6646bee7542c532c454af91b6597
Author: Ian Rees <ian.rees@gmail.com>
Date:   Mon Jul 28 13:04:18 2014 +1200

    Added bounding boxes for combined constraint icons

commit 4f0738ec30220fbf1abdea14dd121d0a134e5dfd
Author: Ian Rees <ian.rees@gmail.com>
Date:   Sat Jul 26 18:53:33 2014 +1200

    Added screenCoordsOfPath() to View3DInventorViewer

commit 14e2dc7b4aa79db97cbacd2c848728a66276d644
Author: Ian Rees <ian.rees@gmail.com>
Date:   Sun Jul 20 14:24:27 2014 +1200

    Bit of code to make constraint icon text rendering nicer.

    This won't be useful unless the font changes, but wanted to add it while
    I was thinking about it.

commit 8020d2d62214d71875cbae101d5ac5e96d998201
Author: Ian Rees <ian.rees@gmail.com>
Date:   Sun Jul 20 13:54:51 2014 +1200

    Fixed an off-by-one in ViewProviderSketch::combineConstratintIcons

    Bug resulted in icons occasionally not being combined into groups,
    when they should've been.

commit 20d92a3ccc1f795be1cb86f6f92045518dc8eb81
Author: Ian Rees <ian.rees@gmail.com>
Date:   Tue Jul 15 19:38:20 2014 +1200

    Fixed a bug that was introduced two commits ago.

commit 69e1ea848e3bc3c8c372c539f30a7b4d2a563aa2
Author: Ian Rees <ian.rees@gmail.com>
Date:   Tue Jul 15 15:33:30 2014 +1200

    Fixed dumb copy-and-paste error

commit a998b75a905cc31e1f4f49869e81ecaef5858b69
Author: Ian Rees <ian.rees@gmail.com>
Date:   Sun Jul 13 18:39:22 2014 +1200

    Fixed crash reported by sponssi

    More info at http://forum.freecadweb.org/viewtopic.php?f=10&t=6965&p=56590

commit 27b7b804790dda5164c7ef0b9418f6c160228859
Author: Ian Rees <ian.rees@gmail.com>
Date:   Thu Jul 10 13:32:16 2014 +1200

    Cleaning up my git repo for FreeCAD.

    This branch now has just the Sketcher icon fixes, plus a few random comment edits.
2014-07-30 10:05:12 +02:00
Yorik van Havre b74c96dcc4 Draft + Arch: fixes when working without the GUI 2014-07-29 22:20:06 -03:00
wmayer 580c541005 + Add class CoordinateSystem and use it to compute placement of plane from fit 2014-07-29 23:01:29 +02:00
wmayer 65c974ed2d Squashed commit of the following:
commit 6e78052d325eadcb212a6d50c6cd09cc29ac7870
Author: Johan K <johankristensen@gmail.com>
Date:   Tue Jul 29 14:52:08 2014 +0200

    Adding missing file RegularPolygon.py

commit 416396283032a31a1ea307df23d33ecfccf37935
Author: Johan K <johankristensen@gmail.com>
Date:   Mon Jul 28 22:51:28 2014 +0200

    Replaced sketcher implementation of RegularPolygons with a Python script version.
2014-07-29 17:26:28 +02:00
Ian Rees c10ddae02f Bugs in mouse panning when viewport is "portrait" orientation 2014-07-29 12:58:39 +02:00
wmayer 290bc13c74 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-29 11:37:32 +02:00
wmayer c54311123b + Add method getEditorMode() to see if a property is hidden or read-only in the property editor 2014-07-29 11:36:42 +02:00
Yorik van Havre 19135f9586 Draft: small bug fix in DXF importer 2014-07-28 19:47:40 -03:00
wmayer dc7ccc41af + remove crude workaround as this seems to work now 2014-07-28 18:43:11 +02:00
wmayer 2e6c54eedf + improve the plane fit from REEN module 2014-07-28 16:39:34 +02:00
Ian Rees 1a2fe206ca Turned off HIDE_UNDOC_RELATIONS in Doxygen 2014-07-28 17:15:55 +12:00
wmayer a1da4bb4fb + fixes #0001619: Python script generating 3D model works in V0.13, error in V0.14 2014-07-27 14:08:31 +02:00
wmayer d163316e63 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-27 11:00:36 +02:00
Johan K 7fadaa0a55 Added more regular polygons to the sketcher gui 2014-07-27 00:25:40 +02:00
Johan K 4528b31d6e Added more regular polygons to the sketcher gui 2014-07-27 00:08:49 +02:00
Yorik van Havre d5469ba3fc Arch: misc bugfixes 2014-07-26 16:37:06 -03:00
wmayer 6b1e6a66ad + Make destructor virtual for classes with virtual methods (based on DevJohan's patch) 2014-07-26 19:17:12 +02:00
wmayer 4dee80f4e1 + support to create faces from vertices with shape builder 2014-07-25 13:35:10 +02:00
wmayer f0eb27f710 + let user decide to use equality constraint or independent radii 2014-07-24 19:09:41 +02:00
wmayer 996af8d808 + fixes #0001633: Allow adding radius constraints to several circles at once. 2014-07-24 13:32:47 +02:00
Sebastian Hoogen 65793d22e8 recognize OCCT -dev and -beta versions
as such in version string
2014-07-24 10:31:50 +02:00
Sebastian Hoogen 3859963b44 fix to placement problem in exportCSG.py 2014-07-24 10:31:50 +02:00
wmayer ecbda2772e + fixes #0001628: Fixed A4 Drawing Template 2014-07-23 13:56:16 +02:00
wmayer 841b4fab1b + fixes #0001630: IGES-Export in [mm] turns to [Inches] 2014-07-23 13:49:16 +02:00
wmayer dfea0206ca + fix doc string 2014-07-22 14:49:25 +02:00
wmayer c693916fb1 + support units in hole panel 2014-07-22 14:47:37 +02:00
wmayer cb5e72974c + support units in hole panel 2014-07-22 14:47:09 +02:00
wmayer 57cdb8aed5 + support units in draft panel 2014-07-22 14:44:20 +02:00
wmayer 3585403ee2 + support units in polar pattern panel 2014-07-22 14:39:23 +02:00
wmayer 67b85ff8c3 + support units in revolve panel 2014-07-22 14:30:30 +02:00
wmayer 4b644b2821 + support units in groove panel 2014-07-22 14:23:10 +02:00
wmayer ea6c5407d9 + support units in pocket panel 2014-07-22 14:13:45 +02:00
wmayer a5e27444d0 + minor issue solved with message label of linear pattern panel 2014-07-22 11:08:43 +02:00
wmayer 107a7f50dc + fix bug in chamfer/fillet when aborting command 2014-07-22 11:02:45 +02:00
wmayer d2cbd6817f + fixes 0001563: Add units to Linear Pattern in PartDesign 2014-07-22 10:39:44 +02:00
wmayer b5b929cf58 + fix focus issue with QuantitySpinBox and InputField 2014-07-21 18:28:46 +02:00
wmayer 5ba337a36d + add QuantitySpinBox to widget plugin 2014-07-21 15:30:38 +02:00
wmayer 2da263ae95 + proper handling of group separator in InputField and QuantitySpinBox 2014-07-21 15:03:45 +02:00
wmayer 81310c906b Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-20 19:15:42 +02:00
wmayer 3fb066c13e + add missing headers 2014-07-20 19:15:10 +02:00
Yorik van Havre a0bb761d8e Arch: added panel to cmakelist 2014-07-20 13:32:06 -03:00
Yorik van Havre 4414da2256 Arch: Updated preferences page for panels 2014-07-20 13:28:43 -03:00
Yorik van Havre 6c8c69df02 Arch: small fix in panel 2014-07-20 13:19:51 -03:00
Yorik van Havre 14ee127dc7 Arch: Further work on panel 2014-07-20 13:17:36 -03:00
Yorik van Havre a452e6cf61 Arch: Starting Panel tool 2014-07-20 13:17:36 -03:00
Yorik van Havre 8c7f69d913 Transferred import-export related preference pages to a separate group 2014-07-20 12:58:15 -03:00
wmayer d403851313 + add QuantitySpinBox 2014-07-20 17:47:09 +02:00
wmayer 86a69f830e Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-20 17:45:54 +02:00
Yorik van Havre d44e4d324b Arch: moved ifc-related functions to importIFC 2014-07-20 12:00:47 -03:00
Sebastian Hoogen f7193ca646 Adapt SMESH to new OCCT NCollection templates 2014-07-19 12:26:29 +02:00
Sebastian Hoogen 6843d6ad5d remove TKAdvTools 2014-07-19 12:26:29 +02:00
wmayer 4ae0d4db53 + do not allow negative numbers in fillet and chamfer panel 2014-07-18 15:23:36 +02:00
wmayer 80cc2e4710 + Replace OCC_HEX_VERSION with OCC_VERSION_HEX 2014-07-18 14:51:54 +02:00
wmayer c4bd838c55 + fix broken copyright notice 2014-07-18 12:40:21 +02:00
Ian Rees 22278b7826 This branch adds a mouse cursor to the 'Measure Distance' tool. 2014-07-18 12:33:57 +02:00
Sebastian Hoogen a0454af685 remove all references to BRepMesh 2014-07-18 10:43:16 +02:00
Yorik van Havre eea27448e9 Arch: Fixed bugs when working without GUI 2014-07-17 19:58:22 -03:00
wmayer 0fda229597 + add missing files to install target of Sketcher module 2014-07-17 12:26:52 +02:00
jriegel f30e86bc4b Integrating Rift Libs in build 2014-07-16 23:08:32 +02:00
wmayer c6af002ab5 + fixes #0001614: Provide proper Error Message for corrupt xml files 2014-07-16 19:12:19 +02:00
wmayer a5c8529b53 + use XMLString::release to free memory 2014-07-16 19:11:17 +02:00
wmayer b316991220 + fix mesh trimming 2014-07-16 18:21:30 +02:00
wmayer 7120279ec0 + fixes #0001617: typo in importCSG.py 2014-07-16 15:11:45 +02:00
wmayer f4d8b0ff54 + fix mesh triming 2014-07-16 13:57:14 +02:00
Yorik van Havre 7f387eabc1 Arch: General improvements
* Removed roundings in exported objects
* Added toggleIfcBrepFlag command to force export as BREP
* Prepared Arch objects for Materials and custom IFC attributes
* Supported latest developement version of IfcOpenShell
* Cleanup of IFC exporter
* Export of Arch Sites as IfcSite
* Export of Groups as IfcGroup
2014-07-15 15:13:30 -03:00
wmayer d456cd21f9 + fixes #0001499: Mesh trim loses some triangles 2014-07-15 18:42:42 +02:00
wmayer b8772df79c + Mesh trim loses some triangles 2014-07-15 13:31:15 +02:00
Ian Rees 172fb583d8 Forgot to add this to the last commit... 2014-07-15 11:41:11 +02:00
Ian Rees d21d3125e7 Have cmake set doxygen to use dot if it's available.
Also a minor typos
2014-07-15 11:41:10 +02:00
wmayer a9d1979270 + include missing header file 2014-07-15 10:27:02 +02:00
Yorik van Havre bd6a5cea8d Bumped version to 0.15 and added a temporary new splash 2014-07-14 20:04:21 -03:00
Yorik van Havre 7a612c66fa Spreadsheet: Added setitem and getitem methods 2014-07-14 19:13:18 -03:00
wmayer 8aec46fbaf + support comparison with double in quantity number protocol 2014-07-14 17:17:41 +02:00
Yorik van Havre 1fd7bd98a4 Draft: Array tool now prints commands in the python console 2014-07-13 12:32:32 -03:00
Sebastian Hoogen 51b3a4c945 importSVG: recognize relative scaling in viewBox attribute 2014-07-13 11:37:36 +02:00
Sebastian Hoogen 7bc3f70b8d remove unused meshing paramters for exportCSG
releated to 382e055e9b
2014-07-13 11:37:35 +02:00
Sebastian Hoogen c1f5582da8 support for Part::Loft in exportDRAWEXE 2014-07-13 11:37:34 +02:00
Sebastian Hoogen 2b1656e6b0 renable DRAWEXE exporter
This reverts commit 4c48bdf216.
2014-07-13 11:37:34 +02:00
Michael Ang db54a748b1 automatically find the OpenSCAD binary on Mac OS X 2014-07-13 11:37:33 +02:00
wmayer af4aa69d35 + fix crash when trying to edit broken revolve object 2014-07-13 11:34:36 +02:00
Jose Luis Cercos-Pita c90c4e1749 Added spreadsheets to the hydrostatics tool 2014-07-13 11:09:00 +02:00
Jose Luis Cercos-Pita 5f49a00b01 Fixed worng variable 2014-07-13 11:09:00 +02:00
Jose Luis Cercos-Pita e1b387a104 Changed the spreadsheet label 2014-07-13 11:08:59 +02:00
Jose Luis Cercos-Pita 48afaa5750 Added spreadsheets to the transversal areas tool 2014-07-13 11:08:58 +02:00
Jose Luis Cercos-Pita 3194d478f3 Fixed box generation for small draft values 2014-07-13 11:08:58 +02:00
Jose Luis Cercos-Pita aa1c957eb9 Fixed bad integer usage 2014-07-13 11:08:57 +02:00
Jose Luis Cercos-Pita cf01937d1c Added units mangement to the hydrostatics tool 2014-07-13 11:08:56 +02:00
Jose Luis Cercos-Pita 1ab919ef7e Corrected the angle bounds 2014-07-13 11:08:56 +02:00
Jose Luis Cercos-Pita 9a12a16cc4 Added units mangement to the transversal areas tool 2014-07-13 11:08:55 +02:00
Jose Luis Cercos-Pita 39769e887a Added helpers for mass, time and angle units 2014-07-13 11:08:54 +02:00
Jose Luis Cercos-Pita 1ce24c879f Added units mangement to the outline drawing tool 2014-07-13 11:08:53 +02:00
Jose Luis Cercos-Pita 978030a678 Moved to InputField widget in ship creation 2014-07-13 11:08:52 +02:00
wmayer d7fafdb2b6 + split create/edit sketch command into two commands 2014-07-13 10:17:50 +02:00
wmayer da708faa5e + support compounds of wires or faces for extrusion with tapered angle 2014-07-12 17:44:33 +02:00
wmayer 4ae29bc2e3 + implement solve() in Python API of SketchObject 2014-07-12 17:13:05 +02:00
wmayer 8f7966ed37 + fix override/restore cursor issue with task panel 2014-07-12 17:00:00 +02:00
wmayer f91c64aba9 + fix crash when trying to edit broken revolve object 2014-07-12 16:13:13 +02:00
Yorik van Havre 72166ceabe Draft - updated DXF importer
* Updated the importer to v1.38 (several fixes from the Blender branch)
* Enabled export of Bezier curves
2014-07-11 18:34:28 -03:00
Yorik van Havre cbcbba24d2 Draft: Further fix in text encodings 2014-07-11 17:41:26 -03:00
wmayer 3cfab20586 + simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python 2014-07-11 19:34:14 +02:00
wmayer 750a04d400 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-11 19:28:25 +02:00
wmayer ec6f6ac128 + simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python 2014-07-11 19:27:48 +02:00
Yorik van Havre 88471d390f Draft - fixed some text encodings in dimensions 2014-07-11 11:54:33 -03:00
Yorik van Havre 8188bd5385 Draft: Fixed escape() bug in Draft GUI 2014-07-07 12:07:53 -03:00
wmayer 5b348b0dcf Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-07 13:57:17 +02:00
wmayer 0a986ddca6 + give more information when assigning wrong type to quantity property 2014-07-07 13:56:23 +02:00
Yorik van Havre 1be778a53d Spreadsheet: Fix to prevent unwanted characters in spreadsheet cells 2014-07-06 18:50:40 -03:00
wmayer 3d87d88616 + fix Part.makeTube 2014-07-05 15:48:50 +02:00
Yorik van Havre 56ea36d94f updated version number in makedist script 2014-07-04 20:33:08 -03:00
Yorik van Havre 1124a57514 Draft: fix in angular dimension 2014-07-01 22:30:36 -03:00
wmayer 02976cc80a Move pcl stuff to Reen module 2012-05-26 19:12:42 +02:00
wmayer 4ca65678bd Playing with pcl library 2012-05-26 14:52:04 +02:00
8296 changed files with 2449265 additions and 1409885 deletions
+3
View File
@@ -0,0 +1,3 @@
{
"phabricator.uri" : "http://pha.geofinder.eu/"
}
+19
View File
@@ -0,0 +1,19 @@
version: 2
jobs:
build:
working_directory: ~/test
machine: true
steps:
- checkout
- run:
command: docker pull condaforge/linux-anvil
- run:
# Run, test and (if we have a BINSTAR_TOKEN) upload the distributions.
command: ./package/conda/run_docker_build.sh
workflows:
version: 2
build_and_test:
jobs:
- build
+10
View File
@@ -0,0 +1,10 @@
Thank you for creating a pull request to contribute to FreeCAD! To ease integration, please confirm the following:
- [ ] Branch rebased on latest master `git pull --rebase upstream master`
- [ ] Unit tests confirmed to pass by running `./bin/FreeCAD --run-test 0`
- [ ] Commit message is [well-written](https://chris.beams.io/posts/git-commit/)
- [ ] Commit message includes `issue #<id>` or `fixes #<id>` where `<id>` is the [associated MantisBT](https://freecadweb.org/wiki/tracker#GitHub_and_MantisBT) issue id if one exists
And please remember to update the Wiki with the features added or changed once this PR is merged.
---
+8 -1
View File
@@ -14,7 +14,6 @@ cmake_install.cmake
*~
CMakeFiles/
*qrc.depends
qrc_*.cpp
ui_*.h
moc_*.cpp
Makefile
@@ -27,3 +26,11 @@ install_manifest.txt
/lib/
/Mod/
/ZERO_CHECK.dir/
/build/
/src/Tools/offlinedoc/localwiki/
/src/Tools/offlinedoc/*.txt
OpenSCAD_rc.py
.subuser-dev
/\.idea/
.tags
tags
+3
View File
@@ -0,0 +1,3 @@
Wrn:
Err:
Cannot find icon:
+1
View File
@@ -0,0 +1 @@
{"image-sources-dir": "./subuser"}
Executable
+237
View File
@@ -0,0 +1,237 @@
####
# Travis-CI configuration file for FreeCAD.
#
# This build configuration will build and test FreeCAD on both Linux
# and Mac OS X. For Mac OS X, this configuration will also package
# and deploy the build to GitHub provided the following prerequisites
# are satisfied:
#
# GH_TOKEN is defined as a secure environment variable and contains a
# a valid GitHub OAUTH token with repo_deployment scope.
# NOTE: Define this env using the Travis-CI Repo Settings UI
#
# FREECAD_RELEASE: A GitHub Release with this identifier exists in the
# repo. The Travis job will deploy the OS X build to this
# GitHub release name as a release asset.
#
# DEPLOY: Repo setting to deploy (defaults to no deploy to reduce
# Travis build times. Set DEPLOY=1 to enable in repo settings.
##
env:
global:
- FREECAD_RELEASE="0.17"
- DEPLOY_RELEASE=${DEPLOY_RELEASE:-$FREECAD_RELEASE}
- CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release}
- OSX_PORTS_CACHE=${OSX_PORTS_CACHE:-FreeCAD/FreeCAD-ports-cache}
- DEPLOY=${DEPLOY:-0}
cache:
ccache: true
language: cpp
python:
- 2.7
- 3.4
# Inject osx build into matrix - needed to specify image/dist
matrix:
include:
- os: linux
dist: trusty
compiler: clang
env:
- CMAKE_OPTS="-DBUILD_FEM_NETGEN=ON"
- PYTHON_MAJOR_VERSION=2
- os: linux
dist: trusty
compiler: gcc
env:
- CMAKE_OPTS="-DBUILD_FEM_NETGEN=ON"
- PYTHON_MAJOR_VERSION=2
- os: linux
dist: trusty
compiler: gcc
env:
- CMAKE_OPTS="-DBUILD_FEM_NETGEN=ON"
- PYTHON_MAJOR_VERSION=3
- os: osx
osx_image: xcode7.3
compiler: clang
env:
- CMAKE_OPTS="-DBUILD_FEM_NETGEN=ON" QT=Qt5
- PYTHON_MAJOR_VERSION=2
git:
depth: 5000
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/479456663cdf5c84e4d8
on_success: always
on_failure: always
on_start: change
before_install:
- eval "$(curl -fsSL "https://raw.githubusercontent.com/${OSX_PORTS_CACHE}/v${FREECAD_RELEASE}/travis-helpers.sh")"
- |
case "${TRAVIS_OS_NAME}" in
"linux")
sudo apt-get update -qq
sudo apt-get install -y doxygen \
libboost1.55-dev \
libboost-filesystem1.55-dev \
libboost-program-options1.55-dev \
libboost-python1.55-dev \
libboost-regex1.55-dev \
libboost-signals1.55-dev \
libboost-system1.55-dev \
libboost-thread1.55-dev \
libcoin80 \
libcoin80-dev \
liboce-foundation-dev \
liboce-modeling-dev \
liboce-ocaf-dev \
liboce-ocaf-lite-dev \
liboce-visualization-dev \
libpyside-dev \
libqtcore4 \
libshiboken-dev \
libxerces-c-dev \
libxmu-dev \
libxmu-headers \
libxmu6 \
libxmuu-dev \
libxmuu1 \
netgen \
netgen-headers \
oce-draw \
pyside-tools \
python-dev \
python-pyside \
python-matplotlib \
python3-dev \
python3-pyside \
python3-matplotlib \
qt4-dev-tools \
qt4-qmake \
libqt4-opengl-dev \
shiboken \
swig \
libvtk6-dev \
libmed-dev \
libmedc-dev \
asciidoc
#Install Eigen 3.3.3 to reduce compiler warnings
curl -L "http://bitbucket.org/eigen/eigen/get/3.3.3.tar.gz" | tar xvz && cd eigen-*
mkdir build && cd build
cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON ..
sudo make -j2 install
cd ${TRAVIS_BUILD_DIR}
#Install ccache to reduce successive build times (use 3.2.5+ to avoid spurious warnings)
curl -L "https://codeload.github.com/ccache/ccache/tar.gz/v3.2.5" | tar xvz && cd ccache-*
./autogen.sh && ./configure CC=gcc && sudo make install
cd ${TRAVIS_BUILD_DIR}
#Patch the system - there is a bug related to invalid location of libs on ubuntu 12.04
sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/i386-linux-gnu
sudo find /usr/lib -name libpq.so -exec ln -s {} /usr/lib/libpq.so ';'
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
export CCACHE_CPP2=YES
if [[ ${PYTHON_MAJOR_VERSION} == 2 ]]
then
export CMAKE_ARGS="${CMAKE_OPTS} -DPYTHON_EXECUTABLE=/usr/bin/python"
else
export CMAKE_ARGS="${CMAKE_OPTS} -DPYTHON_EXECUTABLE=/usr/bin/python3.4 -DPYTHON_BASENAME=.cpython-34m \
-DPYTHON_SUFFIX=.cpython-34m"
fi
export INSTALLED_APP_PATH="/usr/local/bin/FreeCAD"
;;
"osx")
xcodebuild -version -sdk
brew --config
if [ "${OSX_PORTS_CACHE}X" != "X" ]; then
brew install jq
cacheContext=$(create_helper_context repo=${OSX_PORTS_CACHE} auth_token=${GH_TOKEN} release=${FREECAD_RELEASE})
travis_wait prime_local_ports_cache $cacheContext
fi
brew update >/dev/null
brew --config
brew tap FreeCAD/freecad
brew install --verbose --only-dependencies freecad --with-packaging-utils
pip install six
# Qt5: Set Qt5 build flag and CMAKE_PREFIX
QT5_CMAKE_PREFIX=$(ls -d $(brew --cellar)/qt/*/lib/cmake)
QT5_WEBKIT_CMAKE_PREFIX=$(ls -d $(brew --cellar)/qtwebkit/*/lib/cmake)
CMAKE_OPTS="${CMAKE_OPTS} -DBUILD_QT5=ON -DCMAKE_PREFIX_PATH=${QT5_CMAKE_PREFIX};${QT5_WEBKIT_CMAKE_PREFIX}"
#Install the 3DConnexion frameworks
if [ "${DEPLOY}" == "1" ]; then
if [ ! -d /Library/Frameworks/3DconnexionClient.framework ]; then
curl -o /tmp/3dFW.dmg -L 'http://www.3dconnexion.com/index.php?eID=sdl&ext=tx_iccsoftware&oid=a273bdbc-c289-e10d-816b-567043331c9e&filename=3DxWareMac_v10-4-1_r2428.dmg'
hdiutil attach -readonly /tmp/3dFW.dmg
sudo installer -package /Volumes/3Dconnexion\ Software/Install\ 3Dconnexion\ software.pkg -target /
diskutil eject /Volumes/3Dconnexion\ Software
fi
export CMAKE_OPTS="${CMAKE_OPTS} -DFREECAD_CREATE_MAC_APP=ON"
export INSTALLED_APP_PATH="/usr/local/FreeCAD.app/Contents/MacOS/FreeCAD"
else
export INSTALLED_APP_PATH="/usr/local/MacOS/FreeCAD"
fi
export CMAKE_ARGS="${CMAKE_OPTS} -DFREECAD_USE_EXTERNAL_KDL=ON"
;;
*)
echo "Invalid or unsupported operating system ${TRAVIS_OS_NAME}"
exit 1
;;
esac
install:
####
# Build FreeCAD with cmake options set above for each platform
##
- mkdir build && cd build && cmake ${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} ../
script:
####
# Install FreeCAD and run unit tests. Test failures will fail the build
##
- sudo make -j2 install
- ${INSTALLED_APP_PATH} --console --run-test 0
- ${INSTALLED_APP_PATH} --log-file /tmp/FreeCAD_installed.log &
- sleep 10 && pkill FreeCAD
- cat /tmp/FreeCAD_installed.log
- grep --file=../.log_errors /tmp/FreeCAD_installed.log ; [ $? == 1 ] && echo "No errors from .log_errors file found in the log after start from /usr/local/bin" || ( echo "Error from .log_errors found!" && false )
after_success:
####
# Package and deploy the build to GitHub. This will only run for builds on
# master (i.e. pull requests are only built and tested but not deployed).
#
# GH_TOKEN must be set in order to deploy releases to GitHub
##
- |
if [ "${TRAVIS_OS_NAME}" == "osx" -a "${TRAVIS_PULL_REQUEST}" == "false" -a "${DEPLOY}" == "1" ]; then
brew ls --versions jq || brew install jq
npm install -g appdmg
export VSN=$(python ${TRAVIS_BUILD_DIR}/src/Tools/ArchiveNameFromVersionHeader.py ${TRAVIS_BUILD_DIR}/build/src/Build/Version.h)
export DEPLOYMENT_ARCHIVE=${VSN}-${QT}.dmg
appdmg ${TRAVIS_BUILD_DIR}/src/MacAppBundle/DiskImage/layout.json "${DEPLOYMENT_ARCHIVE}"
deployContext=$(create_helper_context repo=${TRAVIS_REPO_SLUG} auth_token=${GH_TOKEN} release=${DEPLOY_RELEASE})
gitHub_deploy_asset_to_release_named $deployContext ${DEPLOYMENT_ARCHIVE}
gitHub_prune_assets_for_release_named $deployContext "-${QT}" 1
fi
-21
View File
@@ -1,21 +0,0 @@
@echo off
rem Build script, uses vcbuild to completetly build FreeCAD
rem start again nice (LOW)
if "%1"=="" (
start /WAIT /LOW /B cmd.exe /V /C %~s0 go_ahead
goto:eof
)
rem set the aprobiated Variables here or outside in the system
if NOT DEFINED VCDIR set VCDIR=C:\Program Files\Microsoft Visual Studio 9.0
rem Register VS Build programms
call "%VCDIR%\VC\vcvarsall.bat"
rem "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:update /path:"C:\SW_Projects\CAD\FreeCAD_10" /closeonend:3
rem Start the Visuall Studio build process
"%VCDIR%\VC\vcpackages\vcbuild.exe" FreeCAD_trunk.sln "Debug|Win32"
"%VCDIR%\VC\vcpackages\vcbuild.exe" FreeCAD_trunk.sln "Debug|Win32"
"%VCDIR%\VC\vcpackages\vcbuild.exe" FreeCAD_trunk.sln "Release|Win32"
-19
View File
@@ -1,19 +0,0 @@
# Version of the release. The Revision number you must specify at the command line
[Version]
Major: 0
Minor: 7
Alias: Bespin
Url: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk
# Here comes the paths of the needed tools to build a release
# the path can be simple or as full path. Depends if you have your tool in PATH
[Tools]
svn: C:\Program Files (x86)\Subversion\svn.exe
wget: C:\Libs\FreeCADLibs\FreeCADLibs6.2\bin\wget.exe
candle: C:\Libs\Libs\wix_30\candle.exe
light: C:\Libs\Libs\wix_30\light.exe
hhc: C:\Program Files (x86)\HTML Help Workshop\hhc.exe
# needet until the build is completely done with cMake
[Libs] # Libs used in the build
FreecadLib: C:\Libs\FreeCADLibs\FreeCADLibs6.2
-342
View File
@@ -1,342 +0,0 @@
#! python
# -*- coding: utf-8 -*-
# (c) 2007 Jürgen Riegel GPL
Usage = """BuildRelease - Build script to build a complete FreeCAD release
Usage:
BuildRelease [Optionen] ReleaseNbr
Options:
-h, --help print this help
-b, --buildPath specify the output path where the build takes place
-i, --ini-file specify the ini file to use
This script will build a complete FreeCAD distribution which includes:
* Check out fresh source
* packing source
* Set the Version and Release numbers
* Gathering change log
* completele build FreeCAD
* run tests
* build source docu
* build user docu
* build installer
* upload to source forge
On failure of one of these steps the script will stop.
Each step writes tones of info in the log file.
There is one error log file.
Autor:
(c) 2007 Juergen Riegel
juergen.riegel@web.de
Licence: GPL
Version:
0.1
"""
#
# Its inteded only to used by the maintainer
import os, sys, getopt
from subprocess import call,Popen,PIPE
from time import sleep
from zipfile import ZipFile,ZIP_DEFLATED
import tarfile
from string import find
import ConfigParser
import time
# global information
Release = 0
Major = 0
Minor = 7
Alias = ""
FileName = ""
BuildPath = "D:/ReleaseBuilds"
Log = None
ErrLog = None
Config = None
def CallProcess(args,Msg,ret=True):
Anim = ['-','\\','|','/']
sys.stdout.write(Msg+': ')
Log.write("====== Call: " + args[0] + '\n')
SVN = Popen(args,
stdout=PIPE, stderr = ErrLog)
i = 0
while(SVN.poll() == None):
line = SVN.stdout.readline()
if(line):
Log.write(line.replace('\n',''))
sys.stdout.write(chr(8) + Anim[i%4])
i+=1
sleep(0.2)
#ErrLog.write(SVN.stdout.read())
sys.stdout.write(chr(8) + "done\n")
if(not SVN.returncode == 0 and ret):
print "Process returns: ",SVN.returncode
raise
# Step 2 & 3
def CheckOut():
CallProcess([Config.get('Tools','svn'),
"checkout",
"-r",
`Release`,
"https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk",
"../"+FileName],
"2) Checking out")
sys.stdout.write('3) Write version files: ')
Version = open("src/Build/Version.h","w")
Version.write('#define FCVersionMajor "' + `Major` + '"\n')
Version.write('#define FCVersionMinor "' + `Minor` + '"\n')
Version.write('#define FCVersionName "' + Alias + '"\n')
Version.write('#define FCRevision "' + `Release` + '"\n')
Version.write('#define FCRepositoryURL "' + "https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk/src" + '"\n')
Version.write('#define FCCurrentDateT "'+time.asctime()+'" \n')
Version.close()
Version = open("installer/Version.wxi","w")
Version.write('<Include> \n')
Version.write(' <?define FCVersionMajor = ' + `Major` + ' ?>\n')
Version.write(' <?define FCVersionMinor = ' + `Minor` + ' ?>\n')
Version.write(' <?define FCVersionRevision =' + `Release` + ' ?>\n')
Version.write(' <?define FCVersionAlias = "' + Alias + '" ?>\n')
Version.write('</Include> \n')
Version.close()
sys.stdout.write('done\n')
#Step 4
def PackSourceZip():
def addAll(dirFrom, ZipSrcFile):
for file in os.listdir(dirFrom): # for files/dirs here
if(not file==".svn" and not file== FileName+'_source.zip'):
pathFrom = os.path.join(dirFrom, file)
if not os.path.isdir(pathFrom): # copy simple files
ZipSrcFile.write(pathFrom,pathFrom.replace('.\\',FileName+'\\'))
Log.write("Insert: "+ pathFrom + '\n')
else:
addAll(pathFrom,ZipSrcFile)
sys.stdout.write("4) Pack zip source files: ")
SourceFile = ZipFile(FileName+'_source.zip','w',ZIP_DEFLATED,True)
addAll('.',SourceFile)
SourceFile.close()
sys.stdout.write("done \n")
# Step 5
def PackSourceTar():
def addAll(dirFrom, ZipTarFile):
for file in os.listdir(dirFrom): # for files/dirs here
if(not file==".svn" and not file== FileName+'_source.zip'):
pathFrom = os.path.join(dirFrom, file)
if not os.path.isdir(pathFrom): # copy simple files
ZipTarFile.add(pathFrom,pathFrom.replace('.\\',FileName+'\\'))
Log.write("Insert: "+ pathFrom + '\n')
else:
addAll(pathFrom,ZipTarFile)
sys.stdout.write("5) Pack tar source files: ")
SourceFile = tarfile.open(FileName+'_source.tgz','w:gz')
addAll('.',SourceFile)
SourceFile.close()
sys.stdout.write("done \n")
# Step 6 & 7
def BuildAll():
import fcbt.FileTools
LibPack = Config.get('Libs','FreeCADLib')
sys.stdout.write('6) Copy resources: ')
os.mkdir('./bin')
fcbt.FileTools.cpall(LibPack + '/bin','./bin')
os.mkdir('./include')
fcbt.FileTools.cpall(LibPack + '/include','./include')
os.mkdir('./lib')
fcbt.FileTools.cpall(LibPack + '/lib','./lib')
os.mkdir('./doc')
fcbt.FileTools.cpall(LibPack + '/doc','./doc')
sys.stdout.write('done\n')
CallProcess(["BuildAll.bat"],
"7) Build all")
# Step 8 & 9
def HelpFile():
import wiki2chm
if not os.path.isdir('doc'):
os.mkdir('doc')
if not os.path.isdir('doc/tmp'):
os.mkdir('doc/tmp')
CallProcess([Config.get('Tools','wget'),'-k', '-r', '-l5', '-P', 'doc/tmp', '-nd',
'-R', '*action=*',
'-R', '*title=Special*',
'-R', '*title=Talk*',
'-R', '*oldid=*',
'-R', '*printable=yes*',
'--domains=apps.sourceforge.net',
'--append-output=doc/tmp/wget.log',
'http://apps.sourceforge.net/mediawiki/free-cad/index.php?title=Online_Help_Toc'],
"8) Download docu")
sys.stdout.write("9) Fix up CSS: ")
open('doc/tmp/chm.css','w').write(open('src/Tools/chm.css').read())
wiki2chm.WikiBaseUrl ='http://apps.sourceforge.net/mediawiki/free-cad/'
wiki2chm.TocPageName ='Online_Help_Toc'
wiki2chm.BasePath ='doc/tmp/'
wiki2chm.Output = Log
wiki2chm.replaceCSS()
wiki2chm.WriteProject()
wiki2chm.readToc()
sys.stdout.write("done \n")
# Step 10
def CompileHelp():
import fcbt.FileTools
CallProcess([Config.get('Tools','hhc'),'doc/tmp/Online_Help_Toc.hhp'],'10)Compile help:',False)
fcbt.FileTools.cpfile('doc/tmp/FreeCAD.chm','doc/FreeCAD.chm')
fcbt.FileTools.cpfile('doc/tmp/FreeCAD.chm',FileName+'_helpfile.chm')
def BuildInstaller():
import fcbt.FileTools
LibPack = Config.get('Libs','FreeCADLib')
fcbt.FileTools.cpfile('lib/Microsoft_VC80_CRT_x86.msm','installer/Microsoft_VC80_CRT_x86.msm')
fcbt.FileTools.cpfile('lib/policy_8_0_Microsoft_VC80_CRT_x86.msm','installer/policy_8_0_Microsoft_VC80_CRT_x86.msm')
CallProcess([Config.get('Tools','candle'),
'-out', 'installer\\',
'installer\\FreeCAD.wxs',
'installer\\FreeCADBase.wxs',
'installer\\LibPack.wxs',
'installer\\FreeCADDoc.wxs',
'installer\\FreeCADModules.wxs',
],'11)Compile installer:',False)
CallProcess([Config.get('Tools','light'),
'-ext', 'WixUIExtension',
'-cultures:en-us',
'-out', 'installer\\FreeCAD.msi',
'installer\\FreeCAD.wixobj',
'installer\\FreeCADBase.wixobj',
'installer\\LibPack.wixobj',
'installer\\FreeCADDoc.wixobj',
'installer\\FreeCADModules.wixobj',
],'12)Build installer:',False)
fcbt.FileTools.cpfile('installer/FreeCAD.msi',FileName+'_installer.msi')
def SendFTP():
from ftplib import FTP
ftp = FTP('upload.sf.net')
Log.write(ftp.login() + '\n')
Log.write(ftp.cwd("/incoming") + '\n')
Log.write(ftp.sendcmd('PASV') + '\n')
Log.write(ftp.sendcmd('TYPE I') + '\n')
sys.stdout.write('13) Send source ZIP: ')
f = open(FileName+'_source.zip', "r")
Log.write(ftp.storbinary('STOR '+ FileName+'_source.zip', f) + '\n')
sys.stdout.write('done\n14) Send source tgz: ')
f = open(FileName+'_source.tgz', "r")
Log.write(ftp.storbinary('STOR '+ FileName+'_source.tgz', f) + '\n')
sys.stdout.write('done\n15) Send installer: ')
f = open(FileName+'_installer.msi', "r")
Log.write(ftp.storbinary('STOR '+ FileName+'_installer.msi', f) + '\n')
f.close()
ftp.close()
def main():
global Release, Major, Minor, Alias, FileName, BuildPath, Log, ErrLog, Config
IniFile = "BuildRelease.ini"
try:
opts, args = getopt.getopt(sys.argv[1:], "hb:", ["help","buildPath="])
except getopt.GetoptError:
# print help information and exit:
sys.stderr.write(Usage)
sys.exit(2)
# checking on the options
for o, a in opts:
if o in ("-h", "--help"):
sys.stderr.write(Usage)
sys.exit()
if o in ("-b", "--buildPath"):
BuildPath = a
if o in ("-i", "--ini-file"):
IniFile = a
# runing through the files
if (not len(args) == 1):
sys.stderr.write(Usage)
Release = int(args[0])
Config = ConfigParser.ConfigParser()
Config.readfp(open(IniFile))
Alias = Config.get('Version','Alias')
Major = Config.getint('Version','Major')
Minor = Config.getint('Version','Minor')
# creating the directory and switch to
FileName = 'FreeCAD_' + `Major` + '.' + `Minor` + '.' + `Release`
print "=== Building:", FileName, '\n'
BuildPath = BuildPath + '/' + FileName
# set tool path
sys.path.append((BuildPath + '/src/Tools') )
OldCwd = os.getcwd()
print "1) Creating Build directory: ", BuildPath
if not os.path.isdir(BuildPath):
os.mkdir(BuildPath)
os.chdir(BuildPath)
Log = open("BuildRelease.log","w")
ErrLog = open("BuildReleaseErrors.log","w")
try:
CheckOut()
PackSourceZip()
PackSourceTar()
BuildAll()
HelpFile()
CompileHelp()
BuildInstaller()
#SendFTP()
except:
Log.close()
ErrLog.close()
Err = open("BuildReleaseErrors.log","r")
sys.stderr.write("!!!!!!!!! Fehler aufgetreten:\n")
sys.stderr.write(Err.read())
raise
os.chdir(OldCwd)
Log.close()
ErrLog.close()
print "Press any key"
sys.stdin.readline()
if __name__ == "__main__":
main()
+781 -363
View File
File diff suppressed because it is too large Load Diff
View File
+19 -19
View File
@@ -4,7 +4,7 @@ http://www.freecadweb.org/tracker/changelog_page.php
Version: 0.14
* Python path messed up after installation
* Installing 0.14 breaks previous python installation
* Python function to retrive direct children of a shape using TopoDS_Iterator
* Python function to retrieve direct children of a shape using TopoDS_Iterator
* Update translations for 0.14
* FreeCAD crashes when changing placement of sketch.
* Sketcher 180-deg-constraints should not be allowed for lines without intersection point.
@@ -49,7 +49,7 @@ Version: 0.14
* Hide all objects in a group
* Part::TopoShape::getMemSize fails for Bezier Curves
* icons not showing in Part Loft and sweep dialogues
* Drawing SVG output makes ever knot symetrical.
* Drawing SVG output makes ever knot symmetrical.
* Part Common fails with two surface objects
* Teigha File Converter not found, DWG support will be disabled.
* recognize remote branches for Version.h in detached head state
@@ -65,7 +65,7 @@ Version: 0.14
* Crash propably in MeshPart
* Part.BSplineCurve: allow to set degree and mutliplicites when calling constructor.
* FeaturePython objects should be able to define how POVray output is generated
* Loosing Snap when Object is getting more complex.
* Losing Snap when Object is getting more complex.
* PropertyLinkSubList causes crash
* BRepPrimAPI_MakeRevolution vs BRepPrimAPI_MakeRevol
* plane offset precision is limited to 0.1
@@ -311,7 +311,7 @@ Version: V0.5B8 Date: Tue Aug 01 2006 +++++++++++++++++++++++++++++++
* Allow to open a project file even if not everything can be loaded e.g. if a module is missing
* Select name if a file instead of directory was given in FileDialog's getOpenFileName() or getSaveFileName() methods
* Bug fixed in harmonizing normals of a mesh
* speed up a lot several algorithms that searches for independant components of a mesh or searches for inhomogenous normals
* speed up a lot several algorithms that searches for independent components of a mesh or searches for inhomogenous normals
* make MeshKernel::VisitNeighbourFacets() more robust against topologic errors in mesh
* Option added to do one- or two-side rendering of meshes
* Dialog to enter numbers higher than the maximum of int's, i.e numbers up to 4294967295
@@ -333,7 +333,7 @@ Version: V0.5B7 Date: Thu May 18 2006 +++++++++++++++++++++++++++++++
* added new ViewProvider for meshes with more than 100.000 triangles using SoFCMeshNode for optimizations
* save/restore of view providers into/from a separate XML file in a project file
* check if project file exists when loading from command line
* using grid to speed up cutting algoritm for huge meshes
* using grid to speed up cutting algorithm for huge meshes
* calculate inverse color of mesh color for open edges
* added project properties to App::Document
* added material property class
@@ -430,7 +430,7 @@ Version: V0.5B5 Date: Sat Feb 25 2006 +++++++++++++++++++++++++++++++
* Return the edge list by reference in mesh kernel (to avoid memory leak)
* PropertyVectorList implemented
* Use PropertyVectorLists and PropertyFloatLists in Mesh::Curvature feature and its associated view provider
* PropertyColor(List) implemeted
* PropertyColor(List) implemented
* PropertyMeshKernel added
* move all Projects to NODEFAULTLIBS
* move all Projects to xcopy
@@ -557,9 +557,9 @@ Version: V0.1B117 Date: Sun Mar 20 14:06:55 2005 +++++++++++++++++++++++++++++++
* Viewprovider for meshes added
* Integration of latest Image module source
* RFE 1159671 implemented (elements in alphabetic order)
* Finishing drag&drop multible files
* Finishing open from command line and droping on Programm icon
* solving load dependand modules
* Finishing drag&drop multiple files
* Finishing open from command line and dropping on Program icon
* solving load dependent modules
* more convenient Python console
* Bug 1149706 fixed (Cannot load CAD curves)
* RFE 1214187 implemented (Remove views from main window)
@@ -608,7 +608,7 @@ Version: V0.1B109 Date: Mon Jan 24 11:13:15 2005 +++++++++++++++++++++++++++++++
- SetStatus and GetStatus switch on or off the observer
Version: V0.1B108 Date: Sat Jan 15 14:24:52 2005 +++++++++++++++++++++++++++++++
* Moved HtmlView to HelpView * Reimplementaion
* Moved HtmlView to HelpView * Reimplementation
* Added class FileChooser ( line edit with button on its right side to browse)
* Merged pref. page "Help viewer" and "Online Help" to one page
* TextEdit class with completion
@@ -660,7 +660,7 @@ Version: V0.1B101 Date: Thu Dec 02 22:32:22 2004 +++++++++++++++++++++++++++++++
Version: V0.1B100 Date: Mon Nov 29 19:40:56 2004 +++++++++++++++++++++++++++++++
* set up new exception handling for python call back
* implement std property acces in App::Feature
* implement std property access in App::Feature
Version: V0.1B99 Date: Fri Nov 26 22:40:56 2004 +++++++++++++++++++++++++++++++
* replace QextMDI by own impl. using QWorkspace and QDockWindow
@@ -679,7 +679,7 @@ Version: V0.1B95 Date: Wed Nov 03 17:34:53 2004 +++++++++++++++++++++++++++++++
Version: V0.1B94 Date: Sat Oct 23 18:58:52 2004 +++++++++++++++++++++++++++++++
* finished implementation of the Tip of the day
* splitted several big files in smaller ones
* split several big files in smaller ones
* namespace Gui::Kexi for property editor
* namespace Gui::Dialog * documentation for most dialogs
* use QToolBox provided by Qt instead of StackBar
@@ -701,7 +701,7 @@ Version: V0.1B91 Date: Tue Sep 21 15:34:55 2004 +++++++++++++++++++++++++++++++
Version: V0.1B90 Date: Tue Sep 07 19:25:03 2004 +++++++++++++++++++++++++++++++
* Clean up path finding
* port to OCC 5.2
- switch to new iostream (finaly!!!)
- switch to new iostream (finally!!!)
Version: V0.1B89 Date: Fri Aug 20 19:03:18 2004 +++++++++++++++++++++++++++++++
* pimple App/Application and App/Document
@@ -754,7 +754,7 @@ Version: V0.1B77 Date: Fri Nov 14 14:56:14 2003 +++++++++++++++++++++++++++++++
* Removed all relativ paths
* config HomePath is now not in bin anymore
* all config files one dir up
* FC runs now from every derectory
* FC runs now from every directory
* remove Startup and Install script
Version: V0.1B76 Date: Sat Nov 08 14:47:32 2003 +++++++++++++++++++++++++++++++
@@ -834,18 +834,18 @@ Version: V0.1B63 Date: Sun Jun 08 20:21:25 2003 +++++++++++++++++++++++++++++++
* drop down button completely new reimplemented
Version: V0.1B62 Date: Sat May 31 11:53:56 2003 +++++++++++++++++++++++++++++++
* redesign of Document view modell
* redesign of Document view model
* removing ViewContainer
* adding the OnHasMsg methodes
* switching some stdCommands to message stile to allow views with own document
* moving scintila to a passiv view modell
* moving scintila to a passive view model
* updated to new version of Scintilla (1.53)
Version: V0.1B61 Date: Sat May 24 17:35:52 2003 +++++++++++++++++++++++++++++++
* binding for scintilla
* switching the observer to templates
* adding SoQt to the source
* the template observer the M$ STL dont work any more
* the template observer the M$ STL don't work any more
Version: V0.1B60 Date: Wed May 21 21:18:53 2003 +++++++++++++++++++++++++++++++
* finishing close, save and update stuff
@@ -892,7 +892,7 @@ Version: V0.1B52 Date: Thu Apr 10 21:17:20 2003 +++++++++++++++++++++++++++++++
* insert the TreeDockBar
Version: V0.1B51 Date: Sun Apr 06 21:27:35 2003 +++++++++++++++++++++++++++++++
* Realy big patch from Werner
* Really big patch from Werner
- Fix a problem with the paning in MouseModel
- Fixing workbench binding for std. menus
- switch to QT_VER for easier changing QT Version
@@ -912,7 +912,7 @@ Version: V0.1B48 Date: Sun Mar 30 15:06:23 2003 +++++++++++++++++++++++++++++++
* Big patch from Werner about:
- feeding toolbars and Commandbar and menus from the parameterts
- customizing works with positions in command bar and toolbar
- customizing by draging from menu into toolbar and commandbar
- customizing by dragging from menu into toolbar and commandbar
Version: V0.1B47 Date: Fri Mar 28 18:24:36 2003 +++++++++++++++++++++++++++++++
* Import App Module added
+13
View File
@@ -0,0 +1,13 @@
#ifndef LIBRARY_VERSIONS_H
#define LIBRARY_VERSIONS_H
/* LibraryVersions.h. Generated from LibraryVersions.h.cmake by cmake. */
#cmakedefine HAVE_OCC_VERSION
#if defined(HAVE_OCC_VERSION)
# include <${OCC_INCLUDE_DIR}/Standard_Version.hxx>
#endif
#endif // LIBRARY_VERSIONS_H
-39
View File
@@ -1,39 +0,0 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS=data src
EXTRA_DIST = \
cMake/ConfigureChecks.cmake \
cMake/FindCoin3D.cmake \
cMake/FindCoin3DDoc.cmake \
cMake/FindEigen2.cmake \
cMake/FindEigen3.cmake \
cMake/FindF2C.cmake \
cMake/FindODE.cmake \
cMake/FindOpenCasCade.cmake \
cMake/FindOpenCV.cmake \
cMake/FindSoQt.cmake \
cMake/FindSpnav.cmake \
cMake/FindXercesC.cmake \
cMake/FreeCadMacros.cmake \
cMake/UseLibPack6x.cmake \
cMake/UseLibPack7x.cmake \
cMake/UseLibPackCustom.cmake \
config.h.cmake \
CMakeLists.txt \
autogen.sh \
BuildAll.bat \
build.sh \
ChangeLog.txt \
copying.lib \
README.Linux \
README.Win32
debian-package:
$(top_srcdir)/package/makedebian.sh
if HAVE_DOXYGEN
devdoc:
doxygen $(top_builddir)/src/Doc/BuildDevDoc.cfg
endif
-71
View File
@@ -1,71 +0,0 @@
FreeCAD
=======
FreeCAD is a general purpose feature-based, parametric 3D modeler for CAD, MCAD,
CAx, CAE and PLM, aimed directly at mechanical engineering and product design but
also fits a wider range of uses in engineering, such as architecture or other engineering
specialties. It is 100% Open Source (LGPL2+ license) and extremely modular, allowing
for very advanced extension and customization.
FreeCAD is based on OpenCasCade, a powerful geometry kernel, features an Open Inventor-compliant
3D scene representation model provided by the Coin 3D library, and a broad Python API.
The interface is built with Qt. FreeCAD runs exactly the same way on Windows, Mac OSX, BSD and
Linux platforms.
Home page: http://www.freecadweb.org
Documentation wiki: http://www.freecadweb.org/wiki/
Forum: http://forum.freecadweb.org/
Bug tracker: http://www.freecadweb.org/tracker/
Git repository: http://sourceforge.net/p/free-cad/code/ci/master/tree/
Installing
==========
Precompiled (installable) packages are usually available to you from several sources and are
described on the FreeCAD download page: http://www.freecadweb.org/wiki/index.php?title=Download
Compiling
=========
Compiling FreeCAD requires to install several heavyweight libraries and their development
files such as OpenCasCADe, Coin and Qt, listed in the pages below. Once this is done,
FreeCAD can be simply compiled with cMake. On windows, these libraries are bundled and
offeredby the FreeCAD team in a convenience package, on Linux they are usually found
in your distribution's repositories and on Mac OSX and other platforms you will usually
need to compile them yourself.
Note that autotools build system can still be used but will be obsoleted soon.
The pages below contain up-to-date build instructions:
For Linux: http://www.freecadweb.org/wiki/index.php?title=CompileOnUnix
For windows: http://www.freecadweb.org/wiki/index.php?title=CompileOnWindows
For Mac OSX: http://www.freecadweb.org/wiki/index.php?title=CompileOnMac
In this folder you will also find additional README files, specific for each platform.
Usage
=====
The FreeCAD documentation wiki contains sections for each category of users, and a manual,
which is a compilation of the most useful articles of the wiki:
For users: General FreeCAD usage: http://www.freecadweb.org/wiki/index.php?title=User_hub
For power-users: Python scripting: http://www.freecadweb.org/wiki/index.php?title=Power_users_hub
For developers: C++ FreeCAD development: http://www.freecadweb.org/wiki/index.php?title=Developer_hub
The FreeCAD manual: http://www.freecadweb.org/wiki/index.php?title=Online_Help_Toc
-93
View File
@@ -1,93 +0,0 @@
How to build and run FreeCAD under Cygwin
=========================================
Prerequisites
-------------
To compile FreeCAD, you will need, besides functioning Cygwin environment
and programming tools (like compiler), the following libraries:
o Python (http://www.python.org), >= 2.5.x
o Qt (http://www.trolltech.no), >= 4.1.x
o Coin3D (http://www.coin3d.org), >= 2.4.x
o SoQt (http://www.coin3d.org), >= 1.2.x
o Xerces-c (http://xml.apache.org/dist/xerces-c/)
o zlib (http://www.zlib.net/)
As far as I know, except of Coin3D and SoQt all libraries are available as prebuilt
binary packages from one of the Cygwin mirrors. To install them, first download the
latest version of setup.exe from www.cygwin.com and run it with administrator rights.
Then follow the instructions of the wizard until the list of all available packages
appears. Select the devel files of all the required libraries and install them.
Then download the source tarballs of Coin3D and SoQt and unpack them into a directory
of your choice.
The Coin library can be built with ./configure --disable-msvc;make; make install.
Building SoQt is a bit tricky and I haven't managed yet to build it in a proper way.
There are various problems with X11 functions and Windows API functions which I
don't know how to solve.
And for the Mesh module of FreeCAD the additional libraries
o GTS Library (http://gts.sourceforge.net)
o Wild Magic (http://www.geometrictools.com)
o OpenCASCADE (http://www.opencascade.org), you need >=5.2 here
are required. OpenCASCADE is also needed by the Part and Raytracing modules.
Note: As OpenCASCADE that is also required by the Mesh, Part and Raytracing
modules is not available for Cygwin it is not possible to build them
for this platform. It is planned for the future to move all OpenCASCADE
dependencies of the Mesh module into a separate module so that at least
this module can be built under Cygwin.
Note: All libraries listed above must be built as shared library. Refer to their
documentation to see how to do.
Note: If possible you should enable thread support for the libraries. At least for
Qt thread support is strongly recommended, otherwise you will run into linker
errors at build time of FreeCAD.
Note: zlib might be already on your system, as this is a library that is used
from a lot of other libraries.
Note: There seems to be various problems with Qt's uic tool of the Cygwin port.
Due to these problems it is not possible to run the GUI under Cygwin at the
moment. It is only possible to run the commandline version.
Configuration
-------------
For the build process of FreeCAD we make use of configure scripts.
To have an overview of all options type in ./configure --help, first.
If you have installed all libraries above into standard paths you need not any of the
'--with' options at all. Unless you have installed any library into a non-standard path,
then make use of the --with-XXX-includes or --with-XXX-libs options.
(XXX represents the corresponding library.)
Note: Due to some limitations of the Windows platform it is not possible to build
libraries with unresolved symbols at link time. Thus it is strongly recommended to run
./configure with the option LDFLAGS=-no-undefined, otherwise the creation of shared
libraries fails. For more details see section 11.2.1 Creating Libtool Libraries with
Automake of the libtool documentation.
Note: To specify FreeCAD's root directory it is recommended to use only the '--prefix'
option from the configure script but not the --bindir, --libdir, ... options, because
at startup FreeCAD makes assumptions where its lib-, doc-, .. directories reside.
The default root directory is located in ~/FreeCAD.
If you know how to work with GNU autoconf, feel free to contribute improvements
to our configuration scripts --- that would be great.
Installation
------------
Once you have built the sources successfully using 'make' with 'make install' you can
install FreeCAD onto your machine whereever you want. Go to the directory FreeCAD/bin
and just type in ./FreeCADCmd.
FreeCAD's default root directory resides under ~/FreeCAD, so you don't need root privileges
therefore.
-99
View File
@@ -1,99 +0,0 @@
How to build and run FreeCAD under Linux
========================================
Prerequisites
-------------
To compile FreeCAD you will need, besides functioning Linux
and programming tools (like compiler), the following libraries:
o Python (http://www.python.org), >= 2.5.x
o boost (http://www.boost.org), >= 1.33.1
o Qt (http://qt-project.org/), >= 4.1.x
o PySide (http://qt-project.org/wiki/category:LanguageBindings::PySide::Downloads)
o Coin3D (http://www.coin3d.org), >= 2.4.x
o SoQt (http://www.coin3d.org), >= 1.2.x
o Xerces-C++ (http://xml.apache.org/dist/xerces-c/), >= 2.6
o zlib (http://www.zlib.net/)
And for the some FreeCAD modules the additional libraries
o OpenCascade (http://www.opencascade.org), >= 5.2
o Eigen3 (http://eigen.tuxfamily.org/index.php?title=Main_Page), >= 3.0.1
o FreeType
are required.
Note: zlib might be already on your system, as this is a library that is used
by a lot of libraries, too.
Note: All libraries listed above must be built as shared library. Refer to their
documentation to see how to do.
Note: If possible you should enable thread support for the libraries. At least for
Qt thread support is strongly recommended, otherwise you will run into linker
errors at build time of FreeCAD.
Note: The package for SoQt for Debian based systems may lack of the soqt.m4 macro file.
You should download the file from www.coin3d.org and copy it to /usr/share/aclocal.
Note: The package for SoQt (at least for older Debian based systems) is usually built to link
against Qt3. This, however, causes a segmentation fault when using with FreeCAD because
it links against Qt4 and you get a mixup of Qt3 and Qt4 libraries.
To fix this problem you must download the sources from www.coin3d.org and run
configure with the 'with-qt=DIR' switch specifying the location of Qt4.
Probably, it's best to 'make install' the newly built SoQt into a different directory
than the installed SoQt to avoid to corrupt your package database and/or to keep other
applications working. When configuring FreeCAD you have to use the '--with-soqt=DIR'
switch specifying the path of the newly installed SoQt.
For newer Debian releases this already solved by a new package that links against Qt4.
During the compilation some Python scripts get executed. So the Python interpreter has
to work properly.
Optionally, you can build the Qt plugin that provides all custom widgets of FreeCAD
we need for the Qt Designer. The sources are located under Tools/plugins/widget.
So far, we don't provide a makefile but calling 'qmake plugin.pro' creates it and
calling 'make' will create the library libFreeCAD_widgets.so. To make known this library
to your Qt Designer you have to copy the file to $QTDIR/plugin/designer.
On our Wiki you'll find more information to build with different Linux distributions at
http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=CompileOnUnix
Configuration
-------------
For the build process of FreeCAD we make use of configure scripts.
To have an overview of all switches type in ./configure --help, first.
You don't need any of these switches unless you have installed a library into a non-standard
path. In this case make use of the appropriate --with-XXX-include or --with-XXX-lib switches,
please. (XXX stands for the corresponding library.)
Of course, for above mentioned problem with SoQt you should use the '--with-soqt=DIR' switch.
Note: To specify FreeCAD's root directory it is recommended to use only the '--prefix'
switch from the configure script but not the --bindir, --libdir, ... switches, because at startup
FreeCAD makes assumptions about where its module directories are installed.
Installation & Running FreeCAD
------------------------------
Once you have built the sources successfully using 'make', with 'make install' you can
install FreeCAD onto your machine whereever you want. FreeCAD's default root directory
is $HOME/FreeCAD, so you don't need root privileges therefore. To run FreeCAD go to
$PREFIX/FreeCAD/bin and type in ./FreeCAD.
Note: In the past there were a lot of problems that the Part workbench couldn't be loaded.
The problem is that the system wasn't able to find the OpenCascade library files.
To fix this problem you are strongly recommended to add the path of these libraries
to LD_LIBRARY_PATH or even to add it to ld.so.conf and run ldconfig.
So, just have fun!
Werner Mayer <wmayer@users.sourceforge.net>
June 2014
-324
View File
@@ -1,324 +0,0 @@
How to build and run FreeCAD under MSYS/MinGW
=============================================
Prerequisites
-------------
Here comes a short introduction how to setup a MSYS/MinGW environment
on a Windows system, to build all needed libraries and finally to build
the FreeCAD sources.
o MSYS/MinGW
If not already installed get a MinGW installer from the Sourceforge page at
http://sourceforge.net/projects/mingw. When writing this tutorial the latest
version was mingw-get-inst-20100831.exe. Download and just double-click the
excutable. This installs the compiler and a minimal Windows developer environment.
Make sure to also install the Fortran compiler because there is a single Fortran
file in the 3rd party folder of the FreeCAD sources.
Then as second step MSYS needs to be installed to have an environment to run
./configure scripts which we make heavy use of in order to build all needed
libraries. From the Soureforge page the file MSYS-1.0.11.exe was taken.
A virginal MSYS/MinGW installation lacks of a few modules we later need.
First, we need the utility pexport which can be found in the file
pexports-0.44-1-mingw32-bin.tar.lzma. I don't know where to put this file
and how to make MSYS to install the stuff inside. But the file can be opened
with a ZIP program and the content can be copied to their destination manually.
Here, the pexports utility can go to the bin directory of your MinGW installation.
Then, we also need the development files for the pthreads module which is part
of the file pthreads-w32-2.8.0-3-mingw32-dev.tar.lzma. Just download and copy
the files inside to your MinGW installation.
o CMake
Download the CMake utility from http://www.cmake.org/cmake/resources/software.html.
Get the archive with the binaries for the Windows platform and unpack whereever you
want. There is nothing further to do for this.
o SWIG
Download the SWIG utility from www.swig.org and extract it somewhere on your harddisk.
Third party libraries
---------------------
Here is a description which libraries we need for FreeCAD and how to build them from
the sources. In order not to pollute our MinGW installation with too many files from
the 3rd party libraries we have to build you can e.g. create a sub-directory "local"
in your MSYS installation. If you have installed MSYS under C:\MSYS then simply create
the directory C:\MSYS\1.0\local.
o zlib
For zlib there is already a ready package for MinGW. So, therefore simply download
the file libz-1.2.3-1-mingw32-dev.tar.gz from the Sourceforge site and extract the
two directories lib and include to C:\MSYS\1.0\local.
o Python
It seems to be nearly impossible to build the Python sources directly with the MinGW
compiler. This is because some Python modules require some features which are not
implemented on the MinGW platform. Fortunately, the Python sources are plain C code
and instead of trying to build it with MinGW you can get a ready binary package built
with the MSVC compiler. You can install the Python stuff whereever you want. Afterwards
copy the include folder to C:\MSYS\1.0\local, the DLL can go to C:\MSYS\1.0\local\bin.
Now we also need the so called import library. There we cannot use the .lib file which
comes together with the installer. But it's easy to create one with the pexports/dlltool
utilities. Assuming the Python version is 2.6 do these two steps:
pexports python26.dll > python26.def
dlltool -D python26.dll -d python26.def -l libpython26.dll.a
The file libpython26.dll.a can now be moved to C:\MSYS\1.0\local\lib.
o f2c
For this library we don't need any header files but only the import library to build the
Salome SMESH sources. The easiest way to build this file is:
pexports libgfortran-3.dll > f2c.def
dlltool -D libgfortran-3.dll -d f2c.def -l libf2c.dll.a
The file libf2c.dll.a can now be moved to C:\MSYS\1.0\local\lib.
o xerces-c
Download a source archive from http://xml.apache.org/dist/xerces-c/ and extract it.
Open a MSYS command line window and change to the xerces-c sources. From there run
./configure LDFLAGS=-no-undefined
Once ./configure has finished it's best to move to the source directory because we
don't need to build the dozens of test applications and other stuff. So, do this:
cd src
make
make install
This takes a few minutes to be done.
o boost
For boost there exists a testing package with cmake support. This, however, seems to be
stable enough to build with the MinGW compiler. So, get the file boost-1.41.0.cmake0.zip
from http://sodium.resophonic.com/boost-cmake/1.41.0.cmake0/ and unpack it.
Now, start the cmake-gui.exe from within the MSYS command line. This is necessary for cmake
in order to find the compiler and other stuff. Select the folder of the boost sources with
the CMakeLists.txt file, select a build directory and start Configure. You'll be asked for
which system you want to generate the Makefiles. Select MSYS/Makefiles, not MinGW/Makefiles.
When the configuration step has finished go to the options and search for WINMANGLE_LIBNAMES.
Switch this off because otherwise the boost library names contain the compiler name. This
causes the boost cmake check to fail later when we try to build the FreeCAD sources. And for
the installtion folder choose the directory C:\MSYS\1.0\local.
So, reconfigure boost and press on Generate once it has finished. Close the CMake GUI window
and enter
make
make install
into the command line. This will take a couple of minutes.
o eigen2
Download eigen-2.0.15.tar.gz or any later version from http://eigen.tuxfamily.org/index.php?title=Main_Page.
Unpack the files and start again cmake-gui. Set the installation directory to C:\MSYS\1.0\local
and press on Configure and Generate. Close the window and start the installation with
make
make install
o Qt4
From the Qt website at ftp://ftp.trollech.com you can download already prebuilt packages for the
MinGW platform. But depending on the version you have installed it can happen that they don't fit
together. In this case the source tarball must be downloaded. Use version 4.5.3 or higher. Unpack
the sources and start the configure.exe you'll find inside the sources.
./configure
By default the build the debug and release version. If you only want the release version use the
option "-release".
Configure will ask you some questions under which license you want to use Qt. Choose LGPL here.
Now run the build with
make
This can take quite some time because Qt has become a really huge library over the years. Once the
build has finished run a
make install
to copy the header files to their right place. All the binaries and header files are still inside
the source folder. If you like you can copy all the .dll, .a, and the direcories under "include" to
the subdirectories of C:\MSYS\1.0\local.
o Coin
Get a source archive from www.coin3d.org. Unpack the sources and run
./confiure
make
make install
It may happen that a message dialog pops up due to a missing cygwin1.dll. You simply ignore this.
o SoQt
Get a source archive from www.coin3d.org. Unpack the sources and run
./configure CXXFLAGS="-DCOIN_DLL" --with-qt=/usr/local
make
make install
In case your Qt development files are not under /usr/local choose the correct directory there.
Again a message dialog may pop up due to the missing cygwin1.dll.
o PyQt/sip
Warning: the following is obsoleted from version 0.14, since FreeCAD is now using
pySide instead of PyQt. At the moment, PySide suport for MingW seems still not complete:
https://bugreports.qt-project.org/browse/PYSIDE-113?page=com.atlassian.jira.plugin.system.issuetabpanels%3aall-tabpanel
Download the sources archives for sip and PyQt4 from www.riverbankcomputing.co.uk.
In order to build sip extract the archive and open a MSYS command line. From within
its source archive call
python configure.py --platform win32-g++ --destdir=/usr/local
make
It may happen that this step aborts because the Python include headers cannot be found.
In this case edit the Makefile and add the include path for the ython headers and also
the path and filename of the Python library.
Unfortunately, the 'make install' command doesn't work because the Makefile was generated
to use Windows batch commands instead of bash commands. Thus, copy the following files to
a path where Python can find it, e.g. /usr/local/bin.
sipconfig.py
sipdistutils.py
siputils.py
sip.pyd
sip.exe
In order to build PyQt4 extract the source archive and open a MSYS command line. Go to the
directory and start
export PATH=/usr/local/lib/:$PATH
python configure.py --destdir=/usr/local/lib/site-packages
make
Since the Makefile doesn't find the Python header files copy them all and also the file sip.h
to a directory where they can be found. A good place seems to be the directory of the Qt sources.
There copy the files to $QTDIR/include. The Python library file python26.dll.a can go $QTDIR/lib.
After the build has finished you have to copy all files that end with .pyd to their destination,
e.g. /usr/local/lib/site-packages/PyQt4. Lateron when you have built the FreeCAD sources you have
to copy the PyQt4 directory and sip.pyd to the FreeCAD bin directory or set a symlink.
o ODE
TODO: Still not clear if this will be used. (http://www.ode.org), >= 0.10.x
o OpenCASCADE
For the build of the OpenCASCADE libraries get the sources from www.opencascade.org or alternatively
it is also possible to download a stripped source tarball from the Debian mirrors which don't include
any fonts and other resource files.
Unpack the sources and download a CMake script from http://opencascade-cmake.googlecode.com/svn/trunk/
and the file occ_config.h.cmake. Copy both files into the 'ros' directory, start cmake-gui from
within a MSYS command line and select MSYS Makefiles. In the options the following switches can be
disabled:
OPENCASCADE_WRAPPERS
OPENCASCADE_VISUALISATION
OPENCASCADE_OCAF
OPENCASCADE_DRAW
Then specify for OPENCASCADE_INSTALL_PREFIX C:/MSYS/1.0/local as destination directory-
Now click the Configure button which takes a while and afterwards the Generate button.
Note: The original sources don't completely compile with MinGW. Therefore you have to apply the patch
OpenCASCADE6.3.0-MinGW.patch from http://code.google.com/p/opencascade-cmake/source/browse/trunk
Note: The original sources includes also a configure script and the Makefile.am files.
But it appeared to be very hard to build the libraries this way. Thus, it highly
recommended to do it the CMake way.
Note: For a couple of libraries the arguments passed to the linker exceeds the number of
allowed characters and thus the linker stops with an error: "Bad file number".
To solve this issue you can open the file build.make of the according library and
split the block (e.g. TKGeomAlgo_OBJECTS) into several smaller ones and modify the
build rule this way that you create first a static library, add the other object
files to the group and then unpack the static archive into one directory. This
trick solves the problem to reduce the whole number of characters.
Afterwards the shared library can be built out of these object files.
Example:
If the build.make file has a line of the form
g++ <options> -shared -o libTKGeomAlgo.dll $(TKGeomAlgo_OBJECTS) <libs>
then change it into
ar rcs win32/libTKGeomAlgo.a $(TKGeomAlgo_OBJECTS1)
ar q win32/libTKGeomAlgo.a $(TKGeomAlgo_OBJECTS2)
...
ar x win32/libTKGeomAlgo.a
g++ <options> -shared -o libTKGeomAlgo.dll *.obj <libs>
rm -f *.obj
o Netgen
Modify the following files:
* libsrc/meshing/improve2.hpp
Add DLL_HEADER to class MeshOptimize2d
* libsrc/meshing/meshclass.hpp
Add DLL_HEADER to CalcSurfacesOfNode
* libsrc/meshing/meshtype.hpp
Add DLL_HEADER to classes SurfaceElementIndex, MeshPoint, Element2d (int anp),
* libsrc/occ/occgeom.hpp
Add DLL_HEADER to classes Line, OCCGeometry, OCCParameters, OCCGenerateMesh
* libsrc/occ/occmeshsurf.hpp
Add DLL_HEADER to classes OCCSurface, Meshing2OCCSurfaces, MeshOptimize2dOCCSurfaces, OCCRefinementSurfaces
Run the configure script with these arguments
./configure --prefix=/usr/local --enable-shared --enable-occ --with-occ=/usr/local --with-tcl=/usr/local/lib --enable-nglib CXXFLAGS="-DNGLIB_EXPORTS -DWNT"
make && make install
Building the FreeCAD sources
----------------------------
In order build the FreeCAD sources either get the developer sources from the SVN repository
or get one of the .tar.gz tarballs and extract it.
Now start cmake-gui.exe from within a MSYS command line window and browse to the FreeCAD
sources and also define the build directory. Now run Configure. It may happen that cmake
complains about some not found libraries. In this case go through the listed libraries and
choose the include directory and/or the path to the library where needed. Once Confgiure
accepts all your input create the Makefiles by clicking on Generate. Now close the window
and enter
make
make install
This will take a couple of minutes. From the command line window change to the FreeCAD bin
folder and start the application with ./FreeCAD. In case it complains about some DLLs it cannot
find you have to extend your PATH environment variable with
export PATH=$PATH:/usr/local/bin:/usr/local/lib
If no grave problems remains repeating ./FreeCAD should start the application now.
Note: In order to let CMake detect the boost libraries you must make sure that the
DLLs are in the system path because the check builds some test applications
and tries to start them. If the DLLs are not in path CMake says that it cannot
find boost. In this case do a export PATH=/usr/local/lib:$PATH
Have fun!
-82
View File
@@ -1,82 +0,0 @@
How to build and run FreeCAD under Windows
==========================================
Prerequisites
-------------
On Windows we use the IDE MS VisualStudio 9 with the highest service pack.
In case you don't want to use MS products you can also use the MinGW compiler,
alternatively. In this case continue on reading the manual README.MinGW.
You need cMake 2.6 or higher to generate the project files for VisualStudio.
Also you need all the 3rd party libraries to succsefully compile FreeCAD.
Using LibPack
-------------
To make it easier to get FreeCAD compiled, we provide a collection of all
needed libraries. It's called the LibPack. You can find it on the download
page on sourceforge.
Python needed
-------------
During the compilation some Python scripts get executed. So the Python interpreter
has to function on the OS. Use a command box to check it. If the Python library is
not properly installed you will get an error message like Cannot find python.exe.
If you use the LibPack you can also use the python.exe in the bin directory.
Compile
-------
In order to build the FreeCAD sources start the GUI frontend of cmake. If
doesn't already find the header files and libraries of the LibPack you have to
define the path where you have unpacked it.
After you conform to all prerequisites the compilation is - hopefully - only
a mouse click in VC ;-)
After Compiling
---------------
To get FreeCAD up and running from the compiler environment you need to move a
few files from the LibPack to the "bin" folder where FreeCAD.exe is installed
after a successfull build:
* python.exe and python_d.exe from LIBPACK/bin
* python26.dll and python26_d.dll from LIBPACK/bin
* python26.zip from LIBPACK/bin
* make a copy of python26.zip and rename it to python26_d.zip
Additional stuff
----------------
If you want to build the source code documentation you need DoxyGen.
To create an intstaller package you need WIX.
Additional information on building special 3rd party libraries
--------------------------------------------------------------
* Mefisto2F
The Salome SMESH library needs the Mefisto2F library which contains some Fortran code.
The easiest way is to convert the Fortran code into C code and use the f2c library to
build a static library.
1. Get the f2c utility from http://netlib.sandia.gov/f2c/mswin/index.html
2. Convert the Fortran file trte.f into a C file trte.c using the f2c utility
>>> f2c trte.f
3. Get the sources for the lib f2c from http://netlib.sandia.gov/f2c/libf2c.zip and
unpack them.
4. Apply the patch 'mefisto2f.patch'
5. Run nmake -f makefile.vc
Alternatively, you can use the Watcom Fortran compiler. The needed project file can be get from
here: http://sourceforge.net/p/salomesmesh/code/HEAD/tree/trunk/adm/win32-watcom/
However, this doesn't work for x64 targets at the moment.
* FreeType
http://stackoverflow.com/questions/6207176/compiling-freetype-to-dll-as-opposed-to-static-library
+85
View File
@@ -0,0 +1,85 @@
FreeCAD
-------
![screenshot](http://www.freecadweb.org/wiki/images/thumb/7/72/Freecad016_screenshot1.jpg/800px-Freecad016_screenshot1.jpg)
FreeCAD is a general purpose feature-based, parametric 3D modeler for
CAD, MCAD, CAx, CAE and PLM, aimed directly at mechanical engineering
and product design but also fits a wider range of uses in engineering,
such as architecture or other engineering specialties. It is 100% Open
Source (LGPL2+ license) and extremely modular, allowing for very
advanced extension and customization.
FreeCAD is based on OpenCASCADE, a powerful geometry kernel, features an
Open Inventor-compliant 3D scene representation model provided by the
Coin 3D library, and a broad Python API. The interface is built with Qt.
FreeCAD runs exactly the same way on Windows, Mac OSX, BSD and Linux
platforms.
- [Home page](http://www.freecadweb.org)
- [Documentation wiki](http://www.freecadweb.org/wiki/)
- [Forum](http://forum.freecadweb.org/)
- [Bug tracker](http://www.freecadweb.org/tracker/)
- [Git repository](https://github.com/FreeCAD/FreeCAD)
Installing
----------
Precompiled (installable) packages are available for Windows and Mac on the
[Releases page](https://github.com/FreeCAD/FreeCAD/releases).
On most Linux distributions, FreeCAD is directly installable from the
software center application.
Other options are described at the [wiki Download page](http://www.freecadweb.org/wiki/Download).
Build Status <img src="https://blog.travis-ci.com/images/travis-mascot-200px.png" height="30"/>
------------
| Master | 0.16 | Translation |
|:------:|:----:|:-----------:|
|[![Master][freecad-master-status]][travis-branches]|[![0.16][freecad-0.16-status]][travis-branches]|[![Crowdin](https://d322cqt584bo4o.cloudfront.net/freecad/localized.svg)](https://crowdin.com/project/freecad)|
[freecad-0.16-status]: https://travis-ci.org/FreeCAD/FreeCAD.svg?branch=0.16
[freecad-master-status]: https://travis-ci.org/FreeCAD/FreeCAD.svg?branch=master
[travis-branches]: https://travis-ci.org/FreeCAD/FreeCAD/branches
[travis-builds]: https://travis-ci.org/FreeCAD/FreeCAD/builds
Compiling
---------
Compiling FreeCAD requires installation of several libraries and their
development files such as OpenCASCADe, Coin and Qt, listed in the
pages below. Once this is done, FreeCAD can be simply compiled with
cMake. On Windows, these libraries are bundled and offered by the
FreeCAD team in a convenient package. On Linux, they are usually found
in your distribution's repositories, and on Mac OSX and other platforms
you will usually need to compile them yourself.
The pages below contain up-to-date build instructions:
- [Linux](http://www.freecadweb.org/wiki/CompileOnUnix)
- [Windows](http://www.freecadweb.org/wiki/CompileOnWindows)
- [Mac OSX](http://www.freecadweb.org/wiki/CompileOnMac)
- [Cygwin](http://www.freecadweb.org/wiki/CompileOnCygwin)
- [MinGW](http://www.freecadweb.org/wiki/CompileOnMinGW)
Usage & Getting help
--------------------
[![Gitter](https://img.shields.io/gitter/room/freecad/freecad.svg)](https://gitter.im/freecad/freecad?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
The FreeCAD wiki contains documentation on
general FreeCAD usage, Python scripting, and development. These
pages might help you get started:
- [Getting started](http://www.freecadweb.org/wiki/Getting_started)
- [Features list](http://www.freecadweb.org/wiki/Feature_list)
- [Frequent questions](http://www.freecadweb.org/wiki/FAQ)
- [Workbenches](http://www.freecadweb.org/wiki/Workbench_Concept)
- [Scripting](http://www.freecadweb.org/wiki/Power_users_hub)
- [Development](http://www.freecadweb.org/wiki/Developer_hub)
The [FreeCAD forum](http://forum.freecadweb.org) is also a great place
to find help and solve specific problems you might encounter when
learning to use FreeCAD.
-503
View File
@@ -1,503 +0,0 @@
dnl @synopsis AC_CXX_HAVE_STL
dnl
dnl If the compiler supports the Standard Template Library, define HAVE_STL.
dnl
dnl @version $Id: acinclude.m4,v 1.2 2006/02/24 00:09:19 wmayer Exp $
dnl @author Luc Maisonobe
dnl
AC_DEFUN([AC_CXX_HAVE_STL],
[AC_CACHE_CHECK(whether the compiler supports Standard Template Library,
ac_cv_cxx_have_stl,
[AC_REQUIRE([AC_CXX_NAMESPACES])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <list>
#include <deque>
#ifdef HAVE_NAMESPACES
using namespace std;
#endif],[list<int> x; x.push_back(5);
list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;],
ac_cv_cxx_have_stl=yes, ac_cv_cxx_have_stl=no)
AC_LANG_RESTORE
])
if test "$ac_cv_cxx_have_stl" = yes; then
AC_DEFINE(HAVE_STL,,[define if the compiler supports Standard Template Library])
fi
])
dnl @synopsis AC_CXX_HAVE_STD
dnl
dnl If the compiler supports ISO C++ standard library (i.e., can include the
dnl files iostream, map, iomanip and cmath}), define HAVE_STD.
dnl
dnl @version $Id: acinclude.m4,v 1.2 2006/02/24 00:09:19 wmayer Exp $
dnl @author Luc Maisonobe
dnl
AC_DEFUN([AC_CXX_HAVE_STD],
[AC_CACHE_CHECK(whether the compiler supports ISO C++ standard library,
ac_cv_cxx_have_std,
[AC_REQUIRE([AC_CXX_NAMESPACES])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <iostream>
#include <map>
#include <iomanip>
#include <cmath>
#ifdef HAVE_NAMESPACES
using namespace std;
#endif],[return 0;],
ac_cv_cxx_have_std=yes, ac_cv_cxx_have_std=no)
AC_LANG_RESTORE
])
if test "$ac_cv_cxx_have_std" = yes; then
AC_DEFINE(HAVE_STD,,[define if the compiler supports ISO C++ standard library])
fi
])
dnl @synopsis AC_CXX_NAMESPACES
dnl
dnl If the compiler can prevent names clashes using namespaces, define
dnl HAVE_NAMESPACES.
dnl
dnl @version $Id: acinclude.m4,v 1.2 2006/02/24 00:09:19 wmayer Exp $
dnl @author Luc Maisonobe
dnl
AC_DEFUN([AC_CXX_NAMESPACES],
[AC_CACHE_CHECK(whether the compiler implements namespaces,
ac_cv_cxx_namespaces,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([namespace Outer { namespace Inner { int i = 0; }}],
[using namespace Outer::Inner; return i;],
ac_cv_cxx_namespaces=yes, ac_cv_cxx_namespaces=no)
AC_LANG_RESTORE
])
if test "$ac_cv_cxx_namespaces" = yes; then
AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces])
fi
])
dnl @synopsis AC_CXX_HAVE_SSTREAM
dnl
dnl If sstream (part of Standard C++ Library) exists
dnl define HAVE_SSTREAM.
dnl
dnl @version ac_cxx_have_std.m4 Tue Mar 28 18:20:26 CEST 2000
dnl @author Thomas Sondergaard thomass@deltadata.dk
dnl
AC_DEFUN([AC_CXX_HAVE_SSTREAM],
[AC_CACHE_CHECK(for sstream,
ac_cv_cxx_have_sstream,
[AC_REQUIRE([AC_CXX_NAMESPACES])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <sstream>
#ifdef HAVE_NAMESPACES
using namespace std;
#endif],[return 0;],
ac_cv_cxx_have_sstream=yes, ac_cv_cxx_have_sstream=no)
AC_LANG_RESTORE
])
if test "$ac_cv_cxx_have_sstream" = yes; then
AC_DEFINE(HAVE_SSTREAM,1,[define if the compiler supports sstream])
fi
])
dnl @synopsis AC_CXX_HAVE_STD_IOSTREAM
dnl
dnl If std iostream (part of Standard C++ Library) exists
dnl define HAVE_STD_IOSTREAM.
dnl
dnl @version ac_cxx_have_std.m4 Tue Mar 28 18:20:26 CEST 2000
dnl @author Thomas Sondergaard thomass@deltadata.dk
dnl
AC_DEFUN([AC_CXX_HAVE_STD_IOSTREAM],
[AC_CACHE_CHECK(for std iostream,
ac_cv_cxx_have_std_iostream,
[AC_REQUIRE([AC_CXX_NAMESPACES])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([
#include <sstream>
#include <streambuf>
#include <ios>
#ifdef HAVE_NAMESPACES
using namespace std;
#endif
],[return 0;],
ac_cv_cxx_have_std_iostream=yes, ac_cv_cxx_have_std_iostream=no)
AC_LANG_RESTORE
])
if test "$ac_cv_cxx_have_std_iostream" = yes; then
AC_DEFINE(HAVE_STD_IOSTREAM,,[define if the compiler has std compliant iostream library])
fi
])
dnl @synopsis FREECAD_AC_HAVE_QT(MINIMUM_VERSION)
dnl
dnl @summary Search for Trolltech's Qt GUI framework.
dnl
dnl Checks for the Qt4 library and its tools uic, moc and rcc.
dnl
dnl The following variables are exported:
dnl
dnl QT_DIR
dnl QT_CXXFLAGS
dnl QT_LIBS
dnl QT_MOC
dnl QT_UIC
dnl QT_RCC
dnl
AC_DEFUN([FREECAD_AC_HAVE_QT],
[
AC_ARG_WITH([qt4-dir],
AC_HELP_STRING([--with-qt4-dir=DIR], [give prefix location of Qt4]),
[fc_qt4_dir="$withval"],
[fc_qt4_dir="/usr/share/qt4"])
AC_ARG_WITH([qt4-include],
AC_HELP_STRING([--with-qt4-include=DIR], [give include prefix of Qt4]),
[fc_qt4_include="$withval"],
[fc_qt4_include="$fc_qt4_dir/include"])
AC_ARG_WITH([qt4-lib],
AC_HELP_STRING([--with-qt4-lib=DIR], [give library path to Qt4]),
[fc_qt4_lib="$withval"],
[fc_qt4_lib="$fc_qt4_dir/lib"])
AC_ARG_WITH([qt4-bin],
AC_HELP_STRING([--with-qt4-bin=DIR], [give path to Qt4 utilities (moc, uic, rcc)]),
[fc_qt4_bin="$withval"],
[fc_qt4_bin="$fc_qt4_dir/bin"])
AC_ARG_WITH([qt4-framework],
AC_HELP_STRING([--with-qt4-framework],
[give prefix path to the Qt4 framework on Mac OS X]),
[fc_qt4_frm="$withval"],
[fc_qt4_frm=""])
AC_MSG_CHECKING(for host)
AC_MSG_RESULT($host_os)
case $host_os in
mingw32*)
fc_qt4_lib_core="-L$fc_qt4_lib -lQtCore"
QT_LIBS="-L$fc_qt4_lib -lopengl32 -lglu32 -lgdi32 -luser32 -lmingw32 -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows"
QT_CXXFLAGS="-I$fc_qt4_include -I$fc_qt4_include/QtCore -I$fc_qt4_include/QtGui -I$fc_qt4_include/QtOpenGL -I$fc_qt4_include/QtSvg -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -frtti -fexceptions"
;;
darwin*)
AC_PATH_XTRA
if test -d $fc_qt4_frm/QtCore.framework; then
ac_save_ldflags_fw=$LDFLAGS
LDFLAGS="$LDFLAGS -F$fc_qt4_frm -framework QtCore"
AC_CACHE_CHECK(
[whether Qt is installed as framework],
ac_cv_have_qt_framework,
[AC_TRY_LINK([#include <QtCore/qglobal.h>
#include <stdio.h>],
[printf("%s\n", qVersion());],
[ac_cv_have_qt_framework=yes],
[ac_cv_have_qt_framework=no])
])
LDFLAGS=$ac_save_ldflags_fw
else
ac_cv_have_qt_framework=no
fi
if test "$ac_cv_have_qt_framework" = yes; then
# Qt as framework installed
fc_qt4_lib_core="-Wl,-F$fc_qt4_frm -Wl,-framework,QtCore"
QT_LIBS="-Wl,-F$fc_qt4_frm"
#QT_LIBS="$QT_LIBS -Wl,-framework,Qt3Support"
QT_LIBS="$QT_LIBS -Wl,-framework,QtGui"
QT_LIBS="$QT_LIBS -Wl,-framework,QtOpenGL"
QT_LIBS="$QT_LIBS -Wl,-framework,QtCore"
QT_LIBS="$QT_LIBS -Wl,-framework,QtNetwork"
QT_LIBS="$QT_LIBS -Wl,-framework,QtXml"
QT_LIBS="$QT_LIBS -Wl,-framework,QtSql"
QT_LIBS="$QT_LIBS -Wl,-framework,QtSvg"
# Separated libs
QT4_CORE_LIBS="-Wl,-F$fc_qt4_frm -Wl,-framework,QtCore"
QT_CXXFLAGS="-F$fc_qt4_frm -I$fc_qt4_frm/Qt3Support.framework/Headers"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtGui.framework/Headers"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtCore.framework/Headers"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtOpenGL.framework/Headers"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtNetwork.framework/Headers"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtSvg.framework/Headers"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtXml.framework/Headers"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtUiTools.framework/Headers"
# Separated flags
QT4_CORE_CXXFLAGS="-F$fc_qt4_frm -I$fc_qt4_frm/QtCore.framework/Headers"
# QtUiTools doesn't seem to be available as framework
#QT_CXXFLAGS="$QT_CXXFLAGS -I/usr/include/QtUiTools"
# QtWebKit check
fc_ac_save_cppflags=$CPPFLAGS
CPPFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtWebKit.framework/Headers"
AC_MSG_CHECKING([whether QtWebKit is available])
AC_TRY_COMPILE([#include <QWebView>], [],
[
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_frm/QtWebKit.framework/Headers"
QT_LIBS="$QT_LIBS -Wl,-framework,QtWebKit"
AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
CPPFLAGS=$fc_ac_save_cppflags
else
# Qt not as framework installed
fc_qt4_lib_core="-L$fc_qt4_lib -lQtCore"
QT_LIBS="-L$fc_qt4_lib -lQtCore -lQtGui -lQt3Support -lQtNetwork -lQtOpenGL -lQtSvg -lQtXml"
QT_CXXFLAGS="-I$fc_qt4_include -I$fc_qt4_include/Qt3Support"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtGui"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtCore"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtOpenGL"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtNetwork"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtSvg"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtXml"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtUiTools"
# Separated flags and libs
QT4_CORE_CXXFLAGS="-I$fc_qt4_include -I$fc_qt4_include/QtCore"
QT4_CORE_LIBS="-L$fc_qt4_lib -lQtCore"
# QtWebKit check
fc_ac_save_cppflags=$CPPFLAGS
CPPFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtWebKit"
AC_MSG_CHECKING([whether QtWebKit is available])
AC_TRY_COMPILE([#include <QWebView>], [],
[
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtWebKit"
QT_LIBS="$QT_LIBS -lQtWebKit"
AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
CPPFLAGS=$fc_ac_save_cppflags
fi
;;
*) # UNIX/Linux based
AC_PATH_XTRA
fc_qt4_lib_core="-L$fc_qt4_lib -lQtCore"
QT_LIBS="-L$fc_qt4_lib -lQtCore -lQtGui -lQt3Support -lQtNetwork -lQtOpenGL -lQtSvg -lQtXml $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS"
QT_CXXFLAGS="-I$fc_qt4_include -I$fc_qt4_include/Qt3Support"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtGui"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtCore"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtOpenGL"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtNetwork"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtSvg"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtXml"
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtUiTools $X_CFLAGS"
# QtWebKit check
fc_ac_save_cppflags=$CPPFLAGS
CPPFLAGS="-I$fc_qt4_include -I$fc_qt4_include/QtWebKit"
AC_MSG_CHECKING([whether QtWebKit is available])
AC_TRY_LINK([#include <QWebView>], [],
[
QT_CXXFLAGS="$QT_CXXFLAGS -I$fc_qt4_include/QtWebKit"
QT_LIBS="$QT_LIBS -lQtWebKit"
AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
CPPFLAGS=$fc_ac_save_cppflags
#QT4_CXXFLAGS="-I$fc_qt4_include"
#QT4_LIBS="-L$fc_qt4_lib $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS"
# Separated flags and libs
QT4_CORE_CXXFLAGS="-I$fc_qt4_include -I$fc_qt4_include/QtCore"
QT4_CORE_LIBS="-L$fc_qt4_lib -lQtCore"
#QT4_GUI_CXXFLAGS="-I$fc_qt4_include/QtGui"
#QT4_GUI_LIBS="-lQtGui"
#QT4_NETWORK_CFLAGS="-I$fc_qt4_include/QtNetwork"
#QT4_NETWORK_LIBS="-lQtNetwork"
#QT4_XML_CFLAGS="-I$fc_qt4_include/QtXml"
#QT4_XML_LIBS="-lQtXml"
;;
esac
min_qt_version=ifelse([$1], ,4.0.0, $1)
AC_MSG_CHECKING(for Qt >= $min_qt_version)
QT_MOC="$fc_qt4_bin/moc"
QT_UIC="$fc_qt4_bin/uic"
QT_RCC="$fc_qt4_bin/rcc"
# Now we check whether we can actually build a Qt app.
cat > myqt.h << EOF
#include <QObject>
class Test : public QObject
{
Q_OBJECT
public:
Test() {}
~Test() {}
public slots:
void receive() {}
signals:
void send();
};
EOF
cat > myqt.cpp << EOF
#include "myqt.h"
#include <QCoreApplication>
#include <QByteArray>
#include <QGlobalStatic>
#include <QStringList>
#include <stdio.h>
#include <stdlib.h>
int main( int argc, char **argv )
{
QCoreApplication app( argc, argv );
Test t;
QObject::connect( &t, SIGNAL(send()), &t, SLOT(receive()) );
// major, minor, patch
QString version = "$min_qt_version";
QStringList numbers = version.split('.');
int shift[[3]] = {16,8,0};
int minversion = 0, i = 0;
for (QStringList::ConstIterator it = numbers.begin(); it != numbers.end(); ++it, ++i) {
bool ok;
int val = (*it).toInt(&ok);
if (ok) {
minversion = minversion + (val << shift[[i]]);
}
}
exit(QT_VERSION < minversion);
}
EOF
bnv_try_1="$QT_MOC myqt.h -o moc_myqt.cpp"
AC_TRY_EVAL(bnv_try_1)
if test x"$ac_status" != x0; then
AC_MSG_ERROR([Cannot find Qt meta object compiler (moc), bye...])
fi
bnv_try_2="$CXX $QT_CXXFLAGS -c $CXXFLAGS -o moc_myqt.o moc_myqt.cpp"
AC_TRY_EVAL(bnv_try_2)
if test x"$ac_status" != x0; then
AC_MSG_ERROR([Failed to compile source file created by Qt meta object compiler (moc), bye...])
fi
bnv_try_3="$CXX $QT_CXXFLAGS -c $CXXFLAGS -o myqt.o myqt.cpp"
AC_TRY_EVAL(bnv_try_3)
if test x"$ac_status" != x0; then
AC_MSG_ERROR([Failed to compile Qt test app, bye...])
fi
# Make sure not to link against X11 libs so that configure succeeds whithout xserver started
bnv_try_4="$CXX myqt.o moc_myqt.o $fc_qt4_lib_core $LIBS -o myqt"
AC_TRY_EVAL(bnv_try_4)
if test x"$ac_status" != x0; then
AC_MSG_ERROR([Failed to link with Qt, bye...])
fi
AS_IF([AM_RUN_LOG([./myqt])],
[AC_MSG_RESULT(yes)],
[AC_MSG_ERROR([Version of Qt4 found but < $min_qt_version])
])
rm -f moc_myqt.cpp myqt.h myqt.cpp myqt.o myqt moc_myqt.o
if test -d $fc_qt4_dir; then
QT_DIR="$fc_qt4_dir"
else
QT_DIR=""
fi
AC_SUBST(QT_DIR)
AC_SUBST(QT_CXXFLAGS)
AC_SUBST(QT_LIBS)
AC_SUBST(QT4_CORE_CXXFLAGS)
AC_SUBST(QT4_CORE_LIBS)
AC_SUBST(QT_UIC)
AC_SUBST(QT_MOC)
AC_SUBST(QT_RCC)
])
dnl @synopsis FREECAD_AC_HAVE_BOOST
dnl
dnl @summary Search for boost header and library files.
dnl
dnl
AC_DEFUN([FREECAD_AC_HAVE_BOOST],
[
AC_MSG_CHECKING(for boost)
AC_ARG_WITH(boost-include,
AC_HELP_STRING([--with-boost-include=DIR], [Path to the boost header files]),
[fc_boost_incs=$withval], [fc_boost_incs=/usr/include])
AC_ARG_WITH(boost-lib,
AC_HELP_STRING([--with-boost-lib=DIR], [Path to the boost library files]),
[fc_boost_libs=$withval], [fc_boost_libs=/usr/lib])
fc_boost_ac_save_cppflags=$CPPFLAGS
fc_boost_ac_save_ldflags=$LDFLAGS
fc_boost_ac_save_libs=$LIBS
CPPFLAGS="$CPPFLAGS -I$fc_boost_incs"
LDFLAGS="$LDFLAGS -L$fc_boost_libs"
LIBS="-lboost_program_options-mt"
AC_TRY_LINK([#include <boost/program_options.hpp>],
[namespace po = boost::program_options;
po::options_description generic("Generic options");
generic.add_options()
("version,v", "print version string")
("help", "produce help message");
],
[AC_MSG_RESULT(yes)],
[AC_MSG_ERROR(failed)])
AC_MSG_CHECKING(for boost >= 1.35.0)
cat > boost.cpp << EOF
#include <boost/version.hpp>
#include <cstdio>
#include <cstdlib>
int main(int argc, char **argv)
{
exit(BOOST_VERSION >= 103500);
}
EOF
# Depending on boost version decide if boost_system is required
boost_try="$CXX boost.cpp $CPPFLAGS -o boost"
AC_TRY_EVAL(boost_try)
if test x"$ac_status" != x0; then
AC_MSG_ERROR([Failed to get version of boost, bye...])
fi
AS_IF([AM_RUN_LOG([./boost])],
[ac_cv_boost_system=no],
[ac_cv_boost_system=yes
])
AC_MSG_RESULT($ac_cv_boost_system)
rm -f boost.cpp boost
BOOST_FILESYSTEM_LIB="-lboost_filesystem-mt"
BOOST_PROGOPTIONS_LIB="-lboost_program_options-mt"
BOOST_SIGNALS_LIB="-lboost_signals-mt"
BOOST_SYSTEM_LIB=""
BOOST_REGEX_LIB="-lboost_regex-mt"
if test x"$ac_cv_boost_system" = xyes; then
LIBS="-lboost_system-mt"
AC_MSG_CHECKING(for boost system library)
AC_TRY_LINK([#include <boost/system/error_code.hpp>],
[ boost::system::error_code error_code; std::string message(error_code.message()); return 0; ],
[BOOST_SYSTEM_LIB="-lboost_system-mt"],
[BOOST_SYSTEM_LIB=""])
if test "x$BOOST_SYSTEM_LIB" = "x"; then
AC_MSG_RESULT(no)
AC_MSG_ERROR(Unable to link with the boost::system library)
else
AC_MSG_RESULT(yes)
fi
fi
AC_SUBST(BOOST_FILESYSTEM_LIB)
AC_SUBST(BOOST_PROGOPTIONS_LIB)
AC_SUBST(BOOST_SIGNALS_LIB)
AC_SUBST(BOOST_SYSTEM_LIB)
AC_SUBST(BOOST_REGEX_LIB)
CPPFLAGS=$fc_boost_ac_save_cppflags
LDFLAGS=$fc_boost_ac_save_ldflags
LIBS=$fc_boost_ac_save_libs
all_includes="$all_includes -I$fc_boost_incs"
all_libraries="$all_libraries -L$fc_boost_libs"
])
+65
View File
@@ -0,0 +1,65 @@
#version:
environment:
matrix:
- generator: "Visual Studio 12 Win64"
ARCH: "Win64"
Compiler: "MSVC2013"
- generator: "Visual Studio 12"
ARCH: "Win32"
Compiler: "MSVC2013"
#cache: #
configuration:
#- Debug
- Release
#branches:
# only:
clone_depth: 1600
# scripts that are called at very beginning, before repo cloning
#init:
#before_build:
# scripts that run after cloning repository
#todo cleanup libpacks on the FreeCAD-ports-cache repo
install:
- cd C:\projects\freecad
- if [%ARCH%] == [Win64] (appveyor DownloadFile https://github.com/FreeCAD/FreeCAD-ports-cache/releases/download/v0.17/FreeCADLibs_11.5.1_x64_VC12.7z)
- if [%ARCH%] == [Win64] (
powershell -Command 7z x FreeCADLibs_11.5.1_x64_VC12.7z > nul &&
ren FreeCADLibs_11.5_x64_VC12 FreeCADLibs)
- if [%ARCH%] == [Win32] (appveyor DownloadFile https://github.com/FreeCAD/FreeCAD-ports-cache/releases/download/v0.17/FreeCADLibs_11.5.1_x86_VC12.7z)
- if [%ARCH%] == [Win32] (
powershell -Command 7z x FreeCADLibs_11.5.1_x86_VC12.7z > nul &&
ren FreeCADLibs_11.5_x86_VC12 FreeCADLibs)
- dir
build_script:
- cd C:\projects\freecad
- mkdir build
- cd build
- cmake -DFREECAD_LIBPACK_DIR=C:\projects\freecad\FreeCADLibs
-DBUILD_FEM_NETGEN=OFF
-G "%generator%" ..
- mkdir bin
- xcopy C:\projects\freecad\FreeCADLibs\bin C:\projects\freecad\build\bin /E /Q
- msbuild /m FreeCAD_Trunk.sln
#after_build:
- cd C:\projects\freecad\build\bin\
- FreeCADCmd.exe --run-test 0
#artifacts:
test: off # to avoid discovering tests
#
# The following section automatically uploads artifacts
# whenever a tag is created on the master branch.
#
#deploy:
-69
View File
@@ -1,69 +0,0 @@
#!/bin/bash
# autogen.sh
# Run this script to generate all initial makefiles.
# Get version and revision number
MAJ=0
MIN=13
REV=0
#if svn --xml info >/dev/null 2>&1; then
# REV=`svn --xml info | tr -d '\r\n' | sed -e 's/.*<commit.*revision="\([0-9]*\)".*<\/commit>.*/\1/'`
#elif svn --version --quiet >/dev/null 2>&1; then
# REV=`svn info | grep "^Revision:" | cut -d" " -f2`
#fi
# count all lines that don't match this string
REV=`git rev-list HEAD | grep -cv "*"`
# if revision.m4 does not exist, create it
REV_FILE=revision.m4
#if [ -f $REV_FILE ]; then
# echo "$REV_FILE found"
#else
# echo "m4_define([FREECAD_MAJOR], $MAJ)" > $REV_FILE
# echo "m4_define([FREECAD_MINOR], $MIN)" >> $REV_FILE
# echo "m4_define([FREECAD_MICRO], $REV)" >> $REV_FILE
# echo "$REV_FILE created"
#fi
echo "m4_define([FREECAD_MAJOR], $MAJ)" > $REV_FILE
echo "m4_define([FREECAD_MINOR], $MIN)" >> $REV_FILE
echo "m4_define([FREECAD_MICRO], $REV)" >> $REV_FILE
# create m4 subdirectory which fails for some older versions of autotools
[ -d m4 ] || mkdir m4
if which glibtoolize > /dev/null 2>&1; then
echo "calling glibtoolize"
glibtoolize --force --copy
elif which libtoolize > /dev/null 2>&1; then
echo "calling libtoolize"
libtoolize --force --copy
else
echo "can't find libtoolize or glibtoolize"
exit 1
fi
# http://www.gnu.org/software/hello/manual/automake/Macro-Search-Path.html
if [ -d /usr/local/share/aclocal ]; then
echo "calling aclocal -I /usr/local/share/aclocal"
aclocal -I /usr/local/share/aclocal
else
echo "calling aclocal"
aclocal
fi
echo "calling autoheader"
autoheader
echo "calling automake"
automake --add-missing --copy
echo "calling autoconf"
autoconf
echo "Done"
echo "Please run configure."
# touch file to update Version.h
touch src/Build/Version.h.in
-8
View File
@@ -1,8 +0,0 @@
#! /bin/sh
# We almost need to specify the switches for the OpenCascade library to make
# configure running successfully.
# CASROOT=${CASROOT:-/opt/OpenCASCADE6.2.0/ros}
#./configure CXXFLAGS="-fno-strict-aliasing" LDFLAGS="-Wl,-z,defs" --with-occ-include=$CASROOT/inc --with-occ-lib=$CASROOT/Linux/lib
./configure CXXFLAGS="-fno-strict-aliasing -Wno-write-strings" LDFLAGS="-Wl,-z,defs"
+48 -33
View File
@@ -2,28 +2,31 @@
# Once done this will define
#
# COIN3D_FOUND - system has Coin3D - Open Inventor
# COIN3D_INCLUDE_DIR - where the Inventor include directory can be found
# COIN3D_LIBRARY - Link this to use Coin3D
# COIN3D_INCLUDE_DIRS - where the Inventor include directory can be found
# COIN3D_LIBRARIES - Link this to use Coin3D
#
SET( COIN3D_FOUND "NO" )
IF (WIN32)
IF (CYGWIN)
FIND_PATH(COIN3D_INCLUDE_DIR Inventor/So.h
FIND_PATH(COIN3D_INCLUDE_DIRS Inventor/So.h
${CMAKE_INCLUDE_PATH}
/usr/include
/usr/local/include
/usr/include/coin
)
FIND_LIBRARY(COIN3D_LIBRARY Coin
FIND_LIBRARY(COIN3D_LIBRARIES Coin
${CMAKE_LIBRARY_PATH}
/usr/lib
/usr/local/lib
)
ELSE (CYGWIN)
FIND_PATH(COIN3D_INCLUDE_DIR Inventor/So.h
FIND_PATH(COIN3D_INCLUDE_DIRS Inventor/So.h
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\Coin3D\\2;Installation Path]/include"
)
@@ -31,63 +34,75 @@ IF (WIN32)
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\Coin3D\\2;Installation Path]/lib"
)
FIND_LIBRARY(COIN3D_LIBRARY_RELEASE coin2
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\Coin3D\\2;Installation Path]/lib"
FIND_LIBRARY(COIN3D_LIBRARY_RELEASE
NAMES
coin2
Coin4
PATHS
${CMAKE_LIBRARY_PATH}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\Coin3D\\2;Installation Path]/lib"
)
IF (COIN3D_LIBRARY_DEBUG AND COIN3D_LIBRARY_RELEASE)
SET(COIN3D_LIBRARY optimized ${COIN3D_LIBRARY_RELEASE}
debug ${COIN3D_LIBRARY_DEBUG})
SET(COIN3D_LIBRARIES optimized ${COIN3D_LIBRARY_RELEASE}
debug ${COIN3D_LIBRARY_DEBUG})
ELSE (COIN3D_LIBRARY_DEBUG AND COIN3D_LIBRARY_RELEASE)
IF (COIN3D_LIBRARY_DEBUG)
SET (COIN3D_LIBRARY ${COIN3D_LIBRARY_DEBUG})
SET (COIN3D_LIBRARIES ${COIN3D_LIBRARY_DEBUG})
ENDIF (COIN3D_LIBRARY_DEBUG)
IF (COIN3D_LIBRARY_RELEASE)
SET (COIN3D_LIBRARY ${COIN3D_LIBRARY_RELEASE})
SET (COIN3D_LIBRARIES ${COIN3D_LIBRARY_RELEASE})
ENDIF (COIN3D_LIBRARY_RELEASE)
ENDIF (COIN3D_LIBRARY_DEBUG AND COIN3D_LIBRARY_RELEASE)
IF (COIN3D_LIBRARY)
IF (COIN3D_LIBRARIES)
# ADD_DEFINITIONS ( -DCOIN_NOT_DLL )
#ELSE (COIN3D_LIBRARY)
# SET (COIN3D_LIBRARY coin2d CACHE STRING "Coin3D Library (Debug) - Open Inventor API")
ENDIF (COIN3D_LIBRARY)
#ELSE (COIN3D_LIBRARIES)
# SET (COIN3D_LIBRARIES coin2d CACHE STRING "Coin3D Library (Debug) - Open Inventor API")
ENDIF (COIN3D_LIBRARIES)
ENDIF (CYGWIN)
ELSE (WIN32)
IF(APPLE)
FIND_PATH(COIN3D_INCLUDE_DIR Inventor/So.h
FIND_PATH(COIN3D_INCLUDE_DIRS Inventor/So.h
/Library/Frameworks/Inventor.framework/Headers
/usr/local/include
/usr/include
)
FIND_LIBRARY(COIN3D_LIBRARY Coin
FIND_LIBRARY(COIN3D_LIBRARIES Coin
/Library/Frameworks/Inventor.framework/Libraries
/usr/lib
/usr/local/lib
)
SET(COIN3D_LIBRARY "-framework Coin3d" CACHE STRING "Coin3D library for OSX")
ELSE(APPLE)
SET(COIN3D_LIBRARIES "-framework Coin3d" CACHE STRING "Coin3D library for OSX")
ELSE(APPLE)
# Try to use pkg-config first...
find_package(PkgConfig)
pkg_check_modules(COIN3D Coin)
# ... then fall back to manual lookup
IF(NOT COIN3D_FOUND)
FIND_PATH(COIN3D_INCLUDE_DIRS Inventor/So.h
${CMAKE_INCLUDE_PATH}
/usr/include/Coin3
/usr/include
/usr/include/coin
/usr/local/include
)
FIND_PATH(COIN3D_INCLUDE_DIR Inventor/So.h
/usr/include/Coin3
/usr/include
/usr/local/include
)
FIND_LIBRARY(COIN3D_LIBRARY Coin
/usr/lib
/usr/local/lib
PATH_SUFFIXES Coin2 Coin3
)
FIND_LIBRARY(COIN3D_LIBRARIES Coin
${CMAKE_LIBRARY_PATH}
/usr/lib
/usr/local/lib
PATH_SUFFIXES Coin2 Coin3
)
ENDIF(NOT COIN3D_FOUND)
ENDIF(APPLE)
ENDIF (WIN32)
SET( COIN3D_FOUND "NO" )
IF(COIN3D_LIBRARY)
IF(COIN3D_LIBRARIES)
SET( COIN3D_FOUND "YES" )
ENDIF(COIN3D_LIBRARY)
ENDIF(COIN3D_LIBRARIES)
+1 -1
View File
@@ -21,7 +21,7 @@ IF (COIN3D_FOUND)
ELSE(APPLE)
# Unix systems
find_path(COIN3D_DOC_PATH index.html
/usr/share/doc/libcoin60-doc/html
/usr/share/doc/libcoin80-doc/html
/usr/share/doc/coin/html
)
IF( EXISTS ${COIN3D_DOC_PATH})
-39
View File
@@ -1,39 +0,0 @@
# This module finds the f2c library.
#
# This module sets the following variables:
# F2C_FOUND - set to true if library is found
# F2C_DEFINITIONS - compilation options to use f2c
# F2C_LIBRARIES - f2c library name (using full path name)
if (F2C_LIBRARIES)
set(F2C_FOUND TRUE)
else(F2C_LIBRARIES)
set(F2C_DEFINITIONS)
find_library(F2C_LIBRARIES f2c
/usr/lib
/usr/local/lib
)
if(F2C_LIBRARIES)
set(F2C_FOUND TRUE)
else()
set(F2C_FOUND FALSE)
endif()
if(NOT F2C_FIND_QUIETLY)
if(F2C_FOUND)
message(STATUS "f2c library found.")
else(F2C_FOUND)
if(F2C_FIND_REQUIRED)
message(FATAL_ERROR "f2c library not found. Please specify library location.")
else()
message(STATUS "f2c library not found. Please specify library location.")
endif()
endif(F2C_FOUND)
endif(NOT F2C_FIND_QUIETLY)
endif(F2C_LIBRARIES)
+54
View File
@@ -0,0 +1,54 @@
# - Find MED file installation
#
# The following variable are set:
# MEDFILE_INCLUDE_DIRS
# MEDFILE_LIBRARIES
# MEDFILE_C_LIBRARIES
# MEDFILE_F_LIBRARIES
#
# The CMake (or environment) variable MEDFILE_ROOT_DIR can be set to
# guide the detection and indicate a root directory to look into.
#
############################################################################
# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# ------
MESSAGE(STATUS "Check for medfile (libmed and libmedc) ...")
# ------
SET(MEDFILE_ROOT_DIR $ENV{MEDFILE_ROOT_DIR} CACHE PATH "Path to the MEDFile.")
IF(MEDFILE_ROOT_DIR)
LIST(APPEND CMAKE_PREFIX_PATH "${MEDFILE_ROOT_DIR}")
ENDIF(MEDFILE_ROOT_DIR)
FIND_PATH(MEDFILE_INCLUDE_DIRS med.h)
#FIND_PROGRAM(MDUMP mdump)
FIND_LIBRARY(MEDFILE_C_LIBRARIES NAMES medC)
FIND_LIBRARY(MEDFILE_F_LIBRARIES NAMES med)
IF(MEDFILE_F_LIBRARIES)
SET(MEDFILE_LIBRARIES ${MEDFILE_C_LIBRARIES} ${MEDFILE_F_LIBRARIES})
ELSE(MEDFILE_F_LIBRARIES)
SET(MEDFILE_LIBRARIES ${MEDFILE_C_LIBRARIES})
ENDIF(MEDFILE_F_LIBRARIES)
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MEDFile REQUIRED_VARS MEDFILE_INCLUDE_DIRS MEDFILE_LIBRARIES)
+163 -23
View File
@@ -1,36 +1,176 @@
# Try to find nglib/netgen
#
# Optional input NETGENDATA is path to the netgen libsrc source tree - this is
# required due to some headers not being installed by netgen.
#
# Once done this will define
#
# NGLIB_INCLUDE_DIR - where the nglib include directory can be found
# NGLIB_LIBRARIES - Link this to use nglib
# NETGEN_INCLUDE_DIRS - where the netgen include directories can be found
# NETGEN_DEFINITIONS - C++ compiler defines required to use netgen/nglib
#
# See also: http://git.salome-platform.org/gitweb/?p=NETGENPLUGIN_SRC.git;a=summary
# nglib
FIND_PATH(NGLIB_INCLUDE_DIR nglib.h /usr/include)
FIND_LIBRARY(NGLIB_LIBRARIES nglib /usr/lib /usr/local/lib)
SET(NETGEN_DEFINITIONS -DNO_PARALLEL_THREADS -DOCCGEOMETRY)
# netgen headers
SET(NETGEN_INCLUDE_DIRS)
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} -DNO_PARALLEL_THREADS -DOCCGEOMETRY)
IF(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
# We haven't supported Netgen prior to 5.3.1 on MacOS, and the current
# plan is for the next Netgen version to be 6.1 (currently unreleased).
IF(DEFINED HOMEBREW_PREFIX)
SET(NGLIB_PREFIX ${HOMEBREW_PREFIX})
ELSE(DEFINED HOMEBREW_PREFIX)
SET(NGLIB_PREFIX ${MACPORTS_PREFIX})
ENDIF(DEFINED HOMEBREW_PREFIX)
SET(NETGENDATA /usr/share/netgen/libsrc)
FIND_PATH(NETGEN_DIR_csg csg.hpp PATHS ${NETGENDATA}/csg)
FIND_PATH(NETGEN_DIR_gen array.hpp PATHS ${NETGENDATA}/general)
FIND_PATH(NETGEN_DIR_geom2d geom2dmesh.hpp PATHS ${NETGENDATA}/geom2d)
FIND_PATH(NETGEN_DIR_gprim gprim.hpp PATHS ${NETGENDATA}/gprim)
FIND_PATH(NETGEN_DIR_la linalg.hpp PATHS ${NETGENDATA}/linalg)
FIND_PATH(NETGEN_DIR_mesh meshing.hpp PATHS ${NETGENDATA}/meshing)
FIND_PATH(NETGEN_DIR_occ occgeom.hpp PATHS ${NETGENDATA}/occ)
FIND_PATH(NETGEN_DIR_stlgeom stlgeom.hpp PATHS ${NETGENDATA}/stlgeom)
FIND_PATH(NGLIB_INCLUDE_DIR nglib.h ${NGLIB_PREFIX}/include)
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_csg})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_gen})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_geom2d})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_gprim})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_la})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_mesh})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_occ})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_stlgeom})
FIND_LIBRARY(NGLIB_LIBNGLIB nglib ${NGLIB_PREFIX}/lib)
FIND_LIBRARY(NGLIB_LIBMESH mesh ${NGLIB_PREFIX}/lib)
FIND_LIBRARY(NGLIB_LIBOCC occ ${NGLIB_PREFIX}/lib)
FIND_LIBRARY(NGLIB_LIBINTERFACE interface ${NGLIB_PREFIX}/lib)
SET(NGLIB_LIBRARIES ${NGLIB_LIBNGLIB} ${NGLIB_LIBMESH}
${NGLIB_LIBOCC} ${NGLIB_LIBINTERFACE})
IF(NOT NETGENDATA)
SET(NETGENDATA ${NGLIB_PREFIX}/include/netgen)
ENDIF(NOT NETGENDATA)
ELSEIF(WIN32)
FIND_PATH(NGLIB_INCLUDE_DIR NAMES nglib.h PATHS ${NETGEN_INCLUDEDIR})
SET(NETGEN_LIBS nglib mesh occ interface)
SET(NGLIB_LIBRARIES "")
FOREACH(it ${NETGEN_LIBS})
FIND_LIBRARY(NGLIB ${it} PATHS ${NETGEN_LIBDIR})
FIND_LIBRARY(NGLIBD ${it}d PATHS ${NETGEN_LIBDIR})
IF(NGLIBD AND NGLIB)
SET(NG_LIB optimized ${NGLIB}
debug ${NGLIBD})
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NG_LIB})
UNSET(NGLIB CACHE)
UNSET(NGLIBD CACHE)
ELSEIF(NGLIB)
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB})
UNSET(NGLIB CACHE)
ENDIF()
ENDFOREACH()
IF(NOT NETGENDATA)
SET(NETGENDATA netgen)
ENDIF(NOT NETGENDATA)
ELSE(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
IF(NETGEN_ROOT)
SET(NETGEN_INCLUDEDIR ${NETGEN_ROOT}/include)
SET(NETGEN_LIBDIR ${NETGEN_ROOT}/lib)
# allow to customize if NETGEN_ROOT is used
IF(NOT NETGENDATA)
SET(NETGENDATA ${NETGEN_ROOT}/libsrc)
ENDIF(NOT NETGENDATA)
ENDIF()
FIND_PATH(NGLIB_INCLUDE_DIR NAMES nglib.h PATHS ${NETGEN_INCLUDEDIR} /usr/include)
FIND_LIBRARY(NGLIB_LIBNGLIB nglib PATHS ${NETGEN_LIBDIR} /usr/lib /usr/local/lib)
SET(NGLIB_LIBRARIES ${NGLIB_LIBNGLIB})
FIND_LIBRARY(NGLIB_LIBMESH mesh PATHS ${NETGEN_LIBDIR} /usr/lib /usr/local/lib)
IF(NGLIB_LIBMESH)
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBMESH})
ENDIF()
FIND_LIBRARY(NGLIB_LIBOCC occ PATHS ${NETGEN_LIBDIR} /usr/lib /usr/local/lib)
IF(NGLIB_LIBOCC)
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBOCC})
ENDIF()
FIND_LIBRARY(NGLIB_LIBINTERFACE interface PATHS ${NETGEN_LIBDIR} /usr/lib /usr/local/lib)
IF(NGLIB_LIBINTERFACE)
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBINTERFACE})
ENDIF()
IF(NOT NETGENDATA)
SET(NETGENDATA /usr/share/netgen/libsrc)
ENDIF(NOT NETGENDATA)
ENDIF(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
FIND_PATH(NETGEN_DIR_include NAMES mydefs.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/include)
FIND_PATH(NETGEN_DIR_csg NAMES csg.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/csg)
FIND_PATH(NETGEN_DIR_gen NAMES array.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/general)
FIND_PATH(NETGEN_DIR_geom2d NAMES geom2dmesh.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/geom2d)
FIND_PATH(NETGEN_DIR_gprim NAMES gprim.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/gprim)
FIND_PATH(NETGEN_DIR_la NAMES linalg.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/linalg)
FIND_PATH(NETGEN_DIR_mesh NAMES meshing.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/meshing)
FIND_PATH(NETGEN_DIR_occ NAMES occgeom.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/occ)
FIND_PATH(NETGEN_DIR_stlgeom NAMES stlgeom.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/stlgeom)
IF(NOT NGLIB_INCLUDE_DIR AND NOT NETGEN_DIR_include)
MESSAGE(STATUS "Cannot find NETGEN header files.")
ELSE()
file(STRINGS ${NETGEN_DIR_include}/mydefs.hpp NETGEN_VERSION
REGEX "#define PACKAGE_VERSION.*"
)
if (NETGEN_VERSION)
string(REGEX MATCHALL "[0-9]+" NETGEN_VERSION ${NETGEN_VERSION})
list(LENGTH NETGEN_VERSION NETGEN_VERSION_COUNT)
list(GET NETGEN_VERSION 0 NETGEN_VERSION_MAJOR)
if(NETGEN_VERSION_COUNT GREATER 1)
list(GET NETGEN_VERSION 1 NETGEN_VERSION_MINOR)
else()
set(NETGEN_VERSION_MINOR 0)
endif()
else() # workaround for netgen 6.2 and newer. currently there is no easy way to detect the version
# better use "find_package(netgen CONFIG REQUIRED)"
set(NETGEN_VERSION_MAJOR 6)
set(NETGEN_VERSION_MINOR 2)
endif()
ENDIF()
IF(NOT NGLIB_LIBRARIES)
MESSAGE(STATUS "Cannot find NETGEN library.")
ENDIF()
IF(NGLIB_INCLUDE_DIR AND NGLIB_LIBRARIES)
SET(NETGEN_FOUND TRUE)
SET(NETGEN_INCLUDE_DIRS ${NETGEN_DIR_include} ${NGLIB_INCLUDE_DIR}
${NETGEN_DIR_csg} ${NETGEN_DIR_gen} ${NETGEN_DIR_geom2d}
${NETGEN_DIR_gprim} ${NETGEN_DIR_la} ${NETGEN_DIR_mesh}
${NETGEN_DIR_occ} ${NETGEN_DIR_stlgeom})
LIST(REMOVE_DUPLICATES NETGEN_INCLUDE_DIRS)
MATH(EXPR NETGEN_VERSION "(${NETGEN_VERSION_MAJOR} << 16) + (${NETGEN_VERSION_MINOR} << 8)")
MATH(EXPR NETGEN_VERSION_62 "(6 << 16) + (2 << 8)")
IF(NOT NETGEN_VERSION LESS NETGEN_VERSION_62) # Version >= 6.2
# NETGEN v6.2 or newer requires c++1y/c++14
include(CheckCXXCompilerFlag)
check_cxx_compiler_flag("-std=c++14" HAS_CPP14_FLAG)
check_cxx_compiler_flag("-std=c++1y" HAS_CPP1Y_FLAG)
if(HAS_CPP14_FLAG)
set(NETGEN_CXX_FLAGS "-std=c++14")
elseif(HAS_CPP1Y_FLAG)
set(NETGEN_CXX_FLAGS "-std=c++1y")
else()
# message(FATAL_ERROR "Unsupported compiler -- C++1y support or newer required!")
message(STATUS "can not detect c++1y support, but will try to build with c++1y")
set(NETGEN_CXX_FLAGS "-std=c++1y")
endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# Clang sometimes fails to include <cstdio>
include(CMakePushCheckState)
cmake_push_check_state(RESET)
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${NETGEN_CXX_FLAGS}")
check_cxx_source_compiles("#include <cstdio>\nint main(){}" CSTDIO_INCLUDE_TRY1)
if(NOT CSTDIO_INCLUDE_TRY1)
# Ugly hack to make <stdio.h> building gets function
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -U__cplusplus -D__cplusplus=201103L")
check_cxx_source_compiles("#include <cstdio>\nint main(){}" CSTDIO_INCLUDE_TRY2)
if(NOT CSTDIO_INCLUDE_TRY2)
message(FATAL_ERROR "Cannot #include <cstdio>.")
else()
set(NETGEN_CXX_FLAGS "${NETGEN_CXX_FLAGS} -U__cplusplus -D__cplusplus=201103L")
endif()
endif()
cmake_pop_check_state()
endif()
ENDIF()
MESSAGE(STATUS "Found NETGEN version ${NETGEN_VERSION_MAJOR}.${NETGEN_VERSION_MINOR}, calculated: ${NETGEN_VERSION}")
LIST(APPEND NETGEN_DEFINITIONS -DNETGEN_VERSION=${NETGEN_VERSION})
ELSE()
SET(NETGEN_FOUND FALSE)
ENDIF()
-80
View File
@@ -1,80 +0,0 @@
# - Try to find the Open Dynamics Engine library
# Once done this will define:
#
# ODE_FOUND - system has the ODE library
# ODE_INCLUDE_DIRS - the ODE include directory (include ODE headers with <ode/headername.h>)
# ODE_LIBRARIES - the ODE library
# ODE_DEFINITIONS - additional definitions necessary to use ODE (usually the precision flag)
if (ODE_INCLUDE_DIRS AND ODE_LIBRARIES)
# ODE has already been found and the necessary variables are cached
set(ODE_FOUND TRUE)
else (ODE_INCLUDE_DIRS AND ODE_LIBRARIES)
# Find ODE
# Use PkgConfig if possible
if (NOT WIN32)
find_package(PkgConfig)
pkg_check_modules(PC_ODE ode)
endif (NOT WIN32)
# Find include dir
find_path(ODE_INCLUDE_DIRS ode/ode.h
HINTS ${PC_ODE_INCLUDEDIR}
PATHS $ENV{OGRE_HOME}/include # ODE is shipped with the OGRE SDK
)
find_library(ODE_LIBRARIES ode
NAMES ode ${PC_ODE_LIBRARIES}
HINTS ${PC_ODE_LIBDIR}
PATHS $ENV{OGRE_HOME}/lib
)
# Decide if ODE was found
set(ODE_FOUND FALSE)
if (ODE_INCLUDE_DIRS AND ODE_LIBRARIES)
set(ODE_FOUND TRUE)
endif (ODE_INCLUDE_DIRS AND ODE_LIBRARIES)
# Find out extra definitions needed for ODE.
# This is mostly needed for the ODE's precision selector:
# ODE can be built either in single-precision (default) or double-precision mode. The app has
# to be built in the same mode, otherwise things will crash.
if (ODE_FOUND)
# If PkgConfig found anything, then use its results, otherwise use ode-config script
if (PC_ODE_FOUND)
# Take the definitions from PkgConfig results
set(ODE_DEFINITIONS ${PC_ODE_CFLAGS_OTHER} CACHE STRING "")
set(ODE_DEFINITIONS_FOUND TRUE)
else (PC_ODE_FOUND)
# Try to use ode-config
find_program(ODECONFIG_EXECUTABLE ode-config)
if (ODECONFIG_EXECUTABLE)
execute_process(COMMAND ${ODECONFIG_EXECUTABLE} --cflags OUTPUT_VARIABLE ODECONFIG_CFLAGS)
set(ODE_DEFINITIONS ${ODECONFIG_CFLAGS} CACHE STRING "")
set(ODE_DEFINITIONS_FOUND TRUE)
endif (ODECONFIG_EXECUTABLE)
endif (PC_ODE_FOUND)
endif (ODE_FOUND)
# Show messages
if (ODE_FOUND)
if (NOT ODE_FIND_QUIETLY)
message(STATUS "Found ODE: ${ODE_LIBRARIES}")
# Show the ODE precision if the definitions were detected
if (ODE_DEFINITIONS_FOUND)
if (ODE_DEFINITIONS MATCHES -DdDOUBLE)
message(STATUS "ODE uses double precision")
else (ODE_DEFINITIONS MATCHES -DdDOUBLE)
message(STATUS "ODE uses single precision")
endif (ODE_DEFINITIONS MATCHES -DdDOUBLE)
else (ODE_DEFINITIONS_FOUND)
message(STATUS "Warning: couldn't determine ODE's precision")
endif (ODE_DEFINITIONS_FOUND)
endif (NOT ODE_FIND_QUIETLY)
else (ODE_FOUND)
if (ODE_FIND_REQUIRED)
message(FATAL_ERROR "Could NOT find ODE")
endif (ODE_FIND_REQUIRED)
endif (ODE_FOUND)
endif(ODE_INCLUDE_DIRS AND ODE_LIBRARIES)
+1 -1
View File
@@ -1,7 +1,7 @@
# - Try to find OpenCV library installation
# See http://sourceforge.net/projects/opencvlibrary/
#
# The follwoing variables are optionally searched for defaults
# The following variables are optionally searched for defaults
# OpenCV_ROOT_DIR: Base directory of OpenCv tree to use.
# OpenCV_FIND_REQUIRED_COMPONENTS : FIND_PACKAGE(OpenCV COMPONENTS ..)
# compatible interface. typically CV CXCORE CVAUX HIGHGUI CVCAM .. etc.
+87 -35
View File
@@ -1,4 +1,4 @@
# Try to find OCC
# Try to find OCE / OCC
# Once done this will define
#
# OCC_FOUND - system has OCC - OpenCASCADE
@@ -7,56 +7,100 @@
# OCC_LIBRARIES - Link this to use OCC
# OCC_OCAF_LIBRARIES - Link this to use OCC OCAF framework
# First try to find OpenCASCADE Community Edition
if(NOT DEFINED OCE_DIR)
# Check for OSX needs to come first because UNIX evaluates to true on OSX
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
if(DEFINED MACPORTS_PREFIX)
find_package(OCE QUIET HINTS ${MACPORTS_PREFIX}/Library/Frameworks)
elseif(DEFINED HOMEBREW_PREFIX)
find_package(OCE QUIET HINTS ${HOMEBREW_PREFIX}/Cellar/oce/*)
endif()
elseif(UNIX)
set(OCE_DIR "/usr/local/share/cmake/")
elseif(WIN32)
set(OCE_DIR "c:/OCE-0.4.0/share/cmake")
endif()
endif()
IF (WIN32)
IF (CYGWIN OR MINGW)
if(${FREECAD_USE_OCC_VARIANT} MATCHES "Community Edition")
find_package(OCE QUIET)
endif()
if(OCE_FOUND)
message(STATUS "-- OpenCASCADE Community Edition has been found.")
# Disable this define. For more details see bug #0001872
#add_definitions (-DHAVE_CONFIG_H)
set(OCC_INCLUDE_DIR ${OCE_INCLUDE_DIRS})
#set(OCC_LIBRARY_DIR ${OCE_LIBRARY_DIR})
else(OCE_FOUND) #look for OpenCASCADE
if(WIN32)
if(CYGWIN OR MINGW)
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
/usr/include/opencascade
/usr/local/include/opencascade
/opt/opencascade/include
/opt/opencascade/inc
)
FIND_LIBRARY(OCC_LIBRARY TKernel
/usr/lib
/usr/local/lib
/opt/opencascade/lib
)
else(CYGWIN OR MINGW)
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\OCC\\2;Installation Path]/include"
)
FIND_LIBRARY(OCC_LIBRARY TKernel
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\OCC\\2;Installation Path]/lib"
)
endif(CYGWIN OR MINGW)
else(WIN32)
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
/usr/include/opencascade
/usr/local/include/opencascade
/opt/opencascade/include
/opt/opencascade/inc
)
FIND_LIBRARY(OCC_LIBRARY TKernel
/usr/lib
/usr/local/lib
/opt/opencascade/lib
)
endif(WIN32)
if(OCC_LIBRARY)
GET_FILENAME_COMPONENT(OCC_LIBRARY_DIR ${OCC_LIBRARY} PATH)
IF(NOT OCC_INCLUDE_DIR)
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
${OCC_LIBRARY_DIR}/../inc
)
ENDIF()
endif(OCC_LIBRARY)
endif(OCE_FOUND)
ELSE (CYGWIN OR MINGW)
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\OCC\\2;Installation Path]/include"
)
FIND_LIBRARY(OCC_LIBRARY TKernel
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\OCC\\2;Installation Path]/lib"
)
ENDIF (CYGWIN OR MINGW)
ELSE (WIN32)
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
/usr/include/opencascade
/usr/local/include/opencascade
/opt/opencascade/include
if(OCC_INCLUDE_DIR)
file(STRINGS ${OCC_INCLUDE_DIR}/Standard_Version.hxx OCC_MAJOR
REGEX "#define OCC_VERSION_MAJOR.*"
)
FIND_LIBRARY(OCC_LIBRARY TKernel
/usr/lib
/usr/local/lib
/opt/opencascade/lib
string(REGEX MATCH "[0-9]+" OCC_MAJOR ${OCC_MAJOR})
file(STRINGS ${OCC_INCLUDE_DIR}/Standard_Version.hxx OCC_MINOR
REGEX "#define OCC_VERSION_MINOR.*"
)
string(REGEX MATCH "[0-9]+" OCC_MINOR ${OCC_MINOR})
file(STRINGS ${OCC_INCLUDE_DIR}/Standard_Version.hxx OCC_MAINT
REGEX "#define OCC_VERSION_MAINTENANCE.*"
)
string(REGEX MATCH "[0-9]+" OCC_MAINT ${OCC_MAINT})
ENDIF (WIN32)
set(OCC_VERSION_STRING "${OCC_MAJOR}.${OCC_MINOR}.${OCC_MAINT}")
endif(OCC_INCLUDE_DIR)
# handle the QUIETLY and REQUIRED arguments and set OCC_FOUND to TRUE if
# all listed variables are TRUE
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(OCC REQUIRED_VARS OCC_INCLUDE_DIR VERSION_VAR OCC_VERSION_STRING)
SET(OCC_FOUND FALSE)
IF(OCC_LIBRARY)
GET_FILENAME_COMPONENT(OCC_LIBRARY_DIR ${OCC_LIBRARY} PATH)
SET(OCC_FOUND TRUE)
if(OCC_FOUND)
set(OCC_LIBRARIES
TKFillet
TKMesh
@@ -68,8 +112,10 @@ IF(OCC_LIBRARY)
TKSTL
TKShHealing
TKXSBase
TKBin
TKBool
TKBO
TKCDF
TKBRep
TKTopAlgo
TKGeomAlgo
@@ -89,7 +135,13 @@ IF(OCC_LIBRARY)
TKXDESTEP
TKXDEIGES
TKMeshVS
TKAdvTools
)
ENDIF(OCC_LIBRARY)
if(OCC_VERSION_STRING VERSION_LESS 6.7.3)
list(APPEND OCC_OCAF_LIBRARIES TKAdvTools)
endif(OCC_VERSION_STRING VERSION_LESS 6.7.3)
message(STATUS "-- Found OCE/OpenCASCADE version: ${OCC_VERSION_STRING}")
message(STATUS "-- OCE/OpenCASCADE include directory: ${OCC_INCLUDE_DIR}")
message(STATUS "-- OCE/OpenCASCADE shared libraries directory: ${OCC_LIBRARY_DIR}")
else(OCC_FOUND)
#message(SEND_ERROR "Neither OpenCASCADE Community Edition nor OpenCasCade were found: will not build CAD modules!")
endif(OCC_FOUND)
+94
View File
@@ -0,0 +1,94 @@
# Try to find PySide2 utilities, PYSIDE2UIC and PYSIDE2RCC:
# PYSIDE2UICBINARY - Location of PYSIDE2UIC executable
# PYSIDE2RCCBINARY - Location of PYSIDE2RCC executable
# PYSIDE2_TOOLS_FOUND - PySide2 utilities found.
# Also provides macro similar to FindQt4.cmake's WRAP_UI and WRAP_RC,
# for the automatic generation of Python code from Qt4's user interface
# ('.ui') and resource ('.qrc') files. These macros are called:
# - PYSIDE_WRAP_UI
# - PYSIDE_WRAP_RC
IF(PYSIDE2UICBINARY AND PYSIDE2RCCBINARY)
# Already in cache, be silent
set(PYSIDE2_TOOLS_FOUND_QUIETLY TRUE)
ENDIF(PYSIDE2UICBINARY AND PYSIDE2RCCBINARY)
if(WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
#pyside2 tools are often in same location as python interpreter
get_filename_component(PYTHON_BIN_DIR ${PYTHON_EXECUTABLE} PATH)
set(PYSIDE_BIN_DIR ${PYTHON_BIN_DIR})
endif(WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
FIND_PROGRAM(PYSIDE2UICBINARY NAMES python2-pyside2-uic pyside2-uic pyside2-uic-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} HINTS ${PYSIDE_BIN_DIR})
FIND_PROGRAM(PYSIDE2RCCBINARY NAMES pyside2-rcc pyside2-rcc-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} HINTS ${PYSIDE_BIN_DIR})
MACRO(PYSIDE_WRAP_UI outfiles)
FOREACH(it ${ARGN})
GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.py)
#ADD_CUSTOM_TARGET(${it} ALL
# DEPENDS ${outfile}
#)
if(WIN32)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYSIDE2UICBINARY} ${infile} -o ${outfile}
MAIN_DEPENDENCY ${infile}
)
else(WIN32)
# Especially on Open Build Service we don't want changing date like
# pyside2-uic generates in comments at beginning.
EXECUTE_PROCESS(
COMMAND ${PYSIDE2UICBINARY} ${infile}
COMMAND sed "/^# /d"
OUTPUT_FILE ${outfile}
)
endif(WIN32)
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH(it)
ENDMACRO (PYSIDE_WRAP_UI)
MACRO(PYSIDE_WRAP_RC outfiles)
FOREACH(it ${ARGN})
GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/${outfile}_rc.py)
#ADD_CUSTOM_TARGET(${it} ALL
# DEPENDS ${outfile}
#)
if(WIN32)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYSIDE2RCCBINARY} ${infile} -o ${outfile}
MAIN_DEPENDENCY ${infile}
)
else(WIN32)
# Especially on Open Build Service we don't want changing date like
# pyside2-rcc generates in comments at beginning.
EXECUTE_PROCESS(
COMMAND ${PYSIDE2RCCBINARY} ${infile}
COMMAND sed "/^# /d"
OUTPUT_FILE ${outfile}
)
endif(WIN32)
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH(it)
ENDMACRO (PYSIDE_WRAP_RC)
IF(EXISTS ${PYSIDE2UICBINARY} AND EXISTS ${PYSIDE2RCCBINARY})
set(PYSIDE2_TOOLS_FOUND TRUE)
ENDIF(EXISTS ${PYSIDE2UICBINARY} AND EXISTS ${PYSIDE2RCCBINARY})
if(PYSIDE2RCCBINARY AND PYSIDE2UICBINARY)
if (NOT PySide2Tools_FIND_QUIETLY)
message(STATUS "Found PySide2 tools: ${PYSIDE2UICBINARY}, ${PYSIDE2RCCBINARY}")
endif (NOT PySide2Tools_FIND_QUIETLY)
else(PYSIDE2RCCBINARY AND PYSIDE2UICBINARY)
if(PySide2Tools_FIND_REQUIRED)
message(FATAL_ERROR "PySide2 tools could not be found, but are required.")
else(PySide2Tools_FIND_REQUIRED)
if (NOT PySide2Tools_FIND_QUIETLY)
message(STATUS "PySide2 tools: not found.")
endif (NOT PySide2Tools_FIND_QUIETLY)
endif(PySide2Tools_FIND_REQUIRED)
endif(PYSIDE2RCCBINARY AND PYSIDE2UICBINARY)
+99
View File
@@ -0,0 +1,99 @@
# Try to find PySide utilities, PYSIDEUIC4 and PYSIDERCC4:
# PYSIDEUIC4BINARY - Location of PYSIDEUIC4 executable
# PYSIDERCC4BINARY - Location of PYSIDERCC4 executable
# PYSIDE_TOOLS_FOUND - PySide utilities found.
# Also provides macro similar to FindQt4.cmake's WRAP_UI and WRAP_RC,
# for the automatic generation of Python code from Qt4's user interface
# ('.ui') and resource ('.qrc') files. These macros are called:
# - PYSIDE_WRAP_UI
# - PYSIDE_WRAP_RC
IF(PYSIDEUIC4BINARY AND PYSIDERCC4BINARY)
# Already in cache, be silent
set(PYSIDE_TOOLS_FOUND_QUIETLY TRUE)
ENDIF(PYSIDEUIC4BINARY AND PYSIDERCC4BINARY)
if(WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
#pyside tools are often in same location as python interpreter
get_filename_component(PYTHON_BIN_DIR ${PYTHON_EXECUTABLE} PATH)
set(PYSIDE_BIN_DIR ${PYTHON_BIN_DIR})
endif(WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
FIND_PROGRAM(PYSIDEUIC4BINARY NAMES python2-pyside-uic pyside-uic pyside-uic-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} HINTS ${PYSIDE_BIN_DIR})
FIND_PROGRAM(PYSIDERCC4BINARY NAMES pyside-rcc pyside-rcc-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} HINTS ${PYSIDE_BIN_DIR})
MACRO(PYSIDE_WRAP_UI outfiles)
FOREACH(it ${ARGN})
GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.py)
#ADD_CUSTOM_TARGET(${it} ALL
# DEPENDS ${outfile}
#)
if(WIN32)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYSIDEUIC4BINARY} ${infile} -o ${outfile}
MAIN_DEPENDENCY ${infile}
)
else(WIN32)
# Especially on Open Build Service we don't want changing date like
# pyside-uic generates in comments at beginning.
EXECUTE_PROCESS(
COMMAND ${PYSIDEUIC4BINARY} ${infile}
COMMAND sed "/^# /d"
OUTPUT_FILE ${outfile}
)
endif(WIN32)
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH(it)
ENDMACRO (PYSIDE_WRAP_UI)
MACRO(PYSIDE_WRAP_RC outfiles)
FOREACH(it ${ARGN})
GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/${outfile}_rc.py)
#ADD_CUSTOM_TARGET(${it} ALL
# DEPENDS ${outfile}
#)
if (${PYTHON_VERSION_MAJOR} LESS 3)
SET(PY_ATTRIBUTE "")
else (${PYTHON_VERSION_MAJOR} LESS 3)
SET(PY_ATTRIBUTE "-py3")
endif (${PYTHON_VERSION_MAJOR} LESS 3)
if(WIN32)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYSIDERCC4BINARY} ${infile} ${PY_ATTRIBUTE} -o ${outfile}
MAIN_DEPENDENCY ${infile}
)
else(WIN32)
# Especially on Open Build Service we don't want changing date like
# pyside-rcc generates in comments at beginning.
EXECUTE_PROCESS(
COMMAND ${PYSIDERCC4BINARY} ${infile} ${PY_ATTRIBUTE}
COMMAND sed "/^# /d"
OUTPUT_FILE ${outfile}
)
endif(WIN32)
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH(it)
ENDMACRO (PYSIDE_WRAP_RC)
IF(EXISTS ${PYSIDEUIC4BINARY} AND EXISTS ${PYSIDERCC4BINARY})
set(PYSIDE_TOOLS_FOUND TRUE)
ENDIF(EXISTS ${PYSIDEUIC4BINARY} AND EXISTS ${PYSIDERCC4BINARY})
if(PYSIDERCC4BINARY AND PYSIDEUIC4BINARY)
if (NOT PySideTools_FIND_QUIETLY)
message(STATUS "Found PySide Tools: ${PYSIDEUIC4BINARY}, ${PYSIDERCC4BINARY}")
endif (NOT PySideTools_FIND_QUIETLY)
else(PYSIDERCC4BINARY AND PYSIDEUIC4BINARY)
if(PySideTools_FIND_REQUIRED)
message(FATAL_ERROR "PySideTools could not be found, but are required.")
else(PySideTools_FIND_REQUIRED)
if (NOT PySideTools_FIND_QUIETLY)
message(STATUS "PySideTools: not found.")
endif (NOT PySideTools_FIND_QUIETLY)
endif(PySideTools_FIND_REQUIRED)
endif(PYSIDERCC4BINARY AND PYSIDEUIC4BINARY)
+100
View File
@@ -0,0 +1,100 @@
# Find OCULUS
#
# This module defines
# OCULUS_FOUND
# OCULUS_INCLUDE_DIRS
# OCULUS_LIBRARIES
#
# Copyright (c) 2012 I-maginer
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place - Suite 330, Boston, MA 02111-1307, USA, or go to
# http://www.gnu.org/copyleft/lesser.txt
#
# On a new cmake run, we do not need to be verbose
IF(OCULUS_INCLUDE_DIR AND OCULUS_LIBRARY)
SET(OCULUS_FIND_QUIETLY FALSE)
ENDIF()
# If OCULUS_ROOT was defined in the environment, use it.
if (NOT OCULUS_ROOT)
if(NOT "$ENV{OCULUS_ROOT}" STREQUAL "")
set(OCULUS_ROOT $ENV{OCULUS_ROOT})
else()
set(OCULUS_ROOT $ENV{SCOL_DEPENDENCIES_PATH}/oculus/LibOVR)
endif()
endif()
# concat all the search paths
IF(OCULUS_ROOT)
SET(OCULUS_INCLUDE_SEARCH_DIRS
${OCULUS_INCLUDE_SEARCH_DIRS}
${OCULUS_ROOT}/include
)
SET(OCULUS_LIBRARY_SEARCH_RELEASE_DIRS
${OCULUS_LIBRARY_SEARCH_DIRS}
${OCULUS_ROOT}/Lib/x64/VS2012
)
SET(OCULUS_LIBRARY_SEARCH_DEBUG_DIRS
${OCULUS_LIBRARY_SEARCH_DIRS}
${OCULUS_ROOT}/Lib/x64/VS2012
)
ENDIF()
# log message
IF (NOT OCULUS_FIND_QUIETLY)
MESSAGE(STATUS "Checking for OCULUS library")
ENDIF()
# Search for header files
FIND_PATH(OCULUS_INCLUDE_DIR OVR.h
PATHS ${OCULUS_INCLUDE_SEARCH_DIRS})
# Search for libraries files (release mode)
FIND_LIBRARY(OCULUS_LIBRARY_RELEASE libovr64
PATHS ${OCULUS_LIBRARY_SEARCH_RELEASE_DIRS})
# Search for libraries files (debug mode)
FIND_LIBRARY(OCULUS_LIBRARY_DEBUG libovr64d
PATHS ${OCULUS_LIBRARY_SEARCH_DEBUG_DIRS})
# Configure libraries for debug/release
SET(OCULUS_INCLUDE_DIRS ${OCULUS_INCLUDE_DIR} CACHE PATH "Directory containing OCULUS header files")
SET(OCULUS_LIBRARY debug ${OCULUS_LIBRARY_DEBUG} optimized ${OCULUS_LIBRARY_RELEASE})
SET(OCULUS_LIBRARIES ${OCULUS_LIBRARY} CACHE STRING "OCULUS libraries files")
#IF(OCULUS_INCLUDE_DIR AND OCULUS_LIBRARY)
SET(OCULUS_FOUND TRUE)
#ENDIF()
# Hide those variables in GUI
SET(OCULUS_INCLUDE_DIR ${OCULUS_INCLUDE_DIR} CACHE INTERNAL "")
SET(OCULUS_LIBRARY_RELEASE ${OCULUS_LIBRARY_RELEASE} CACHE INTERNAL "")
SET(OCULUS_LIBRARY_DEBUG ${OCULUS_LIBRARY_DEBUG} CACHE INTERNAL "")
SET(OCULUS_LIBRARY ${OCULUS_LIBRARY} CACHE INTERNAL "")
# log find result
IF(OCULUS_FOUND)
IF(NOT OCULUS_FIND_QUIETLY)
MESSAGE(STATUS " libraries: ${OCULUS_LIBRARIES}")
MESSAGE(STATUS " includes: ${OCULUS_INCLUDE_DIRS}")
ENDIF()
ELSE(OCULUS_FOUND)
IF(NOT OCULUS_LIBRARIES)
MESSAGE(STATUS, "OCULUS library or one of it dependencies could not be found.")
ENDIF()
IF(NOT OCULUS_INCLUDE_DIRS)
MESSAGE(STATUS "OCULUS include files could not be found.")
ENDIF()
ENDIF(OCULUS_FOUND)
+6 -4
View File
@@ -9,12 +9,14 @@
IF (CMAKE_COMPILER_IS_GNUCC)
FIND_PATH(SMESH_INCLUDE_DIR SMESH_Mesh.hxx
/usr/include
/usr/local/include
# These are default search paths, why specify them?
# /usr/include
# /usr/local/include
PATH_SUFFIXES smesh
)
FIND_LIBRARY(SMESH_LIBRARY SMESH
/usr/lib
/usr/local/lib
# /usr/lib
# /usr/local/lib
)
ELSE (CMAKE_COMPILER_IS_GNUCC)
# Not yet implemented
-115
View File
@@ -1,115 +0,0 @@
#############################################################################
# Description:
# Try to find SoQt library.
# Once run this will define:
#
# SOQT_FOUND
# SOQT_LIBRARIES
# SOQT_LIBRARY_RELEASE
# SOQT_LIBRARY_DEBUG
#
#############################################################################
IF(UNIX OR WIN32)
IF(WIN32)
IF(MINGW)
FIND_LIBRARY(SOQT_LIBRARY
NAMES SoQt #only shared libraries under windows
PATHS
/usr/lib
/usr/local/lib
/lib
"$ENV{COINDIR}/lib"
)
ELSE(MINGW)
FIND_LIBRARY(SOQT_LIBRARY_RELEASE
#only shared libraries under windows
NAMES soqt1
PATHS
"$ENV{COINDIR}/lib"
)
FIND_LIBRARY(SOQT_LIBRARY_DEBUG
NAMES soqt1d #only shared libraries under windows
PATHS
"$ENV{COINDIR}/lib"
)
FIND_PATH(SOQT_INCLUDE_PATH Inventor/Qt/SoQt.h
"$ENV{COINDIR}/include"
"$ENV{INCLUDE}"
)
MARK_AS_ADVANCED(
SOQT_LIBRARY_DEBUG
SOQT_LIBRARY_RELEASE
SOQT_INCLUDE_PATH
)
ENDIF(MINGW)
ELSE(WIN32)
FIND_LIBRARY(SOQT_LIBRARY
NAMES SoQt #only shared libraries under windows
PATHS
/usr/lib
/usr/local/lib
/lib
"$ENV{COINDIR}/lib"
)
#MESSAGE(STATUS "DBG SOQT_LIBRARY=${SOQT_LIBRARY}")
ENDIF(WIN32)
## --------------------------------
IF(SOQT_LIBRARY OR SOQT_LIBRARY_DEBUG OR SOQT_LIBRARY_RELEASE)
IF(WIN32)
IF(SOQT_LIBRARY_RELEASE AND NOT SOQT_LIBRARY_DEBUG)
SET(SOQT_LIBRARY_RELEASE ${SOQT_LIBRARY_RELEASE})
ENDIF(SOQT_LIBRARY_RELEASE AND NOT SOQT_LIBRARY_DEBUG)
IF(SOQT_LIBRARY_DEBUG AND NOT SOQT_LIBRARY_RELEASE)
SET(SOQT_LIBRARY_DEBUG ${SOQT_LIBRARY_DEBUG})
ENDIF(SOQT_LIBRARY_DEBUG AND NOT SOQT_LIBRARY_RELEASE)
IF(SOQT_LIBRARY_RELEASE AND SOQT_LIBRARY_DEBUG)
SET(SOQT_LIBRARY_RELEASE ${SOQT_LIBRARY_RELEASE})
SET(SOQT_LIBRARY_DEBUG ${SOQT_LIBRARY_DEBUG})
ENDIF(SOQT_LIBRARY_RELEASE AND SOQT_LIBRARY_DEBUG)
IF(MINGW)
SET(SOQT_LIBRARIES ${SOQT_LIBRARY})
MARK_AS_ADVANCED(
SOQT_LIBRARIES
SOQT_LIBRARY
)
ENDIF(MINGW)
ELSE(WIN32)
SET(SOQT_LIBRARIES ${SOQT_LIBRARY})
MARK_AS_ADVANCED(
SOQT_LIBRARIES
SOQT_LIBRARY
)
ENDIF(WIN32)
SET(SOQT_FOUND TRUE)
ELSE(SOQT_LIBRARY OR SOQT_LIBRARY_DEBUG OR SOQT_LIBRARY_RELEASE)
SET(SOQT_FOUND FALSE)
#MESSAGE("SoQt library not found.")
ENDIF(SOQT_LIBRARY OR SOQT_LIBRARY_DEBUG OR SOQT_LIBRARY_RELEASE)
IF(WIN32)
IF(SOQT_INCLUDE_PATH)
set(SOQT_INCLUDE_DIR ${SOQT_INCLUDE_PATH})
ELSE(SOQT_INCLUDE_PATH)
#MESSAGE("Can not find SoQt includes")
ENDIF(SOQT_INCLUDE_PATH)
MARK_AS_ADVANCED(
SOQT_INCUDE_DIR
)
ENDIF(WIN32)
#MESSAGE(STATUS "SOQT_FOUND : ${SOQT_FOUND}")
ELSE(UNIX OR WIN32)
SET(SOQT_FOUND FALSE)
ENDIF(UNIX OR WIN32)
+1 -1
View File
@@ -1,7 +1,7 @@
# - Try to find Windows Installer XML
# See http://wix.sourceforge.net
#
# The follwoing variables are optionally searched for defaults
# The following variables are optionally searched for defaults
# WIX_ROOT_DIR: Base directory of WIX2 tree to use.
#
# The following are set after configuration is done:
+15 -12
View File
@@ -4,11 +4,12 @@
# Modified by Jos van den Oever
# This module defines
# XERCESC_INCLUDE_DIR, where to find ptlib.h, etc.
# XERCESC_LIBRARIES, the libraries to link against to use pwlib.
# XERCESC_FOUND, If false, don't try to use pwlib.
# XercesC_INCLUDE_DIRS, where to find ptlib.h, etc.
# XercesC_LIBRARIES, the libraries to link against to use pwlib.
# XercesC_FOUND, If false, don't try to use pwlib.
FIND_PATH(XERCESC_INCLUDE_DIR xercesc/dom/DOM.hpp
FIND_PATH(XercesC_INCLUDE_DIRS xercesc/dom/DOM.hpp
${CMAKE_INCLUDE_PATH}
"[HKEY_CURRENT_USER\\software\\xerces-c\\src]"
"[HKEY_CURRENT_USER\\xerces-c\\src]"
$ENV{XERCESCROOT}/src/
@@ -16,10 +17,12 @@ FIND_PATH(XERCESC_INCLUDE_DIR xercesc/dom/DOM.hpp
/usr/include
)
FIND_LIBRARY(XERCESC_LIBRARIES
FIND_LIBRARY(XercesC_LIBRARIES
NAMES
xerces-c
xerces-c_3
PATHS
${CMAKE_LIBRARY_PATH}
"[HKEY_CURRENT_USER\\software\\xerces-c\\lib]"
"[HKEY_CURRENT_USER\\xerces-c\\lib]"
$ENV{XERCESCROOT}/${LIB_DESTINATION}
@@ -28,21 +31,21 @@ FIND_LIBRARY(XERCESC_LIBRARIES
)
# if the include a the library are found then we have it
IF(XERCESC_INCLUDE_DIR AND XERCESC_LIBRARIES)
SET(XERCESC_FOUND "YES" )
IF(XercesC_INCLUDE_DIRS AND XercesC_LIBRARIES)
SET(XercesC_FOUND "YES" )
IF(NOT XERCESC__FIND_QUIETLY)
MESSAGE(STATUS "Found Xerces-C: ${XERCESC_LIBRARIES}")
MESSAGE(STATUS "Found Xerces-C: ${XercesC_LIBRARIES}")
ENDIF(NOT XERCESC__FIND_QUIETLY)
ELSE(XERCESC_INCLUDE_DIR AND XERCESC_LIBRARIES)
ELSE(XercesC_INCLUDE_DIRS AND XercesC_LIBRARIES)
IF(XERCESC_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Xerces-C was not found.")
ENDIF(XERCESC_FIND_REQUIRED)
IF(NOT XERCESC__FIND_QUIETLY)
MESSAGE(STATUS "Xerces-C was not found.")
ENDIF(NOT XERCESC__FIND_QUIETLY)
ENDIF(XERCESC_INCLUDE_DIR AND XERCESC_LIBRARIES)
ENDIF(XercesC_INCLUDE_DIRS AND XercesC_LIBRARIES)
#MARK_AS_ADVANCED(
# XERCESC_INCLUDE_DIR
# XERCESC_LIBRARIES
# XercesC_INCLUDE_DIRS
# XercesC_LIBRARIES
#)
+16 -7
View File
@@ -1,3 +1,5 @@
include (CheckCXXSourceRuns)
# ================================================================================
# == Macros, mostly for special targets ==========================================
@@ -220,24 +222,28 @@ MACRO(SET_BIN_DIR ProjectName OutputName)
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}${ARGV2})
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}${ARGV2})
set_target_properties(${ProjectName} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}${ARGV2})
set_target_properties(${ProjectName} PROPERTIES LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}${ARGV2})
set_target_properties(${ProjectName} PROPERTIES LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}${ARGV2})
else(${ARGC} GREATER 2)
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/bin)
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/bin)
set_target_properties(${ProjectName} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set_target_properties(${ProjectName} PROPERTIES LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/lib)
set_target_properties(${ProjectName} PROPERTIES LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/lib)
endif(${ARGC} GREATER 2)
if(WIN32)
set_target_properties(${ProjectName} PROPERTIES DEBUG_OUTPUT_NAME ${OutputName}_d)
else(WIN32)
# FreeCADBase, SMDS, Driver and MEFISTO2 libs don't depend on parts from CMAKE_INSTALL_LIBDIR
if(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2)$")
# FreeCADBase, SMDS, Driver, MEFISTO2 and area-native libs don't depend on parts from CMAKE_INSTALL_LIBDIR
if(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2|area-native)$")
if(${ARGC} STREQUAL 4)
set_target_properties(${ProjectName} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}${ARGV3})
set_property(TARGET ${ProjectName} APPEND PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}${ARGV3})
else(${ARGC} STREQUAL 4)
set_target_properties(${ProjectName} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_LIBDIR})
endif(${ARGC} STREQUAL 4)
endif(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2)$")
set_property(TARGET ${ProjectName} APPEND PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_LIBDIR})
endif()
endif()
endif(WIN32)
ENDMACRO(SET_BIN_DIR)
@@ -249,5 +255,8 @@ MACRO(SET_PYTHON_PREFIX_SUFFIX ProjectName)
if(WIN32)
set_target_properties(${ProjectName} PROPERTIES SUFFIX ".pyd")
# 0000661: cmake build on Mac OS: dealing with dylib versus so
elseif(APPLE)
set_target_properties(${ProjectName} PROPERTIES SUFFIX ".so")
endif(WIN32)
ENDMACRO(SET_PYTHON_PREFIX_SUFFIX)
ENDMACRO(SET_PYTHON_PREFIX_SUFFIX)
+533
View File
@@ -0,0 +1,533 @@
# ================================================================================
# == Win32 is default behaviour use the LibPack copied in Source tree ============
# --------------------------------------------------------------------------------
# General includes
link_directories(${FREECAD_LIBPACK_DIR}/lib)
include_directories(${FREECAD_LIBPACK_DIR}/include)
# OpenGL
set(OPENGL_gl_LIBRARY opengl32 glu32)
# Python
set(PYTHON_LIBRARIES optimized python27.lib debug python27_d.lib)
set(PYTHON_INCLUDE_PATH ${FREECAD_LIBPACK_DIR}/include/Python-2.7.5)
set(PYTHON_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/Python-2.7.5)
set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe)
set(PYTHONLIBS_FOUND TRUE)
# XercesC
set(XercesC_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/xerces-c-3.1.1)
set(XercesC_LIBRARIES xerces-c_3.lib)
set(XercesC_DEBUG_LIBRARIES xerces-c_3D.lib)
set(XercesC_FOUND TRUE)
# Boost
set(Boost_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/boost-1_55)
set(Boost_LIBRARIES
optimized boost_filesystem-vc110-mt-1_55.lib
optimized boost_system-vc110-mt-1_55.lib
optimized boost_graph-vc110-mt-1_55.lib
optimized boost_program_options-vc110-mt-1_55.lib
optimized boost_python-vc110-mt-1_55.lib
optimized boost_regex-vc110-mt-1_55.lib
optimized boost_signals-vc110-mt-1_55.lib
optimized boost_thread-vc110-mt-1_55.lib
debug boost_filesystem-vc110-mt-gd-1_55.lib
debug boost_system-vc110-mt-gd-1_55.lib
debug boost_graph-vc110-mt-gd-1_55.lib
debug boost_program_options-vc110-mt-gd-1_55.lib
debug boost_python-vc110-mt-gd-1_55.lib
debug boost_regex-vc110-mt-gd-1_55.lib
debug boost_signals-vc110-mt-gd-1_55.lib
debug boost_thread-vc110-mt-gd-1_55.lib
)
set(Boost_FOUND TRUE)
# Zlib
set(ZLIB_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/zlib-1.2.7)
set(ZLIB_LIBRARIES zlib.lib)
set(ZLIB_FOUND TRUE)
# SMESH
#set(SMESH_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/smesh)
#set(SMESH_LIBRARIES
# StdMeshers.lib
# MEFISTO2.lib
# SMESH.lib
# DriverUNV.lib
# SMESHDS.lib
# DriverSTL.lib
# DriverDAT.lib
# Driver.lib
# SMDS.lib
#)
set(SMESH_FOUND TRUE)
# Coin3D
find_path(COIN3D_INCLUDE_DIRS Inventor/So.h
${FREECAD_LIBPACK_DIR}/include/Coin-4.0.0
)
find_library(COIN3D_LIBRARY_RELEASE coin4
"${FREECAD_LIBPACK_DIR}/lib"
)
find_library(COIN3D_LIBRARY_DEBUG coin4d
"${FREECAD_LIBPACK_DIR}/lib"
)
set(COIN3D_LIBRARIES optimized ${COIN3D_LIBRARY_RELEASE}
debug ${COIN3D_LIBRARY_DEBUG})
set(COIN3D_FOUND TRUE)
# QT
set(QT_INCLUDE_DIR
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/Qt
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtCore
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtGui
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtDesigner
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtSvg
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtNetwork
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtSql
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtTest
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtUiTools
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtXml
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtOpenGl
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtWebKit
)
set(QT_QTCORE_INCLUDE_DIR
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/QtCore
)
set(QT_QT3SUPPORT_INCLUDE_DIR
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.6/Qt3Support
)
set(QT_LIBRARIES
optimized QtCore4.lib
optimized QtGui4.lib
optimized QtDesigner4.lib
optimized QtSvg4.lib
optimized QtNetwork4.lib
optimized QtSql4.lib
optimized QtTest4.lib
optimized QtXml4.lib
optimized QtOpenGl4.lib
optimized QtWebKit4.lib
debug QtCored4.lib
debug QtGuid4.lib
debug QtDesignerd4.lib
debug QtSvgd4.lib
debug QtNetworkd4.lib
debug QtSqld4.lib
debug QtTestd4.lib
debug QtXmld4.lib
debug QtOpenGld4.lib
debug QtWebKitd4.lib
)
set(QT_QTCORE_LIBRARY
optimized QtCore4.lib debug QtCored4.lib
)
set(QT_QTXML_LIBRARY
optimized QtXml4.lib debug QtXmld4.lib
)
set(QT_QT3SUPPORT_LIBRARY
optimized Qt3Support4.lib debug Qt3Supportd4.lib
)
set(QT_QTUITOOLS_LIBRARY
optimized QtUiTools.lib debug QtUiToolsd.lib
)
set(QT_QTMAIN_LIBRARY
debug qtmaind.lib optimized qtmain.lib
)
set(QT_UIC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/uic.exe)
set(QT_MOC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/moc.exe)
set(QT_RCC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/rcc.exe)
set(QT_HELPCOMPILER_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/qhelpgenerator.exe)
set(QT_COLLECTIOMGENERATOR_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/qcollectiongenerator.exe)
MACRO (QT4_EXTRACT_OPTIONS _qt4_files _qt4_options)
SET(${_qt4_files})
SET(${_qt4_options})
#SET(_QT4_DOING_OPTIONS FALSE)
FOREACH(_currentArg ${ARGN})
# IF ("${_currentArg}" STREQUAL "OPTIONS")
# SET(_QT4_DOING_OPTIONS TRUE)
# ELSE ("${_currentArg}" STREQUAL "OPTIONS")
# IF(_QT4_DOING_OPTIONS)
# LIST(APPEND ${_qt4_options} "${_currentArg}")
# ELSE(_QT4_DOING_OPTIONS)
LIST(APPEND ${_qt4_files} "${_currentArg}")
# ENDIF(_QT4_DOING_OPTIONS)
# ENDIF ("${_currentArg}" STREQUAL "OPTIONS")
ENDFOREACH(_currentArg)
ENDMACRO (QT4_EXTRACT_OPTIONS)
# macro used to create the names of output files preserving relative dirs
MACRO (QT4_MAKE_OUTPUT_FILE infile prefix ext outfile )
STRING(LENGTH ${CMAKE_CURRENT_BINARY_DIR} _binlength)
STRING(LENGTH ${infile} _infileLength)
SET(_checkinfile ${CMAKE_CURRENT_SOURCE_DIR})
IF(_infileLength GREATER _binlength)
STRING(SUBSTRING "${infile}" 0 ${_binlength} _checkinfile)
IF(_checkinfile STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
FILE(RELATIVE_PATH rel ${CMAKE_CURRENT_BINARY_DIR} ${infile})
ELSE(_checkinfile STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
FILE(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile})
ENDIF(_checkinfile STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
ELSE(_infileLength GREATER _binlength)
FILE(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile})
ENDIF(_infileLength GREATER _binlength)
SET(_outfile "${CMAKE_CURRENT_BINARY_DIR}/${rel}")
STRING(REPLACE ".." "__" _outfile ${_outfile})
GET_FILENAME_COMPONENT(outpath ${_outfile} PATH)
GET_FILENAME_COMPONENT(_outfile ${_outfile} NAME_WE)
FILE(MAKE_DIRECTORY ${outpath})
SET(${outfile} ${outpath}/${prefix}${_outfile}.${ext})
ENDMACRO (QT4_MAKE_OUTPUT_FILE )
MACRO (QT4_WRAP_CPP outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
QT4_MAKE_OUTPUT_FILE(${it} moc_ cpp outfile)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_MOC_EXECUTABLE}
ARGS ${moc_options} ${it} -o ${outfile}
MAIN_DEPENDENCY ${it}
)
SET(${outfiles} ${${outfiles}} ${outfile})
endforeach(it)
ENDMACRO (QT4_WRAP_CPP)
# This is a special version of the built in macro qt4_wrap_cpp
# It is required since moc'ed files are now included instead of being added to projects directly
# It adds a reverse dependency to solve this
# This has the unfortunate side effect that some files are always rebuilt
# There is probably a cleaner solution than this
include(AddFileDependencies)
macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
QT4_MAKE_OUTPUT_FILE(${it} moc_ cpp outfile)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_MOC_EXECUTABLE}
ARGS ${moc_options} ${it} -o ${outfile}
MAIN_DEPENDENCY ${it}
)
SET(${outfiles} ${${outfiles}} ${outfile})
add_file_dependencies(${it} ${outfile})
endforeach(it)
endmacro(fc_wrap_cpp)
MACRO (QT4_ADD_RESOURCES outfiles )
QT4_EXTRACT_OPTIONS(rcc_files rcc_options ${ARGN})
SET(ARGN)
FOREACH (it ${rcc_files})
GET_FILENAME_COMPONENT(outfilename ${it} NAME_WE)
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
GET_FILENAME_COMPONENT(rc_path ${infile} PATH)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cxx)
# parse file for dependencies
# all files are absolute paths or relative to the location of the qrc file
FILE(READ "${infile}" _RC_FILE_CONTENTS)
STRING(REGEX MATCHALL "<file[^<]+" _RC_FILES "${_RC_FILE_CONTENTS}")
SET(_RC_DEPENDS)
FOREACH(_RC_FILE ${_RC_FILES})
STRING(REGEX REPLACE "^<file[^>]*>" "" _RC_FILE "${_RC_FILE}")
STRING(REGEX MATCH "^/|([A-Za-z]:/)" _ABS_PATH_INDICATOR "${_RC_FILE}")
IF(NOT _ABS_PATH_INDICATOR)
SET(_RC_FILE "${rc_path}/${_RC_FILE}")
ENDIF(NOT _ABS_PATH_INDICATOR)
SET(_RC_DEPENDS ${_RC_DEPENDS} "${_RC_FILE}")
ENDFOREACH(_RC_FILE)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_RCC_EXECUTABLE}
ARGS ${rcc_options} -name ${outfilename} -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile}
DEPENDS ${_RC_DEPENDS})
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH (it)
ENDMACRO (QT4_ADD_RESOURCES)
MACRO (QT4_WRAP_UI outfiles )
QT4_EXTRACT_OPTIONS(ui_files ui_options ${ARGN})
FOREACH (it ${ui_files})
GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.h)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_UIC_EXECUTABLE}
ARGS -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile})
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH (it)
ENDMACRO (QT4_WRAP_UI)
set(QT4_FOUND TRUE)
# SoQt
set(SOQT_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/SoQt-1.6.0)
set(SOQT_LIBRARY_RELEASE soqt1.lib)
set(SOQT_LIBRARY_DEBUG soqt1d.lib)
set(SOQT_FOUND TRUE)
# OpenCV
set(OPENCV2_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/opencv)
set(OPENCV2_LIBRARIES
optimized opencv_calib3d249.lib
debug opencv_calib3d249d.lib
optimized opencv_contrib249.lib
debug opencv_contrib249d.lib
optimized opencv_core249.lib
debug opencv_core249d.lib
optimized opencv_features2d249.lib
debug opencv_features2d249d.lib
optimized opencv_flann249.lib
debug opencv_flann249d.lib
optimized opencv_gpu249.lib
debug opencv_gpu249d.lib
optimized opencv_highgui249.lib
debug opencv_highgui249d.lib
optimized opencv_imgproc249.lib
debug opencv_imgproc249d.lib
optimized opencv_legacy249.lib
debug opencv_legacy249d.lib
optimized opencv_ml249.lib
debug opencv_ml249d.lib
optimized opencv_nonfree249.lib
debug opencv_nonfree249d.lib
optimized opencv_objdetect249.lib
debug opencv_objdetect249d.lib
optimized opencv_ocl249.lib
debug opencv_ocl249d.lib
optimized opencv_photo249.lib
debug opencv_photo249d.lib
optimized opencv_stitching249.lib
debug opencv_stitching249d.lib
optimized opencv_superres249.lib
debug opencv_superres249d.lib
optimized opencv_ts249.lib
debug opencv_ts249d.lib
optimized opencv_video249.lib
debug opencv_video249d.lib
optimized opencv_videostab249.lib
debug opencv_videostab249d.lib
)
set(OPENCV2_FOUND TRUE)
# NGLIB (NetGen)
set(NGLIB_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/nglib/include)
set(NGLIB_LIBRARY_DIR
${FREECAD_LIBPACK_DIR}/lib
)
set(NGLIB_LIBRARIES
optimized nglib
)
set(NGLIB_DEBUG_LIBRARIES
debug nglibd
)
# Pointscloud library
set(PCL_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/pcl-1.7)
set(PCL_LIBRARY_DIRS ${FREECAD_LIBPACK_DIR}/lib)
set(PCL_COMMON_LIBRARIES optimized pcl_common_release debug pcl_common_debug)
set(PCL_FEATURES_LIBRARIES optimized pcl_features_release debug pcl_features_debug)
set(PCL_FILTERS_LIBRARIES optimized pcl_filters_release debug pcl_filters_debug)
set(PCL_IO_LIBRARIES optimized pcl_io_release debug pcl_io_debug)
set(PCL_IO_PLY_LIBRARIES optimized pcl_io_ply_release debug pcl_io_ply_debug)
set(PCL_KDTREE_LIBRARIES optimized pcl_kdtree_release debug pcl_kdtree_debug)
set(PCL_KEYPOINTS_LIBRARIES optimized pcl_keypoints_release debug pcl_keypoints_debug)
set(PCL_ML_LIBRARIES optimized pcl_ml_release debug pcl_ml_debug)
set(PCL_OCTREE_LIBRARIES optimized pcl_octree_release debug pcl_octree_debug)
set(PCL_RECOGNITION_LIBRARIES optimized pcl_recognition_release debug pcl_recognition_debug)
set(PCL_REGISTRATION_LIBRARIES optimized pcl_registration_release debug pcl_registration_debug)
set(PCL_SAMPLE_CONSENSUS_LIBRARIES optimized pcl_sample_consensus_release debug pcl_sample_consensus_debug)
set(PCL_SEARCH_LIBRARIES optimized pcl_search_release debug pcl_search_debug)
set(PCL_SEGMENTATION_LIBRARIES optimized pcl_segmentation_release debug pcl_segmentation_debug)
set(PCL_STEREO_LIBRARIES optimized pcl_stereo_release debug pcl_stereo_debug)
set(PCL_SURFACE_LIBRARIES optimized pcl_surface_release debug pcl_surface_debug)
set(PCL_TRACKING_LIBRARIES optimized pcl_tracking_release debug pcl_tracking_debug)
set(PCL_LIBRARIES
${PCL_COMMON_LIBRARIES}
${PCL_FEATURES_LIBRARIES}
${PCL_FILTERS_LIBRARIES}
${PCL_IO_LIBRARIES}
${PCL_IO_PLY_LIBRARIES}
${PCL_KDTREE_LIBRARIES}
${PCL_KEYPOINTS_LIBRARIES}
${PCL_ML_LIBRARIES}
${PCL_OCTREE_LIBRARIES}
${PCL_RECOGNITION_LIBRARIES}
${PCL_REGISTRATION_LIBRARIES}
${PCL_SAMPLE_CONSENSUS_LIBRARIES}
${PCL_SEARCH_LIBRARIES}
${PCL_SEGMENTATION_LIBRARIES}
${PCL_STEREO_LIBRARIES}
${PCL_SURFACE_LIBRARIES}
${PCL_TRACKING_LIBRARIES}
)
set(PCL_FOUND TRUE)
set(PCL_COMMON_FOUND TRUE)
set(PCL_FEATURES_FOUND TRUE)
set(PCL_FILTERS_FOUND TRUE)
set(PCL_IO_FOUND TRUE)
set(PCL_IO_PLY_FOUND TRUE)
set(PCL_KDTREE_FOUND TRUE)
set(PCL_KEYPOINTS_FOUND TRUE)
set(PCL_ML_FOUND TRUE)
set(PCL_OCTREE_FOUND TRUE)
set(PCL_RECOGNITION_FOUND TRUE)
set(PCL_REGISTRATION_FOUND TRUE)
set(PCL_SAMPLE_CONSENSUS_FOUND TRUE)
set(PCL_SEARCH_FOUND TRUE)
set(PCL_SEGMENTATION_FOUND TRUE)
set(PCL_STEREO_FOUND TRUE)
set(PCL_SURFACE_FOUND TRUE)
set(PCL_TRACKING_FOUND TRUE)
set(FLANN_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/flann-1.8)
set(OCC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/oce-0.15)
set(OCC_LIBRARY_DIR ${FREECAD_LIBPACK_DIR}/lib)
set(OCC_LIBRARIES
optimized TKFillet
optimized TKMesh
optimized TKernel
optimized TKG2d
optimized TKG3d
optimized TKMath
optimized TKIGES
optimized TKSTL
optimized TKShHealing
optimized TKXSBase
optimized TKBin
optimized TKBool
optimized TKBO
optimized TKBRep
optimized TKTopAlgo
optimized TKGeomAlgo
optimized TKGeomBase
optimized TKOffset
optimized TKPrim
optimized TKSTEP
optimized TKSTEPBase
optimized TKSTEPAttr
optimized TKHLR
optimized TKFeat
)
set(OCC_DEBUG_LIBRARIES
debug TKFilletd
debug TKMeshd
debug TKerneld
debug TKG2dd
debug TKG3dd
debug TKMathd
debug TKIGESd
debug TKSTLd
debug TKShHealingd
debug TKXSBased
debug TKBind
debug TKBoold
debug TKBOd
debug TKBRepd
debug TKTopAlgod
debug TKGeomAlgod
debug TKGeomBased
debug TKOffsetd
debug TKPrimd
debug TKSTEPd
debug TKSTEPBased
debug TKSTEPAttrd
debug TKHLRd
debug TKFeatd
)
set(OCC_OCAF_LIBRARIES
optimized TKCAF
optimized TKXCAF
optimized TKLCAF
optimized TKXDESTEP
optimized TKXDEIGES
optimized TKMeshVS
optimized TKAdvTools
)
set(OCC_OCAF_DEBUG_LIBRARIES
debug TKCAFd
debug TKXCAFd
debug TKLCAFd
debug TKXDESTEPd
debug TKXDEIGESd
debug TKMeshVSd
debug TKAdvToolsd
)
set(OCC_FOUND TRUE)
set(EIGEN3_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/eigen3)
set(EIGEN3_FOUND TRUE)
# FreeType
if(FREECAD_USE_FREETYPE)
set(FREETYPE_LIBRARIES
optimized ${FREECAD_LIBPACK_DIR}/lib/freetype.lib
debug ${FREECAD_LIBPACK_DIR}/lib/freetyped.lib
)
set(FREETYPE_INCLUDE_DIRS
${FREECAD_LIBPACK_DIR}/include/FreeType-2.4.12
)
set(FREETYPE_VERSION_STRING
"2.4.12"
)
set(FREETYPE_FOUND
TRUE
)
endif(FREECAD_USE_FREETYPE)
# SHIBOKEN_INCLUDE_DIR - Directories to include to use SHIBOKEN
# SHIBOKEN_LIBRARY - Files to link against to use SHIBOKEN
# SHIBOKEN_BINARY - Executable name
SET(SHIBOKEN_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/shiboken-1.2.2)
SET(SHIBOKEN_LIBRARY optimized ${FREECAD_LIBPACK_DIR}/lib/shiboken-python2.7.lib debug ${FREECAD_LIBPACK_DIR}/lib/shiboken-python2.7_d.lib)
set(SHIBOKEN_BINARY ${FREECAD_LIBPACK_DIR}/bin/shiboken)
# PYSIDE_INCLUDE_DIR - Directories to include to use PySide
# PYSIDE_LIBRARY - Files to link against to use PySide
# PYSIDE_PYTHONPATH - Path to where the PySide Python module files could be found
# PYSIDE_TYPESYSTEMS - Type system files that should be used by other bindings extending PySide
SET(PYSIDE_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/PySide-1.2.2)
SET(PYSIDE_LIBRARY optimized ${FREECAD_LIBPACK_DIR}/lib/pyside-python2.7.lib debug ${FREECAD_LIBPACK_DIR}/lib/pyside-python2.7_d.lib)
SET(PYSIDE_PYTHONPATH ${FREECAD_LIBPACK_DIR}/pyside/Lib/site-packages)
SET(PYSIDE_TYPESYSTEMS ${FREECAD_LIBPACK_DIR}/pyside/share/PySide/typesystems)
+28 -20
View File
@@ -11,17 +11,17 @@ include_directories(${FREECAD_LIBPACK_DIR}/include)
set(OPENGL_gl_LIBRARY opengl32 glu32)
# Python
set(PYTHON_DEBUG_LIBRARY python25_d.lib)
set(PYTHON_LIBRARY python25.lib)
set(PYTHON_LIBRARIES optimized python25.lib debug python25_d.lib)
set(PYTHON_INCLUDE_PATH ${FREECAD_LIBPACK_DIR}/include/python)
set(PYTHON_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/python)
set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe)
set(PYTHONLIBS_FOUND TRUE)
# XercesC
set(XERCESC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/xercesc)
set(XERCESC_LIBRARIES xerces-c_2.lib)
set(XERCESC_DEBUG_LIBRARIES xerces-c_2D.lib)
set(XERCESC_FOUND TRUE)
set(XercesC_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/xercesc)
set(XercesC_LIBRARIES xerces-c_2.lib)
set(XercesC_DEBUG_LIBRARIES xerces-c_2D.lib)
set(XercesC_FOUND TRUE)
# Boost
set(Boost_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/boost)
@@ -29,13 +29,13 @@ set(Boost_LIBRARIES
optimized boost_filesystem-vc80-mt.lib
#optimized boost_graph-vc80-mt.lib
optimized boost_program_options-vc80-mt.lib
optimized boost_python-vc80-mt.lib
optimized boost_regex-vc80-mt.lib
optimized boost_signals-vc80-mt.lib
)
set(Boost_DEBUG_LIBRARIES
debug boost_filesystem-vc80-mt-gd.lib
#debug boost_graph-vc80-mt-gd.lib
debug boost_program_options-vc80-mt-gd.lib
debug boost_python-vc80-mt-gd.lib
debug boost_regex-vc80-mt-gd.lib
debug boost_signals-vc80-mt-gd.lib
)
@@ -63,9 +63,11 @@ set(SMESH_LIBRARIES
set(SMESH_FOUND TRUE)
# Coin3D
set(COIN3D_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/coin)
set(COIN3D_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/coin)
set(COIN3D_LIBRARY_DEBUG coin2d.lib)
set(COIN3D_LIBRARY_RELEASE coin2.lib)
set(COIN3D_LIBRARIES optimized ${COIN3D_LIBRARY_RELEASE}
debug ${COIN3D_LIBRARY_DEBUG})
set(COIN3D_FOUND TRUE)
@@ -102,8 +104,6 @@ set(QT_LIBRARIES
optimized QtXml4.lib
optimized QtOpenGl4.lib
optimized QtWebKit4.lib
)
set(QT_DEBUG_LIBRARIES
debug QtCored4.lib
debug QtGuid4.lib
debug QtDesignerd4.lib
@@ -116,12 +116,24 @@ set(QT_DEBUG_LIBRARIES
debug QtWebKitd4.lib
)
set(QT_QTCORE_LIBRARY_DEBUG
debug QtCored4.lib
)
set(QT_QTCORE_LIBRARY
optimized QtCore4.lib
debug QtCored4.lib
)
set(QT_QTXML_LIBRARY
optimized QtXml4.lib
debug QtXmld4.lib
)
set(QT_QTUITOOLS_LIBRARY
optimized QtUiTools.lib
debug QtUiToolsd.lib
)
set(QT_QTMAIN_LIBRARY
debug qtmaind.lib
optimized qtmain.lib
)
set(QT_UIC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/uic.exe)
@@ -272,11 +284,6 @@ set(OPENCV_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/opencv)
set(OPENCV_LIBRARIES cv.lib cvaux.lib cxcore.lib cxts.lib highgui.lib)
set(OPENCV_FOUND TRUE)
# ODE
set(ODE_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include)
set(ODE_LIBRARIES ode_double.lib)
set(ODE_FOUND TRUE)
# OCC
set(OCC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/OpenCascade)
set(OCC_LIBRARY_DIR
@@ -293,6 +300,7 @@ set(OCC_LIBRARIES
TKSTL
TKShHealing
TKXSBase
TKBin
TKBool
TKBO
TKBRep
+28 -15
View File
@@ -11,17 +11,17 @@ include_directories(${FREECAD_LIBPACK_DIR}/include)
set(OPENGL_gl_LIBRARY opengl32 glu32)
# Python
set(PYTHON_DEBUG_LIBRARY python26_d.lib)
set(PYTHON_LIBRARY python26.lib)
set(PYTHON_LIBRARIES optimized python26.lib debug python26_d.lib)
set(PYTHON_INCLUDE_PATH ${FREECAD_LIBPACK_DIR}/include/python)
set(PYTHON_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/python)
set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe)
set(PYTHONLIBS_FOUND TRUE)
# XercesC
set(XERCESC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/xercesc)
set(XERCESC_LIBRARIES xerces-c_2.lib)
set(XERCESC_DEBUG_LIBRARIES xerces-c_2D.lib)
set(XERCESC_FOUND TRUE)
set(XercesC_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/xercesc)
set(XercesC_LIBRARIES xerces-c_2.lib)
set(XercesC_DEBUG_LIBRARIES xerces-c_2D.lib)
set(XercesC_FOUND TRUE)
# Boost
set(Boost_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/boost)
@@ -30,11 +30,10 @@ set(Boost_LIBRARIES
optimized boost_system-vc90-mt-1_39.lib
optimized boost_graph-vc90-mt-1_39.lib
optimized boost_program_options-vc90-mt-1_39.lib
optimized boost_python-vc90-mt-1_39.lib
optimized boost_regex-vc90-mt-1_39.lib
optimized boost_signals-vc90-mt-1_39.lib
optimized boost_thread-vc90-mt-1_39.lib
)
set(Boost_DEBUG_LIBRARIES
debug boost_filesystem-vc90-mt-gd-1_39.lib
debug boost_date_time-vc90-mt-gd-1_39.lib
debug boost_filesystem-vc90-mt-gd-1_39.lib
@@ -45,6 +44,7 @@ set(Boost_DEBUG_LIBRARIES
debug boost_system-vc90-mt-gd-1_39.lib
debug boost_graph-vc90-mt-gd-1_39.lib
debug boost_program_options-vc90-mt-gd-1_39.lib
debug boost_python-vc90-mt-gd-1_39.lib
debug boost_regex-vc90-mt-gd-1_39.lib
debug boost_signals-vc90-mt-gd-1_39.lib
)
@@ -72,9 +72,11 @@ set(SMESH_LIBRARIES
set(SMESH_FOUND TRUE)
# Coin3D
set(COIN3D_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/coin)
set(COIN3D_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/coin)
set(COIN3D_LIBRARY_DEBUG coin3d.lib)
set(COIN3D_LIBRARY_RELEASE coin3.lib)
set(COIN3D_LIBRARIES optimized ${COIN3D_LIBRARY_RELEASE}
debug ${COIN3D_LIBRARY_DEBUG})
set(COIN3D_FOUND TRUE)
@@ -111,8 +113,6 @@ set(QT_LIBRARIES
optimized QtXml4.lib
optimized QtOpenGl4.lib
optimized QtWebKit4.lib
)
set(QT_DEBUG_LIBRARIES
debug QtCored4.lib
debug QtGuid4.lib
debug QtDesignerd4.lib
@@ -125,12 +125,24 @@ set(QT_DEBUG_LIBRARIES
debug QtWebKitd4.lib
)
set(QT_QTCORE_LIBRARY_DEBUG
debug QtCored4.lib
)
set(QT_QTCORE_LIBRARY
optimized QtCore4.lib
debug QtCored4.lib
)
set(QT_QTXML_LIBRARY
optimized QtXml4.lib
debug QtXmld4.lib
)
set(QT_QTUITOOLS_LIBRARY
optimized QtUiTools.lib
debug QtUiToolsd.lib
)
set(QT_QTMAIN_LIBRARY
debug qtmaind.lib
optimized qtmain.lib
)
set(QT_UIC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/uic.exe)
@@ -299,6 +311,7 @@ set(OCC_LIBRARIES
TKSTL
TKShHealing
TKXSBase
TKBin
TKBool
TKBO
TKBRep
+29 -15
View File
@@ -11,17 +11,17 @@ include_directories(${FREECAD_LIBPACK_DIR}/include)
set(OPENGL_gl_LIBRARY opengl32 glu32)
# Python
set(PYTHON_DEBUG_LIBRARY python26_d.lib)
set(PYTHON_LIBRARY python26.lib)
set(PYTHON_LIBRARIES optimized python26.lib debug python26_d.lib)
set(PYTHON_INCLUDE_PATH ${FREECAD_LIBPACK_DIR}/include/python)
set(PYTHON_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/python)
set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe)
set(PYTHONLIBS_FOUND TRUE)
# XercesC
set(XERCESC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/xercesc)
set(XERCESC_LIBRARIES xerces-c_2.lib)
set(XERCESC_DEBUG_LIBRARIES xerces-c_2D.lib)
set(XERCESC_FOUND TRUE)
set(XercesC_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/xercesc)
set(XercesC_LIBRARIES xerces-c_2.lib)
set(XercesC_DEBUG_LIBRARIES xerces-c_2D.lib)
set(XercesC_FOUND TRUE)
# Boost
set(Boost_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/boost)
@@ -30,11 +30,10 @@ set(Boost_LIBRARIES
optimized boost_system-vc90-mt-1_48.lib
optimized boost_graph-vc90-mt-1_48.lib
optimized boost_program_options-vc90-mt-1_48.lib
optimized boost_python-vc90-mt-1_48.lib
optimized boost_regex-vc90-mt-1_48.lib
optimized boost_signals-vc90-mt-1_48.lib
optimized boost_thread-vc90-mt-1_48.lib
)
set(Boost_DEBUG_LIBRARIES
debug boost_filesystem-vc90-mt-gd-1_48.lib
debug boost_date_time-vc90-mt-gd-1_48.lib
debug boost_filesystem-vc90-mt-gd-1_48.lib
@@ -45,6 +44,7 @@ set(Boost_DEBUG_LIBRARIES
debug boost_system-vc90-mt-gd-1_48.lib
debug boost_graph-vc90-mt-gd-1_48.lib
debug boost_program_options-vc90-mt-gd-1_48.lib
debug boost_python-vc90-mt-gd-1_48.lib
debug boost_regex-vc90-mt-gd-1_48.lib
debug boost_signals-vc90-mt-gd-1_48.lib
)
@@ -84,9 +84,11 @@ set(ZLIB_FOUND TRUE)
#set(SMESH_FOUND TRUE)
# Coin3D
set(COIN3D_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/coin)
set(COIN3D_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/coin)
set(COIN3D_LIBRARY_DEBUG coin3d.lib)
set(COIN3D_LIBRARY_RELEASE coin3.lib)
set(COIN3D_LIBRARIES optimized ${COIN3D_LIBRARY_RELEASE}
debug ${COIN3D_LIBRARY_DEBUG})
set(COIN3D_FOUND TRUE)
@@ -123,8 +125,6 @@ set(QT_LIBRARIES
optimized QtXml4.lib
optimized QtOpenGl4.lib
optimized QtWebKit4.lib
)
set(QT_DEBUG_LIBRARIES
debug QtCored4.lib
debug QtGuid4.lib
debug QtDesignerd4.lib
@@ -137,12 +137,24 @@ set(QT_DEBUG_LIBRARIES
debug QtWebKitd4.lib
)
set(QT_QTCORE_LIBRARY_DEBUG
debug QtCored4.lib
)
set(QT_QTCORE_LIBRARY
optimized QtCore4.lib
debug QtCored4.lib
)
set(QT_QTXML_LIBRARY
optimized QtXml4.lib
debug QtXmld4.lib
)
set(QT_QTUITOOLS_LIBRARY
optimized QtUiTools.lib
debug QtUiToolsd.lib
)
set(QT_QTMAIN_LIBRARY
debug qtmaind.lib
optimized qtmain.lib
)
set(QT_UIC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/uic.exe)
@@ -344,6 +356,7 @@ set(OCC_LIBRARIES
optimized TKSTL
optimized TKShHealing
optimized TKXSBase
optimized TKBin
optimized TKBool
optimized TKXSBase
optimized TKBO
@@ -379,6 +392,7 @@ set(OCC_DEBUG_LIBRARIES
debug TKSTLd
debug TKShHealingd
debug TKXSBased
debug TKBind
debug TKBoold
debug TKXSBased
debug TKBOd
+88 -31
View File
@@ -11,17 +11,17 @@ include_directories(${FREECAD_LIBPACK_DIR}/include)
set(OPENGL_gl_LIBRARY opengl32 glu32)
# Python
set(PYTHON_DEBUG_LIBRARY python27_d.lib)
set(PYTHON_LIBRARY python27.lib)
set(PYTHON_LIBRARIES optimized python27.lib debug python27_d.lib)
set(PYTHON_INCLUDE_PATH ${FREECAD_LIBPACK_DIR}/include/Python-2.7.6)
set(PYTHON_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/Python-2.7.6)
set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe)
set(PYTHONLIBS_FOUND TRUE)
# XercesC
set(XERCESC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/xerces-c-3.1.0)
set(XERCESC_LIBRARIES xerces-c_3.lib)
set(XERCESC_DEBUG_LIBRARIES xerces-c_3D.lib)
set(XERCESC_FOUND TRUE)
set(XercesC_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/xerces-c-3.1.0)
set(XercesC_LIBRARIES xerces-c_3.lib)
set(XercesC_DEBUG_LIBRARIES xerces-c_3D.lib)
set(XercesC_FOUND TRUE)
# Boost
set(Boost_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/boost-1_54)
@@ -30,15 +30,15 @@ set(Boost_LIBRARIES
optimized boost_system-vc90-mt-1_54.lib
optimized boost_graph-vc90-mt-1_54.lib
optimized boost_program_options-vc90-mt-1_54.lib
optimized boost_python-vc90-mt-1_54.lib
optimized boost_regex-vc90-mt-1_54.lib
optimized boost_signals-vc90-mt-1_54.lib
optimized boost_thread-vc90-mt-1_54.lib
)
set(Boost_DEBUG_LIBRARIES
debug boost_filesystem-vc90-mt-gd-1_54.lib
debug boost_system-vc90-mt-gd-1_54.lib
debug boost_graph-vc90-mt-gd-1_54.lib
debug boost_program_options-vc90-mt-gd-1_54.lib
debug boost_python-vc90-mt-gd-1_54.lib
debug boost_regex-vc90-mt-gd-1_54.lib
debug boost_signals-vc90-mt-gd-1_54.lib
debug boost_thread-vc90-mt-gd-1_54.lib
@@ -67,24 +67,17 @@ set(SMESH_LIBRARIES
set(SMESH_FOUND TRUE)
# Coin3D
find_path(COIN3D_INCLUDE_DIR Inventor/So.h
${FREECAD_LIBPACK_DIR}/include/Coin-2.4.5
)
find_path(COIN3D_INCLUDE_DIR Inventor/So.h
find_path(COIN3D_INCLUDE_DIRS Inventor/So.h
${FREECAD_LIBPACK_DIR}/include/Coin-4.0.0
)
find_library(COIN3D_LIBRARY_RELEASE coin2
"${FREECAD_LIBPACK_DIR}/lib"
)
find_library(COIN3D_LIBRARY_DEBUG coin2d
"${FREECAD_LIBPACK_DIR}/lib"
)
find_library(COIN3D_LIBRARY_RELEASE coin4
"${FREECAD_LIBPACK_DIR}/lib"
)
find_library(COIN3D_LIBRARY_DEBUG coin4d
"${FREECAD_LIBPACK_DIR}/lib"
)
set(COIN3D_LIBRARIES optimized ${COIN3D_LIBRARY_RELEASE}
debug ${COIN3D_LIBRARY_DEBUG})
set(COIN3D_FOUND TRUE)
@@ -111,6 +104,10 @@ set(QT_QTCORE_INCLUDE_DIR
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtCore
)
set(QT_QTXML_INCLUDE_DIR
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtXml
)
set(QT_QT3SUPPORT_INCLUDE_DIR
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/Qt3Support
)
@@ -126,8 +123,6 @@ set(QT_LIBRARIES
optimized QtXml4.lib
optimized QtOpenGl4.lib
optimized QtWebKit4.lib
)
set(QT_DEBUG_LIBRARIES
debug QtCored4.lib
debug QtGuid4.lib
debug QtDesignerd4.lib
@@ -140,20 +135,29 @@ set(QT_DEBUG_LIBRARIES
debug QtWebKitd4.lib
)
set(QT_QTCORE_LIBRARY_DEBUG
set(QT_QTCORE_LIBRARY
optimized QtCore4.lib
debug QtCored4.lib
)
set(QT_QTCORE_LIBRARY
optimized QtCore4.lib
)
set(QT_QT3SUPPORT_LIBRARY_DEBUG
debug Qt3Supportd4.lib
set(QT_QTXML_LIBRARY
optimized QtXml4.lib
debug QtXmld4.lib
)
set(QT_QT3SUPPORT_LIBRARY
optimized Qt3Support4.lib
debug Qt3Supportd4.lib
)
set(QT_QTUITOOLS_LIBRARY
optimized QtUiTools.lib
debug QtUiToolsd.lib
)
set(QT_QTMAIN_LIBRARY
debug qtmaind.lib
optimized qtmain.lib
)
set(QT_UIC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/uic.exe)
@@ -367,6 +371,7 @@ set(OCC_LIBRARIES
optimized TKSTL
optimized TKShHealing
optimized TKXSBase
optimized TKBin
optimized TKBool
optimized TKBO
optimized TKBRep
@@ -392,6 +397,7 @@ set(OCC_DEBUG_LIBRARIES
debug TKSTLd
debug TKShHealingd
debug TKXSBased
debug TKBind
debug TKBoold
debug TKBOd
debug TKBRepd
@@ -432,10 +438,6 @@ set(EIGEN2_FOUND TRUE)
set(EIGEN3_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/eigen3)
set(EIGEN3_FOUND TRUE)
set(ODE_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/ode-0.11.1)
set(ODE_LIBRARIES ${FREECAD_LIBPACK_DIR}/lib/ode_double.lib)
set(ODE_FOUND TRUE)
# FreeType
if(FREECAD_USE_FREETYPE)
set(FREETYPE_LIBRARIES
@@ -471,3 +473,58 @@ SET(PYSIDE_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/PySide-1.2.1)
SET(PYSIDE_LIBRARY optimized ${FREECAD_LIBPACK_DIR}/lib/pyside-python2.7.lib debug ${FREECAD_LIBPACK_DIR}/lib/pyside-python2.7_d.lib)
SET(PYSIDE_PYTHONPATH ${FREECAD_LIBPACK_DIR}/pyside/Lib/site-packages)
SET(PYSIDE_TYPESYSTEMS ${FREECAD_LIBPACK_DIR}/pyside/share/PySide/typesystems)
SET(PYSIDE_BIN_DIR ${FREECAD_LIBPACK_DIR}/pyside-tools/bin)
# Pointscloud library
set(PCL_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/pcl-1.6)
set(PCL_LIBRARY_DIRS ${FREECAD_LIBPACK_DIR}/lib)
set(PCL_COMMON_LIBRARIES optimized pcl_common_release debug pcl_common_debug)
set(PCL_FEATURES_LIBRARIES optimized pcl_features_release debug pcl_features_debug)
set(PCL_FILTERS_LIBRARIES optimized pcl_filters_release debug pcl_filters_debug)
set(PCL_IO_LIBRARIES optimized pcl_io_release debug pcl_io_debug)
set(PCL_IO_PLY_LIBRARIES optimized pcl_io_ply_release debug pcl_io_ply_debug)
set(PCL_KDTREE_LIBRARIES optimized pcl_kdtree_release debug pcl_kdtree_debug)
set(PCL_KEYPOINTS_LIBRARIES optimized pcl_keypoints_release debug pcl_keypoints_debug)
set(PCL_OCTREE_LIBRARIES optimized pcl_octree_release debug pcl_octree_debug)
set(PCL_REGISTRATION_LIBRARIES optimized pcl_registration_release debug pcl_registration_debug)
set(PCL_SAMPLE_CONSENSUS_LIBRARIES optimized pcl_sample_consensus_release debug pcl_sample_consensus_debug)
set(PCL_SEARCH_LIBRARIES optimized pcl_search_release debug pcl_search_debug)
set(PCL_SEGMENTATION_LIBRARIES optimized pcl_segmentation_release debug pcl_segmentation_debug)
set(PCL_SURFACE_LIBRARIES optimized pcl_surface_release debug pcl_surface_debug)
set(PCL_TRACKING_LIBRARIES optimized pcl_tracking_release debug pcl_tracking_debug)
set(PCL_LIBRARIES
${PCL_COMMON_LIBRARIES}
${PCL_FEATURES_LIBRARIES}
${PCL_FILTERS_LIBRARIES}
${PCL_IO_LIBRARIES}
${PCL_IO_PLY_LIBRARIES}
${PCL_KDTREE_LIBRARIES}
${PCL_KEYPOINTS_LIBRARIES}
${PCL_OCTREE_LIBRARIES}
${PCL_REGISTRATION_LIBRARIES}
${PCL_SAMPLE_CONSENSUS_LIBRARIES}
${PCL_SEARCH_LIBRARIES}
${PCL_SEGMENTATION_LIBRARIES}
${PCL_SURFACE_LIBRARIES}
${PCL_TRACKING_LIBRARIES}
)
set(PCL_FOUND TRUE)
set(PCL_COMMON_FOUND TRUE)
set(PCL_FEATURES_FOUND TRUE)
set(PCL_FILTERS_FOUND TRUE)
set(PCL_IO_FOUND TRUE)
set(PCL_IO_PLY_FOUND TRUE)
set(PCL_KDTREE_FOUND TRUE)
set(PCL_KEYPOINTS_FOUND TRUE)
set(PCL_OCTREE_FOUND TRUE)
set(PCL_REGISTRATION_FOUND TRUE)
set(PCL_SAMPLE_CONSENSUS_FOUND TRUE)
set(PCL_SEARCH_FOUND TRUE)
set(PCL_SEGMENTATION_FOUND TRUE)
set(PCL_SURFACE_FOUND TRUE)
set(PCL_TRACKING_FOUND TRUE)
set(FLANN_LIBRARIES optimized flann debug flann)
set(FLANN_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/flann-1.7.1)
+89
View File
@@ -0,0 +1,89 @@
set(ENV{PATH} "${FREECAD_LIBPACK_DIR};$ENV{PATH}")
set(ENV{CMAKE_PREFIX_PATH} ${FREECAD_LIBPACK_DIR})
set(Boost_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include CACHE PATH "" FORCE)
set(OCE_DIR ${FREECAD_LIBPACK_DIR}/lib/cmake CACHE PATH "" FORCE)
set(SWIG_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/swig/swig.exe CACHE FILEPATH "Swig" FORCE)
set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe CACHE FILEPATH "" FORCE)
set(PYTHON_LIBRARY ${FREECAD_LIBPACK_DIR}/lib/python27.lib CACHE FILEPATH "" FORCE)
set(PYTHON_DEBUG_LIBRARY ${FREECAD_LIBPACK_DIR}/lib/python27_d.lib CACHE FILEPATH "" FORCE)
set(PYTHON_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/python2.7 CACHE PATH "" FORCE)
find_library(XercesC_LIBRARIES xerces-c_3 "${FREECAD_LIBPACK_DIR}/lib")
find_library(XercesC_DEBUG_LIBRARIES xerces-c_3D "${FREECAD_LIBPACK_DIR}/lib")
set(XercesC_FOUND TRUE)
find_library(COIN3D_LIBRARY_RELEASE coin4 "${FREECAD_LIBPACK_DIR}/lib")
find_library(COIN3D_LIBRARY_DEBUG coin4d "${FREECAD_LIBPACK_DIR}/lib")
set(COIN3D_LIBRARIES optimized ${COIN3D_LIBRARY_RELEASE}
debug ${COIN3D_LIBRARY_DEBUG})
set(COIN3D_FOUND TRUE)
set(NETGENDATA ${FREECAD_LIBPACK_DIR}/include/netgen)
if(FREECAD_USE_FREETYPE)
set(FREETYPE_INCLUDE_DIR_freetype2 ${FREECAD_LIBPACK_DIR}/include/freetype2)
endif(FREECAD_USE_FREETYPE)
link_directories(${FREECAD_LIBPACK_DIR}/lib)
set(PCL_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/pcl-1.7)
set(PCL_LIBRARY_DIRS ${FREECAD_LIBPACK_DIR}/lib)
set(PCL_COMMON_LIBRARIES optimized pcl_common_release debug pcl_common_debug)
set(PCL_FEATURES_LIBRARIES optimized pcl_features_release debug pcl_features_debug)
set(PCL_FILTERS_LIBRARIES optimized pcl_filters_release debug pcl_filters_debug)
set(PCL_IO_LIBRARIES optimized pcl_io_release debug pcl_io_debug)
set(PCL_IO_PLY_LIBRARIES optimized pcl_io_ply_release debug pcl_io_ply_debug)
set(PCL_KDTREE_LIBRARIES optimized pcl_kdtree_release debug pcl_kdtree_debug)
set(PCL_KEYPOINTS_LIBRARIES optimized pcl_keypoints_release debug pcl_keypoints_debug)
set(PCL_ML_LIBRARIES optimized pcl_ml_release debug pcl_ml_debug)
set(PCL_OCTREE_LIBRARIES optimized pcl_octree_release debug pcl_octree_debug)
set(PCL_RECOGNITION_LIBRARIES optimized pcl_recognition_release debug pcl_recognition_debug)
set(PCL_REGISTRATION_LIBRARIES optimized pcl_registration_release debug pcl_registration_debug)
set(PCL_SAMPLE_CONSENSUS_LIBRARIES optimized pcl_sample_consensus_release debug pcl_sample_consensus_debug)
set(PCL_SEARCH_LIBRARIES optimized pcl_search_release debug pcl_search_debug)
set(PCL_SEGMENTATION_LIBRARIES optimized pcl_segmentation_release debug pcl_segmentation_debug)
set(PCL_STEREO_LIBRARIES optimized pcl_stereo_release debug pcl_stereo_debug)
set(PCL_SURFACE_LIBRARIES optimized pcl_surface_release debug pcl_surface_debug)
set(PCL_TRACKING_LIBRARIES optimized pcl_tracking_release debug pcl_tracking_debug)
set(PCL_LIBRARIES
${PCL_COMMON_LIBRARIES}
${PCL_FEATURES_LIBRARIES}
${PCL_FILTERS_LIBRARIES}
${PCL_IO_LIBRARIES}
${PCL_IO_PLY_LIBRARIES}
${PCL_KDTREE_LIBRARIES}
${PCL_KEYPOINTS_LIBRARIES}
${PCL_ML_LIBRARIES}
${PCL_OCTREE_LIBRARIES}
${PCL_RECOGNITION_LIBRARIES}
${PCL_REGISTRATION_LIBRARIES}
${PCL_SAMPLE_CONSENSUS_LIBRARIES}
${PCL_SEARCH_LIBRARIES}
${PCL_SEGMENTATION_LIBRARIES}
${PCL_STEREO_LIBRARIES}
${PCL_SURFACE_LIBRARIES}
${PCL_TRACKING_LIBRARIES}
)
set(PCL_FOUND TRUE)
set(PCL_COMMON_FOUND TRUE)
set(PCL_FEATURES_FOUND TRUE)
set(PCL_FILTERS_FOUND TRUE)
set(PCL_IO_FOUND TRUE)
set(PCL_IO_PLY_FOUND TRUE)
set(PCL_KDTREE_FOUND TRUE)
set(PCL_KEYPOINTS_FOUND TRUE)
set(PCL_ML_FOUND TRUE)
set(PCL_OCTREE_FOUND TRUE)
set(PCL_RECOGNITION_FOUND TRUE)
set(PCL_REGISTRATION_FOUND TRUE)
set(PCL_SAMPLE_CONSENSUS_FOUND TRUE)
set(PCL_SEARCH_FOUND TRUE)
set(PCL_SEGMENTATION_FOUND TRUE)
set(PCL_STEREO_FOUND TRUE)
set(PCL_SURFACE_FOUND TRUE)
set(PCL_TRACKING_FOUND TRUE)
+29 -23
View File
@@ -11,17 +11,17 @@ include_directories(${FREECAD_LIBPACK_DIR}/include)
set(OPENGL_gl_LIBRARY opengl32 glu32)
# Python
set(PYTHON_DEBUG_LIBRARY python26_d.lib)
set(PYTHON_LIBRARY python26.lib)
set(PYTHON_LIBRARIES optimized python26.lib debug python26_d.lib)
set(PYTHON_INCLUDE_PATH ${FREECAD_LIBPACK_DIR}/include/Python-2.6.4)
set(PYTHON_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/Python-2.6.4)
set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe)
set(PYTHONLIBS_FOUND TRUE)
# XercesC
set(XERCESC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/xerces-c-3.1.0)
set(XERCESC_LIBRARIES xerces-c_3.lib)
set(XERCESC_DEBUG_LIBRARIES xerces-c_3D.lib)
set(XERCESC_FOUND TRUE)
set(XercesC_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/xerces-c-3.1.0)
set(XercesC_LIBRARIES xerces-c_3.lib)
set(XercesC_DEBUG_LIBRARIES xerces-c_3D.lib)
set(XercesC_FOUND TRUE)
# Boost
set(Boost_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/boost-1_41)
@@ -30,15 +30,15 @@ set(Boost_LIBRARIES
optimized boost_system-vc90-mt-1_41.lib
optimized boost_graph-vc90-mt-1_41.lib
optimized boost_program_options-vc90-mt-1_41.lib
optimized boost_python-vc90-mt-1_41.lib
optimized boost_regex-vc90-mt-1_41.lib
optimized boost_signals-vc90-mt-1_41.lib
optimized boost_thread-vc90-mt-1_41.lib
)
set(Boost_DEBUG_LIBRARIES
debug boost_filesystem-vc90-mt-gd-1_41.lib
debug boost_system-vc90-mt-gd-1_41.lib
debug boost_graph-vc90-mt-gd-1_41.lib
debug boost_program_options-vc90-mt-gd-1_41.lib
debug boost_python-vc90-mt-gd-1_41.lib
debug boost_regex-vc90-mt-gd-1_41.lib
debug boost_signals-vc90-mt-gd-1_41.lib
debug boost_thread-vc90-mt-gd-1_41.lib
@@ -67,10 +67,10 @@ set(SMESH_LIBRARIES
set(SMESH_FOUND TRUE)
# Coin3D
find_path(COIN3D_INCLUDE_DIR Inventor/So.h
find_path(COIN3D_INCLUDE_DIRS Inventor/So.h
${FREECAD_LIBPACK_DIR}/include/Coin-2.4.5
)
find_path(COIN3D_INCLUDE_DIR Inventor/So.h
find_path(COIN3D_INCLUDE_DIRS Inventor/So.h
${FREECAD_LIBPACK_DIR}/include/Coin-3.1.3
)
find_library(COIN3D_LIBRARY_RELEASE coin2
@@ -85,6 +85,8 @@ find_library(COIN3D_LIBRARY_RELEASE coin3
find_library(COIN3D_LIBRARY_DEBUG coin3d
"${FREECAD_LIBPACK_DIR}/lib"
)
set(COIN3D_LIBRARIES optimized ${COIN3D_LIBRARY_RELEASE}
debug ${COIN3D_LIBRARY_DEBUG})
set(COIN3D_FOUND TRUE)
@@ -126,8 +128,6 @@ set(QT_LIBRARIES
optimized QtXml4.lib
optimized QtOpenGl4.lib
optimized QtWebKit4.lib
)
set(QT_DEBUG_LIBRARIES
debug QtCored4.lib
debug QtGuid4.lib
debug QtDesignerd4.lib
@@ -140,20 +140,29 @@ set(QT_DEBUG_LIBRARIES
debug QtWebKitd4.lib
)
set(QT_QTCORE_LIBRARY_DEBUG
set(QT_QTCORE_LIBRARY
optimized QtCore4.lib
debug QtCored4.lib
)
set(QT_QTCORE_LIBRARY
optimized QtCore4.lib
)
set(QT_QT3SUPPORT_LIBRARY_DEBUG
debug Qt3Supportd4.lib
set(QT_QTXML_LIBRARY
optimized QtXml4.lib
debug QtXmld4.lib
)
set(QT_QT3SUPPORT_LIBRARY
optimized Qt3Support4.lib
debug Qt3Supportd4.lib
)
set(QT_QTUITOOLS_LIBRARY
optimized QtUiTools.lib
debug QtUiToolsd.lib
)
set(QT_QTMAIN_LIBRARY
debug qtmaind.lib
optimized qtmain.lib
)
set(QT_UIC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/uic.exe)
@@ -367,6 +376,7 @@ set(OCC_LIBRARIES
TKSTL
TKShHealing
TKXSBase
TKBin
TKBool
TKBO
TKBRep
@@ -398,10 +408,6 @@ set(EIGEN2_FOUND TRUE)
set(EIGEN3_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/eigen3)
set(EIGEN3_FOUND TRUE)
set(ODE_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/ode-0.11.1)
set(ODE_LIBRARIES ${FREECAD_LIBPACK_DIR}/lib/ode_double.lib)
set(ODE_FOUND TRUE)
# FreeType
if(FREECAD_USE_FREETYPE)
set(FREETYPE_LIBRARIES
-1113
View File
File diff suppressed because it is too large Load Diff
-11
View File
@@ -1,11 +0,0 @@
SUBDIRS=examples
# Change data dir from default
datadir = @datadir@/data
data_DATA = \
License.txt
EXTRA_DIST = \
$(data_DATA) \
CMakeLists.txt
Binary file not shown.
+3 -16
View File
@@ -6,6 +6,9 @@ SET(Examples_Files
PartDesignExample.FCStd
RobotExample.FCStd
ArchDetail.FCStd
FemCalculixCantilever2D.FCStd
FemCalculixCantilever3D.FCStd
FemCalculixCantilever3D_newSolver.FCStd
)
ADD_CUSTOM_TARGET(Example_data ALL
@@ -33,21 +36,6 @@ if (WIN32 AND FREECAD_LIBPACK_USE)
endforeach (it)
SOURCE_GROUP("pivy" FILES ${FREECAD_LIBPACK_PIVY_COIN})
# pivy/gui
foreach (it ${FREECAD_LIBPACK_PIVY_SOQT})
get_filename_component(libfile ${it} NAME)
set(out "${CMAKE_BINARY_DIR}/lib/pivy/gui/${libfile}")
add_custom_command(
DEPENDS ${it}
OUTPUT ${out}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${it} ${out}
MAIN_DEPENDENCY ${it}
COMMENT "Copy file to ${out}"
)
endforeach (it)
SOURCE_GROUP("pivy\\gui" FILES ${FREECAD_LIBPACK_PIVY_SOQT})
# shiboken
foreach (it ${FREECAD_LIBPACK_SHIBOKEN})
get_filename_component(libfile ${it} NAME)
@@ -130,7 +118,6 @@ if (WIN32 AND FREECAD_LIBPACK_USE)
set(FREECAD_LIBPACK_FILES
${FREECAD_LIBPACK_PIVY_COIN}
${FREECAD_LIBPACK_PIVY_SOQT}
${FREECAD_LIBPACK_SHIBOKEN}
${FREECAD_LIBPACK_PYSIDE}
${FREECAD_LIBPACK_PYSIDEUIC_ABS}
Binary file not shown.
Binary file not shown.
-15
View File
@@ -1,15 +0,0 @@
# Change data dir from default
datadir = @datadir@/data/examples
data_DATA = \
DrawingExample.FCStd \
EngineBlock.FCStd \
PartDesignExample.FCStd \
RobotExample.FCStd \
Schenkel.stp \
ArchDetail.FCStd
EXTRA_DIST = \
$(data_DATA) \
CMakeLists.txt
Binary file not shown.
+104
View File
@@ -0,0 +1,104 @@
#import rpdb2
#rpdb2.start_embedded_debugger("test")
import FreeCAD
import Part
import Draft
from FreeCAD import Base
circ1= Part.makeCircle(
5,
FreeCAD.Vector(10,18,10), FreeCAD.Vector(1,0,0))
circ2 = Part.makeCircle(5)
def DrawMyPart(points, extrude):
obj1 = Draft.makeWire(points,closed=True,face=True,support=None)
face1 = Part.Face(obj1.Shape)
body1= face1.extrude(extrude)
Part.show(body1)
# part1
DrawMyPart([
FreeCAD.Vector(0,0,0),
FreeCAD.Vector(45,0,0),
FreeCAD.Vector(45,20,0),
FreeCAD.Vector(0,20,0),
], Base.Vector(0,0,4))
DrawMyPart([
FreeCAD.Vector(0,20,0),
FreeCAD.Vector(0,180,0),
FreeCAD.Vector(25,180,0),
FreeCAD.Vector(25,20,0),
], Base.Vector(0,0,4))
DrawMyPart([
FreeCAD.Vector(0,180,0),
FreeCAD.Vector(0,200,0),
FreeCAD.Vector(45,200,0),
FreeCAD.Vector(45,180,0),
], Base.Vector(0,0,4))
DrawMyPart([
FreeCAD.Vector(25,20,0),
FreeCAD.Vector(25,180,0),
FreeCAD.Vector(25,180,9.2),
FreeCAD.Vector(25,20,9.2),
], Base.Vector(0,0,4))
# part2
points=[
FreeCAD.Vector(45,200,0),
FreeCAD.Vector(68,200,25),
FreeCAD.Vector(68,0,25),
FreeCAD.Vector(45,0,0),
FreeCAD.Vector(45,200,0),
]
DrawMyPart([
FreeCAD.Vector(45,200,0),
FreeCAD.Vector(68,200,25),
FreeCAD.Vector(68,180,25),
FreeCAD.Vector(45,180,0),
], Base.Vector(0,0,4))
DrawMyPart([
FreeCAD.Vector(68,180,25),
FreeCAD.Vector(56.7,180,13),
FreeCAD.Vector(56.7,20,13),
FreeCAD.Vector(68,20,25),
], Base.Vector(0,0,4))
DrawMyPart([
FreeCAD.Vector(45,0,0),
FreeCAD.Vector(68,0,25),
FreeCAD.Vector(68,20,25),
FreeCAD.Vector(45,20,0),
], Base.Vector(0,0,4))
DrawMyPart([
FreeCAD.Vector(25,20,0),
FreeCAD.Vector(45,20,0),
FreeCAD.Vector(45,20,9.2),
FreeCAD.Vector(25,20,9.2),
], Base.Vector(0,0,4))
DrawMyPart([
FreeCAD.Vector(25,180,0),
FreeCAD.Vector(45,180,0),
FreeCAD.Vector(45,180,9.2),
FreeCAD.Vector(25,180,9.2),
], Base.Vector(0,0,4))
# part3
DrawMyPart([
FreeCAD.Vector(68,200,25),
FreeCAD.Vector(68,200,35),
FreeCAD.Vector(68,0,35),
FreeCAD.Vector(68,0,25),
FreeCAD.Vector(68,200,25),
], Base.Vector(0,0,4))
circ1= Draft.makeCircle(
5,
Base.Placement(10,18,10),
FreeCAD.Vector(1,0,0))
circ2 = Draft.makeCircle(5)
Binary file not shown.
@@ -0,0 +1,403 @@
<?xml version="1.0" ?>
<PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
schemaVersion="4" date="2005-01-13" time="18:02:23" author="Vis Mockup 5.1.0">
<ProductDef id="id1">
<UserData id="id12" type="__TCC-VIS_MONIKER_INFO">
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="Path"></UserValue>
<UserValue value="file" title="FA_Protocol"></UserValue>
<UserValue value="C:/Program Files/UGS/JT2Go/Examples/2_Cylinder_Engine_Example/2_Cylinder_Engine.jt" title="object_id"></UserValue>
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="LocalCopy"></UserValue>
<UserValue value="2.0" title="Version"></UserValue>
<UserValue value="local" title="FA_Service"></UserValue>
<UserValue value="No" title="MkIsFolder"></UserValue>
<UserValue value="2_Cylinder_Engine.jt" title="Title"></UserValue>
<UserValue value="DirectModel.Document" title="FileTypeID"></UserValue></UserData>
<InstanceGraph id="id2" rootRefs="inst1931328">
<Instance id="inst1931328" name="2_Cylinder_Engine" partRef="#id14">
<ApplicationRef application="TCC-VIS" label="2_Cylinder_Engine.asm;0;0:"></ApplicationRef>
<UserData id="id18" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id29">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData>
<Transform id="id15">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst1950208" name="rod:123-699;0,Parts" partRef="#id44">
<ApplicationRef application="TCC-VIS" label="rod:123-699;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id45">0.9861037135124207 -0.1661308258771896 -1.166810754732375e-015 0 0.1661308258771896 0.9861037135124207 -1.062013085640994e-015 0 1.327029577804367e-015 8.534118465009541e-016 1 0 0.07101806253194809 0.02219301462173462 0.02199999988079071 1</Transform></Instance>
<Instance id="inst1950304" name="Piston Sub:;0,Parts" partRef="#id50">
<ApplicationRef application="TCC-VIS" label="Piston Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id51">-1 1.10096191110321e-032 -7.293991291219912e-017 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.1368601024150848 0.06445372104644775 0.003820367390289903 1</Transform></Instance>
<Instance id="inst1950160" name="Piston:123-844;0,Parts" partRef="#id58">
<ApplicationRef application="TCC-VIS" label="Piston:123-844;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id59">-1 -1.334063881586189e-008 7.982825511732017e-010 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.294677197933197 0.07397986948490143 0.01617963239550591 1</Transform></Instance>
<Instance id="inst1950400" name="Piston pin:123-845;0,Parts" partRef="#id64">
<ApplicationRef application="TCC-VIS" label="Piston pin:123-845;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id65">0.9995650053024292 0.02949320152401924 -7.979323313200837e-010 0 -0.0294931884855032 0.9995650053024292 2.354164085893729e-011 0 -3.085015966644567e-015 2.168479519145078e-015 1 0 -0.0453154630959034 -0.02461725845932961 -0.02632036805152893 1</Transform></Instance>
<Instance id="inst1950496" name="Piston Sub:;0,Parts" partRef="#id70">
<ApplicationRef application="TCC-VIS" label="Piston Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id71">1 0 0 0 0 1 0 0 0 0 1 0 0.1368601024150848 -0.06445372104644775 -0.03617963194847107 1</Transform></Instance>
<Instance id="inst1950448" name="Piston:123-844;0,Parts" partRef="#id58">
<ApplicationRef application="TCC-VIS" label="Piston:123-844;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id83">-1 -1.334063881586189e-008 7.041613514502387e-009 0 -1.003604666278664e-019 -1 1.355268465125744e-016 0 -1.736007260287489e-016 1.355268465125744e-016 1 0 -0.294677197933197 0.07397986948490143 0.0161796361207962 1</Transform></Instance>
<Instance id="inst1950592" name="Piston pin:123-845;0,Parts" partRef="#id64">
<ApplicationRef application="TCC-VIS" label="Piston pin:123-845;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id86">0.9995650053024292 0.02949320152401924 -7.038550631222051e-009 0 -0.0294931884855032 0.9995650053024292 2.076799010541919e-010 0 1.57434811062825e-016 -2.681045890006053e-016 1 0 -0.0453154630959034 -0.02461725845932961 -0.02632036432623863 1</Transform></Instance>
<Instance id="inst1950640" name="CamShaft Sub:123-990;0,Parts" partRef="#id89">
<ApplicationRef application="TCC-VIS" label="CamShaft Sub:123-990;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id90">0.7071067690849304 -0.7071067690849304 4.055928498874345e-013 0 0.7071067690849304 0.7071067690849304 6.101357784178425e-016 0 -2.872288724139332e-013 2.863660101149607e-013 1 0 0.04717867448925972 -0.0528213270008564 -0.08894477039575577 1</Transform></Instance>
<Instance id="inst1950688" name="Cam_shaft:123-457;0,Parts" partRef="#id104">
<ApplicationRef application="TCC-VIS" label="Cam_shaft:123-457;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id105">1.214013511940948e-008 -7.440697502580917e-010 1 0 -0.9059386253356934 0.4234090149402618 3.675416633368289e-013 0 -0.4234090149402618 -0.9059386253356934 1.728632428171784e-013 0 -0.03029589354991913 -0.05256131291389465 0.02505522221326828 1</Transform></Instance>
<Instance id="inst1950736" name="cam_gear:123-456;0,Parts" partRef="#id110">
<ApplicationRef application="TCC-VIS" label="cam_gear:123-456;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id111">-0.4234090149402618 -0.9059386253356934 1.726649286873036e-013 0 -0.9059386253356934 0.4234090149402618 3.675724817835818e-013 0 -1.214013511940948e-008 7.440699723026967e-010 -1 0 -0.09059386700391769 -0.02437981590628624 -0.04005522653460503 1</Transform></Instance>
<Instance id="inst1950784" name="Crank_Sub:123-555;0,Parts" partRef="#id116">
<ApplicationRef application="TCC-VIS" label="Crank_Sub:123-555;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id117">-0.5 -0.8660253882408142 -2.979083167524747e-016 0 0.8660253882408142 -0.5 -7.816530680941419e-016 0 5.279772353637604e-016 -6.488226847947026e-016 1 0 0.01809818297624588 -0.06969784200191498 -0.1055598109960556 1</Transform></Instance>
<Instance id="inst1950832" name="crank:123-782;0,Parts" partRef="#id131">
<ApplicationRef application="TCC-VIS" label="crank:123-782;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id132">-0.9390942454338074 0.3436597287654877 1.284025318025572e-016 0 -0.3436597883701325 -0.9390941858291626 -6.660528172495127e-016 0 2.47777798279003e-008 -2.063888393522007e-009 1 0 -0.05131101608276367 -0.05052240565419197 0.1075598075985909 1</Transform></Instance>
<Instance id="inst1950880" name="crank_gear:123-783;0,Parts" partRef="#id137">
<ApplicationRef application="TCC-VIS" label="crank_gear:123-783;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id138">-0.9390942454338074 0.3436597287654877 3.809448359261655e-016 0 -0.3436597883701325 -0.9390941858291626 -2.583991531420675e-015 0 2.47777798279003e-008 -2.063890391923451e-009 1 0 -0.05131101980805397 -0.05052240565419197 -0.01844018884003162 1</Transform></Instance>
<Instance id="inst1950928" name="Body Sub:123-002;0,Parts" partRef="#id143">
<ApplicationRef application="TCC-VIS" label="Body Sub:123-002;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id144">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst1951264" name="Head2 Sub:;0,Parts" partRef="#id158">
<ApplicationRef application="TCC-VIS" label="Head2 Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id159">1.665474158585312e-008 1.004267005555448e-006 -1 0 -1 -1.666503557373744e-008 -1.665475757306467e-008 0 -1.6665051560949e-008 1 1.004267005555448e-006 0 -0.04826182126998901 -0.05911042168736458 0.03459598124027252 1</Transform></Instance>
<Instance id="inst1951408" name="Spark Plug:;0,Parts" partRef="#id172">
<ApplicationRef application="TCC-VIS" label="Spark Plug:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id173">1 9.977915303889529e-014 -9.877358024823479e-007 0 -9.946720638254192e-007 -3.500436562831055e-008 -0.9999999403953552 0 -2.75101122437782e-014 1 -2.288952989822068e-013 0 0.02452629990875721 0.2137382179498673 0.2830735743045807 1</Transform></Instance>
<Instance id="inst1951616" name="Rocker_Sub:;0,Parts" partRef="#id178">
<ApplicationRef application="TCC-VIS" label="Rocker_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id179">0.9999974370002747 -7.939097296238984e-011 -0.002271066652610898 0 9.118318147522016e-016 1 3.807415215490448e-015 0 0.002271073637530208 3.500404588407946e-008 0.9999973773956299 0 -0.0001340909366263077 -0.01299998629838228 0.0001236627285834402 1</Transform></Instance>
<Instance id="inst1951568" name="Rocker Arm Shaft:123-601;0,Parts" partRef="#id191">
<ApplicationRef application="TCC-VIS" label="Rocker Arm Shaft:123-601;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id192">-0.9999850392341614 -0.004973083734512329 -0.002270016819238663 0 0.004973071627318859 -0.9999875426292419 1.127185623772675e-005 0 -0.002270089229568839 -4.575558421038295e-008 0.9999972581863403 0 0.0487947128713131 0.7686771750450134 -0.02040251158177853 1</Transform></Instance>
<Instance id="inst1951712" name="Rocker_Mount_Sub:;0,Parts" partRef="#id197">
<ApplicationRef application="TCC-VIS" label="Rocker_Mount_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id198">1 -7.424300063618716e-011 1.35305974757749e-010 0 1.276140897124513e-015 0.9999998807907105 4.341043060584901e-016 0 -4.433523059788058e-008 -2.848764957263938e-008 0.9999998211860657 0 -1.748614808505522e-009 -9.381160293031599e-010 -7.228971310446752e-010 1</Transform></Instance>
<Instance id="inst1951824" name="Rocker Mount:123-604;0,Parts" partRef="#id205">
<ApplicationRef application="TCC-VIS" label="Rocker Mount:123-604;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id206">0.9999973773956299 1.651584646822357e-008 0.002270044526085258 0 -1.669391558323241e-008 0.9999998807907105 1.723048725921217e-008 0 -0.002270088996738195 -4.57557440824985e-008 0.9999972581863403 0 0.04950515553355217 0.3443533480167389 0.07959935814142227 1</Transform></Instance>
<Instance id="inst1951872" name="Rocker Mount Cap:123-608;0,Parts" partRef="#id211">
<ApplicationRef application="TCC-VIS" label="Rocker Mount Cap:123-608;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id212">0.9999973773956299 1.651585179729409e-008 0.002270044526085258 0 1.669392091230293e-008 -0.9999998807907105 -1.723048725921217e-008 0 0.002270088996738195 4.57557440824985e-008 -0.9999972581863403 0 0.04947110638022423 0.2571229636669159 0.09459931403398514 1</Transform></Instance>
<Instance id="inst1951920" name="Rocker Bolt:123-603;0,Parts" partRef="#id217">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id218">0.9984452724456787 1.914222380605679e-008 -0.05574143305420876 0 -0.05574139580130577 4.472066095217997e-008 -0.9984451532363892 0 -1.669391203051873e-008 1 1.723049436463953e-008 0 0.01820174790918827 0.326738178730011 0.2976770401000977 1</Transform></Instance>
<Instance id="inst1952032" name="Rocker Bolt:123-603;0,Parts" partRef="#id217">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id223">0.9984543323516846 1.913488922866691e-008 -0.05557771772146225 0 -0.05557768046855927 4.472379444564467e-008 -0.998454213142395 0 -1.669391025416189e-008 0.9999998807907105 1.723049436463953e-008 0 0.06816709786653519 0.326738178730011 0.2977887094020844 1</Transform></Instance>
<Instance id="inst1952144" name="Rocker_Mount_Sub:;0,Parts" partRef="#id226">
<ApplicationRef application="TCC-VIS" label="Rocker_Mount_Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id227">1 -7.424300063618716e-011 1.35305974757749e-010 0 1.276140897124513e-015 0.9999998807907105 4.341043060584901e-016 0 -4.433523059788058e-008 -2.848764957263938e-008 0.9999998211860657 0 -4.064914627122107e-009 -1.459414988858043e-008 -0.09999953210353851 1</Transform></Instance>
<Instance id="inst1952256" name="Rocker Mount:123-604;0,Parts" partRef="#id205">
<ApplicationRef application="TCC-VIS" label="Rocker Mount:123-604;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id239">0.9999974370002747 1.662746029751361e-008 0.002270044526085258 0 -1.669391735958925e-008 1.00000011920929 1.723049081192585e-008 0 -0.002270061522722244 -2.438619972622291e-008 0.9999974966049194 0 0.04973216727375984 0.3443534076213837 0.07959914952516556 1</Transform></Instance>
<Instance id="inst1952304" name="Rocker Mount Cap:123-608;0,Parts" partRef="#id211">
<ApplicationRef application="TCC-VIS" label="Rocker Mount Cap:123-608;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id242">0.9999974370002747 1.662746562658413e-008 0.002270044526085258 0 1.669392268865977e-008 -1.00000011920929 -1.723049081192585e-008 0 0.002270061522722244 2.438619972622291e-008 -0.9999974966049194 0 0.0496981143951416 0.2571230232715607 0.09459911286830902 1</Transform></Instance>
<Instance id="inst1952352" name="Rocker Bolt:123-603;0,Parts" partRef="#id217">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id245">0.9986630082130432 1.791910797521723e-008 -0.05169311910867691 0 -0.05169309675693512 2.345346850063379e-008 -0.998663067817688 0 -1.669391025416189e-008 1.00000011920929 1.72305067991374e-008 0 0.01757495850324631 0.3267382085323334 0.2976291477680206 1</Transform></Instance>
<Instance id="inst1952464" name="Rocker Bolt:123-603;0,Parts" partRef="#id217">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id248">0.9986716508865356 1.791518755567267e-008 -0.05152621492743492 0 -0.05152619630098343 2.345645455648082e-008 -0.9986717104911804 0 -1.669391025416189e-008 1.00000011920929 1.723049791735321e-008 0 0.06753963232040405 0.3267382085323334 0.2977406084537506 1</Transform></Instance>
<Instance id="inst1952576" name="Rocker Arm Shaft:123-601;0,Parts" partRef="#id191">
<ApplicationRef application="TCC-VIS" label="Rocker Arm Shaft:123-601;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id251">-0.9999873042106628 -0.004487393889576197 -0.00227002170868218 0 0.004487383179366589 -0.9999898076057434 1.016931855701841e-005 0 -0.002270088996738195 -4.575493051106605e-008 0.9999972581863403 0 -0.02998023852705956 0.7686992287635803 -0.02058133110404015 1</Transform></Instance>
<Instance id="inst1952624" name="Valve Spring:123-702;0,Parts" partRef="#id254">
<ApplicationRef application="TCC-VIS" label="Valve Spring:123-702;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id255">-0.821344792842865 -0.3829995691776276 0.4227339625358582 0 -0.3831273019313812 -0.1786547750234604 -0.9062537550926209 0 0.4226182997226715 -0.9063078165054321 -4.468796817036491e-007 0 -0.2707940638065338 0.1454340070486069 0.1220441088080406 1</Transform></Instance>
<Instance id="inst1952720" name="Valve_Sub:;0,Parts" partRef="#id260">
<ApplicationRef application="TCC-VIS" label="Valve_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id261">0.4546822905540466 0.654166042804718 0.6044259667396545 0 -0.8696395754814148 0.4726209938526154 0.1426760256290436 0 -0.1923305839300156 -0.5905050039291382 0.7837809920310974 0 0.09187051653862 0.08063256740570068 0.1662608832120895 1</Transform></Instance>
<Instance id="inst1952672" name="Valve:123-700;0,Parts" partRef="#id268">
<ApplicationRef application="TCC-VIS" label="Valve:123-700;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id269">0.7850326299667358 0.06081443279981613 -0.6164620518684387 0 -0.1356190741062164 0.9878997206687927 -0.07524674385786057 0 0.6044265031814575 0.1426751911640167 0.7837809920310974 0 -0.001248535001650453 -0.2500619888305664 -0.09022713452577591 1</Transform></Instance>
<Instance id="inst1952816" name="Valve Spring Cap:123-704;0,Parts" partRef="#id274">
<ApplicationRef application="TCC-VIS" label="Valve Spring Cap:123-704;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id275">0.7850326299667358 0.06081448495388031 -0.6164620518684387 0 -0.3924773633480072 -0.7211050391197205 -0.5709372162818909 0 -0.4792551398277283 0.6901518106460571 -0.5422225594520569 0 0.0455969013273716 0.2435131669044495 0.06938881427049637 1</Transform></Instance>
<Instance id="inst1952864" name="Spring:;0,Parts" partRef="#id280">
<ApplicationRef application="TCC-VIS" label="Spring:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id281">1 -3.002940829333056e-008 3.437022044749938e-008 0 -4.150651022882812e-008 1.000000238418579 4.017514854126603e-008 0 3.73510147255729e-008 2.773385787691041e-008 1 0 -1.489124112907803e-008 -4.276215381793236e-009 1.08718030134014e-008 1</Transform></Instance>
<Instance id="inst1952912" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id289">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1410751193761826 0.09142301231622696 -0.3314632773399353 1</Transform></Instance>
<Instance id="inst1952960" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id294">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.05227819457650185 0.07644443958997726 -0.1796288043260574 1</Transform></Instance>
<Instance id="inst1953008" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id297">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1347948610782623 0.09093648940324783 -0.3265315294265747 1</Transform></Instance>
<Instance id="inst1953056" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id300">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.05855846777558327 0.07595790922641754 -0.1746970862150192 1</Transform></Instance>
<Instance id="inst1953104" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;4:"></ApplicationRef>
<Transform id="id303">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1285146176815033 0.0904499888420105 -0.3215998709201813 1</Transform></Instance>
<Instance id="inst1953152" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;5:"></ApplicationRef>
<Transform id="id306">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.0648387148976326 0.07547140121459961 -0.1697653979063034 1</Transform></Instance>
<Instance id="inst1953200" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;6:"></ApplicationRef>
<Transform id="id309">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1222343519330025 0.08996346592903137 -0.3166681826114655 1</Transform></Instance>
<Instance id="inst1953248" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;7:"></ApplicationRef>
<Transform id="id312">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.07111898809671402 0.07498487830162048 -0.1648336797952652 1</Transform></Instance>
<Instance id="inst1953296" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;8:"></ApplicationRef>
<Transform id="id315">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1159540787339211 0.08947695046663284 -0.3117364346981049 1</Transform></Instance>
<Instance id="inst1953344" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;9:"></ApplicationRef>
<Transform id="id318">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.07739924639463425 0.07449836283922195 -0.1599020063877106 1</Transform></Instance>
<Instance id="inst1953440" name="Valve_Sub:;0,Parts" partRef="#id321">
<ApplicationRef application="TCC-VIS" label="Valve_Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id322">-0.4546823501586914 0.6541661024093628 -0.6044260263442993 0 0.8696396350860596 0.4726210236549377 -0.1426760405302048 0 0.192330613732338 -0.5905051231384277 -0.7837811708450317 0 0.01489819493144751 0.08582951128482819 -0.04803464561700821 1</Transform></Instance>
<Instance id="inst1953392" name="Spring:;0,Parts" partRef="#id335">
<ApplicationRef application="TCC-VIS" label="Spring:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id336">1 2.298901691233368e-008 -2.432995493961698e-008 0 -3.89851670945518e-008 0.9999998807907105 -1.280528216796029e-008 0 -3.000558379540053e-008 -2.485903749516183e-008 0.9999998807907105 0 -1.494453005790319e-009 -7.655864275868396e-010 -5.496130661697407e-009 1</Transform></Instance>
<Instance id="inst1953576" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;10:"></ApplicationRef>
<Transform id="id348">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1413719058036804 0.08810769766569138 -0.3271084725856781 1</Transform></Instance>
<Instance id="inst1953624" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;11:"></ApplicationRef>
<Transform id="id351">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.05524870008230209 0.07287602126598358 -0.1727083474397659 1</Transform></Instance>
<Instance id="inst1953672" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;12:"></ApplicationRef>
<Transform id="id354">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1366616934537888 0.08774281293153763 -0.3234097063541412 1</Transform></Instance>
<Instance id="inst1953720" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;13:"></ApplicationRef>
<Transform id="id357">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.05995889753103256 0.07251112163066864 -0.1690095812082291 1</Transform></Instance>
<Instance id="inst1953768" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;14:"></ApplicationRef>
<Transform id="id360">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1319515109062195 0.08737793564796448 -0.3197109401226044 1</Transform></Instance>
<Instance id="inst1953816" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;15:"></ApplicationRef>
<Transform id="id363">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.06466909497976303 0.07214623689651489 -0.165310800075531 1</Transform></Instance>
<Instance id="inst1953920" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;16:"></ApplicationRef>
<Transform id="id366">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.127241313457489 0.08701304346323013 -0.3160121440887451 1</Transform></Instance>
<Instance id="inst1954024" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;17:"></ApplicationRef>
<Transform id="id369">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.0693792924284935 0.07178134471178055 -0.1616120338439941 1</Transform></Instance>
<Instance id="inst1954128" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;18:"></ApplicationRef>
<Transform id="id372">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1225311160087585 0.08664815127849579 -0.3123133778572083 1</Transform></Instance>
<Instance id="inst1954232" name="Spring Link:;0,Parts" partRef="#id288">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;19:"></ApplicationRef>
<Transform id="id375">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.07408948242664337 0.0714164674282074 -0.1579132527112961 1</Transform></Instance>
<Instance id="inst1954336" name="Valve:123-700;0,Parts" partRef="#id268">
<ApplicationRef application="TCC-VIS" label="Valve:123-700;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id378">0.7850325107574463 0.06081444025039673 -0.6164620518684387 0 -0.135619044303894 0.9878994226455689 -0.07524680346250534 0 0.6044264435768127 0.1426751613616943 0.7837807536125183 0 -0.005746716633439064 -0.250409871339798 -0.08668788522481918 1</Transform></Instance>
<Instance id="inst1954440" name="Valve Spring Cap:123-704;0,Parts" partRef="#id274">
<ApplicationRef application="TCC-VIS" label="Valve Spring Cap:123-704;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id381">0.7850325703620911 0.06081447005271912 -0.6164620518684387 0 -0.3681581914424896 -0.7545340657234192 -0.543265700340271 0 -0.498180091381073 0.6534368991851807 -0.5699445009231567 0 0.03418708592653275 0.2526659965515137 0.06506367027759552 1</Transform></Instance>
<Instance id="inst1954488" name="Rocker Arm:123-600;0,Parts" partRef="#id384">
<ApplicationRef application="TCC-VIS" label="Rocker Arm:123-600;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id385">0.9026297330856323 0.4304179251194 -9.149687798526429e-007 0 -0.4304179251194 0.9026297330856323 4.554329109396349e-007 0 1.028840756589489e-006 1.773579327846164e-008 0.9999999403953552 0 0.2777610719203949 0.5800805687904358 -0.005389846861362457 1</Transform></Instance>
<Instance id="inst1954600" name="Rocker Arm_copy:123-602;0,Parts" partRef="#id390">
<ApplicationRef application="TCC-VIS" label="Rocker Arm_copy:123-602;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id391">0.9026297926902771 -0.4304177463054657 -9.298340728491894e-007 0 0.4304177463054657 0.9026297926902771 -4.242589284331189e-007 0 1.028840756589489e-006 1.773579505481848e-008 0.9999999403953552 0 0.3539793193340302 0.3309040069580078 -0.005389927886426449 1</Transform></Instance>
<Instance id="inst1954872" name="Valve Spring:123-702;0,Parts" partRef="#id254">
<ApplicationRef application="TCC-VIS" label="Valve Spring:123-702;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id396">-0.8213930130004883 0.3830220103263855 0.4226199984550476 0 -0.3830239772796631 0.1786065548658371 -0.9063069224357605 0 -0.4226182103157044 -0.9063078165054321 4.008188341231289e-007 0 -0.141640841960907 0.3886727094650269 0.1220077648758888 1</Transform></Instance>
<Instance id="inst1955728" name="rod:123-699;0,Parts" partRef="#id44">
<ApplicationRef application="TCC-VIS" label="rod:123-699;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id399">-0.9861037135124207 0.1661308258771896 1.702963710921711e-016 0 -0.1661308258771896 -0.9861037135124207 -3.509013978502231e-016 0 1.096343463342109e-016 -3.743166442952229e-016 1 0 -0.07101806253194809 -0.02219301089644432 -0.01999999769032002 1</Transform></Instance>
<Part id="id14" name="2_Cylinder_Engine" instanceRefs="inst1950208 inst1950304 inst1950496 inst1950640 inst1950784 inst1950928 inst1955728" type="assembly">
<UserData id="id31" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id42">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id44" name="rod:123-699;0,Parts" type="solid">
<Bound id="id47" values="0.02005359902977943 -0.006323420908302069 0 0.09100000560283661 0.03700000047683716 0.009999999776482582"></Bound>
<Representation id="id48" format="JT" location="./2_Cylinder_Engine/rod_123_699_0_Parts.jt"></Representation></Part>
<Part id="id50" name="Piston Sub:;0,Parts" instanceRefs="inst1950160 inst1950400" type="assembly">
<UserData id="id56">
<UserValue value="Piston Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Piston Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id58" name="Piston:123-844;0,Parts" type="solid">
<Bound id="id61" values="0.0101108755916357 0.009526152163743973 0 0.05324159190058708 0.04650000110268593 0.04649999737739563"></Bound>
<Representation id="id62" format="JT" location="./2_Cylinder_Engine/Piston_123_844_0_Parts.jt"></Representation></Part>
<Part id="id64" name="Piston pin:123-845;0,Parts" type="solid">
<Bound id="id67" values="-0.2534925639629364 0.09658930450677872 0.04250000044703484 0.01099999435245991 0.01099186204373837 0.04250000044703484"></Bound>
<Representation id="id68" format="JT" location="./2_Cylinder_Engine/Piston_pin_123_845_0_Parts.jt"></Representation></Part>
<Part id="id70" name="Piston Sub:;0,Parts" instanceRefs="inst1950448 inst1950592" type="assembly">
<UserData id="id81">
<UserValue value="Piston Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:24.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Piston Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id89" name="CamShaft Sub:123-990;0,Parts" instanceRefs="inst1950688 inst1950736" type="assembly">
<UserData id="id102">
<UserValue value="CamShaft Sub:123-990;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:25.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="CamShaft Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-990" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:11:35.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id104" name="Cam_shaft:123-457;0,Parts" type="solid">
<Bound id="id107" values="0.05063954740762711 -0.03493684902787209 -4.356868157628924e-005 0.1267500072717667 0.02063110843300819 0.01902950927615166"></Bound>
<Representation id="id108" format="JT" location="./2_Cylinder_Engine/Cam_shaft_123_457_0_Parts.jt"></Representation></Part>
<Part id="id110" name="cam_gear:123-456;0,Parts" type="solid">
<Bound id="id113" values="0 -0.1000000014901161 -0.002500000409781933 0.06898061186075211 0.06888007372617722 0.01250000018626452"></Bound>
<Representation id="id114" format="JT" location="./2_Cylinder_Engine/cam_gear_123_456_0_Parts.jt"></Representation></Part>
<Part id="id116" name="Crank_Sub:123-555;0,Parts" instanceRefs="inst1950832 inst1950880" type="assembly">
<UserData id="id129">
<UserValue value="Crank_Sub:123-555;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Aug-14-2001 14:13:01.00" title="Version Create Date + Time"></UserValue>
<UserValue value="Crank_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-555" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:13:01.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id131" name="crank:123-782;0,Parts" type="solid">
<Bound id="id134" values="4.847693617193727e-006 0 -0.01325000263750553 0.06299515068531036 0.03500000014901161 0.1267500072717667"></Bound>
<Representation id="id135" format="JT" location="./2_Cylinder_Engine/crank_123_782_0_Parts.jt"></Representation></Part>
<Part id="id137" name="crank_gear:123-783;0,Parts" type="solid">
<Bound id="id140" values="0 -0.0001077877532225102 -0.002500000409781933 0.03597993031144142 0.03586557507514954 0.01250000018626452"></Bound>
<Representation id="id141" format="JT" location="./2_Cylinder_Engine/crank_gear_123_783_0_Parts.jt"></Representation></Part>
<Part id="id143" name="Body Sub:123-002;0,Parts" instanceRefs="inst1951264" type="assembly">
<UserData id="id156">
<UserValue value="Body Sub:123-002;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:29.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Body Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-002" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:10:00.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id158" name="Head2 Sub:;0,Parts" instanceRefs="inst1951408 inst1951616 inst1952624 inst1952720 inst1953440 inst1954488 inst1954600 inst1954872" type="assembly">
<UserData id="id170">
<UserValue value="Head2 Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Head2 Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id172" name="Spark Plug:;0,Parts" type="solid">
<Bound id="id175" values="0.03006996028125286 0.2239631712436676 0.02060705050826073 0.01078151073306799 0.009165501222014427 0.0493929535150528"></Bound>
<Representation id="id176" format="JT" location="./2_Cylinder_Engine/Spark_Plug__0_Parts.jt"></Representation></Part>
<Part id="id178" name="Rocker_Sub:;0,Parts" instanceRefs="inst1951568 inst1951712 inst1952144 inst1952576" type="assembly">
<UserData id="id189">
<UserValue value="Rocker_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Rocker_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id191" name="Rocker Arm Shaft:123-601;0,Parts" type="solid">
<Bound id="id194" values="-0.04317900538444519 0.4631594121456146 0.05750000104308128 0.006500000134110451 0.006495170295238495 0.05750000104308128"></Bound>
<Representation id="id195" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_Shaft_123_601_0_Parts.jt"></Representation></Part>
<Part id="id197" name="Rocker_Mount_Sub:;0,Parts" instanceRefs="inst1951824 inst1951872 inst1951920 inst1952032" type="assembly">
<UserData id="id203">
<UserValue value="Rocker_Mount_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Rocker_Mount_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id205" name="Rocker Mount:123-604;0,Parts" type="solid">
<Bound id="id208" values="0.005044352263212204 -0.05961518362164497 0.007500000298023224 0.0494999997317791 0.02099999971687794 0.007500000298023224"></Bound>
<Representation id="id209" format="JT" location="./2_Cylinder_Engine/Rocker_Mount_123_604_0_Parts.jt"></Representation></Part>
<Part id="id211" name="Rocker Mount Cap:123-608;0,Parts" type="solid">
<Bound id="id214" values="0.005044352263212204 -0.05511518567800522 0.007500000298023224 0.0494999997317791 0.006499998271465302 0.007500000298023224"></Bound>
<Representation id="id215" format="JT" location="./2_Cylinder_Engine/Rocker_Mount_Cap_123_608_0_Parts.jt"></Representation></Part>
<Part id="id217" name="Rocker Bolt:123-603;0,Parts" type="solid">
<Bound id="id220" values="0.02305358275771141 0.2096639275550842 -0.04050000011920929 0.007499999366700649 0.007494449149817228 0.04050000011920929"></Bound>
<Representation id="id221" format="JT" location="./2_Cylinder_Engine/Rocker_Bolt_123_603_0_Parts.jt"></Representation></Part>
<Part id="id226" name="Rocker_Mount_Sub:;0,Parts" instanceRefs="inst1952256 inst1952304 inst1952352 inst1952464" type="assembly">
<UserData id="id237">
<UserValue value="Rocker_Mount_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Rocker_Mount_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id254" name="Valve Spring:123-702;0,Parts" type="solid">
<Bound id="id257" values="-0.2873985767364502 -0.0646171048283577 0.0324999988079071 0.008999995887279511 0.008993340656161308 0.0324999988079071"></Bound>
<Representation id="id258" format="JT" location="./2_Cylinder_Engine/Valve_Spring_123_702_0_Parts.jt"></Representation></Part>
<Part id="id260" name="Valve_Sub:;0,Parts" instanceRefs="inst1952672 inst1952816 inst1952864" type="assembly">
<UserData id="id266">
<UserValue value="Valve_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Valve_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id268" name="Valve:123-700;0,Parts" type="solid">
<Bound id="id271" values="0.1265590041875839 0.2941140830516815 0 0.05499999970197678 0.01800000295042992 0.01798668131232262"></Bound>
<Representation id="id272" format="JT" location="./2_Cylinder_Engine/Valve_123_700_0_Parts.jt"></Representation></Part>
<Part id="id274" name="Valve Spring Cap:123-704;0,Parts" type="solid">
<Bound id="id277" values="0.2066644430160523 0.2842055261135101 0 0.004499997943639755 0.01600000448524952 0.01598815992474556"></Bound>
<Representation id="id278" format="JT" location="./2_Cylinder_Engine/Valve_Spring_Cap_123_704_0_Parts.jt"></Representation></Part>
<Part id="id280" name="Spring:;0,Parts" instanceRefs="inst1952912 inst1952960 inst1953008 inst1953056 inst1953104 inst1953152 inst1953200 inst1953248 inst1953296 inst1953344" type="assembly">
<UserData id="id286">
<UserValue value="Spring" title="I-DEAS Name"></UserValue>
<UserValue value="Spring:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id288" name="Spring Link:;0,Parts" type="solid">
<Bound id="id291" values="0.1303011178970337 -0.04939981177449226 0.007499259896576405 0.001999998930841684 0.01499851979315281 0.007499259896576405"></Bound>
<Representation id="id292" format="JT" location="./2_Cylinder_Engine/Spring_Link__0_Parts.jt"></Representation></Part>
<Part id="id321" name="Valve_Sub:;0,Parts" instanceRefs="inst1953392 inst1954336 inst1954440" type="assembly">
<UserData id="id333">
<UserValue value="Valve_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:26.00" title="Version Create Date + Time"></UserValue>
<UserValue value="Valve_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id335" name="Spring:;0,Parts" instanceRefs="inst1953576 inst1953624 inst1953672 inst1953720 inst1953768 inst1953816 inst1953920 inst1954024 inst1954128 inst1954232" type="assembly">
<UserData id="id346">
<UserValue value="Spring:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:25.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Spring" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id384" name="Rocker Arm:123-600;0,Parts" type="solid">
<Bound id="id387" values="-0.2874188423156738 -0.1816282123327255 0.04250000044703484 0.03894562274217606 0.01755017042160034 0.04250000044703484"></Bound>
<Representation id="id388" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_123_600_0_Parts.jt"></Representation></Part>
<Part id="id390" name="Rocker Arm_copy:123-602;0,Parts" type="solid">
<Bound id="id393" values="-0.2914990782737732 -0.1816282123327255 0.04250000044703484 0.03894564881920815 0.01755017600953579 0.04250000044703484"></Bound>
<Representation id="id394" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_copy_123_602_0_Parts.jt"></Representation></Part></InstanceGraph></ProductDef></PLMXML>
@@ -0,0 +1,161 @@
<?xml version="1.0" ?>
<PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
schemaVersion="4" date="2005-01-13" time="18:04:04" author="Vis Mockup 5.1.0">
<ProductDef id="id1">
<UserData id="id12" type="__TCC-VIS_MONIKER_INFO">
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="Path"></UserValue>
<UserValue value="file" title="FA_Protocol"></UserValue>
<UserValue value="C:/Program Files/UGS/JT2Go/Examples/2_Cylinder_Engine_Example/2_Cylinder_Engine.jt" title="object_id"></UserValue>
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="LocalCopy"></UserValue>
<UserValue value="2.0" title="Version"></UserValue>
<UserValue value="local" title="FA_Service"></UserValue>
<UserValue value="No" title="MkIsFolder"></UserValue>
<UserValue value="2_Cylinder_Engine.jt" title="Title"></UserValue>
<UserValue value="DirectModel.Document" title="FileTypeID"></UserValue></UserData>
<InstanceGraph id="id2" rootRefs="inst1931328">
<Instance id="inst1931328" name="2_Cylinder_Engine" partRef="#id14">
<ApplicationRef application="TCC-VIS" label="2_Cylinder_Engine.asm;0;0:"></ApplicationRef>
<UserData id="id18" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id29">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData>
<Transform id="id15">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst1590432" name="Head Stud:123-006;0,Parts" partRef="#id44">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id45">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999868869782 0.1321395188570023 -0.003983345814049244 1</Transform></Instance>
<Instance id="inst1950112" name="Lifter:123-923;0,Parts" partRef="#id50">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id51">2.757793993168889e-013 4.575816179956671e-013 1 0 4.575816179956671e-013 -1 4.575816179956671e-013 0 1 4.575816179956671e-013 -2.757793993168889e-013 0 0.1000000014901161 -0.1338488310575485 0.05437212437391281 1</Transform></Instance>
<Instance id="inst1950928" name="Body Sub:123-002;0,Parts" partRef="#id56">
<ApplicationRef application="TCC-VIS" label="Body Sub:123-002;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id57">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst1950976" name="Case_r:123-200;0,Parts" partRef="#id71">
<ApplicationRef application="TCC-VIS" label="Case_r:123-200;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id72">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst1951024" name="Cylinder_1:123-100;0,Parts" partRef="#id77">
<ApplicationRef application="TCC-VIS" label="Cylinder_1:123-100;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id78">1 -5.031413063960599e-009 -1.553538520049358e-009 0 1.553538409027055e-009 -1.993428355717697e-008 1 0 -5.031413063960599e-009 -1 -1.993428355717697e-008 0 0.1269356608390808 -5.273894387869405e-008 -0.0365588441491127 1</Transform></Instance>
<Instance id="inst1951072" name="Cylinder_2:123-101;0,Parts" partRef="#id83">
<ApplicationRef application="TCC-VIS" label="Cylinder_2:123-101;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id84">-1 -1.490642098644912e-008 -1.665472915135524e-008 0 1.665472915135524e-008 -1.764261092773722e-008 -1 0 1.490642098644912e-008 -1 1.764261092773722e-008 0 -0.1269356608390808 3.299700068737366e-009 0.0365588404238224 1</Transform></Instance>
<Instance id="inst1951120" name="cylinder bolt pattern:;0,Parts" partRef="#id89">
<ApplicationRef application="TCC-VIS" label="cylinder bolt pattern:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id90">2.459232373297482e-009 0.7071067690849304 -0.7071067690849304 0 -4.656259378066352e-009 -0.7071067690849304 -0.7071067690849304 0 -1 5.031412619871389e-009 1.55353274688963e-009 0 0.06499999761581421 0.1287170201539993 -0.003270523622632027 1</Transform></Instance>
<Instance id="inst1951168" name="Head_1:123-150;0,Parts" partRef="#id95">
<ApplicationRef application="TCC-VIS" label="Head_1:123-150;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id96">-1.553133399667672e-009 5.031413063960599e-009 -1 0 5.031413063960599e-009 1 5.031413063960599e-009 0 1 -5.031413063960599e-009 -1.553133399667672e-009 0 0.2239999920129776 0.03048792481422424 0.02500873245298863 1</Transform></Instance>
<Instance id="inst1951264" name="Head2 Sub:;0,Parts" partRef="#id101">
<ApplicationRef application="TCC-VIS" label="Head2 Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id102">1.665474158585312e-008 1.004267005555448e-006 -1 0 -1 -1.666503557373744e-008 -1.665475757306467e-008 0 -1.6665051560949e-008 1 1.004267005555448e-006 0 -0.04826182126998901 -0.05911042168736458 0.03459598124027252 1</Transform></Instance>
<Instance id="inst1951216" name="Head_2:123-151;0,Parts" partRef="#id115">
<ApplicationRef application="TCC-VIS" label="Head_2:123-151;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id116">1 9.947598300641403e-014 -1.004267005555448e-006 0 1.011203266898519e-006 3.500436918102423e-008 0.9999999403953552 0 2.75101122437782e-014 -1 2.288952989822068e-013 0 0.04958733543753624 0.1757381856441498 0.08959835022687912 1</Transform></Instance>
<Instance id="inst1951360" name="Head Nut:123-005;0,Parts" partRef="#id121">
<ApplicationRef application="TCC-VIS" label="Head Nut:123-005;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id122">0.9999898672103882 1.657488901685156e-008 -0.004498782102018595 0 -0.004498789552599192 -1.781053349247941e-008 -0.9999898076057434 0 -1.665473980949628e-008 1 1.726835030524399e-008 0 -0.02312494441866875 0.2477381676435471 0.2203545719385147 1</Transform></Instance>
<Instance id="inst1954648" name="Valve Cover_copy:;0,Main" partRef="#id127">
<ApplicationRef application="TCC-VIS" label="Valve Cover_copy:;0,Main.part;0;0:"></ApplicationRef>
<Transform id="id128">1 -6.184104131534696e-005 -1.004268028736988e-006 0 1.011203266898519e-006 1.773524793691195e-008 0.9999999403953552 0 -6.184104131534696e-005 -1 -1.720678532990405e-008 0 0.05108793079853058 0.325738400220871 0.091098353266716 1</Transform></Instance>
<Instance id="inst1954760" name="Head Nut:123-005;0,Parts" partRef="#id121">
<ApplicationRef application="TCC-VIS" label="Head Nut:123-005;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id133">0.9999933242797852 1.67195413069976e-008 0.003653878346085548 0 0.003653871593996882 -1.767486601522705e-008 -0.9999932646751404 0 -1.665473980949628e-008 1 1.726829879089564e-008 0 0.08119497448205948 0.2477381974458695 0.2201460748910904 1</Transform></Instance>
<Instance id="inst1954920" name="Valve Cover:123-701;0,Parts" partRef="#id136">
<ApplicationRef application="TCC-VIS" label="Valve Cover:123-701;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id137">-1.552728390308289e-009 5.031413063960599e-009 -1 0 5.031413063960599e-009 1 5.031413063960599e-009 0 1 -5.031413063960599e-009 -1.552728390308289e-009 0 0.2239999920129776 0.03198792785406113 0.02350873313844204 1</Transform></Instance>
<Instance id="inst1955032" name="Head Stud:123-006;0,Parts" partRef="#id44">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id142">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999868869782 0.02160527743399143 -0.1053286716341972 1</Transform></Instance>
<Instance id="inst1955144" name="Head Stud:123-006;0,Parts" partRef="#id44">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id145">-5.582201367815287e-013 -0.0009254564647562802 -0.9999995827674866 0 -6.028238463962055e-010 -0.9999995827674866 0.0009254564647562802 0 -1 6.028241239519616e-010 3.326781192647572e-016 0 -0.2949999868869782 0.02149887755513191 0.0004925570683553815 1</Transform></Instance>
<Instance id="inst1955256" name="Head Stud:123-006;0,Parts" partRef="#id44">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id148">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999868869782 0.1238077878952026 -0.100101500749588 1</Transform></Instance>
<Instance id="inst1955368" name="Lifter:123-923;0,Parts" partRef="#id50">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id151">2.757793993168889e-013 4.575816179956671e-013 1 0 4.575816179956671e-013 -1 4.575816179956671e-013 0 1 4.575816179956671e-013 -2.757793993168889e-013 0 0.1000000014901161 -0.1338488310575485 0.03437212482094765 1</Transform></Instance>
<Instance id="inst1955472" name="Lifter:123-923;0,Parts" partRef="#id50">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id154">4.052314039881821e-013 1.110223024625157e-015 1 0 1.110223024625157e-015 1 -1.110223024625157e-015 0 -1 1.110223024625157e-015 4.052314039881821e-013 0 -0.1000000014901161 -0.06615117192268372 0.01437209825962782 1</Transform></Instance>
<Instance id="inst1955576" name="Lifter:123-923;0,Parts" partRef="#id50">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id157">4.052314039881821e-013 1.110223024625157e-015 1 0 1.110223024625157e-015 1 -1.110223024625157e-015 0 -1 1.110223024625157e-015 4.052314039881821e-013 0 -0.1000000014901161 -0.06615117937326431 -0.005627896636724472 1</Transform></Instance>
<Part id="id14" name="2_Cylinder_Engine" instanceRefs="inst1590432 inst1950112 inst1950928 inst1955256 inst1955368 inst1955472 inst1955576" type="assembly">
<UserData id="id31" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id42">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id44" name="Head Stud:123-006;0,Parts" type="solid">
<Bound id="id47" values="-0.03247146308422089 0.07456196844577789 -0.1150000020861626 0.006500001531094313 0.006495191715657711 0.1150000020861626"></Bound>
<Representation id="id48" format="JT" location="./2_Cylinder_Engine/Head_Stud_123_006_0_Parts.jt"></Representation></Part>
<Part id="id50" name="Lifter:123-923;0,Parts" type="solid">
<Bound id="id53" values="-0.02437210455536842 -0.03384878858923912 -0.04250000044703484 0.00774999987334013 0.007749963086098433 0.04250000044703484"></Bound>
<Representation id="id54" format="JT" location="./2_Cylinder_Engine/Lifter_123_923_0_Parts.jt"></Representation></Part>
<Part id="id56" name="Body Sub:123-002;0,Parts" instanceRefs="inst1950976 inst1951024 inst1951072 inst1951120 inst1951168 inst1951264 inst1954920 inst1955032 inst1955144" type="assembly">
<UserData id="id69">
<UserValue value="Body Sub:123-002;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:29.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Body Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-002" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:10:00.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id71" name="Case_r:123-200;0,Parts" type="solid">
<Bound id="id74" values="0 -0.04548577964305878 -0.003500004298985004 0.0949999988079071 0.1354857832193375 0.1164999976754189"></Bound>
<Representation id="id75" format="JT" location="./2_Cylinder_Engine/Case_r_123_200_0_Parts.jt"></Representation></Part>
<Part id="id77" name="Cylinder_1:123-100;0,Parts" type="solid">
<Bound id="id80" values="0.01856433786451817 0.05655883997678757 2.846240931830835e-007 0.08050000667572022 0.0950000062584877 0.08000028133392334"></Bound>
<Representation id="id81" format="JT" location="./2_Cylinder_Engine/Cylinder_1_123_100_0_Parts.jt"></Representation></Part>
<Part id="id83" name="Cylinder_2:123-101;0,Parts" type="solid">
<Bound id="id86" values="0.01856433786451817 0.05655883997678757 2.846240931830835e-007 0.08050000667572022 0.0950000062584877 0.08000028133392334"></Bound>
<Representation id="id87" format="JT" location="./2_Cylinder_Engine/Cylinder_2_123_101_0_Parts.jt"></Representation></Part>
<Part id="id89" name="cylinder bolt pattern:;0,Parts" type="solid">
<Bound id="id92" values="-0.1074714586138725 0.0745619609951973 -0.1150000020861626 0.08149999380111694 0.08149999380111694 0.1150000020861626"></Bound>
<Representation id="id93" format="JT" location="./2_Cylinder_Engine/cylinder_bolt_pattern__0_Parts.jt"></Representation></Part>
<Part id="id95" name="Head_1:123-150;0,Parts" type="solid">
<Bound id="id98" values="0.005008736159652472 -0.03048798069357872 0.04119380190968514 0.1079999953508377 0.09020166844129562 0.0411965511739254"></Bound>
<Representation id="id99" format="JT" location="./2_Cylinder_Engine/Head_1_123_150_0_Parts.jt"></Representation></Part>
<Part id="id101" name="Head2 Sub:;0,Parts" instanceRefs="inst1951216 inst1951360 inst1954648 inst1954760" type="assembly">
<UserData id="id113">
<UserValue value="Head2 Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Head2 Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id115" name="Head_2:123-151;0,Parts" type="solid">
<Bound id="id118" values="0.005008736159652472 -0.03048798069357872 -0.04119383916258812 0.1079999953508377 0.09020166844129562 0.04119651019573212"></Bound>
<Representation id="id119" format="JT" location="./2_Cylinder_Engine/Head_2_123_151_0_Parts.jt"></Representation></Part>
<Part id="id121" name="Head Nut:123-005;0,Parts" type="solid">
<Bound id="id124" values="0.02565165981650353 0.2141639441251755 -0.008499999530613422 0.01200000010430813 0.01199112832546234 0.008499999530613422"></Bound>
<Representation id="id125" format="JT" location="./2_Cylinder_Engine/Head_Nut_123_005_0_Parts.jt"></Representation></Part>
<Part id="id127" name="Valve Cover_copy:;0,Main" type="solid">
<Bound id="id130" values="0.003508739871904254 -0.03198798000812531 0.0386538989841938 0.101500004529953 0.09204161167144775 0.03634610027074814"></Bound>
<Representation id="id131" format="JT" location="./2_Cylinder_Engine/Valve_Cover_copy__0_Main.jt"></Representation></Part>
<Part id="id136" name="Valve Cover:123-701;0,Parts" type="solid">
<Bound id="id139" values="0.003508739871904254 -0.03198803216218948 0.1113460958003998 0.101500004529953 0.09204155951738358 0.03634609654545784"></Bound>
<Representation id="id140" format="JT" location="./2_Cylinder_Engine/Valve_Cover_123_701_0_Parts.jt"></Representation></Part></InstanceGraph></ProductDef></PLMXML>
@@ -0,0 +1,511 @@
<?xml version="1.0" ?>
<PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
schemaVersion="4" date="2005-02-14" time="21:15:28" author="Vis Mockup 5.1.0">
<ProductDef id="id1">
<UserData id="id12" type="__TCC-VIS_MONIKER_INFO">
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="Path"></UserValue>
<UserValue value="file" title="FA_Protocol"></UserValue>
<UserValue value="C:/Program Files/UGS/JT2Go/Examples/2_Cylinder_Engine_Example/2_Cylinder_Engine.jt" title="object_id"></UserValue>
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="LocalCopy"></UserValue>
<UserValue value="2.0" title="Version"></UserValue>
<UserValue value="local" title="FA_Service"></UserValue>
<UserValue value="No" title="MkIsFolder"></UserValue>
<UserValue value="2_Cylinder_Engine.jt" title="Title"></UserValue>
<UserValue value="DirectModel.Document" title="FileTypeID"></UserValue></UserData>
<InstanceGraph id="id2" rootRefs="inst1798736">
<Instance id="inst1798736" name="2_Cylinder_Engine" partRef="#id14">
<ApplicationRef application="TCC-VIS" label="2_Cylinder_Engine.asm;0;0:"></ApplicationRef>
<UserData id="id20" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id31">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData>
<Transform id="id15">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst1779056" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id47">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999868869782 0.1321395188570023 -0.003983345814049244 1</Transform></Instance>
<Instance id="inst1913768" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id53">2.757793993168889e-013 4.575816179956671e-013 1 0 4.575816179956671e-013 -1 4.575816179956671e-013 0 1 4.575816179956671e-013 -2.757793993168889e-013 0 0.1000000014901161 -0.1338488310575485 0.05437212437391281 1</Transform></Instance>
<Instance id="inst1910440" name="rod:123-699;0,Parts" partRef="#id58">
<ApplicationRef application="TCC-VIS" label="rod:123-699;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id59">0.9861037135124207 -0.1661308258771896 -1.166810754732375e-015 0 0.1661308258771896 0.9861037135124207 -1.062013085640994e-015 0 1.327029577804367e-015 8.534118465009541e-016 1 0 0.07101806253194809 0.02219301462173462 0.02199999988079071 1</Transform></Instance>
<Instance id="inst1937376" name="Piston Sub:;0,Parts" partRef="#id64">
<ApplicationRef application="TCC-VIS" label="Piston Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id65">-1 1.10096191110321e-032 -7.293991291219912e-017 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.1368601024150848 0.06445372104644775 0.003820367390289903 1</Transform></Instance>
<Instance id="inst1912768" name="Piston:123-844;0,Parts" partRef="#id74">
<ApplicationRef application="TCC-VIS" label="Piston:123-844;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id75">-1 -1.334063881586189e-008 7.982825511732017e-010 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.294677197933197 0.07397986948490143 0.01617963239550591 1</Transform></Instance>
<Instance id="inst1865720" name="Piston pin:123-845;0,Parts" partRef="#id83">
<ApplicationRef application="TCC-VIS" label="Piston pin:123-845;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id84">0.9995650053024292 0.02949320152401924 -7.979323313200837e-010 0 -0.0294931884855032 0.9995650053024292 2.354164085893729e-011 0 -3.085015966644567e-015 2.168479519145078e-015 1 0 -0.0453154630959034 -0.02461725845932961 -0.02632036805152893 1</Transform></Instance>
<Instance id="inst1895856" name="Piston Sub:;0,Parts" partRef="#id89">
<ApplicationRef application="TCC-VIS" label="Piston Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id90">1 0 0 0 0 1 0 0 0 0 1 0 0.1368601024150848 -0.06445372104644775 -0.03617963194847107 1</Transform></Instance>
<Instance id="inst1671584" name="Piston:123-844;0,Parts" partRef="#id74">
<ApplicationRef application="TCC-VIS" label="Piston:123-844;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id102">-1 -1.334063881586189e-008 7.041613514502387e-009 0 -1.003604666278664e-019 -1 1.355268465125744e-016 0 -1.736007260287489e-016 1.355268465125744e-016 1 0 -0.294677197933197 0.07397986948490143 0.0161796361207962 1</Transform></Instance>
<Instance id="inst2012776" name="Piston pin:123-845;0,Parts" partRef="#id83">
<ApplicationRef application="TCC-VIS" label="Piston pin:123-845;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id105">0.9995650053024292 0.02949320152401924 -7.038550631222051e-009 0 -0.0294931884855032 0.9995650053024292 2.076799010541919e-010 0 1.57434811062825e-016 -2.681045890006053e-016 1 0 -0.0453154630959034 -0.02461725845932961 -0.02632036432623863 1</Transform></Instance>
<Instance id="inst2026000" name="CamShaft Sub:123-990;0,Parts" partRef="#id108">
<ApplicationRef application="TCC-VIS" label="CamShaft Sub:123-990;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id109">0.7071067690849304 -0.7071067690849304 4.055928498874345e-013 0 0.7071067690849304 0.7071067690849304 6.101357784178425e-016 0 -2.872288724139332e-013 2.863660101149607e-013 1 0 0.04717867448925972 -0.0528213270008564 -0.08894477039575577 1</Transform></Instance>
<Instance id="inst2054176" name="Cam_shaft:123-457;0,Parts" partRef="#id123">
<ApplicationRef application="TCC-VIS" label="Cam_shaft:123-457;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id124">1.214013511940948e-008 -7.440697502580917e-010 1 0 -0.9059386253356934 0.4234090149402618 3.675416633368289e-013 0 -0.4234090149402618 -0.9059386253356934 1.728632428171784e-013 0 -0.03029589354991913 -0.05256131291389465 0.02505522221326828 1</Transform></Instance>
<Instance id="inst1938944" name="cam_gear:123-456;0,Parts" partRef="#id129">
<ApplicationRef application="TCC-VIS" label="cam_gear:123-456;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id130">-0.4234090149402618 -0.9059386253356934 1.726649286873036e-013 0 -0.9059386253356934 0.4234090149402618 3.675724817835818e-013 0 -1.214013511940948e-008 7.440699723026967e-010 -1 0 -0.09059386700391769 -0.02437981590628624 -0.04005522653460503 1</Transform></Instance>
<Instance id="inst1848008" name="Crank_Sub:123-555;0,Parts" partRef="#id135">
<ApplicationRef application="TCC-VIS" label="Crank_Sub:123-555;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id136">-0.5 -0.8660253882408142 -2.979083167524747e-016 0 0.8660253882408142 -0.5 -7.816530680941419e-016 0 5.279772353637604e-016 -6.488226847947026e-016 1 0 0.01809818297624588 -0.06969784200191498 -0.1055598109960556 1</Transform></Instance>
<Instance id="inst1838360" name="crank:123-782;0,Parts" partRef="#id150">
<ApplicationRef application="TCC-VIS" label="crank:123-782;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id151">-0.9390942454338074 0.3436597287654877 1.284025318025572e-016 0 -0.3436597883701325 -0.9390941858291626 -6.660528172495127e-016 0 2.47777798279003e-008 -2.063888393522007e-009 1 0 -0.05131101608276367 -0.05052240565419197 0.1075598075985909 1</Transform></Instance>
<Instance id="inst1857888" name="crank_gear:123-783;0,Parts" partRef="#id156">
<ApplicationRef application="TCC-VIS" label="crank_gear:123-783;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id157">-0.9390942454338074 0.3436597287654877 3.809448359261655e-016 0 -0.3436597883701325 -0.9390941858291626 -2.583991531420675e-015 0 2.47777798279003e-008 -2.063890391923451e-009 1 0 -0.05131101980805397 -0.05052240565419197 -0.01844018884003162 1</Transform></Instance>
<Instance id="inst2010456" name="Body Sub:123-002;0,Parts" partRef="#id162">
<ApplicationRef application="TCC-VIS" label="Body Sub:123-002;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id163">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst2026392" name="Case_r:123-200;0,Parts" partRef="#id179">
<ApplicationRef application="TCC-VIS" label="Case_r:123-200;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id180">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst2026184" name="Cylinder_1:123-100;0,Parts" partRef="#id187">
<ApplicationRef application="TCC-VIS" label="Cylinder_1:123-100;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id188">1 -5.031413063960599e-009 -1.553538520049358e-009 0 1.553538409027055e-009 -1.993428355717697e-008 1 0 -5.031413063960599e-009 -1 -1.993428355717697e-008 0 0.1269356608390808 -5.273894387869405e-008 -0.0365588441491127 1</Transform></Instance>
<Instance id="inst1996904" name="Cylinder_2:123-101;0,Parts" partRef="#id196">
<ApplicationRef application="TCC-VIS" label="Cylinder_2:123-101;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id197">-1 -1.490642098644912e-008 -1.665472915135524e-008 0 1.665472915135524e-008 -1.764261092773722e-008 -1 0 1.490642098644912e-008 -1 1.764261092773722e-008 0 -0.1269356608390808 3.299700068737366e-009 0.0365588404238224 1</Transform></Instance>
<Instance id="inst1858736" name="cylinder bolt pattern:;0,Parts" partRef="#id203">
<ApplicationRef application="TCC-VIS" label="cylinder bolt pattern:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id204">2.459232373297482e-009 0.7071067690849304 -0.7071067690849304 0 -4.656259378066352e-009 -0.7071067690849304 -0.7071067690849304 0 -1 5.031412619871389e-009 1.55353274688963e-009 0 0.06499999761581421 0.1287170201539993 -0.003270523622632027 1</Transform></Instance>
<Instance id="inst1726008" name="Head_1:123-150;0,Parts" partRef="#id209">
<ApplicationRef application="TCC-VIS" label="Head_1:123-150;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id210">-1.553133399667672e-009 5.031413063960599e-009 -1 0 5.031413063960599e-009 1 5.031413063960599e-009 0 1 -5.031413063960599e-009 -1.553133399667672e-009 0 0.2239999920129776 0.03048792481422424 0.02500873245298863 1</Transform></Instance>
<Instance id="inst1729056" name="Head2 Sub:;0,Parts" partRef="#id218">
<ApplicationRef application="TCC-VIS" label="Head2 Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id219">1.665474158585312e-008 1.004267005555448e-006 -1 0 -1 -1.666503557373744e-008 -1.665475757306467e-008 0 -1.6665051560949e-008 1 1.004267005555448e-006 0 -0.04826182126998901 -0.05911042168736458 0.03459598124027252 1</Transform></Instance>
<Instance id="inst1727816" name="Head_2:123-151;0,Parts" partRef="#id232">
<ApplicationRef application="TCC-VIS" label="Head_2:123-151;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id233">1 9.947598300641403e-014 -1.004267005555448e-006 0 1.011203266898519e-006 3.500436918102423e-008 0.9999999403953552 0 2.75101122437782e-014 -1 2.288952989822068e-013 0 0.04958733543753624 0.1757381856441498 0.08959835022687912 1</Transform></Instance>
<Instance id="inst2027256" name="Spark Plug:;0,Parts" partRef="#id239">
<ApplicationRef application="TCC-VIS" label="Spark Plug:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id240">1 9.977915303889529e-014 -9.877358024823479e-007 0 -9.946720638254192e-007 -3.500436562831055e-008 -0.9999999403953552 0 -2.75101122437782e-014 1 -2.288952989822068e-013 0 0.02452629990875721 0.2137382179498673 0.2830735743045807 1</Transform></Instance>
<Instance id="inst1842808" name="Head Nut:123-005;0,Parts" partRef="#id245">
<ApplicationRef application="TCC-VIS" label="Head Nut:123-005;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id246">0.9999898672103882 1.657488901685156e-008 -0.004498782102018595 0 -0.004498789552599192 -1.781053349247941e-008 -0.9999898076057434 0 -1.665473980949628e-008 1 1.726835030524399e-008 0 -0.02312494441866875 0.2477381676435471 0.2203545719385147 1</Transform></Instance>
<Instance id="inst1906944" name="Rocker_Sub:;0,Parts" partRef="#id251">
<ApplicationRef application="TCC-VIS" label="Rocker_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id252">0.9999974370002747 -7.939097296238984e-011 -0.002271066652610898 0 9.118318147522016e-016 1 3.807415215490448e-015 0 0.002271073637530208 3.500404588407946e-008 0.9999973773956299 0 -0.0001340909366263077 -0.01299998629838228 0.0001236627285834402 1</Transform></Instance>
<Instance id="inst2033120" name="Rocker Arm Shaft:123-601;0,Parts" partRef="#id264">
<ApplicationRef application="TCC-VIS" label="Rocker Arm Shaft:123-601;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id265">-0.9999850392341614 -0.004973083734512329 -0.002270016819238663 0 0.004973071627318859 -0.9999875426292419 1.127185623772675e-005 0 -0.002270089229568839 -4.575558421038295e-008 0.9999972581863403 0 0.0487947128713131 0.7686771750450134 -0.02040251158177853 1</Transform></Instance>
<Instance id="inst1789832" name="Rocker_Mount_Sub:;0,Parts" partRef="#id270">
<ApplicationRef application="TCC-VIS" label="Rocker_Mount_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id271">1 -7.424300063618716e-011 1.35305974757749e-010 0 1.276140897124513e-015 0.9999998807907105 4.341043060584901e-016 0 -4.433523059788058e-008 -2.848764957263938e-008 0.9999998211860657 0 -1.748614808505522e-009 -9.381160293031599e-010 -7.228971310446752e-010 1</Transform></Instance>
<Instance id="inst1796000" name="Rocker Mount:123-604;0,Parts" partRef="#id278">
<ApplicationRef application="TCC-VIS" label="Rocker Mount:123-604;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id279">0.9999973773956299 1.651584646822357e-008 0.002270044526085258 0 -1.669391558323241e-008 0.9999998807907105 1.723048725921217e-008 0 -0.002270088996738195 -4.57557440824985e-008 0.9999972581863403 0 0.04950515553355217 0.3443533480167389 0.07959935814142227 1</Transform></Instance>
<Instance id="inst2030512" name="Rocker Mount Cap:123-608;0,Parts" partRef="#id284">
<ApplicationRef application="TCC-VIS" label="Rocker Mount Cap:123-608;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id285">0.9999973773956299 1.651585179729409e-008 0.002270044526085258 0 1.669392091230293e-008 -0.9999998807907105 -1.723048725921217e-008 0 0.002270088996738195 4.57557440824985e-008 -0.9999972581863403 0 0.04947110638022423 0.2571229636669159 0.09459931403398514 1</Transform></Instance>
<Instance id="inst1725832" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id291">0.9984452724456787 1.914222380605679e-008 -0.05574143305420876 0 -0.05574139580130577 4.472066095217997e-008 -0.9984451532363892 0 -1.669391203051873e-008 1 1.723049436463953e-008 0 0.01820174790918827 0.326738178730011 0.2976770401000977 1</Transform></Instance>
<Instance id="inst2029080" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id296">0.9984543323516846 1.913488922866691e-008 -0.05557771772146225 0 -0.05557768046855927 4.472379444564467e-008 -0.998454213142395 0 -1.669391025416189e-008 0.9999998807907105 1.723049436463953e-008 0 0.06816709786653519 0.326738178730011 0.2977887094020844 1</Transform></Instance>
<Instance id="inst2033672" name="Rocker_Mount_Sub:;0,Parts" partRef="#id299">
<ApplicationRef application="TCC-VIS" label="Rocker_Mount_Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id300">1 -7.424300063618716e-011 1.35305974757749e-010 0 1.276140897124513e-015 0.9999998807907105 4.341043060584901e-016 0 -4.433523059788058e-008 -2.848764957263938e-008 0.9999998211860657 0 -4.064914627122107e-009 -1.459414988858043e-008 -0.09999953210353851 1</Transform></Instance>
<Instance id="inst1996808" name="Rocker Mount:123-604;0,Parts" partRef="#id278">
<ApplicationRef application="TCC-VIS" label="Rocker Mount:123-604;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id312">0.9999974370002747 1.662746029751361e-008 0.002270044526085258 0 -1.669391735958925e-008 1.00000011920929 1.723049081192585e-008 0 -0.002270061522722244 -2.438619972622291e-008 0.9999974966049194 0 0.04973216727375984 0.3443534076213837 0.07959914952516556 1</Transform></Instance>
<Instance id="inst1867136" name="Rocker Mount Cap:123-608;0,Parts" partRef="#id284">
<ApplicationRef application="TCC-VIS" label="Rocker Mount Cap:123-608;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id315">0.9999974370002747 1.662746562658413e-008 0.002270044526085258 0 1.669392268865977e-008 -1.00000011920929 -1.723049081192585e-008 0 0.002270061522722244 2.438619972622291e-008 -0.9999974966049194 0 0.0496981143951416 0.2571230232715607 0.09459911286830902 1</Transform></Instance>
<Instance id="inst1948848" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id318">0.9986630082130432 1.791910797521723e-008 -0.05169311910867691 0 -0.05169309675693512 2.345346850063379e-008 -0.998663067817688 0 -1.669391025416189e-008 1.00000011920929 1.72305067991374e-008 0 0.01757495850324631 0.3267382085323334 0.2976291477680206 1</Transform></Instance>
<Instance id="inst1997256" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id321">0.9986716508865356 1.791518755567267e-008 -0.05152621492743492 0 -0.05152619630098343 2.345645455648082e-008 -0.9986717104911804 0 -1.669391025416189e-008 1.00000011920929 1.723049791735321e-008 0 0.06753963232040405 0.3267382085323334 0.2977406084537506 1</Transform></Instance>
<Instance id="inst1949072" name="Rocker Arm Shaft:123-601;0,Parts" partRef="#id264">
<ApplicationRef application="TCC-VIS" label="Rocker Arm Shaft:123-601;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id324">-0.9999873042106628 -0.004487393889576197 -0.00227002170868218 0 0.004487383179366589 -0.9999898076057434 1.016931855701841e-005 0 -0.002270088996738195 -4.575493051106605e-008 0.9999972581863403 0 -0.02998023852705956 0.7686992287635803 -0.02058133110404015 1</Transform></Instance>
<Instance id="inst2052896" name="Valve Spring:123-702;0,Parts" partRef="#id327">
<ApplicationRef application="TCC-VIS" label="Valve Spring:123-702;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id328">-0.821344792842865 -0.3829995691776276 0.4227339625358582 0 -0.3831273019313812 -0.1786547750234604 -0.9062537550926209 0 0.4226182997226715 -0.9063078165054321 -4.468796817036491e-007 0 -0.2707940638065338 0.1454340070486069 0.1220441088080406 1</Transform></Instance>
<Instance id="inst1725624" name="Valve_Sub:;0,Parts" partRef="#id333">
<ApplicationRef application="TCC-VIS" label="Valve_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id334">0.4546822905540466 0.654166042804718 0.6044259667396545 0 -0.8696395754814148 0.4726209938526154 0.1426760256290436 0 -0.1923305839300156 -0.5905050039291382 0.7837809920310974 0 0.09187051653862 0.08063256740570068 0.1662608832120895 1</Transform></Instance>
<Instance id="inst1914472" name="Valve:123-700;0,Parts" partRef="#id341">
<ApplicationRef application="TCC-VIS" label="Valve:123-700;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id342">0.7850326299667358 0.06081443279981613 -0.6164620518684387 0 -0.1356190741062164 0.9878997206687927 -0.07524674385786057 0 0.6044265031814575 0.1426751911640167 0.7837809920310974 0 -0.001248535001650453 -0.2500619888305664 -0.09022713452577591 1</Transform></Instance>
<Instance id="inst1734000" name="Valve Spring Cap:123-704;0,Parts" partRef="#id347">
<ApplicationRef application="TCC-VIS" label="Valve Spring Cap:123-704;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id348">0.7850326299667358 0.06081448495388031 -0.6164620518684387 0 -0.3924773633480072 -0.7211050391197205 -0.5709372162818909 0 -0.4792551398277283 0.6901518106460571 -0.5422225594520569 0 0.0455969013273716 0.2435131669044495 0.06938881427049637 1</Transform></Instance>
<Instance id="inst1730152" name="Spring:;0,Parts" partRef="#id353">
<ApplicationRef application="TCC-VIS" label="Spring:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id354">1 -3.002940829333056e-008 3.437022044749938e-008 0 -4.150651022882812e-008 1.000000238418579 4.017514854126603e-008 0 3.73510147255729e-008 2.773385787691041e-008 1 0 -1.489124112907803e-008 -4.276215381793236e-009 1.08718030134014e-008 1</Transform></Instance>
<Instance id="inst1910040" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id362">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1410751193761826 0.09142301231622696 -0.3314632773399353 1</Transform></Instance>
<Instance id="inst1910640" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id367">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.05227819457650185 0.07644443958997726 -0.1796288043260574 1</Transform></Instance>
<Instance id="inst1911040" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id370">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1347948610782623 0.09093648940324783 -0.3265315294265747 1</Transform></Instance>
<Instance id="inst1911768" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id373">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.05855846777558327 0.07595790922641754 -0.1746970862150192 1</Transform></Instance>
<Instance id="inst1912168" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;4:"></ApplicationRef>
<Transform id="id376">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1285146176815033 0.0904499888420105 -0.3215998709201813 1</Transform></Instance>
<Instance id="inst1912968" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;5:"></ApplicationRef>
<Transform id="id379">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.0648387148976326 0.07547140121459961 -0.1697653979063034 1</Transform></Instance>
<Instance id="inst1920696" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;6:"></ApplicationRef>
<Transform id="id382">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1222343519330025 0.08996346592903137 -0.3166681826114655 1</Transform></Instance>
<Instance id="inst1827264" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;7:"></ApplicationRef>
<Transform id="id385">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.07111898809671402 0.07498487830162048 -0.1648336797952652 1</Transform></Instance>
<Instance id="inst1920976" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;8:"></ApplicationRef>
<Transform id="id388">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1159540787339211 0.08947695046663284 -0.3117364346981049 1</Transform></Instance>
<Instance id="inst1994408" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;9:"></ApplicationRef>
<Transform id="id391">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.07739924639463425 0.07449836283922195 -0.1599020063877106 1</Transform></Instance>
<Instance id="inst1994616" name="Valve_Sub:;0,Parts" partRef="#id394">
<ApplicationRef application="TCC-VIS" label="Valve_Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id395">-0.4546823501586914 0.6541661024093628 -0.6044260263442993 0 0.8696396350860596 0.4726210236549377 -0.1426760405302048 0 0.192330613732338 -0.5905051231384277 -0.7837811708450317 0 0.01489819493144751 0.08582951128482819 -0.04803464561700821 1</Transform></Instance>
<Instance id="inst1995632" name="Spring:;0,Parts" partRef="#id408">
<ApplicationRef application="TCC-VIS" label="Spring:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id409">1 2.298901691233368e-008 -2.432995493961698e-008 0 -3.89851670945518e-008 0.9999998807907105 -1.280528216796029e-008 0 -3.000558379540053e-008 -2.485903749516183e-008 0.9999998807907105 0 -1.494453005790319e-009 -7.655864275868396e-010 -5.496130661697407e-009 1</Transform></Instance>
<Instance id="inst1722840" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;10:"></ApplicationRef>
<Transform id="id421">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1413719058036804 0.08810769766569138 -0.3271084725856781 1</Transform></Instance>
<Instance id="inst1723976" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;11:"></ApplicationRef>
<Transform id="id424">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.05524870008230209 0.07287602126598358 -0.1727083474397659 1</Transform></Instance>
<Instance id="inst1725736" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;12:"></ApplicationRef>
<Transform id="id427">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1366616934537888 0.08774281293153763 -0.3234097063541412 1</Transform></Instance>
<Instance id="inst1995424" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;13:"></ApplicationRef>
<Transform id="id430">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.05995889753103256 0.07251112163066864 -0.1690095812082291 1</Transform></Instance>
<Instance id="inst1726232" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;14:"></ApplicationRef>
<Transform id="id433">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1319515109062195 0.08737793564796448 -0.3197109401226044 1</Transform></Instance>
<Instance id="inst1727160" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;15:"></ApplicationRef>
<Transform id="id436">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.06466909497976303 0.07214623689651489 -0.165310800075531 1</Transform></Instance>
<Instance id="inst1722360" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;16:"></ApplicationRef>
<Transform id="id439">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.127241313457489 0.08701304346323013 -0.3160121440887451 1</Transform></Instance>
<Instance id="inst1995528" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;17:"></ApplicationRef>
<Transform id="id442">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.0693792924284935 0.07178134471178055 -0.1616120338439941 1</Transform></Instance>
<Instance id="inst1995008" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;18:"></ApplicationRef>
<Transform id="id445">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1225311160087585 0.08664815127849579 -0.3123133778572083 1</Transform></Instance>
<Instance id="inst2053416" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;19:"></ApplicationRef>
<Transform id="id448">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.07408948242664337 0.0714164674282074 -0.1579132527112961 1</Transform></Instance>
<Instance id="inst2053208" name="Valve:123-700;0,Parts" partRef="#id341">
<ApplicationRef application="TCC-VIS" label="Valve:123-700;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id451">0.7850325107574463 0.06081444025039673 -0.6164620518684387 0 -0.135619044303894 0.9878994226455689 -0.07524680346250534 0 0.6044264435768127 0.1426751613616943 0.7837807536125183 0 -0.005746716633439064 -0.250409871339798 -0.08668788522481918 1</Transform></Instance>
<Instance id="inst1862560" name="Valve Spring Cap:123-704;0,Parts" partRef="#id347">
<ApplicationRef application="TCC-VIS" label="Valve Spring Cap:123-704;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id454">0.7850325703620911 0.06081447005271912 -0.6164620518684387 0 -0.3681581914424896 -0.7545340657234192 -0.543265700340271 0 -0.498180091381073 0.6534368991851807 -0.5699445009231567 0 0.03418708592653275 0.2526659965515137 0.06506367027759552 1</Transform></Instance>
<Instance id="inst1719832" name="Rocker Arm:123-600;0,Parts" partRef="#id457">
<ApplicationRef application="TCC-VIS" label="Rocker Arm:123-600;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id458">0.9026297330856323 0.4304179251194 -9.149687798526429e-007 0 -0.4304179251194 0.9026297330856323 4.554329109396349e-007 0 1.028840756589489e-006 1.773579327846164e-008 0.9999999403953552 0 0.2777610719203949 0.5800805687904358 -0.005389846861362457 1</Transform></Instance>
<Instance id="inst1729824" name="Rocker Arm_copy:123-602;0,Parts" partRef="#id463">
<ApplicationRef application="TCC-VIS" label="Rocker Arm_copy:123-602;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id464">0.9026297926902771 -0.4304177463054657 -9.298340728491894e-007 0 0.4304177463054657 0.9026297926902771 -4.242589284331189e-007 0 1.028840756589489e-006 1.773579505481848e-008 0.9999999403953552 0 0.3539793193340302 0.3309040069580078 -0.005389927886426449 1</Transform></Instance>
<Instance id="inst1726936" name="Valve Cover_copy:;0,Main" partRef="#id469">
<ApplicationRef application="TCC-VIS" label="Valve Cover_copy:;0,Main.part;0;0:"></ApplicationRef>
<Transform id="id470">1 -6.184104131534696e-005 -1.004268028736988e-006 0 1.011203266898519e-006 1.773524793691195e-008 0.9999999403953552 0 -6.184104131534696e-005 -1 -1.720678532990405e-008 0 0.05108792707324028 0.3257383704185486 0.09109834581613541 1</Transform></Instance>
<Instance id="inst1722616" name="Head Nut:123-005;0,Parts" partRef="#id245">
<ApplicationRef application="TCC-VIS" label="Head Nut:123-005;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id475">0.9999933242797852 1.67195413069976e-008 0.003653878346085548 0 0.003653871593996882 -1.767486601522705e-008 -0.9999932646751404 0 -1.665473980949628e-008 1 1.726829879089564e-008 0 0.08119496703147888 0.2477381825447083 0.2201460599899292 1</Transform></Instance>
<Instance id="inst1760240" name="Valve Spring:123-702;0,Parts" partRef="#id327">
<ApplicationRef application="TCC-VIS" label="Valve Spring:123-702;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id478">-0.8213930130004883 0.3830220103263855 0.4226199984550476 0 -0.3830239772796631 0.1786065548658371 -0.9063069224357605 0 -0.4226182103157044 -0.9063078165054321 4.008188341231289e-007 0 -0.141640841960907 0.3886727094650269 0.1220077648758888 1</Transform></Instance>
<Instance id="inst1724160" name="Valve Cover:123-701;0,Parts" partRef="#id481">
<ApplicationRef application="TCC-VIS" label="Valve Cover:123-701;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id482">-1.552728390308289e-009 5.031413063960599e-009 -1 0 5.031413063960599e-009 1 5.031413063960599e-009 0 1 -5.031413063960599e-009 -1.552728390308289e-009 0 0.2239999771118164 0.03198792412877083 0.02350873127579689 1</Transform></Instance>
<Instance id="inst1723752" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id489">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999570846558 0.02160527557134628 -0.1053286641836166 1</Transform></Instance>
<Instance id="inst1725216" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id492">-5.582201367815287e-013 -0.0009254564647562802 -0.9999995827674866 0 -6.028238463962055e-010 -0.9999995827674866 0.0009254564647562802 0 -1 6.028241239519616e-010 3.326781192647572e-016 0 -0.2949999570846558 0.02149887569248676 0.0004925570683553815 1</Transform></Instance>
<Instance id="inst1758176" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id495">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999570846558 0.123807780444622 -0.1001014932990074 1</Transform></Instance>
<Instance id="inst1919952" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id498">2.757793993168889e-013 4.575816179956671e-013 1 0 4.575816179956671e-013 -1 4.575816179956671e-013 0 1 4.575816179956671e-013 -2.757793993168889e-013 0 0.09999999403953552 -0.1338488161563873 0.03437212482094765 1</Transform></Instance>
<Instance id="inst2053728" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id501">4.052314039881821e-013 1.110223024625157e-015 1 0 1.110223024625157e-015 1 -1.110223024625157e-015 0 -1 1.110223024625157e-015 4.052314039881821e-013 0 -0.09999999403953552 -0.06615116447210312 0.01437209732830524 1</Transform></Instance>
<Instance id="inst2050288" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id504">4.052314039881821e-013 1.110223024625157e-015 1 0 1.110223024625157e-015 1 -1.110223024625157e-015 0 -1 1.110223024625157e-015 4.052314039881821e-013 0 -0.09999999403953552 -0.06615117192268372 -0.005627896171063185 1</Transform></Instance>
<Instance id="inst1998064" name="rod:123-699;0,Parts" partRef="#id58">
<ApplicationRef application="TCC-VIS" label="rod:123-699;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id507">-0.9861037135124207 0.1661308258771896 1.702963710921711e-016 0 -0.1661308258771896 -0.9861037135124207 -3.509013978502231e-016 0 1.096343463342109e-016 -3.743166442952229e-016 1 0 -0.07101806253194809 -0.02219301089644432 -0.01999999769032002 1</Transform></Instance>
<Part id="id14" name="2_Cylinder_Engine" instanceRefs="inst1779056 inst1913768 inst1910440 inst1937376 inst1895856 inst2026000 inst1848008 inst2010456 inst1758176 inst1919952 inst2053728 inst2050288 inst1998064" type="assembly">
<UserData id="id33" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id44">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData>
<Occurrence id="id16" instanceRefs="#inst1798736">
<Transform id="id17">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Occurrence></Part>
<Part id="id46" name="Head Stud:123-006;0,Parts" type="solid">
<Bound id="id49" values="-0.03247146308422089 0.07456196844577789 -0.1150000020861626 0.006500001531094313 0.006495191715657711 0.1150000020861626"></Bound>
<Representation id="id50" format="JT" location="./2_Cylinder_Engine/Head_Stud_123_006_0_Parts.jt"></Representation></Part>
<Part id="id52" name="Lifter:123-923;0,Parts" type="solid">
<Bound id="id55" values="-0.02437210455536842 -0.03384878858923912 -0.04250000044703484 0.00774999987334013 0.007749963086098433 0.04250000044703484"></Bound>
<Representation id="id56" format="JT" location="./2_Cylinder_Engine/Lifter_123_923_0_Parts.jt"></Representation></Part>
<Part id="id58" name="rod:123-699;0,Parts" type="solid">
<Bound id="id61" values="0.02005359902977943 -0.006323420908302069 0 0.09100000560283661 0.03700000047683716 0.009999999776482582"></Bound>
<Representation id="id62" format="JT" location="./2_Cylinder_Engine/rod_123_699_0_Parts.jt"></Representation></Part>
<Part id="id64" name="Piston Sub:;0,Parts" instanceRefs="inst1912768 inst1865720" type="assembly">
<UserData id="id72">
<UserValue value="Piston Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Piston Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData>
<Occurrence id="id66" instanceRefs="#inst1798736 #inst1937376">
<Transform id="id67">-1 -1.334063881586189e-008 -7.982826621955041e-010 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.1368601024150848 0.06445372104644775 0.003820367390289903 1</Transform></Occurrence></Part>
<Part id="id74" name="Piston:123-844;0,Parts" type="solid">
<Bound id="id80" values="0.0101108755916357 0.009526152163743973 0 0.05324159190058708 0.04650000110268593 0.04649999737739563"></Bound>
<Occurrence id="id76" materialRef="id77" instanceRefs="#inst1798736 #inst1937376 #inst1912768">
<Transform id="id78">-1 -3.025554562441357e-008 -3.172106577409295e-009 0 1.10096191110321e-032 -1.00000011920929 -3.018819071267222e-016 0 -7.293991291219912e-017 -3.018819071267222e-016 1.00000011920929 0 -0.2946771681308746 0.07397986948490143 0.01617963425815105 1</Transform></Occurrence>
<Representation id="id81" format="JT" location="./2_Cylinder_Engine/Piston_123_844_0_Parts.jt"></Representation></Part>
<Part id="id83" name="Piston pin:123-845;0,Parts" type="solid">
<Bound id="id86" values="-0.2534925639629364 0.09658930450677872 0.04250000044703484 0.01099999435245991 0.01099186204373837 0.04250000044703484"></Bound>
<Representation id="id87" format="JT" location="./2_Cylinder_Engine/Piston_pin_123_845_0_Parts.jt"></Representation></Part>
<Part id="id89" name="Piston Sub:;0,Parts" instanceRefs="inst1671584 inst2012776" type="assembly">
<UserData id="id100">
<UserValue value="Piston Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:24.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Piston Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id108" name="CamShaft Sub:123-990;0,Parts" instanceRefs="inst2054176 inst1938944" type="assembly">
<UserData id="id121">
<UserValue value="CamShaft Sub:123-990;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:25.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="CamShaft Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-990" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:11:35.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id123" name="Cam_shaft:123-457;0,Parts" type="solid">
<Bound id="id126" values="0.05063954740762711 -0.03493684902787209 -4.356868157628924e-005 0.1267500072717667 0.02063110843300819 0.01902950927615166"></Bound>
<Representation id="id127" format="JT" location="./2_Cylinder_Engine/Cam_shaft_123_457_0_Parts.jt"></Representation></Part>
<Part id="id129" name="cam_gear:123-456;0,Parts" type="solid">
<Bound id="id132" values="0 -0.1000000014901161 -0.002500000409781933 0.06898061186075211 0.06888007372617722 0.01250000018626452"></Bound>
<Representation id="id133" format="JT" location="./2_Cylinder_Engine/cam_gear_123_456_0_Parts.jt"></Representation></Part>
<Part id="id135" name="Crank_Sub:123-555;0,Parts" instanceRefs="inst1838360 inst1857888" type="assembly">
<UserData id="id148">
<UserValue value="Crank_Sub:123-555;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Aug-14-2001 14:13:01.00" title="Version Create Date + Time"></UserValue>
<UserValue value="Crank_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-555" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:13:01.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id150" name="crank:123-782;0,Parts" type="solid">
<Bound id="id153" values="4.847693617193727e-006 0 -0.01325000263750553 0.06299515068531036 0.03500000014901161 0.1267500072717667"></Bound>
<Representation id="id154" format="JT" location="./2_Cylinder_Engine/crank_123_782_0_Parts.jt"></Representation></Part>
<Part id="id156" name="crank_gear:123-783;0,Parts" type="solid">
<Bound id="id159" values="0 -0.0001077877532225102 -0.002500000409781933 0.03597993031144142 0.03586557507514954 0.01250000018626452"></Bound>
<Representation id="id160" format="JT" location="./2_Cylinder_Engine/crank_gear_123_783_0_Parts.jt"></Representation></Part>
<Part id="id162" name="Body Sub:123-002;0,Parts" instanceRefs="inst2026392 inst2026184 inst1996904 inst1858736 inst1726008 inst1729056 inst1724160 inst1723752 inst1725216" type="assembly">
<UserData id="id177">
<UserValue value="Body Sub:123-002;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:29.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Body Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-002" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:10:00.00" title="Version Mod. Date + Time"></UserValue></UserData>
<Occurrence id="id164" instanceRefs="#inst1798736 #inst2010456">
<Transform id="id165">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Occurrence></Part>
<Part id="id179" name="Case_r:123-200;0,Parts" type="solid">
<Bound id="id184" values="0 -0.04548577964305878 -0.003500004298985004 0.0949999988079071 0.1354857832193375 0.1164999976754189"></Bound>
<Occurrence id="id181" materialRef="id182" instanceRefs="#inst1798736 #inst2010456 #inst2026392"></Occurrence>
<Representation id="id185" format="JT" location="./2_Cylinder_Engine/Case_r_123_200_0_Parts.jt"></Representation></Part>
<Part id="id187" name="Cylinder_1:123-100;0,Parts" type="solid">
<Bound id="id193" values="0.01856433786451817 0.05655883997678757 2.846240931830835e-007 0.08050000667572022 0.0950000062584877 0.08000028133392334"></Bound>
<Occurrence id="id189" materialRef="id190" instanceRefs="#inst1798736 #inst2010456 #inst2026184">
<Transform id="id191">1 -5.030475147549396e-009 -8.559119635265233e-008 0 1.553537853915543e-009 -1.993428355717697e-008 1 0 -5.03141173169297e-009 -1 -1.993428355717697e-008 0 0.4018276929855347 0.004671174101531506 -0.01877834275364876 1</Transform></Occurrence>
<Representation id="id194" format="JT" location="./2_Cylinder_Engine/Cylinder_1_123_100_0_Parts.jt"></Representation></Part>
<Part id="id196" name="Cylinder_2:123-101;0,Parts" type="solid">
<Bound id="id200" values="0.01856433786451817 0.05655883997678757 2.846240931830835e-007 0.08050000667572022 0.0950000062584877 0.08000028133392334"></Bound>
<Occurrence id="id198" materialRef="id190" instanceRefs="#inst1798736 #inst2010456 #inst1996904"></Occurrence>
<Representation id="id201" format="JT" location="./2_Cylinder_Engine/Cylinder_2_123_101_0_Parts.jt"></Representation></Part>
<Part id="id203" name="cylinder bolt pattern:;0,Parts" type="solid">
<Bound id="id206" values="-0.1074714586138725 0.0745619609951973 -0.1150000020861626 0.08149999380111694 0.08149999380111694 0.1150000020861626"></Bound>
<Representation id="id207" format="JT" location="./2_Cylinder_Engine/cylinder_bolt_pattern__0_Parts.jt"></Representation></Part>
<Part id="id209" name="Head_1:123-150;0,Parts" type="solid">
<Bound id="id215" values="0.005008736159652472 -0.03048798069357872 0.04119380190968514 0.1079999953508377 0.09020166844129562 0.0411965511739254"></Bound>
<Occurrence id="id211" materialRef="id212" instanceRefs="#inst1798736 #inst2010456 #inst1726008">
<Transform id="id213">-1.553142503496474e-009 5.031413952139019e-009 -1 0 5.031442373848449e-009 1 5.031413063960599e-009 0 1 -7.856474439904559e-007 -1.082494804904854e-007 0 0.5421041250228882 0.03720489889383316 0.04404613375663757 1</Transform></Occurrence>
<Representation id="id216" format="JT" location="./2_Cylinder_Engine/Head_1_123_150_0_Parts.jt"></Representation></Part>
<Part id="id218" name="Head2 Sub:;0,Parts" instanceRefs="inst1727816 inst2027256 inst1842808 inst1906944 inst2052896 inst1725624 inst1994616 inst1719832 inst1729824 inst1726936 inst1722616 inst1760240" type="assembly">
<UserData id="id230">
<UserValue value="Head2 Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Head2 Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id232" name="Head_2:123-151;0,Parts" type="solid">
<Bound id="id236" values="0.005008736159652472 -0.03048798069357872 -0.04119383916258812 0.1079999953508377 0.09020166844129562 0.04119651019573212"></Bound>
<Occurrence id="id234" materialRef="id212" instanceRefs="#inst1798736 #inst2010456 #inst1729056 #inst1727816"></Occurrence>
<Representation id="id237" format="JT" location="./2_Cylinder_Engine/Head_2_123_151_0_Parts.jt"></Representation></Part>
<Part id="id239" name="Spark Plug:;0,Parts" type="solid">
<Bound id="id242" values="0.03006996028125286 0.2239631712436676 0.02060705050826073 0.01078151073306799 0.009165501222014427 0.0493929535150528"></Bound>
<Representation id="id243" format="JT" location="./2_Cylinder_Engine/Spark_Plug__0_Parts.jt"></Representation></Part>
<Part id="id245" name="Head Nut:123-005;0,Parts" type="solid">
<Bound id="id248" values="0.02565165981650353 0.2141639441251755 -0.008499999530613422 0.01200000010430813 0.01199112832546234 0.008499999530613422"></Bound>
<Representation id="id249" format="JT" location="./2_Cylinder_Engine/Head_Nut_123_005_0_Parts.jt"></Representation></Part>
<Part id="id251" name="Rocker_Sub:;0,Parts" instanceRefs="inst2033120 inst1789832 inst2033672 inst1949072" type="assembly">
<UserData id="id262">
<UserValue value="Rocker_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Rocker_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id264" name="Rocker Arm Shaft:123-601;0,Parts" type="solid">
<Bound id="id267" values="-0.04317900538444519 0.4631594121456146 0.05750000104308128 0.006500000134110451 0.006495170295238495 0.05750000104308128"></Bound>
<Representation id="id268" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_Shaft_123_601_0_Parts.jt"></Representation></Part>
<Part id="id270" name="Rocker_Mount_Sub:;0,Parts" instanceRefs="inst1796000 inst2030512 inst1725832 inst2029080" type="assembly">
<UserData id="id276">
<UserValue value="Rocker_Mount_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Rocker_Mount_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id278" name="Rocker Mount:123-604;0,Parts" type="solid">
<Bound id="id281" values="0.005044352263212204 -0.05961518362164497 0.007500000298023224 0.0494999997317791 0.02099999971687794 0.007500000298023224"></Bound>
<Representation id="id282" format="JT" location="./2_Cylinder_Engine/Rocker_Mount_123_604_0_Parts.jt"></Representation></Part>
<Part id="id284" name="Rocker Mount Cap:123-608;0,Parts" type="solid">
<Bound id="id287" values="0.005044352263212204 -0.05511518567800522 0.007500000298023224 0.0494999997317791 0.006499998271465302 0.007500000298023224"></Bound>
<Representation id="id288" format="JT" location="./2_Cylinder_Engine/Rocker_Mount_Cap_123_608_0_Parts.jt"></Representation></Part>
<Part id="id290" name="Rocker Bolt:123-603;0,Parts" type="solid">
<Bound id="id293" values="0.02305358275771141 0.2096639275550842 -0.04050000011920929 0.007499999366700649 0.007494449149817228 0.04050000011920929"></Bound>
<Representation id="id294" format="JT" location="./2_Cylinder_Engine/Rocker_Bolt_123_603_0_Parts.jt"></Representation></Part>
<Part id="id299" name="Rocker_Mount_Sub:;0,Parts" instanceRefs="inst1996808 inst1867136 inst1948848 inst1997256" type="assembly">
<UserData id="id310">
<UserValue value="Rocker_Mount_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Rocker_Mount_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id327" name="Valve Spring:123-702;0,Parts" type="solid">
<Bound id="id330" values="-0.2873985767364502 -0.0646171048283577 0.0324999988079071 0.008999995887279511 0.008993340656161308 0.0324999988079071"></Bound>
<Representation id="id331" format="JT" location="./2_Cylinder_Engine/Valve_Spring_123_702_0_Parts.jt"></Representation></Part>
<Part id="id333" name="Valve_Sub:;0,Parts" instanceRefs="inst1914472 inst1734000 inst1730152" type="assembly">
<UserData id="id339">
<UserValue value="Valve_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Valve_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id341" name="Valve:123-700;0,Parts" type="solid">
<Bound id="id344" values="0.1265590041875839 0.2941140830516815 0 0.05499999970197678 0.01800000295042992 0.01798668131232262"></Bound>
<Representation id="id345" format="JT" location="./2_Cylinder_Engine/Valve_123_700_0_Parts.jt"></Representation></Part>
<Part id="id347" name="Valve Spring Cap:123-704;0,Parts" type="solid">
<Bound id="id350" values="0.2066644430160523 0.2842055261135101 0 0.004499997943639755 0.01600000448524952 0.01598815992474556"></Bound>
<Representation id="id351" format="JT" location="./2_Cylinder_Engine/Valve_Spring_Cap_123_704_0_Parts.jt"></Representation></Part>
<Part id="id353" name="Spring:;0,Parts" instanceRefs="inst1910040 inst1910640 inst1911040 inst1911768 inst1912168 inst1912968 inst1920696 inst1827264 inst1920976 inst1994408" type="assembly">
<UserData id="id359">
<UserValue value="Spring" title="I-DEAS Name"></UserValue>
<UserValue value="Spring:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id361" name="Spring Link:;0,Parts" type="solid">
<Bound id="id364" values="0.1303011178970337 -0.04939981177449226 0.007499259896576405 0.001999998930841684 0.01499851979315281 0.007499259896576405"></Bound>
<Representation id="id365" format="JT" location="./2_Cylinder_Engine/Spring_Link__0_Parts.jt"></Representation></Part>
<Part id="id394" name="Valve_Sub:;0,Parts" instanceRefs="inst1995632 inst2053208 inst1862560" type="assembly">
<UserData id="id406">
<UserValue value="Valve_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:26.00" title="Version Create Date + Time"></UserValue>
<UserValue value="Valve_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id408" name="Spring:;0,Parts" instanceRefs="inst1722840 inst1723976 inst1725736 inst1995424 inst1726232 inst1727160 inst1722360 inst1995528 inst1995008 inst2053416" type="assembly">
<UserData id="id419">
<UserValue value="Spring:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:25.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Spring" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id457" name="Rocker Arm:123-600;0,Parts" type="solid">
<Bound id="id460" values="-0.2874188423156738 -0.1816282123327255 0.04250000044703484 0.03894562274217606 0.01755017042160034 0.04250000044703484"></Bound>
<Representation id="id461" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_123_600_0_Parts.jt"></Representation></Part>
<Part id="id463" name="Rocker Arm_copy:123-602;0,Parts" type="solid">
<Bound id="id466" values="-0.2914990782737732 -0.1816282123327255 0.04250000044703484 0.03894564881920815 0.01755017600953579 0.04250000044703484"></Bound>
<Representation id="id467" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_copy_123_602_0_Parts.jt"></Representation></Part>
<Part id="id469" name="Valve Cover_copy:;0,Main" type="solid">
<Bound id="id472" values="0.003508739871904254 -0.03198798000812531 0.0386538989841938 0.101500004529953 0.09204161167144775 0.03634610027074814"></Bound>
<Representation id="id473" format="JT" location="./2_Cylinder_Engine/Valve_Cover_copy__0_Main.jt"></Representation></Part>
<Part id="id481" name="Valve Cover:123-701;0,Parts" type="solid">
<Bound id="id486" values="0.003508739871904254 -0.03198803216218948 0.1113460958003998 0.101500004529953 0.09204155951738358 0.03634609654545784"></Bound>
<Occurrence id="id483" instanceRefs="#inst1798736 #inst2010456 #inst1724160">
<Transform id="id484">-1.552729944620523e-009 5.031413063960599e-009 -1 0 5.0314401534024e-009 1 5.031413063960599e-009 0 1 -3.418919334308157e-007 -1.096145751944277e-007 0 0.6029092669487 0.04294551536440849 0.04271972924470902 1</Transform></Occurrence>
<Representation id="id487" format="JT" location="./2_Cylinder_Engine/Valve_Cover_123_701_0_Parts.jt"></Representation></Part></InstanceGraph>
<Material id="id77" diffuse="1 0 1" specular="1 0 1" emissive="0 0 0" ambient="0 0 0" shininess="96" alpha="0.1000000238418579"></Material>
<Material id="id182" diffuse="0.847058892250061 0.847058892250061 0.847058892250061" specular="0.8000000715255737 0.8000000715255737 0.8000000715255737" emissive="0 0 0" ambient="0.1490196138620377 0.1490196138620377 0.1490196138620377" shininess="96" alpha="0.5"></Material>
<Material id="id190" diffuse="0.6509804129600525 0.7921569347381592 0.9411765336990356" specular="0.6509804129600525 0.7921569347381592 0.9411765336990356" emissive="0 0 0" ambient="0.1490196138620377 0.1490196138620377 0.1490196138620377" shininess="96" alpha="0.5"></Material>
<Material id="id212" diffuse="1 0 0" specular="1 0 0" emissive="0 0 0" ambient="0.1490196138620377 0.1490196138620377 0.1490196138620377" shininess="96" alpha="0.5"></Material></ProductDef></PLMXML>
+511
View File
@@ -0,0 +1,511 @@
<?xml version="1.0" ?>
<PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
schemaVersion="4" date="2005-02-14" time="21:15:28" author="Vis Mockup 5.1.0">
<ProductDef id="id1">
<UserData id="id12" type="__TCC-VIS_MONIKER_INFO">
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="Path"></UserValue>
<UserValue value="file" title="FA_Protocol"></UserValue>
<UserValue value="C:/Program Files/UGS/JT2Go/Examples/2_Cylinder_Engine_Example/2_Cylinder_Engine.jt" title="object_id"></UserValue>
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="LocalCopy"></UserValue>
<UserValue value="2.0" title="Version"></UserValue>
<UserValue value="local" title="FA_Service"></UserValue>
<UserValue value="No" title="MkIsFolder"></UserValue>
<UserValue value="2_Cylinder_Engine.jt" title="Title"></UserValue>
<UserValue value="DirectModel.Document" title="FileTypeID"></UserValue></UserData>
<InstanceGraph id="id2" rootRefs="inst1798736">
<Instance id="inst1798736" name="2_Cylinder_Engine" partRef="#id14">
<ApplicationRef application="TCC-VIS" label="2_Cylinder_Engine.asm;0;0:"></ApplicationRef>
<UserData id="id20" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id31">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData>
<Transform id="id15">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst1779056" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id47">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999868869782 0.1321395188570023 -0.003983345814049244 1</Transform></Instance>
<Instance id="inst1913768" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id53">2.757793993168889e-013 4.575816179956671e-013 1 0 4.575816179956671e-013 -1 4.575816179956671e-013 0 1 4.575816179956671e-013 -2.757793993168889e-013 0 0.1000000014901161 -0.1338488310575485 0.05437212437391281 1</Transform></Instance>
<Instance id="inst1910440" name="rod:123-699;0,Parts" partRef="#id58">
<ApplicationRef application="TCC-VIS" label="rod:123-699;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id59">0.9861037135124207 -0.1661308258771896 -1.166810754732375e-015 0 0.1661308258771896 0.9861037135124207 -1.062013085640994e-015 0 1.327029577804367e-015 8.534118465009541e-016 1 0 0.07101806253194809 0.02219301462173462 0.02199999988079071 1</Transform></Instance>
<Instance id="inst1937376" name="Piston Sub:;0,Parts" partRef="#id64">
<ApplicationRef application="TCC-VIS" label="Piston Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id65">-1 1.10096191110321e-032 -7.293991291219912e-017 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.1368601024150848 0.06445372104644775 0.003820367390289903 1</Transform></Instance>
<Instance id="inst1912768" name="Piston:123-844;0,Parts" partRef="#id74">
<ApplicationRef application="TCC-VIS" label="Piston:123-844;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id75">-1 -1.334063881586189e-008 7.982825511732017e-010 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.294677197933197 0.07397986948490143 0.01617963239550591 1</Transform></Instance>
<Instance id="inst1865720" name="Piston pin:123-845;0,Parts" partRef="#id83">
<ApplicationRef application="TCC-VIS" label="Piston pin:123-845;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id84">0.9995650053024292 0.02949320152401924 -7.979323313200837e-010 0 -0.0294931884855032 0.9995650053024292 2.354164085893729e-011 0 -3.085015966644567e-015 2.168479519145078e-015 1 0 -0.0453154630959034 -0.02461725845932961 -0.02632036805152893 1</Transform></Instance>
<Instance id="inst1895856" name="Piston Sub:;0,Parts" partRef="#id89">
<ApplicationRef application="TCC-VIS" label="Piston Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id90">1 0 0 0 0 1 0 0 0 0 1 0 0.1368601024150848 -0.06445372104644775 -0.03617963194847107 1</Transform></Instance>
<Instance id="inst1671584" name="Piston:123-844;0,Parts" partRef="#id74">
<ApplicationRef application="TCC-VIS" label="Piston:123-844;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id102">-1 -1.334063881586189e-008 7.041613514502387e-009 0 -1.003604666278664e-019 -1 1.355268465125744e-016 0 -1.736007260287489e-016 1.355268465125744e-016 1 0 -0.294677197933197 0.07397986948490143 0.0161796361207962 1</Transform></Instance>
<Instance id="inst2012776" name="Piston pin:123-845;0,Parts" partRef="#id83">
<ApplicationRef application="TCC-VIS" label="Piston pin:123-845;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id105">0.9995650053024292 0.02949320152401924 -7.038550631222051e-009 0 -0.0294931884855032 0.9995650053024292 2.076799010541919e-010 0 1.57434811062825e-016 -2.681045890006053e-016 1 0 -0.0453154630959034 -0.02461725845932961 -0.02632036432623863 1</Transform></Instance>
<Instance id="inst2026000" name="CamShaft Sub:123-990;0,Parts" partRef="#id108">
<ApplicationRef application="TCC-VIS" label="CamShaft Sub:123-990;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id109">0.7071067690849304 -0.7071067690849304 4.055928498874345e-013 0 0.7071067690849304 0.7071067690849304 6.101357784178425e-016 0 -2.872288724139332e-013 2.863660101149607e-013 1 0 0.04717867448925972 -0.0528213270008564 -0.08894477039575577 1</Transform></Instance>
<Instance id="inst2054176" name="Cam_shaft:123-457;0,Parts" partRef="#id123">
<ApplicationRef application="TCC-VIS" label="Cam_shaft:123-457;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id124">1.214013511940948e-008 -7.440697502580917e-010 1 0 -0.9059386253356934 0.4234090149402618 3.675416633368289e-013 0 -0.4234090149402618 -0.9059386253356934 1.728632428171784e-013 0 -0.03029589354991913 -0.05256131291389465 0.02505522221326828 1</Transform></Instance>
<Instance id="inst1938944" name="cam_gear:123-456;0,Parts" partRef="#id129">
<ApplicationRef application="TCC-VIS" label="cam_gear:123-456;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id130">-0.4234090149402618 -0.9059386253356934 1.726649286873036e-013 0 -0.9059386253356934 0.4234090149402618 3.675724817835818e-013 0 -1.214013511940948e-008 7.440699723026967e-010 -1 0 -0.09059386700391769 -0.02437981590628624 -0.04005522653460503 1</Transform></Instance>
<Instance id="inst1848008" name="Crank_Sub:123-555;0,Parts" partRef="#id135">
<ApplicationRef application="TCC-VIS" label="Crank_Sub:123-555;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id136">-0.5 -0.8660253882408142 -2.979083167524747e-016 0 0.8660253882408142 -0.5 -7.816530680941419e-016 0 5.279772353637604e-016 -6.488226847947026e-016 1 0 0.01809818297624588 -0.06969784200191498 -0.1055598109960556 1</Transform></Instance>
<Instance id="inst1838360" name="crank:123-782;0,Parts" partRef="#id150">
<ApplicationRef application="TCC-VIS" label="crank:123-782;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id151">-0.9390942454338074 0.3436597287654877 1.284025318025572e-016 0 -0.3436597883701325 -0.9390941858291626 -6.660528172495127e-016 0 2.47777798279003e-008 -2.063888393522007e-009 1 0 -0.05131101608276367 -0.05052240565419197 0.1075598075985909 1</Transform></Instance>
<Instance id="inst1857888" name="crank_gear:123-783;0,Parts" partRef="#id156">
<ApplicationRef application="TCC-VIS" label="crank_gear:123-783;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id157">-0.9390942454338074 0.3436597287654877 3.809448359261655e-016 0 -0.3436597883701325 -0.9390941858291626 -2.583991531420675e-015 0 2.47777798279003e-008 -2.063890391923451e-009 1 0 -0.05131101980805397 -0.05052240565419197 -0.01844018884003162 1</Transform></Instance>
<Instance id="inst2010456" name="Body Sub:123-002;0,Parts" partRef="#id162">
<ApplicationRef application="TCC-VIS" label="Body Sub:123-002;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id163">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst2026392" name="Case_r:123-200;0,Parts" partRef="#id179">
<ApplicationRef application="TCC-VIS" label="Case_r:123-200;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id180">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst2026184" name="Cylinder_1:123-100;0,Parts" partRef="#id187">
<ApplicationRef application="TCC-VIS" label="Cylinder_1:123-100;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id188">1 -5.031413063960599e-009 -1.553538520049358e-009 0 1.553538409027055e-009 -1.993428355717697e-008 1 0 -5.031413063960599e-009 -1 -1.993428355717697e-008 0 0.1269356608390808 -5.273894387869405e-008 -0.0365588441491127 1</Transform></Instance>
<Instance id="inst1996904" name="Cylinder_2:123-101;0,Parts" partRef="#id196">
<ApplicationRef application="TCC-VIS" label="Cylinder_2:123-101;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id197">-1 -1.490642098644912e-008 -1.665472915135524e-008 0 1.665472915135524e-008 -1.764261092773722e-008 -1 0 1.490642098644912e-008 -1 1.764261092773722e-008 0 -0.1269356608390808 3.299700068737366e-009 0.0365588404238224 1</Transform></Instance>
<Instance id="inst1858736" name="cylinder bolt pattern:;0,Parts" partRef="#id203">
<ApplicationRef application="TCC-VIS" label="cylinder bolt pattern:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id204">2.459232373297482e-009 0.7071067690849304 -0.7071067690849304 0 -4.656259378066352e-009 -0.7071067690849304 -0.7071067690849304 0 -1 5.031412619871389e-009 1.55353274688963e-009 0 0.06499999761581421 0.1287170201539993 -0.003270523622632027 1</Transform></Instance>
<Instance id="inst1726008" name="Head_1:123-150;0,Parts" partRef="#id209">
<ApplicationRef application="TCC-VIS" label="Head_1:123-150;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id210">-1.553133399667672e-009 5.031413063960599e-009 -1 0 5.031413063960599e-009 1 5.031413063960599e-009 0 1 -5.031413063960599e-009 -1.553133399667672e-009 0 0.2239999920129776 0.03048792481422424 0.02500873245298863 1</Transform></Instance>
<Instance id="inst1729056" name="Head2 Sub:;0,Parts" partRef="#id218">
<ApplicationRef application="TCC-VIS" label="Head2 Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id219">1.665474158585312e-008 1.004267005555448e-006 -1 0 -1 -1.666503557373744e-008 -1.665475757306467e-008 0 -1.6665051560949e-008 1 1.004267005555448e-006 0 -0.04826182126998901 -0.05911042168736458 0.03459598124027252 1</Transform></Instance>
<Instance id="inst1727816" name="Head_2:123-151;0,Parts" partRef="#id232">
<ApplicationRef application="TCC-VIS" label="Head_2:123-151;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id233">1 9.947598300641403e-014 -1.004267005555448e-006 0 1.011203266898519e-006 3.500436918102423e-008 0.9999999403953552 0 2.75101122437782e-014 -1 2.288952989822068e-013 0 0.04958733543753624 0.1757381856441498 0.08959835022687912 1</Transform></Instance>
<Instance id="inst2027256" name="Spark Plug:;0,Parts" partRef="#id239">
<ApplicationRef application="TCC-VIS" label="Spark Plug:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id240">1 9.977915303889529e-014 -9.877358024823479e-007 0 -9.946720638254192e-007 -3.500436562831055e-008 -0.9999999403953552 0 -2.75101122437782e-014 1 -2.288952989822068e-013 0 0.02452629990875721 0.2137382179498673 0.2830735743045807 1</Transform></Instance>
<Instance id="inst1842808" name="Head Nut:123-005;0,Parts" partRef="#id245">
<ApplicationRef application="TCC-VIS" label="Head Nut:123-005;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id246">0.9999898672103882 1.657488901685156e-008 -0.004498782102018595 0 -0.004498789552599192 -1.781053349247941e-008 -0.9999898076057434 0 -1.665473980949628e-008 1 1.726835030524399e-008 0 -0.02312494441866875 0.2477381676435471 0.2203545719385147 1</Transform></Instance>
<Instance id="inst1906944" name="Rocker_Sub:;0,Parts" partRef="#id251">
<ApplicationRef application="TCC-VIS" label="Rocker_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id252">0.9999974370002747 -7.939097296238984e-011 -0.002271066652610898 0 9.118318147522016e-016 1 3.807415215490448e-015 0 0.002271073637530208 3.500404588407946e-008 0.9999973773956299 0 -0.0001340909366263077 -0.01299998629838228 0.0001236627285834402 1</Transform></Instance>
<Instance id="inst2033120" name="Rocker Arm Shaft:123-601;0,Parts" partRef="#id264">
<ApplicationRef application="TCC-VIS" label="Rocker Arm Shaft:123-601;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id265">-0.9999850392341614 -0.004973083734512329 -0.002270016819238663 0 0.004973071627318859 -0.9999875426292419 1.127185623772675e-005 0 -0.002270089229568839 -4.575558421038295e-008 0.9999972581863403 0 0.0487947128713131 0.7686771750450134 -0.02040251158177853 1</Transform></Instance>
<Instance id="inst1789832" name="Rocker_Mount_Sub:;0,Parts" partRef="#id270">
<ApplicationRef application="TCC-VIS" label="Rocker_Mount_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id271">1 -7.424300063618716e-011 1.35305974757749e-010 0 1.276140897124513e-015 0.9999998807907105 4.341043060584901e-016 0 -4.433523059788058e-008 -2.848764957263938e-008 0.9999998211860657 0 -1.748614808505522e-009 -9.381160293031599e-010 -7.228971310446752e-010 1</Transform></Instance>
<Instance id="inst1796000" name="Rocker Mount:123-604;0,Parts" partRef="#id278">
<ApplicationRef application="TCC-VIS" label="Rocker Mount:123-604;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id279">0.9999973773956299 1.651584646822357e-008 0.002270044526085258 0 -1.669391558323241e-008 0.9999998807907105 1.723048725921217e-008 0 -0.002270088996738195 -4.57557440824985e-008 0.9999972581863403 0 0.04950515553355217 0.3443533480167389 0.07959935814142227 1</Transform></Instance>
<Instance id="inst2030512" name="Rocker Mount Cap:123-608;0,Parts" partRef="#id284">
<ApplicationRef application="TCC-VIS" label="Rocker Mount Cap:123-608;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id285">0.9999973773956299 1.651585179729409e-008 0.002270044526085258 0 1.669392091230293e-008 -0.9999998807907105 -1.723048725921217e-008 0 0.002270088996738195 4.57557440824985e-008 -0.9999972581863403 0 0.04947110638022423 0.2571229636669159 0.09459931403398514 1</Transform></Instance>
<Instance id="inst1725832" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id291">0.9984452724456787 1.914222380605679e-008 -0.05574143305420876 0 -0.05574139580130577 4.472066095217997e-008 -0.9984451532363892 0 -1.669391203051873e-008 1 1.723049436463953e-008 0 0.01820174790918827 0.326738178730011 0.2976770401000977 1</Transform></Instance>
<Instance id="inst2029080" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id296">0.9984543323516846 1.913488922866691e-008 -0.05557771772146225 0 -0.05557768046855927 4.472379444564467e-008 -0.998454213142395 0 -1.669391025416189e-008 0.9999998807907105 1.723049436463953e-008 0 0.06816709786653519 0.326738178730011 0.2977887094020844 1</Transform></Instance>
<Instance id="inst2033672" name="Rocker_Mount_Sub:;0,Parts" partRef="#id299">
<ApplicationRef application="TCC-VIS" label="Rocker_Mount_Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id300">1 -7.424300063618716e-011 1.35305974757749e-010 0 1.276140897124513e-015 0.9999998807907105 4.341043060584901e-016 0 -4.433523059788058e-008 -2.848764957263938e-008 0.9999998211860657 0 -4.064914627122107e-009 -1.459414988858043e-008 -0.09999953210353851 1</Transform></Instance>
<Instance id="inst1996808" name="Rocker Mount:123-604;0,Parts" partRef="#id278">
<ApplicationRef application="TCC-VIS" label="Rocker Mount:123-604;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id312">0.9999974370002747 1.662746029751361e-008 0.002270044526085258 0 -1.669391735958925e-008 1.00000011920929 1.723049081192585e-008 0 -0.002270061522722244 -2.438619972622291e-008 0.9999974966049194 0 0.04973216727375984 0.3443534076213837 0.07959914952516556 1</Transform></Instance>
<Instance id="inst1867136" name="Rocker Mount Cap:123-608;0,Parts" partRef="#id284">
<ApplicationRef application="TCC-VIS" label="Rocker Mount Cap:123-608;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id315">0.9999974370002747 1.662746562658413e-008 0.002270044526085258 0 1.669392268865977e-008 -1.00000011920929 -1.723049081192585e-008 0 0.002270061522722244 2.438619972622291e-008 -0.9999974966049194 0 0.0496981143951416 0.2571230232715607 0.09459911286830902 1</Transform></Instance>
<Instance id="inst1948848" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id318">0.9986630082130432 1.791910797521723e-008 -0.05169311910867691 0 -0.05169309675693512 2.345346850063379e-008 -0.998663067817688 0 -1.669391025416189e-008 1.00000011920929 1.72305067991374e-008 0 0.01757495850324631 0.3267382085323334 0.2976291477680206 1</Transform></Instance>
<Instance id="inst1997256" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id321">0.9986716508865356 1.791518755567267e-008 -0.05152621492743492 0 -0.05152619630098343 2.345645455648082e-008 -0.9986717104911804 0 -1.669391025416189e-008 1.00000011920929 1.723049791735321e-008 0 0.06753963232040405 0.3267382085323334 0.2977406084537506 1</Transform></Instance>
<Instance id="inst1949072" name="Rocker Arm Shaft:123-601;0,Parts" partRef="#id264">
<ApplicationRef application="TCC-VIS" label="Rocker Arm Shaft:123-601;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id324">-0.9999873042106628 -0.004487393889576197 -0.00227002170868218 0 0.004487383179366589 -0.9999898076057434 1.016931855701841e-005 0 -0.002270088996738195 -4.575493051106605e-008 0.9999972581863403 0 -0.02998023852705956 0.7686992287635803 -0.02058133110404015 1</Transform></Instance>
<Instance id="inst2052896" name="Valve Spring:123-702;0,Parts" partRef="#id327">
<ApplicationRef application="TCC-VIS" label="Valve Spring:123-702;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id328">-0.821344792842865 -0.3829995691776276 0.4227339625358582 0 -0.3831273019313812 -0.1786547750234604 -0.9062537550926209 0 0.4226182997226715 -0.9063078165054321 -4.468796817036491e-007 0 -0.2707940638065338 0.1454340070486069 0.1220441088080406 1</Transform></Instance>
<Instance id="inst1725624" name="Valve_Sub:;0,Parts" partRef="#id333">
<ApplicationRef application="TCC-VIS" label="Valve_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id334">0.4546822905540466 0.654166042804718 0.6044259667396545 0 -0.8696395754814148 0.4726209938526154 0.1426760256290436 0 -0.1923305839300156 -0.5905050039291382 0.7837809920310974 0 0.09187051653862 0.08063256740570068 0.1662608832120895 1</Transform></Instance>
<Instance id="inst1914472" name="Valve:123-700;0,Parts" partRef="#id341">
<ApplicationRef application="TCC-VIS" label="Valve:123-700;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id342">0.7850326299667358 0.06081443279981613 -0.6164620518684387 0 -0.1356190741062164 0.9878997206687927 -0.07524674385786057 0 0.6044265031814575 0.1426751911640167 0.7837809920310974 0 -0.001248535001650453 -0.2500619888305664 -0.09022713452577591 1</Transform></Instance>
<Instance id="inst1734000" name="Valve Spring Cap:123-704;0,Parts" partRef="#id347">
<ApplicationRef application="TCC-VIS" label="Valve Spring Cap:123-704;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id348">0.7850326299667358 0.06081448495388031 -0.6164620518684387 0 -0.3924773633480072 -0.7211050391197205 -0.5709372162818909 0 -0.4792551398277283 0.6901518106460571 -0.5422225594520569 0 0.0455969013273716 0.2435131669044495 0.06938881427049637 1</Transform></Instance>
<Instance id="inst1730152" name="Spring:;0,Parts" partRef="#id353">
<ApplicationRef application="TCC-VIS" label="Spring:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id354">1 -3.002940829333056e-008 3.437022044749938e-008 0 -4.150651022882812e-008 1.000000238418579 4.017514854126603e-008 0 3.73510147255729e-008 2.773385787691041e-008 1 0 -1.489124112907803e-008 -4.276215381793236e-009 1.08718030134014e-008 1</Transform></Instance>
<Instance id="inst1910040" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id362">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1410751193761826 0.09142301231622696 -0.3314632773399353 1</Transform></Instance>
<Instance id="inst1910640" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id367">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.05227819457650185 0.07644443958997726 -0.1796288043260574 1</Transform></Instance>
<Instance id="inst1911040" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id370">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1347948610782623 0.09093648940324783 -0.3265315294265747 1</Transform></Instance>
<Instance id="inst1911768" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id373">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.05855846777558327 0.07595790922641754 -0.1746970862150192 1</Transform></Instance>
<Instance id="inst1912168" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;4:"></ApplicationRef>
<Transform id="id376">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1285146176815033 0.0904499888420105 -0.3215998709201813 1</Transform></Instance>
<Instance id="inst1912968" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;5:"></ApplicationRef>
<Transform id="id379">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.0648387148976326 0.07547140121459961 -0.1697653979063034 1</Transform></Instance>
<Instance id="inst1920696" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;6:"></ApplicationRef>
<Transform id="id382">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1222343519330025 0.08996346592903137 -0.3166681826114655 1</Transform></Instance>
<Instance id="inst1827264" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;7:"></ApplicationRef>
<Transform id="id385">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.07111898809671402 0.07498487830162048 -0.1648336797952652 1</Transform></Instance>
<Instance id="inst1920976" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;8:"></ApplicationRef>
<Transform id="id388">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1159540787339211 0.08947695046663284 -0.3117364346981049 1</Transform></Instance>
<Instance id="inst1994408" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;9:"></ApplicationRef>
<Transform id="id391">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.07739924639463425 0.07449836283922195 -0.1599020063877106 1</Transform></Instance>
<Instance id="inst1994616" name="Valve_Sub:;0,Parts" partRef="#id394">
<ApplicationRef application="TCC-VIS" label="Valve_Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id395">-0.4546823501586914 0.6541661024093628 -0.6044260263442993 0 0.8696396350860596 0.4726210236549377 -0.1426760405302048 0 0.192330613732338 -0.5905051231384277 -0.7837811708450317 0 0.01489819493144751 0.08582951128482819 -0.04803464561700821 1</Transform></Instance>
<Instance id="inst1995632" name="Spring:;0,Parts" partRef="#id408">
<ApplicationRef application="TCC-VIS" label="Spring:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id409">1 2.298901691233368e-008 -2.432995493961698e-008 0 -3.89851670945518e-008 0.9999998807907105 -1.280528216796029e-008 0 -3.000558379540053e-008 -2.485903749516183e-008 0.9999998807907105 0 -1.494453005790319e-009 -7.655864275868396e-010 -5.496130661697407e-009 1</Transform></Instance>
<Instance id="inst1722840" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;10:"></ApplicationRef>
<Transform id="id421">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1413719058036804 0.08810769766569138 -0.3271084725856781 1</Transform></Instance>
<Instance id="inst1723976" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;11:"></ApplicationRef>
<Transform id="id424">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.05524870008230209 0.07287602126598358 -0.1727083474397659 1</Transform></Instance>
<Instance id="inst1725736" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;12:"></ApplicationRef>
<Transform id="id427">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1366616934537888 0.08774281293153763 -0.3234097063541412 1</Transform></Instance>
<Instance id="inst1995424" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;13:"></ApplicationRef>
<Transform id="id430">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.05995889753103256 0.07251112163066864 -0.1690095812082291 1</Transform></Instance>
<Instance id="inst1726232" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;14:"></ApplicationRef>
<Transform id="id433">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1319515109062195 0.08737793564796448 -0.3197109401226044 1</Transform></Instance>
<Instance id="inst1727160" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;15:"></ApplicationRef>
<Transform id="id436">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.06466909497976303 0.07214623689651489 -0.165310800075531 1</Transform></Instance>
<Instance id="inst1722360" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;16:"></ApplicationRef>
<Transform id="id439">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.127241313457489 0.08701304346323013 -0.3160121440887451 1</Transform></Instance>
<Instance id="inst1995528" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;17:"></ApplicationRef>
<Transform id="id442">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.0693792924284935 0.07178134471178055 -0.1616120338439941 1</Transform></Instance>
<Instance id="inst1995008" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;18:"></ApplicationRef>
<Transform id="id445">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1225311160087585 0.08664815127849579 -0.3123133778572083 1</Transform></Instance>
<Instance id="inst2053416" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;19:"></ApplicationRef>
<Transform id="id448">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.07408948242664337 0.0714164674282074 -0.1579132527112961 1</Transform></Instance>
<Instance id="inst2053208" name="Valve:123-700;0,Parts" partRef="#id341">
<ApplicationRef application="TCC-VIS" label="Valve:123-700;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id451">0.7850325107574463 0.06081444025039673 -0.6164620518684387 0 -0.135619044303894 0.9878994226455689 -0.07524680346250534 0 0.6044264435768127 0.1426751613616943 0.7837807536125183 0 -0.005746716633439064 -0.250409871339798 -0.08668788522481918 1</Transform></Instance>
<Instance id="inst1862560" name="Valve Spring Cap:123-704;0,Parts" partRef="#id347">
<ApplicationRef application="TCC-VIS" label="Valve Spring Cap:123-704;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id454">0.7850325703620911 0.06081447005271912 -0.6164620518684387 0 -0.3681581914424896 -0.7545340657234192 -0.543265700340271 0 -0.498180091381073 0.6534368991851807 -0.5699445009231567 0 0.03418708592653275 0.2526659965515137 0.06506367027759552 1</Transform></Instance>
<Instance id="inst1719832" name="Rocker Arm:123-600;0,Parts" partRef="#id457">
<ApplicationRef application="TCC-VIS" label="Rocker Arm:123-600;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id458">0.9026297330856323 0.4304179251194 -9.149687798526429e-007 0 -0.4304179251194 0.9026297330856323 4.554329109396349e-007 0 1.028840756589489e-006 1.773579327846164e-008 0.9999999403953552 0 0.2777610719203949 0.5800805687904358 -0.005389846861362457 1</Transform></Instance>
<Instance id="inst1729824" name="Rocker Arm_copy:123-602;0,Parts" partRef="#id463">
<ApplicationRef application="TCC-VIS" label="Rocker Arm_copy:123-602;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id464">0.9026297926902771 -0.4304177463054657 -9.298340728491894e-007 0 0.4304177463054657 0.9026297926902771 -4.242589284331189e-007 0 1.028840756589489e-006 1.773579505481848e-008 0.9999999403953552 0 0.3539793193340302 0.3309040069580078 -0.005389927886426449 1</Transform></Instance>
<Instance id="inst1726936" name="Valve Cover_copy:;0,Main" partRef="#id469">
<ApplicationRef application="TCC-VIS" label="Valve Cover_copy:;0,Main.part;0;0:"></ApplicationRef>
<Transform id="id470">1 -6.184104131534696e-005 -1.004268028736988e-006 0 1.011203266898519e-006 1.773524793691195e-008 0.9999999403953552 0 -6.184104131534696e-005 -1 -1.720678532990405e-008 0 0.05108792707324028 0.3257383704185486 0.09109834581613541 1</Transform></Instance>
<Instance id="inst1722616" name="Head Nut:123-005;0,Parts" partRef="#id245">
<ApplicationRef application="TCC-VIS" label="Head Nut:123-005;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id475">0.9999933242797852 1.67195413069976e-008 0.003653878346085548 0 0.003653871593996882 -1.767486601522705e-008 -0.9999932646751404 0 -1.665473980949628e-008 1 1.726829879089564e-008 0 0.08119496703147888 0.2477381825447083 0.2201460599899292 1</Transform></Instance>
<Instance id="inst1760240" name="Valve Spring:123-702;0,Parts" partRef="#id327">
<ApplicationRef application="TCC-VIS" label="Valve Spring:123-702;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id478">-0.8213930130004883 0.3830220103263855 0.4226199984550476 0 -0.3830239772796631 0.1786065548658371 -0.9063069224357605 0 -0.4226182103157044 -0.9063078165054321 4.008188341231289e-007 0 -0.141640841960907 0.3886727094650269 0.1220077648758888 1</Transform></Instance>
<Instance id="inst1724160" name="Valve Cover:123-701;0,Parts" partRef="#id481">
<ApplicationRef application="TCC-VIS" label="Valve Cover:123-701;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id482">-1.552728390308289e-009 5.031413063960599e-009 -1 0 5.031413063960599e-009 1 5.031413063960599e-009 0 1 -5.031413063960599e-009 -1.552728390308289e-009 0 0.2239999771118164 0.03198792412877083 0.02350873127579689 1</Transform></Instance>
<Instance id="inst1723752" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id489">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999570846558 0.02160527557134628 -0.1053286641836166 1</Transform></Instance>
<Instance id="inst1725216" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id492">-5.582201367815287e-013 -0.0009254564647562802 -0.9999995827674866 0 -6.028238463962055e-010 -0.9999995827674866 0.0009254564647562802 0 -1 6.028241239519616e-010 3.326781192647572e-016 0 -0.2949999570846558 0.02149887569248676 0.0004925570683553815 1</Transform></Instance>
<Instance id="inst1758176" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id495">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999570846558 0.123807780444622 -0.1001014932990074 1</Transform></Instance>
<Instance id="inst1919952" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id498">2.757793993168889e-013 4.575816179956671e-013 1 0 4.575816179956671e-013 -1 4.575816179956671e-013 0 1 4.575816179956671e-013 -2.757793993168889e-013 0 0.09999999403953552 -0.1338488161563873 0.03437212482094765 1</Transform></Instance>
<Instance id="inst2053728" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id501">4.052314039881821e-013 1.110223024625157e-015 1 0 1.110223024625157e-015 1 -1.110223024625157e-015 0 -1 1.110223024625157e-015 4.052314039881821e-013 0 -0.09999999403953552 -0.06615116447210312 0.01437209732830524 1</Transform></Instance>
<Instance id="inst2050288" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id504">4.052314039881821e-013 1.110223024625157e-015 1 0 1.110223024625157e-015 1 -1.110223024625157e-015 0 -1 1.110223024625157e-015 4.052314039881821e-013 0 -0.09999999403953552 -0.06615117192268372 -0.005627896171063185 1</Transform></Instance>
<Instance id="inst1998064" name="rod:123-699;0,Parts" partRef="#id58">
<ApplicationRef application="TCC-VIS" label="rod:123-699;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id507">-0.9861037135124207 0.1661308258771896 1.702963710921711e-016 0 -0.1661308258771896 -0.9861037135124207 -3.509013978502231e-016 0 1.096343463342109e-016 -3.743166442952229e-016 1 0 -0.07101806253194809 -0.02219301089644432 -0.01999999769032002 1</Transform></Instance>
<Part id="id14" name="2_Cylinder_Engine" instanceRefs="inst1779056 inst1913768 inst1910440 inst1937376 inst1895856 inst2026000 inst1848008 inst2010456 inst1758176 inst1919952 inst2053728 inst2050288 inst1998064" type="assembly">
<UserData id="id33" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id44">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData>
<Occurrence id="id16" instanceRefs="#inst1798736">
<Transform id="id17">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Occurrence></Part>
<Part id="id46" name="Head Stud:123-006;0,Parts" type="solid">
<Bound id="id49" values="-0.03247146308422089 0.07456196844577789 -0.1150000020861626 0.006500001531094313 0.006495191715657711 0.1150000020861626"></Bound>
<Representation id="id50" format="JT" location="./2_Cylinder_Engine/Head_Stud_123_006_0_Parts.jt"></Representation></Part>
<Part id="id52" name="Lifter:123-923;0,Parts" type="solid">
<Bound id="id55" values="-0.02437210455536842 -0.03384878858923912 -0.04250000044703484 0.00774999987334013 0.007749963086098433 0.04250000044703484"></Bound>
<Representation id="id56" format="JT" location="./2_Cylinder_Engine/Lifter_123_923_0_Parts.jt"></Representation></Part>
<Part id="id58" name="rod:123-699;0,Parts" type="solid">
<Bound id="id61" values="0.02005359902977943 -0.006323420908302069 0 0.09100000560283661 0.03700000047683716 0.009999999776482582"></Bound>
<Representation id="id62" format="JT" location="./2_Cylinder_Engine/rod_123_699_0_Parts.jt"></Representation></Part>
<Part id="id64" name="Piston Sub:;0,Parts" instanceRefs="inst1912768 inst1865720" type="assembly">
<UserData id="id72">
<UserValue value="Piston Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Piston Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData>
<Occurrence id="id66" instanceRefs="#inst1798736 #inst1937376">
<Transform id="id67">-1 -1.334063881586189e-008 -7.982826621955041e-010 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.1368601024150848 0.06445372104644775 0.003820367390289903 1</Transform></Occurrence></Part>
<Part id="id74" name="Piston:123-844;0,Parts" type="solid">
<Bound id="id80" values="0.0101108755916357 0.009526152163743973 0 0.05324159190058708 0.04650000110268593 0.04649999737739563"></Bound>
<Occurrence id="id76" materialRef="id77" instanceRefs="#inst1798736 #inst1937376 #inst1912768">
<Transform id="id78">-1 -3.025554562441357e-008 -3.172106577409295e-009 0 1.10096191110321e-032 -1.00000011920929 -3.018819071267222e-016 0 -7.293991291219912e-017 -3.018819071267222e-016 1.00000011920929 0 -0.2946771681308746 0.07397986948490143 0.01617963425815105 1</Transform></Occurrence>
<Representation id="id81" format="JT" location="./2_Cylinder_Engine/Piston_123_844_0_Parts.jt"></Representation></Part>
<Part id="id83" name="Piston pin:123-845;0,Parts" type="solid">
<Bound id="id86" values="-0.2534925639629364 0.09658930450677872 0.04250000044703484 0.01099999435245991 0.01099186204373837 0.04250000044703484"></Bound>
<Representation id="id87" format="JT" location="./2_Cylinder_Engine/Piston_pin_123_845_0_Parts.jt"></Representation></Part>
<Part id="id89" name="Piston Sub:;0,Parts" instanceRefs="inst1671584 inst2012776" type="assembly">
<UserData id="id100">
<UserValue value="Piston Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:24.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Piston Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id108" name="CamShaft Sub:123-990;0,Parts" instanceRefs="inst2054176 inst1938944" type="assembly">
<UserData id="id121">
<UserValue value="CamShaft Sub:123-990;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:25.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="CamShaft Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-990" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:11:35.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id123" name="Cam_shaft:123-457;0,Parts" type="solid">
<Bound id="id126" values="0.05063954740762711 -0.03493684902787209 -4.356868157628924e-005 0.1267500072717667 0.02063110843300819 0.01902950927615166"></Bound>
<Representation id="id127" format="JT" location="./2_Cylinder_Engine/Cam_shaft_123_457_0_Parts.jt"></Representation></Part>
<Part id="id129" name="cam_gear:123-456;0,Parts" type="solid">
<Bound id="id132" values="0 -0.1000000014901161 -0.002500000409781933 0.06898061186075211 0.06888007372617722 0.01250000018626452"></Bound>
<Representation id="id133" format="JT" location="./2_Cylinder_Engine/cam_gear_123_456_0_Parts.jt"></Representation></Part>
<Part id="id135" name="Crank_Sub:123-555;0,Parts" instanceRefs="inst1838360 inst1857888" type="assembly">
<UserData id="id148">
<UserValue value="Crank_Sub:123-555;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Aug-14-2001 14:13:01.00" title="Version Create Date + Time"></UserValue>
<UserValue value="Crank_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-555" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:13:01.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id150" name="crank:123-782;0,Parts" type="solid">
<Bound id="id153" values="4.847693617193727e-006 0 -0.01325000263750553 0.06299515068531036 0.03500000014901161 0.1267500072717667"></Bound>
<Representation id="id154" format="JT" location="./2_Cylinder_Engine/crank_123_782_0_Parts.jt"></Representation></Part>
<Part id="id156" name="crank_gear:123-783;0,Parts" type="solid">
<Bound id="id159" values="0 -0.0001077877532225102 -0.002500000409781933 0.03597993031144142 0.03586557507514954 0.01250000018626452"></Bound>
<Representation id="id160" format="JT" location="./2_Cylinder_Engine/crank_gear_123_783_0_Parts.jt"></Representation></Part>
<Part id="id162" name="Body Sub:123-002;0,Parts" instanceRefs="inst2026392 inst2026184 inst1996904 inst1858736 inst1726008 inst1729056 inst1724160 inst1723752 inst1725216" type="assembly">
<UserData id="id177">
<UserValue value="Body Sub:123-002;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:29.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Body Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-002" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:10:00.00" title="Version Mod. Date + Time"></UserValue></UserData>
<Occurrence id="id164" instanceRefs="#inst1798736 #inst2010456">
<Transform id="id165">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Occurrence></Part>
<Part id="id179" name="Case_r:123-200;0,Parts" type="solid">
<Bound id="id184" values="0 -0.04548577964305878 -0.003500004298985004 0.0949999988079071 0.1354857832193375 0.1164999976754189"></Bound>
<Occurrence id="id181" materialRef="id182" instanceRefs="#inst1798736 #inst2010456 #inst2026392"></Occurrence>
<Representation id="id185" format="JT" location="./2_Cylinder_Engine/Case_r_123_200_0_Parts.jt"></Representation></Part>
<Part id="id187" name="Cylinder_1:123-100;0,Parts" type="solid">
<Bound id="id193" values="0.01856433786451817 0.05655883997678757 2.846240931830835e-007 0.08050000667572022 0.0950000062584877 0.08000028133392334"></Bound>
<Occurrence id="id189" materialRef="id190" instanceRefs="#inst1798736 #inst2010456 #inst2026184">
<Transform id="id191">1 -5.030475147549396e-009 -8.559119635265233e-008 0 1.553537853915543e-009 -1.993428355717697e-008 1 0 -5.03141173169297e-009 -1 -1.993428355717697e-008 0 0.4018276929855347 0.004671174101531506 -0.01877834275364876 1</Transform></Occurrence>
<Representation id="id194" format="JT" location="./2_Cylinder_Engine/Cylinder_1_123_100_0_Parts.jt"></Representation></Part>
<Part id="id196" name="Cylinder_2:123-101;0,Parts" type="solid">
<Bound id="id200" values="0.01856433786451817 0.05655883997678757 2.846240931830835e-007 0.08050000667572022 0.0950000062584877 0.08000028133392334"></Bound>
<Occurrence id="id198" materialRef="id190" instanceRefs="#inst1798736 #inst2010456 #inst1996904"></Occurrence>
<Representation id="id201" format="JT" location="./2_Cylinder_Engine/Cylinder_2_123_101_0_Parts.jt"></Representation></Part>
<Part id="id203" name="cylinder bolt pattern:;0,Parts" type="solid">
<Bound id="id206" values="-0.1074714586138725 0.0745619609951973 -0.1150000020861626 0.08149999380111694 0.08149999380111694 0.1150000020861626"></Bound>
<Representation id="id207" format="JT" location="./2_Cylinder_Engine/cylinder_bolt_pattern__0_Parts.jt"></Representation></Part>
<Part id="id209" name="Head_1:123-150;0,Parts" type="solid">
<Bound id="id215" values="0.005008736159652472 -0.03048798069357872 0.04119380190968514 0.1079999953508377 0.09020166844129562 0.0411965511739254"></Bound>
<Occurrence id="id211" materialRef="id212" instanceRefs="#inst1798736 #inst2010456 #inst1726008">
<Transform id="id213">-1.553142503496474e-009 5.031413952139019e-009 -1 0 5.031442373848449e-009 1 5.031413063960599e-009 0 1 -7.856474439904559e-007 -1.082494804904854e-007 0 0.5421041250228882 0.03720489889383316 0.04404613375663757 1</Transform></Occurrence>
<Representation id="id216" format="JT" location="./2_Cylinder_Engine/Head_1_123_150_0_Parts.jt"></Representation></Part>
<Part id="id218" name="Head2 Sub:;0,Parts" instanceRefs="inst1727816 inst2027256 inst1842808 inst1906944 inst2052896 inst1725624 inst1994616 inst1719832 inst1729824 inst1726936 inst1722616 inst1760240" type="assembly">
<UserData id="id230">
<UserValue value="Head2 Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Head2 Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id232" name="Head_2:123-151;0,Parts" type="solid">
<Bound id="id236" values="0.005008736159652472 -0.03048798069357872 -0.04119383916258812 0.1079999953508377 0.09020166844129562 0.04119651019573212"></Bound>
<Occurrence id="id234" materialRef="id212" instanceRefs="#inst1798736 #inst2010456 #inst1729056 #inst1727816"></Occurrence>
<Representation id="id237" format="JT" location="./2_Cylinder_Engine/Head_2_123_151_0_Parts.jt"></Representation></Part>
<Part id="id239" name="Spark Plug:;0,Parts" type="solid">
<Bound id="id242" values="0.03006996028125286 0.2239631712436676 0.02060705050826073 0.01078151073306799 0.009165501222014427 0.0493929535150528"></Bound>
<Representation id="id243" format="JT" location="./2_Cylinder_Engine/Spark_Plug__0_Parts.jt"></Representation></Part>
<Part id="id245" name="Head Nut:123-005;0,Parts" type="solid">
<Bound id="id248" values="0.02565165981650353 0.2141639441251755 -0.008499999530613422 0.01200000010430813 0.01199112832546234 0.008499999530613422"></Bound>
<Representation id="id249" format="JT" location="./2_Cylinder_Engine/Head_Nut_123_005_0_Parts.jt"></Representation></Part>
<Part id="id251" name="Rocker_Sub:;0,Parts" instanceRefs="inst2033120 inst1789832 inst2033672 inst1949072" type="assembly">
<UserData id="id262">
<UserValue value="Rocker_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Rocker_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id264" name="Rocker Arm Shaft:123-601;0,Parts" type="solid">
<Bound id="id267" values="-0.04317900538444519 0.4631594121456146 0.05750000104308128 0.006500000134110451 0.006495170295238495 0.05750000104308128"></Bound>
<Representation id="id268" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_Shaft_123_601_0_Parts.jt"></Representation></Part>
<Part id="id270" name="Rocker_Mount_Sub:;0,Parts" instanceRefs="inst1796000 inst2030512 inst1725832 inst2029080" type="assembly">
<UserData id="id276">
<UserValue value="Rocker_Mount_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Rocker_Mount_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id278" name="Rocker Mount:123-604;0,Parts" type="solid">
<Bound id="id281" values="0.005044352263212204 -0.05961518362164497 0.007500000298023224 0.0494999997317791 0.02099999971687794 0.007500000298023224"></Bound>
<Representation id="id282" format="JT" location="./2_Cylinder_Engine/Rocker_Mount_123_604_0_Parts.jt"></Representation></Part>
<Part id="id284" name="Rocker Mount Cap:123-608;0,Parts" type="solid">
<Bound id="id287" values="0.005044352263212204 -0.05511518567800522 0.007500000298023224 0.0494999997317791 0.006499998271465302 0.007500000298023224"></Bound>
<Representation id="id288" format="JT" location="./2_Cylinder_Engine/Rocker_Mount_Cap_123_608_0_Parts.jt"></Representation></Part>
<Part id="id290" name="Rocker Bolt:123-603;0,Parts" type="solid">
<Bound id="id293" values="0.02305358275771141 0.2096639275550842 -0.04050000011920929 0.007499999366700649 0.007494449149817228 0.04050000011920929"></Bound>
<Representation id="id294" format="JT" location="./2_Cylinder_Engine/Rocker_Bolt_123_603_0_Parts.jt"></Representation></Part>
<Part id="id299" name="Rocker_Mount_Sub:;0,Parts" instanceRefs="inst1996808 inst1867136 inst1948848 inst1997256" type="assembly">
<UserData id="id310">
<UserValue value="Rocker_Mount_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Rocker_Mount_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id327" name="Valve Spring:123-702;0,Parts" type="solid">
<Bound id="id330" values="-0.2873985767364502 -0.0646171048283577 0.0324999988079071 0.008999995887279511 0.008993340656161308 0.0324999988079071"></Bound>
<Representation id="id331" format="JT" location="./2_Cylinder_Engine/Valve_Spring_123_702_0_Parts.jt"></Representation></Part>
<Part id="id333" name="Valve_Sub:;0,Parts" instanceRefs="inst1914472 inst1734000 inst1730152" type="assembly">
<UserData id="id339">
<UserValue value="Valve_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Valve_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id341" name="Valve:123-700;0,Parts" type="solid">
<Bound id="id344" values="0.1265590041875839 0.2941140830516815 0 0.05499999970197678 0.01800000295042992 0.01798668131232262"></Bound>
<Representation id="id345" format="JT" location="./2_Cylinder_Engine/Valve_123_700_0_Parts.jt"></Representation></Part>
<Part id="id347" name="Valve Spring Cap:123-704;0,Parts" type="solid">
<Bound id="id350" values="0.2066644430160523 0.2842055261135101 0 0.004499997943639755 0.01600000448524952 0.01598815992474556"></Bound>
<Representation id="id351" format="JT" location="./2_Cylinder_Engine/Valve_Spring_Cap_123_704_0_Parts.jt"></Representation></Part>
<Part id="id353" name="Spring:;0,Parts" instanceRefs="inst1910040 inst1910640 inst1911040 inst1911768 inst1912168 inst1912968 inst1920696 inst1827264 inst1920976 inst1994408" type="assembly">
<UserData id="id359">
<UserValue value="Spring" title="I-DEAS Name"></UserValue>
<UserValue value="Spring:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id361" name="Spring Link:;0,Parts" type="solid">
<Bound id="id364" values="0.1303011178970337 -0.04939981177449226 0.007499259896576405 0.001999998930841684 0.01499851979315281 0.007499259896576405"></Bound>
<Representation id="id365" format="JT" location="./2_Cylinder_Engine/Spring_Link__0_Parts.jt"></Representation></Part>
<Part id="id394" name="Valve_Sub:;0,Parts" instanceRefs="inst1995632 inst2053208 inst1862560" type="assembly">
<UserData id="id406">
<UserValue value="Valve_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:26.00" title="Version Create Date + Time"></UserValue>
<UserValue value="Valve_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id408" name="Spring:;0,Parts" instanceRefs="inst1722840 inst1723976 inst1725736 inst1995424 inst1726232 inst1727160 inst1722360 inst1995528 inst1995008 inst2053416" type="assembly">
<UserData id="id419">
<UserValue value="Spring:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:25.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Spring" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id457" name="Rocker Arm:123-600;0,Parts" type="solid">
<Bound id="id460" values="-0.2874188423156738 -0.1816282123327255 0.04250000044703484 0.03894562274217606 0.01755017042160034 0.04250000044703484"></Bound>
<Representation id="id461" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_123_600_0_Parts.jt"></Representation></Part>
<Part id="id463" name="Rocker Arm_copy:123-602;0,Parts" type="solid">
<Bound id="id466" values="-0.2914990782737732 -0.1816282123327255 0.04250000044703484 0.03894564881920815 0.01755017600953579 0.04250000044703484"></Bound>
<Representation id="id467" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_copy_123_602_0_Parts.jt"></Representation></Part>
<Part id="id469" name="Valve Cover_copy:;0,Main" type="solid">
<Bound id="id472" values="0.003508739871904254 -0.03198798000812531 0.0386538989841938 0.101500004529953 0.09204161167144775 0.03634610027074814"></Bound>
<Representation id="id473" format="JT" location="./2_Cylinder_Engine/Valve_Cover_copy__0_Main.jt"></Representation></Part>
<Part id="id481" name="Valve Cover:123-701;0,Parts" type="solid">
<Bound id="id486" values="0.003508739871904254 -0.03198803216218948 0.1113460958003998 0.101500004529953 0.09204155951738358 0.03634609654545784"></Bound>
<Occurrence id="id483" instanceRefs="#inst1798736 #inst2010456 #inst1724160">
<Transform id="id484">-1.552729944620523e-009 5.031413063960599e-009 -1 0 5.0314401534024e-009 1 5.031413063960599e-009 0 1 -3.418919334308157e-007 -1.096145751944277e-007 0 0.6029092669487 0.04294551536440849 0.04271972924470902 1</Transform></Occurrence>
<Representation id="id487" format="JT" location="./2_Cylinder_Engine/Valve_Cover_123_701_0_Parts.jt"></Representation></Part></InstanceGraph>
<Material id="id77" diffuse="1 0 1" specular="1 0 1" emissive="0 0 0" ambient="0 0 0" shininess="96" alpha="0.1000000238418579"></Material>
<Material id="id182" diffuse="0.847058892250061 0.847058892250061 0.847058892250061" specular="0.8000000715255737 0.8000000715255737 0.8000000715255737" emissive="0 0 0" ambient="0.1490196138620377 0.1490196138620377 0.1490196138620377" shininess="96" alpha="0.5"></Material>
<Material id="id190" diffuse="0.6509804129600525 0.7921569347381592 0.9411765336990356" specular="0.6509804129600525 0.7921569347381592 0.9411765336990356" emissive="0 0 0" ambient="0.1490196138620377 0.1490196138620377 0.1490196138620377" shininess="96" alpha="0.5"></Material>
<Material id="id212" diffuse="1 0 0" specular="1 0 0" emissive="0 0 0" ambient="0.1490196138620377 0.1490196138620377 0.1490196138620377" shininess="96" alpha="0.5"></Material></ProductDef></PLMXML>
@@ -0,0 +1,511 @@
<?xml version="1.0" ?>
<PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
schemaVersion="4" date="2005-02-14" time="21:15:28" author="Vis Mockup 5.1.0">
<ProductDef id="id1">
<UserData id="id12" type="__TCC-VIS_MONIKER_INFO">
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="Path"></UserValue>
<UserValue value="file" title="FA_Protocol"></UserValue>
<UserValue value="C:/Program Files/UGS/JT2Go/Examples/2_Cylinder_Engine_Example/2_Cylinder_Engine.jt" title="object_id"></UserValue>
<UserValue value="C:\Program Files\UGS\JT2Go\Examples\2_Cylinder_Engine_Example\2_Cylinder_Engine.jt" title="LocalCopy"></UserValue>
<UserValue value="2.0" title="Version"></UserValue>
<UserValue value="local" title="FA_Service"></UserValue>
<UserValue value="No" title="MkIsFolder"></UserValue>
<UserValue value="2_Cylinder_Engine.jt" title="Title"></UserValue>
<UserValue value="DirectModel.Document" title="FileTypeID"></UserValue></UserData>
<InstanceGraph id="id2" rootRefs="inst1798736">
<Instance id="inst1798736" name="2_Cylinder_Engine" partRef="#id14">
<ApplicationRef application="TCC-VIS" label="2_Cylinder_Engine.asm;0;0:"></ApplicationRef>
<UserData id="id20" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id31">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData>
<Transform id="id15">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst1779056" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id47">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999868869782 0.1321395188570023 -0.003983345814049244 1</Transform></Instance>
<Instance id="inst1913768" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id53">2.757793993168889e-013 4.575816179956671e-013 1 0 4.575816179956671e-013 -1 4.575816179956671e-013 0 1 4.575816179956671e-013 -2.757793993168889e-013 0 0.1000000014901161 -0.1338488310575485 0.05437212437391281 1</Transform></Instance>
<Instance id="inst1910440" name="rod:123-699;0,Parts" partRef="#id58">
<ApplicationRef application="TCC-VIS" label="rod:123-699;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id59">0.9861037135124207 -0.1661308258771896 -1.166810754732375e-015 0 0.1661308258771896 0.9861037135124207 -1.062013085640994e-015 0 1.327029577804367e-015 8.534118465009541e-016 1 0 0.07101806253194809 0.02219301462173462 0.02199999988079071 1</Transform></Instance>
<Instance id="inst1937376" name="Piston Sub:;0,Parts" partRef="#id64">
<ApplicationRef application="TCC-VIS" label="Piston Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id65">-1 1.10096191110321e-032 -7.293991291219912e-017 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.1368601024150848 0.06445372104644775 0.003820367390289903 1</Transform></Instance>
<Instance id="inst1912768" name="Piston:123-844;0,Parts" partRef="#id74">
<ApplicationRef application="TCC-VIS" label="Piston:123-844;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id75">-1 -1.334063881586189e-008 7.982825511732017e-010 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.294677197933197 0.07397986948490143 0.01617963239550591 1</Transform></Instance>
<Instance id="inst1865720" name="Piston pin:123-845;0,Parts" partRef="#id83">
<ApplicationRef application="TCC-VIS" label="Piston pin:123-845;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id84">0.9995650053024292 0.02949320152401924 -7.979323313200837e-010 0 -0.0294931884855032 0.9995650053024292 2.354164085893729e-011 0 -3.085015966644567e-015 2.168479519145078e-015 1 0 -0.0453154630959034 -0.02461725845932961 -0.02632036805152893 1</Transform></Instance>
<Instance id="inst1895856" name="Piston Sub:;0,Parts" partRef="#id89">
<ApplicationRef application="TCC-VIS" label="Piston Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id90">1 0 0 0 0 1 0 0 0 0 1 0 0.1368601024150848 -0.06445372104644775 -0.03617963194847107 1</Transform></Instance>
<Instance id="inst1671584" name="Piston:123-844;0,Parts" partRef="#id74">
<ApplicationRef application="TCC-VIS" label="Piston:123-844;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id102">-1 -1.334063881586189e-008 7.041613514502387e-009 0 -1.003604666278664e-019 -1 1.355268465125744e-016 0 -1.736007260287489e-016 1.355268465125744e-016 1 0 -0.294677197933197 0.07397986948490143 0.0161796361207962 1</Transform></Instance>
<Instance id="inst2012776" name="Piston pin:123-845;0,Parts" partRef="#id83">
<ApplicationRef application="TCC-VIS" label="Piston pin:123-845;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id105">0.9995650053024292 0.02949320152401924 -7.038550631222051e-009 0 -0.0294931884855032 0.9995650053024292 2.076799010541919e-010 0 1.57434811062825e-016 -2.681045890006053e-016 1 0 -0.0453154630959034 -0.02461725845932961 -0.02632036432623863 1</Transform></Instance>
<Instance id="inst2026000" name="CamShaft Sub:123-990;0,Parts" partRef="#id108">
<ApplicationRef application="TCC-VIS" label="CamShaft Sub:123-990;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id109">0.7071067690849304 -0.7071067690849304 4.055928498874345e-013 0 0.7071067690849304 0.7071067690849304 6.101357784178425e-016 0 -2.872288724139332e-013 2.863660101149607e-013 1 0 0.04717867448925972 -0.0528213270008564 -0.08894477039575577 1</Transform></Instance>
<Instance id="inst2054176" name="Cam_shaft:123-457;0,Parts" partRef="#id123">
<ApplicationRef application="TCC-VIS" label="Cam_shaft:123-457;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id124">1.214013511940948e-008 -7.440697502580917e-010 1 0 -0.9059386253356934 0.4234090149402618 3.675416633368289e-013 0 -0.4234090149402618 -0.9059386253356934 1.728632428171784e-013 0 -0.03029589354991913 -0.05256131291389465 0.02505522221326828 1</Transform></Instance>
<Instance id="inst1938944" name="cam_gear:123-456;0,Parts" partRef="#id129">
<ApplicationRef application="TCC-VIS" label="cam_gear:123-456;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id130">-0.4234090149402618 -0.9059386253356934 1.726649286873036e-013 0 -0.9059386253356934 0.4234090149402618 3.675724817835818e-013 0 -1.214013511940948e-008 7.440699723026967e-010 -1 0 -0.09059386700391769 -0.02437981590628624 -0.04005522653460503 1</Transform></Instance>
<Instance id="inst1848008" name="Crank_Sub:123-555;0,Parts" partRef="#id135">
<ApplicationRef application="TCC-VIS" label="Crank_Sub:123-555;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id136">-0.5 -0.8660253882408142 -2.979083167524747e-016 0 0.8660253882408142 -0.5 -7.816530680941419e-016 0 5.279772353637604e-016 -6.488226847947026e-016 1 0 0.01809818297624588 -0.06969784200191498 -0.1055598109960556 1</Transform></Instance>
<Instance id="inst1838360" name="crank:123-782;0,Parts" partRef="#id150">
<ApplicationRef application="TCC-VIS" label="crank:123-782;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id151">-0.9390942454338074 0.3436597287654877 1.284025318025572e-016 0 -0.3436597883701325 -0.9390941858291626 -6.660528172495127e-016 0 2.47777798279003e-008 -2.063888393522007e-009 1 0 -0.05131101608276367 -0.05052240565419197 0.1075598075985909 1</Transform></Instance>
<Instance id="inst1857888" name="crank_gear:123-783;0,Parts" partRef="#id156">
<ApplicationRef application="TCC-VIS" label="crank_gear:123-783;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id157">-0.9390942454338074 0.3436597287654877 3.809448359261655e-016 0 -0.3436597883701325 -0.9390941858291626 -2.583991531420675e-015 0 2.47777798279003e-008 -2.063890391923451e-009 1 0 -0.05131101980805397 -0.05052240565419197 -0.01844018884003162 1</Transform></Instance>
<Instance id="inst2010456" name="Body Sub:123-002;0,Parts" partRef="#id162">
<ApplicationRef application="TCC-VIS" label="Body Sub:123-002;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id163">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst2026392" name="Case_r:123-200;0,Parts" partRef="#id179">
<ApplicationRef application="TCC-VIS" label="Case_r:123-200;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id180">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Instance>
<Instance id="inst2026184" name="Cylinder_1:123-100;0,Parts" partRef="#id187">
<ApplicationRef application="TCC-VIS" label="Cylinder_1:123-100;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id188">1 -5.031413063960599e-009 -1.553538520049358e-009 0 1.553538409027055e-009 -1.993428355717697e-008 1 0 -5.031413063960599e-009 -1 -1.993428355717697e-008 0 0.1269356608390808 -5.273894387869405e-008 -0.0365588441491127 1</Transform></Instance>
<Instance id="inst1996904" name="Cylinder_2:123-101;0,Parts" partRef="#id196">
<ApplicationRef application="TCC-VIS" label="Cylinder_2:123-101;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id197">-1 -1.490642098644912e-008 -1.665472915135524e-008 0 1.665472915135524e-008 -1.764261092773722e-008 -1 0 1.490642098644912e-008 -1 1.764261092773722e-008 0 -0.1269356608390808 3.299700068737366e-009 0.0365588404238224 1</Transform></Instance>
<Instance id="inst1858736" name="cylinder bolt pattern:;0,Parts" partRef="#id203">
<ApplicationRef application="TCC-VIS" label="cylinder bolt pattern:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id204">2.459232373297482e-009 0.7071067690849304 -0.7071067690849304 0 -4.656259378066352e-009 -0.7071067690849304 -0.7071067690849304 0 -1 5.031412619871389e-009 1.55353274688963e-009 0 0.06499999761581421 0.1287170201539993 -0.003270523622632027 1</Transform></Instance>
<Instance id="inst1726008" name="Head_1:123-150;0,Parts" partRef="#id209">
<ApplicationRef application="TCC-VIS" label="Head_1:123-150;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id210">-1.553133399667672e-009 5.031413063960599e-009 -1 0 5.031413063960599e-009 1 5.031413063960599e-009 0 1 -5.031413063960599e-009 -1.553133399667672e-009 0 0.2239999920129776 0.03048792481422424 0.02500873245298863 1</Transform></Instance>
<Instance id="inst1729056" name="Head2 Sub:;0,Parts" partRef="#id218">
<ApplicationRef application="TCC-VIS" label="Head2 Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id219">1.665474158585312e-008 1.004267005555448e-006 -1 0 -1 -1.666503557373744e-008 -1.665475757306467e-008 0 -1.6665051560949e-008 1 1.004267005555448e-006 0 -0.04826182126998901 -0.05911042168736458 0.03459598124027252 1</Transform></Instance>
<Instance id="inst1727816" name="Head_2:123-151;0,Parts" partRef="#id232">
<ApplicationRef application="TCC-VIS" label="Head_2:123-151;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id233">1 9.947598300641403e-014 -1.004267005555448e-006 0 1.011203266898519e-006 3.500436918102423e-008 0.9999999403953552 0 2.75101122437782e-014 -1 2.288952989822068e-013 0 0.04958733543753624 0.1757381856441498 0.08959835022687912 1</Transform></Instance>
<Instance id="inst2027256" name="Spark Plug:;0,Parts" partRef="#id239">
<ApplicationRef application="TCC-VIS" label="Spark Plug:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id240">1 9.977915303889529e-014 -9.877358024823479e-007 0 -9.946720638254192e-007 -3.500436562831055e-008 -0.9999999403953552 0 -2.75101122437782e-014 1 -2.288952989822068e-013 0 0.02452629990875721 0.2137382179498673 0.2830735743045807 1</Transform></Instance>
<Instance id="inst1842808" name="Head Nut:123-005;0,Parts" partRef="#id245">
<ApplicationRef application="TCC-VIS" label="Head Nut:123-005;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id246">0.9999898672103882 1.657488901685156e-008 -0.004498782102018595 0 -0.004498789552599192 -1.781053349247941e-008 -0.9999898076057434 0 -1.665473980949628e-008 1 1.726835030524399e-008 0 -0.02312494441866875 0.2477381676435471 0.2203545719385147 1</Transform></Instance>
<Instance id="inst1906944" name="Rocker_Sub:;0,Parts" partRef="#id251">
<ApplicationRef application="TCC-VIS" label="Rocker_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id252">0.9999974370002747 -7.939097296238984e-011 -0.002271066652610898 0 9.118318147522016e-016 1 3.807415215490448e-015 0 0.002271073637530208 3.500404588407946e-008 0.9999973773956299 0 -0.0001340909366263077 -0.01299998629838228 0.0001236627285834402 1</Transform></Instance>
<Instance id="inst2033120" name="Rocker Arm Shaft:123-601;0,Parts" partRef="#id264">
<ApplicationRef application="TCC-VIS" label="Rocker Arm Shaft:123-601;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id265">-0.9999850392341614 -0.004973083734512329 -0.002270016819238663 0 0.004973071627318859 -0.9999875426292419 1.127185623772675e-005 0 -0.002270089229568839 -4.575558421038295e-008 0.9999972581863403 0 0.0487947128713131 0.7686771750450134 -0.02040251158177853 1</Transform></Instance>
<Instance id="inst1789832" name="Rocker_Mount_Sub:;0,Parts" partRef="#id270">
<ApplicationRef application="TCC-VIS" label="Rocker_Mount_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id271">1 -7.424300063618716e-011 1.35305974757749e-010 0 1.276140897124513e-015 0.9999998807907105 4.341043060584901e-016 0 -4.433523059788058e-008 -2.848764957263938e-008 0.9999998211860657 0 -1.748614808505522e-009 -9.381160293031599e-010 -7.228971310446752e-010 1</Transform></Instance>
<Instance id="inst1796000" name="Rocker Mount:123-604;0,Parts" partRef="#id278">
<ApplicationRef application="TCC-VIS" label="Rocker Mount:123-604;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id279">0.9999973773956299 1.651584646822357e-008 0.002270044526085258 0 -1.669391558323241e-008 0.9999998807907105 1.723048725921217e-008 0 -0.002270088996738195 -4.57557440824985e-008 0.9999972581863403 0 0.04950515553355217 0.3443533480167389 0.07959935814142227 1</Transform></Instance>
<Instance id="inst2030512" name="Rocker Mount Cap:123-608;0,Parts" partRef="#id284">
<ApplicationRef application="TCC-VIS" label="Rocker Mount Cap:123-608;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id285">0.9999973773956299 1.651585179729409e-008 0.002270044526085258 0 1.669392091230293e-008 -0.9999998807907105 -1.723048725921217e-008 0 0.002270088996738195 4.57557440824985e-008 -0.9999972581863403 0 0.04947110638022423 0.2571229636669159 0.09459931403398514 1</Transform></Instance>
<Instance id="inst1725832" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id291">0.9984452724456787 1.914222380605679e-008 -0.05574143305420876 0 -0.05574139580130577 4.472066095217997e-008 -0.9984451532363892 0 -1.669391203051873e-008 1 1.723049436463953e-008 0 0.01820174790918827 0.326738178730011 0.2976770401000977 1</Transform></Instance>
<Instance id="inst2029080" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id296">0.9984543323516846 1.913488922866691e-008 -0.05557771772146225 0 -0.05557768046855927 4.472379444564467e-008 -0.998454213142395 0 -1.669391025416189e-008 0.9999998807907105 1.723049436463953e-008 0 0.06816709786653519 0.326738178730011 0.2977887094020844 1</Transform></Instance>
<Instance id="inst2033672" name="Rocker_Mount_Sub:;0,Parts" partRef="#id299">
<ApplicationRef application="TCC-VIS" label="Rocker_Mount_Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id300">1 -7.424300063618716e-011 1.35305974757749e-010 0 1.276140897124513e-015 0.9999998807907105 4.341043060584901e-016 0 -4.433523059788058e-008 -2.848764957263938e-008 0.9999998211860657 0 -4.064914627122107e-009 -1.459414988858043e-008 -0.09999953210353851 1</Transform></Instance>
<Instance id="inst1996808" name="Rocker Mount:123-604;0,Parts" partRef="#id278">
<ApplicationRef application="TCC-VIS" label="Rocker Mount:123-604;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id312">0.9999974370002747 1.662746029751361e-008 0.002270044526085258 0 -1.669391735958925e-008 1.00000011920929 1.723049081192585e-008 0 -0.002270061522722244 -2.438619972622291e-008 0.9999974966049194 0 0.04973216727375984 0.3443534076213837 0.07959914952516556 1</Transform></Instance>
<Instance id="inst1867136" name="Rocker Mount Cap:123-608;0,Parts" partRef="#id284">
<ApplicationRef application="TCC-VIS" label="Rocker Mount Cap:123-608;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id315">0.9999974370002747 1.662746562658413e-008 0.002270044526085258 0 1.669392268865977e-008 -1.00000011920929 -1.723049081192585e-008 0 0.002270061522722244 2.438619972622291e-008 -0.9999974966049194 0 0.0496981143951416 0.2571230232715607 0.09459911286830902 1</Transform></Instance>
<Instance id="inst1948848" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id318">0.9986630082130432 1.791910797521723e-008 -0.05169311910867691 0 -0.05169309675693512 2.345346850063379e-008 -0.998663067817688 0 -1.669391025416189e-008 1.00000011920929 1.72305067991374e-008 0 0.01757495850324631 0.3267382085323334 0.2976291477680206 1</Transform></Instance>
<Instance id="inst1997256" name="Rocker Bolt:123-603;0,Parts" partRef="#id290">
<ApplicationRef application="TCC-VIS" label="Rocker Bolt:123-603;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id321">0.9986716508865356 1.791518755567267e-008 -0.05152621492743492 0 -0.05152619630098343 2.345645455648082e-008 -0.9986717104911804 0 -1.669391025416189e-008 1.00000011920929 1.723049791735321e-008 0 0.06753963232040405 0.3267382085323334 0.2977406084537506 1</Transform></Instance>
<Instance id="inst1949072" name="Rocker Arm Shaft:123-601;0,Parts" partRef="#id264">
<ApplicationRef application="TCC-VIS" label="Rocker Arm Shaft:123-601;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id324">-0.9999873042106628 -0.004487393889576197 -0.00227002170868218 0 0.004487383179366589 -0.9999898076057434 1.016931855701841e-005 0 -0.002270088996738195 -4.575493051106605e-008 0.9999972581863403 0 -0.02998023852705956 0.7686992287635803 -0.02058133110404015 1</Transform></Instance>
<Instance id="inst2052896" name="Valve Spring:123-702;0,Parts" partRef="#id327">
<ApplicationRef application="TCC-VIS" label="Valve Spring:123-702;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id328">-0.821344792842865 -0.3829995691776276 0.4227339625358582 0 -0.3831273019313812 -0.1786547750234604 -0.9062537550926209 0 0.4226182997226715 -0.9063078165054321 -4.468796817036491e-007 0 -0.2707940638065338 0.1454340070486069 0.1220441088080406 1</Transform></Instance>
<Instance id="inst1725624" name="Valve_Sub:;0,Parts" partRef="#id333">
<ApplicationRef application="TCC-VIS" label="Valve_Sub:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id334">0.4546822905540466 0.654166042804718 0.6044259667396545 0 -0.8696395754814148 0.4726209938526154 0.1426760256290436 0 -0.1923305839300156 -0.5905050039291382 0.7837809920310974 0 0.09187051653862 0.08063256740570068 0.1662608832120895 1</Transform></Instance>
<Instance id="inst1914472" name="Valve:123-700;0,Parts" partRef="#id341">
<ApplicationRef application="TCC-VIS" label="Valve:123-700;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id342">0.7850326299667358 0.06081443279981613 -0.6164620518684387 0 -0.1356190741062164 0.9878997206687927 -0.07524674385786057 0 0.6044265031814575 0.1426751911640167 0.7837809920310974 0 -0.001248535001650453 -0.2500619888305664 -0.09022713452577591 1</Transform></Instance>
<Instance id="inst1734000" name="Valve Spring Cap:123-704;0,Parts" partRef="#id347">
<ApplicationRef application="TCC-VIS" label="Valve Spring Cap:123-704;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id348">0.7850326299667358 0.06081448495388031 -0.6164620518684387 0 -0.3924773633480072 -0.7211050391197205 -0.5709372162818909 0 -0.4792551398277283 0.6901518106460571 -0.5422225594520569 0 0.0455969013273716 0.2435131669044495 0.06938881427049637 1</Transform></Instance>
<Instance id="inst1730152" name="Spring:;0,Parts" partRef="#id353">
<ApplicationRef application="TCC-VIS" label="Spring:;0,Parts.asm;0;0:"></ApplicationRef>
<Transform id="id354">1 -3.002940829333056e-008 3.437022044749938e-008 0 -4.150651022882812e-008 1.000000238418579 4.017514854126603e-008 0 3.73510147255729e-008 2.773385787691041e-008 1 0 -1.489124112907803e-008 -4.276215381793236e-009 1.08718030134014e-008 1</Transform></Instance>
<Instance id="inst1910040" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id362">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1410751193761826 0.09142301231622696 -0.3314632773399353 1</Transform></Instance>
<Instance id="inst1910640" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id367">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.05227819457650185 0.07644443958997726 -0.1796288043260574 1</Transform></Instance>
<Instance id="inst1911040" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id370">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1347948610782623 0.09093648940324783 -0.3265315294265747 1</Transform></Instance>
<Instance id="inst1911768" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id373">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.05855846777558327 0.07595790922641754 -0.1746970862150192 1</Transform></Instance>
<Instance id="inst1912168" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;4:"></ApplicationRef>
<Transform id="id376">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1285146176815033 0.0904499888420105 -0.3215998709201813 1</Transform></Instance>
<Instance id="inst1912968" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;5:"></ApplicationRef>
<Transform id="id379">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.0648387148976326 0.07547140121459961 -0.1697653979063034 1</Transform></Instance>
<Instance id="inst1920696" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;6:"></ApplicationRef>
<Transform id="id382">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1222343519330025 0.08996346592903137 -0.3166681826114655 1</Transform></Instance>
<Instance id="inst1827264" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;7:"></ApplicationRef>
<Transform id="id385">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.07111898809671402 0.07498487830162048 -0.1648336797952652 1</Transform></Instance>
<Instance id="inst1920976" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;8:"></ApplicationRef>
<Transform id="id388">-0.6893028616905212 -0.1355008780956268 0.7116888165473938 0 -0.6755837202072144 0.4749762713909149 -0.5639010667800903 0 -0.2616261541843414 -0.8695042133331299 -0.4189447462558746 0 0.1159540787339211 0.08947695046663284 -0.3117364346981049 1</Transform></Instance>
<Instance id="inst1994408" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;9:"></ApplicationRef>
<Transform id="id391">0.8620703816413879 -0.01532000117003918 -0.506557047367096 0 -0.4340352714061737 0.4936883747577667 -0.7535817623138428 0 0.261626124382019 0.8695042133331299 0.4189446866512299 0 -0.07739924639463425 0.07449836283922195 -0.1599020063877106 1</Transform></Instance>
<Instance id="inst1994616" name="Valve_Sub:;0,Parts" partRef="#id394">
<ApplicationRef application="TCC-VIS" label="Valve_Sub:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id395">-0.4546823501586914 0.6541661024093628 -0.6044260263442993 0 0.8696396350860596 0.4726210236549377 -0.1426760405302048 0 0.192330613732338 -0.5905051231384277 -0.7837811708450317 0 0.01489819493144751 0.08582951128482819 -0.04803464561700821 1</Transform></Instance>
<Instance id="inst1995632" name="Spring:;0,Parts" partRef="#id408">
<ApplicationRef application="TCC-VIS" label="Spring:;0,Parts.asm;0;1:"></ApplicationRef>
<Transform id="id409">1 2.298901691233368e-008 -2.432995493961698e-008 0 -3.89851670945518e-008 0.9999998807907105 -1.280528216796029e-008 0 -3.000558379540053e-008 -2.485903749516183e-008 0.9999998807907105 0 -1.494453005790319e-009 -7.655864275868396e-010 -5.496130661697407e-009 1</Transform></Instance>
<Instance id="inst1722840" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;10:"></ApplicationRef>
<Transform id="id421">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1413719058036804 0.08810769766569138 -0.3271084725856781 1</Transform></Instance>
<Instance id="inst1723976" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;11:"></ApplicationRef>
<Transform id="id424">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.05524870008230209 0.07287602126598358 -0.1727083474397659 1</Transform></Instance>
<Instance id="inst1725736" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;12:"></ApplicationRef>
<Transform id="id427">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1366616934537888 0.08774281293153763 -0.3234097063541412 1</Transform></Instance>
<Instance id="inst1995424" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;13:"></ApplicationRef>
<Transform id="id430">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.05995889753103256 0.07251112163066864 -0.1690095812082291 1</Transform></Instance>
<Instance id="inst1726232" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;14:"></ApplicationRef>
<Transform id="id433">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1319515109062195 0.08737793564796448 -0.3197109401226044 1</Transform></Instance>
<Instance id="inst1727160" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;15:"></ApplicationRef>
<Transform id="id436">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.06466909497976303 0.07214623689651489 -0.165310800075531 1</Transform></Instance>
<Instance id="inst1722360" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;16:"></ApplicationRef>
<Transform id="id439">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.127241313457489 0.08701304346323013 -0.3160121440887451 1</Transform></Instance>
<Instance id="inst1995528" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;17:"></ApplicationRef>
<Transform id="id442">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.0693792924284935 0.07178134471178055 -0.1616120338439941 1</Transform></Instance>
<Instance id="inst1995008" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;18:"></ApplicationRef>
<Transform id="id445">-0.7145452499389648 -0.1154179275035858 0.6900026798248291 0 -0.652251660823822 0.4665488302707672 -0.5974109768867493 0 -0.252968043088913 -0.8769325613975525 -0.4086517691612244 0 0.1225311160087585 0.08664815127849579 -0.3123133778572083 1</Transform></Instance>
<Instance id="inst2053416" name="Spring Link:;0,Parts" partRef="#id361">
<ApplicationRef application="TCC-VIS" label="Spring Link:;0,Parts.part;0;19:"></ApplicationRef>
<Transform id="id448">0.8450331687927246 0.005398655775934458 -0.5346865653991699 0 -0.4710902869701386 0.4805829524993897 -0.7396714687347412 0 0.252968043088913 0.8769325613975525 0.4086517691612244 0 -0.07408948242664337 0.0714164674282074 -0.1579132527112961 1</Transform></Instance>
<Instance id="inst2053208" name="Valve:123-700;0,Parts" partRef="#id341">
<ApplicationRef application="TCC-VIS" label="Valve:123-700;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id451">0.7850325107574463 0.06081444025039673 -0.6164620518684387 0 -0.135619044303894 0.9878994226455689 -0.07524680346250534 0 0.6044264435768127 0.1426751613616943 0.7837807536125183 0 -0.005746716633439064 -0.250409871339798 -0.08668788522481918 1</Transform></Instance>
<Instance id="inst1862560" name="Valve Spring Cap:123-704;0,Parts" partRef="#id347">
<ApplicationRef application="TCC-VIS" label="Valve Spring Cap:123-704;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id454">0.7850325703620911 0.06081447005271912 -0.6164620518684387 0 -0.3681581914424896 -0.7545340657234192 -0.543265700340271 0 -0.498180091381073 0.6534368991851807 -0.5699445009231567 0 0.03418708592653275 0.2526659965515137 0.06506367027759552 1</Transform></Instance>
<Instance id="inst1719832" name="Rocker Arm:123-600;0,Parts" partRef="#id457">
<ApplicationRef application="TCC-VIS" label="Rocker Arm:123-600;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id458">0.9026297330856323 0.4304179251194 -9.149687798526429e-007 0 -0.4304179251194 0.9026297330856323 4.554329109396349e-007 0 1.028840756589489e-006 1.773579327846164e-008 0.9999999403953552 0 0.2777610719203949 0.5800805687904358 -0.005389846861362457 1</Transform></Instance>
<Instance id="inst1729824" name="Rocker Arm_copy:123-602;0,Parts" partRef="#id463">
<ApplicationRef application="TCC-VIS" label="Rocker Arm_copy:123-602;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id464">0.9026297926902771 -0.4304177463054657 -9.298340728491894e-007 0 0.4304177463054657 0.9026297926902771 -4.242589284331189e-007 0 1.028840756589489e-006 1.773579505481848e-008 0.9999999403953552 0 0.3539793193340302 0.3309040069580078 -0.005389927886426449 1</Transform></Instance>
<Instance id="inst1726936" name="Valve Cover_copy:;0,Main" partRef="#id469">
<ApplicationRef application="TCC-VIS" label="Valve Cover_copy:;0,Main.part;0;0:"></ApplicationRef>
<Transform id="id470">1 -6.184104131534696e-005 -1.004268028736988e-006 0 1.011203266898519e-006 1.773524793691195e-008 0.9999999403953552 0 -6.184104131534696e-005 -1 -1.720678532990405e-008 0 0.05108792707324028 0.3257383704185486 0.09109834581613541 1</Transform></Instance>
<Instance id="inst1722616" name="Head Nut:123-005;0,Parts" partRef="#id245">
<ApplicationRef application="TCC-VIS" label="Head Nut:123-005;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id475">0.9999933242797852 1.67195413069976e-008 0.003653878346085548 0 0.003653871593996882 -1.767486601522705e-008 -0.9999932646751404 0 -1.665473980949628e-008 1 1.726829879089564e-008 0 0.08119496703147888 0.2477381825447083 0.2201460599899292 1</Transform></Instance>
<Instance id="inst1760240" name="Valve Spring:123-702;0,Parts" partRef="#id327">
<ApplicationRef application="TCC-VIS" label="Valve Spring:123-702;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id478">-0.8213930130004883 0.3830220103263855 0.4226199984550476 0 -0.3830239772796631 0.1786065548658371 -0.9063069224357605 0 -0.4226182103157044 -0.9063078165054321 4.008188341231289e-007 0 -0.141640841960907 0.3886727094650269 0.1220077648758888 1</Transform></Instance>
<Instance id="inst1724160" name="Valve Cover:123-701;0,Parts" partRef="#id481">
<ApplicationRef application="TCC-VIS" label="Valve Cover:123-701;0,Parts.part;0;0:"></ApplicationRef>
<Transform id="id482">-1.552728390308289e-009 5.031413063960599e-009 -1 0 5.031413063960599e-009 1 5.031413063960599e-009 0 1 -5.031413063960599e-009 -1.552728390308289e-009 0 0.2239999771118164 0.03198792412877083 0.02350873127579689 1</Transform></Instance>
<Instance id="inst1723752" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id489">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999570846558 0.02160527557134628 -0.1053286641836166 1</Transform></Instance>
<Instance id="inst1725216" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id492">-5.582201367815287e-013 -0.0009254564647562802 -0.9999995827674866 0 -6.028238463962055e-010 -0.9999995827674866 0.0009254564647562802 0 -1 6.028241239519616e-010 3.326781192647572e-016 0 -0.2949999570846558 0.02149887569248676 0.0004925570683553815 1</Transform></Instance>
<Instance id="inst1758176" name="Head Stud:123-006;0,Parts" partRef="#id46">
<ApplicationRef application="TCC-VIS" label="Head Stud:123-006;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id495">1.421973649939901e-012 0.002356703858822584 -0.9999971985816956 0 -6.033720745257654e-010 -0.9999971985816956 -0.002356703858822584 0 -1 6.033737398603023e-010 -3.700562300775484e-019 0 -0.2949999570846558 0.123807780444622 -0.1001014932990074 1</Transform></Instance>
<Instance id="inst1919952" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id498">2.757793993168889e-013 4.575816179956671e-013 1 0 4.575816179956671e-013 -1 4.575816179956671e-013 0 1 4.575816179956671e-013 -2.757793993168889e-013 0 0.09999999403953552 -0.1338488161563873 0.03437212482094765 1</Transform></Instance>
<Instance id="inst2053728" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;2:"></ApplicationRef>
<Transform id="id501">4.052314039881821e-013 1.110223024625157e-015 1 0 1.110223024625157e-015 1 -1.110223024625157e-015 0 -1 1.110223024625157e-015 4.052314039881821e-013 0 -0.09999999403953552 -0.06615116447210312 0.01437209732830524 1</Transform></Instance>
<Instance id="inst2050288" name="Lifter:123-923;0,Parts" partRef="#id52">
<ApplicationRef application="TCC-VIS" label="Lifter:123-923;0,Parts.part;0;3:"></ApplicationRef>
<Transform id="id504">4.052314039881821e-013 1.110223024625157e-015 1 0 1.110223024625157e-015 1 -1.110223024625157e-015 0 -1 1.110223024625157e-015 4.052314039881821e-013 0 -0.09999999403953552 -0.06615117192268372 -0.005627896171063185 1</Transform></Instance>
<Instance id="inst1998064" name="rod:123-699;0,Parts" partRef="#id58">
<ApplicationRef application="TCC-VIS" label="rod:123-699;0,Parts.part;0;1:"></ApplicationRef>
<Transform id="id507">-0.9861037135124207 0.1661308258771896 1.702963710921711e-016 0 -0.1661308258771896 -0.9861037135124207 -3.509013978502231e-016 0 1.096343463342109e-016 -3.743166442952229e-016 1 0 -0.07101806253194809 -0.02219301089644432 -0.01999999769032002 1</Transform></Instance>
<Part id="id14" name="2_Cylinder_Engine" instanceRefs="inst1779056 inst1913768 inst1910440 inst1937376 inst1895856 inst2026000 inst1848008 inst2010456 inst1758176 inst1919952 inst2053728 inst2050288 inst1998064" type="assembly">
<UserData id="id33" type="Hidden_Metadata">
<UserValue value="156001" title="TOOLKIT_CUSTOMER"></UserValue></UserData>
<UserData id="id44">
<UserValue value="2_Cylinder_Engine" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:30.00" title="Version Create Date + Time"></UserValue>
<UserValue value="2 Cylinder Engine" title="I-DEAS Name"></UserValue>
<UserValue value="123-001" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Jan-10-2005 13:23:55.05" title="Version Mod. Date + Time"></UserValue></UserData>
<Occurrence id="id16" instanceRefs="#inst1798736">
<Transform id="id17">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Occurrence></Part>
<Part id="id46" name="Head Stud:123-006;0,Parts" type="solid">
<Bound id="id49" values="-0.03247146308422089 0.07456196844577789 -0.1150000020861626 0.006500001531094313 0.006495191715657711 0.1150000020861626"></Bound>
<Representation id="id50" format="JT" location="./2_Cylinder_Engine/Head_Stud_123_006_0_Parts.jt"></Representation></Part>
<Part id="id52" name="Lifter:123-923;0,Parts" type="solid">
<Bound id="id55" values="-0.02437210455536842 -0.03384878858923912 -0.04250000044703484 0.00774999987334013 0.007749963086098433 0.04250000044703484"></Bound>
<Representation id="id56" format="JT" location="./2_Cylinder_Engine/Lifter_123_923_0_Parts.jt"></Representation></Part>
<Part id="id58" name="rod:123-699;0,Parts" type="solid">
<Bound id="id61" values="0.02005359902977943 -0.006323420908302069 0 0.09100000560283661 0.03700000047683716 0.009999999776482582"></Bound>
<Representation id="id62" format="JT" location="./2_Cylinder_Engine/rod_123_699_0_Parts.jt"></Representation></Part>
<Part id="id64" name="Piston Sub:;0,Parts" instanceRefs="inst1912768 inst1865720" type="assembly">
<UserData id="id72">
<UserValue value="Piston Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Piston Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData>
<Occurrence id="id66" instanceRefs="#inst1798736 #inst1937376">
<Transform id="id67">-1 -1.334063881586189e-008 -7.982826621955041e-010 0 1.10096191110321e-032 -1 -3.018818806569426e-016 0 -7.293991291219912e-017 -3.018818806569426e-016 1 0 -0.1368601024150848 0.06445372104644775 0.003820367390289903 1</Transform></Occurrence></Part>
<Part id="id74" name="Piston:123-844;0,Parts" type="solid">
<Bound id="id80" values="0.0101108755916357 0.009526152163743973 0 0.05324159190058708 0.04650000110268593 0.04649999737739563"></Bound>
<Occurrence id="id76" materialRef="id77" instanceRefs="#inst1798736 #inst1937376 #inst1912768">
<Transform id="id78">-1 -3.025554562441357e-008 -3.172106577409295e-009 0 1.10096191110321e-032 -1.00000011920929 -3.018819071267222e-016 0 -7.293991291219912e-017 -3.018819071267222e-016 1.00000011920929 0 -0.2946771681308746 0.07397986948490143 0.01617963425815105 1</Transform></Occurrence>
<Representation id="id81" format="JT" location="./2_Cylinder_Engine/Piston_123_844_0_Parts.jt"></Representation></Part>
<Part id="id83" name="Piston pin:123-845;0,Parts" type="solid">
<Bound id="id86" values="-0.2534925639629364 0.09658930450677872 0.04250000044703484 0.01099999435245991 0.01099186204373837 0.04250000044703484"></Bound>
<Representation id="id87" format="JT" location="./2_Cylinder_Engine/Piston_pin_123_845_0_Parts.jt"></Representation></Part>
<Part id="id89" name="Piston Sub:;0,Parts" instanceRefs="inst1671584 inst2012776" type="assembly">
<UserData id="id100">
<UserValue value="Piston Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:24.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Piston Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id108" name="CamShaft Sub:123-990;0,Parts" instanceRefs="inst2054176 inst1938944" type="assembly">
<UserData id="id121">
<UserValue value="CamShaft Sub:123-990;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:25.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="CamShaft Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-990" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:11:35.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id123" name="Cam_shaft:123-457;0,Parts" type="solid">
<Bound id="id126" values="0.05063954740762711 -0.03493684902787209 -4.356868157628924e-005 0.1267500072717667 0.02063110843300819 0.01902950927615166"></Bound>
<Representation id="id127" format="JT" location="./2_Cylinder_Engine/Cam_shaft_123_457_0_Parts.jt"></Representation></Part>
<Part id="id129" name="cam_gear:123-456;0,Parts" type="solid">
<Bound id="id132" values="0 -0.1000000014901161 -0.002500000409781933 0.06898061186075211 0.06888007372617722 0.01250000018626452"></Bound>
<Representation id="id133" format="JT" location="./2_Cylinder_Engine/cam_gear_123_456_0_Parts.jt"></Representation></Part>
<Part id="id135" name="Crank_Sub:123-555;0,Parts" instanceRefs="inst1838360 inst1857888" type="assembly">
<UserData id="id148">
<UserValue value="Crank_Sub:123-555;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Aug-14-2001 14:13:01.00" title="Version Create Date + Time"></UserValue>
<UserValue value="Crank_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-555" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:13:01.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id150" name="crank:123-782;0,Parts" type="solid">
<Bound id="id153" values="4.847693617193727e-006 0 -0.01325000263750553 0.06299515068531036 0.03500000014901161 0.1267500072717667"></Bound>
<Representation id="id154" format="JT" location="./2_Cylinder_Engine/crank_123_782_0_Parts.jt"></Representation></Part>
<Part id="id156" name="crank_gear:123-783;0,Parts" type="solid">
<Bound id="id159" values="0 -0.0001077877532225102 -0.002500000409781933 0.03597993031144142 0.03586557507514954 0.01250000018626452"></Bound>
<Representation id="id160" format="JT" location="./2_Cylinder_Engine/crank_gear_123_783_0_Parts.jt"></Representation></Part>
<Part id="id162" name="Body Sub:123-002;0,Parts" instanceRefs="inst2026392 inst2026184 inst1996904 inst1858736 inst1726008 inst1729056 inst1724160 inst1723752 inst1725216" type="assembly">
<UserData id="id177">
<UserValue value="Body Sub:123-002;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:29.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Body Sub" title="I-DEAS Name"></UserValue>
<UserValue value="123-002" title="I-DEAS Part Number"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="Aug-14-2001 14:10:00.00" title="Version Mod. Date + Time"></UserValue></UserData>
<Occurrence id="id164" instanceRefs="#inst1798736 #inst2010456">
<Transform id="id165">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform></Occurrence></Part>
<Part id="id179" name="Case_r:123-200;0,Parts" type="solid">
<Bound id="id184" values="0 -0.04548577964305878 -0.003500004298985004 0.0949999988079071 0.1354857832193375 0.1164999976754189"></Bound>
<Occurrence id="id181" materialRef="id182" instanceRefs="#inst1798736 #inst2010456 #inst2026392"></Occurrence>
<Representation id="id185" format="JT" location="./2_Cylinder_Engine/Case_r_123_200_0_Parts.jt"></Representation></Part>
<Part id="id187" name="Cylinder_1:123-100;0,Parts" type="solid">
<Bound id="id193" values="0.01856433786451817 0.05655883997678757 2.846240931830835e-007 0.08050000667572022 0.0950000062584877 0.08000028133392334"></Bound>
<Occurrence id="id189" materialRef="id190" instanceRefs="#inst1798736 #inst2010456 #inst2026184">
<Transform id="id191">1 -5.030475147549396e-009 -8.559119635265233e-008 0 1.553537853915543e-009 -1.993428355717697e-008 1 0 -5.03141173169297e-009 -1 -1.993428355717697e-008 0 0.4018276929855347 0.004671174101531506 -0.01877834275364876 1</Transform></Occurrence>
<Representation id="id194" format="JT" location="./2_Cylinder_Engine/Cylinder_1_123_100_0_Parts.jt"></Representation></Part>
<Part id="id196" name="Cylinder_2:123-101;0,Parts" type="solid">
<Bound id="id200" values="0.01856433786451817 0.05655883997678757 2.846240931830835e-007 0.08050000667572022 0.0950000062584877 0.08000028133392334"></Bound>
<Occurrence id="id198" materialRef="id190" instanceRefs="#inst1798736 #inst2010456 #inst1996904"></Occurrence>
<Representation id="id201" format="JT" location="./2_Cylinder_Engine/Cylinder_2_123_101_0_Parts.jt"></Representation></Part>
<Part id="id203" name="cylinder bolt pattern:;0,Parts" type="solid">
<Bound id="id206" values="-0.1074714586138725 0.0745619609951973 -0.1150000020861626 0.08149999380111694 0.08149999380111694 0.1150000020861626"></Bound>
<Representation id="id207" format="JT" location="./2_Cylinder_Engine/cylinder_bolt_pattern__0_Parts.jt"></Representation></Part>
<Part id="id209" name="Head_1:123-150;0,Parts" type="solid">
<Bound id="id215" values="0.005008736159652472 -0.03048798069357872 0.04119380190968514 0.1079999953508377 0.09020166844129562 0.0411965511739254"></Bound>
<Occurrence id="id211" materialRef="id212" instanceRefs="#inst1798736 #inst2010456 #inst1726008">
<Transform id="id213">-1.553142503496474e-009 5.031413952139019e-009 -1 0 5.031442373848449e-009 1 5.031413063960599e-009 0 1 -7.856474439904559e-007 -1.082494804904854e-007 0 0.5421041250228882 0.03720489889383316 0.04404613375663757 1</Transform></Occurrence>
<Representation id="id216" format="JT" location="./2_Cylinder_Engine/Head_1_123_150_0_Parts.jt"></Representation></Part>
<Part id="id218" name="Head2 Sub:;0,Parts" instanceRefs="inst1727816 inst2027256 inst1842808 inst1906944 inst2052896 inst1725624 inst1994616 inst1719832 inst1729824 inst1726936 inst1722616 inst1760240" type="assembly">
<UserData id="id230">
<UserValue value="Head2 Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Head2 Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id232" name="Head_2:123-151;0,Parts" type="solid">
<Bound id="id236" values="0.005008736159652472 -0.03048798069357872 -0.04119383916258812 0.1079999953508377 0.09020166844129562 0.04119651019573212"></Bound>
<Occurrence id="id234" materialRef="id212" instanceRefs="#inst1798736 #inst2010456 #inst1729056 #inst1727816"></Occurrence>
<Representation id="id237" format="JT" location="./2_Cylinder_Engine/Head_2_123_151_0_Parts.jt"></Representation></Part>
<Part id="id239" name="Spark Plug:;0,Parts" type="solid">
<Bound id="id242" values="0.03006996028125286 0.2239631712436676 0.02060705050826073 0.01078151073306799 0.009165501222014427 0.0493929535150528"></Bound>
<Representation id="id243" format="JT" location="./2_Cylinder_Engine/Spark_Plug__0_Parts.jt"></Representation></Part>
<Part id="id245" name="Head Nut:123-005;0,Parts" type="solid">
<Bound id="id248" values="0.02565165981650353 0.2141639441251755 -0.008499999530613422 0.01200000010430813 0.01199112832546234 0.008499999530613422"></Bound>
<Representation id="id249" format="JT" location="./2_Cylinder_Engine/Head_Nut_123_005_0_Parts.jt"></Representation></Part>
<Part id="id251" name="Rocker_Sub:;0,Parts" instanceRefs="inst2033120 inst1789832 inst2033672 inst1949072" type="assembly">
<UserData id="id262">
<UserValue value="Rocker_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Rocker_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id264" name="Rocker Arm Shaft:123-601;0,Parts" type="solid">
<Bound id="id267" values="-0.04317900538444519 0.4631594121456146 0.05750000104308128 0.006500000134110451 0.006495170295238495 0.05750000104308128"></Bound>
<Representation id="id268" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_Shaft_123_601_0_Parts.jt"></Representation></Part>
<Part id="id270" name="Rocker_Mount_Sub:;0,Parts" instanceRefs="inst1796000 inst2030512 inst1725832 inst2029080" type="assembly">
<UserData id="id276">
<UserValue value="Rocker_Mount_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Rocker_Mount_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id278" name="Rocker Mount:123-604;0,Parts" type="solid">
<Bound id="id281" values="0.005044352263212204 -0.05961518362164497 0.007500000298023224 0.0494999997317791 0.02099999971687794 0.007500000298023224"></Bound>
<Representation id="id282" format="JT" location="./2_Cylinder_Engine/Rocker_Mount_123_604_0_Parts.jt"></Representation></Part>
<Part id="id284" name="Rocker Mount Cap:123-608;0,Parts" type="solid">
<Bound id="id287" values="0.005044352263212204 -0.05511518567800522 0.007500000298023224 0.0494999997317791 0.006499998271465302 0.007500000298023224"></Bound>
<Representation id="id288" format="JT" location="./2_Cylinder_Engine/Rocker_Mount_Cap_123_608_0_Parts.jt"></Representation></Part>
<Part id="id290" name="Rocker Bolt:123-603;0,Parts" type="solid">
<Bound id="id293" values="0.02305358275771141 0.2096639275550842 -0.04050000011920929 0.007499999366700649 0.007494449149817228 0.04050000011920929"></Bound>
<Representation id="id294" format="JT" location="./2_Cylinder_Engine/Rocker_Bolt_123_603_0_Parts.jt"></Representation></Part>
<Part id="id299" name="Rocker_Mount_Sub:;0,Parts" instanceRefs="inst1996808 inst1867136 inst1948848 inst1997256" type="assembly">
<UserData id="id310">
<UserValue value="Rocker_Mount_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:27.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Rocker_Mount_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id327" name="Valve Spring:123-702;0,Parts" type="solid">
<Bound id="id330" values="-0.2873985767364502 -0.0646171048283577 0.0324999988079071 0.008999995887279511 0.008993340656161308 0.0324999988079071"></Bound>
<Representation id="id331" format="JT" location="./2_Cylinder_Engine/Valve_Spring_123_702_0_Parts.jt"></Representation></Part>
<Part id="id333" name="Valve_Sub:;0,Parts" instanceRefs="inst1914472 inst1734000 inst1730152" type="assembly">
<UserData id="id339">
<UserValue value="Valve_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="Valve_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id341" name="Valve:123-700;0,Parts" type="solid">
<Bound id="id344" values="0.1265590041875839 0.2941140830516815 0 0.05499999970197678 0.01800000295042992 0.01798668131232262"></Bound>
<Representation id="id345" format="JT" location="./2_Cylinder_Engine/Valve_123_700_0_Parts.jt"></Representation></Part>
<Part id="id347" name="Valve Spring Cap:123-704;0,Parts" type="solid">
<Bound id="id350" values="0.2066644430160523 0.2842055261135101 0 0.004499997943639755 0.01600000448524952 0.01598815992474556"></Bound>
<Representation id="id351" format="JT" location="./2_Cylinder_Engine/Valve_Spring_Cap_123_704_0_Parts.jt"></Representation></Part>
<Part id="id353" name="Spring:;0,Parts" instanceRefs="inst1910040 inst1910640 inst1911040 inst1911768 inst1912168 inst1912968 inst1920696 inst1827264 inst1920976 inst1994408" type="assembly">
<UserData id="id359">
<UserValue value="Spring" title="I-DEAS Name"></UserValue>
<UserValue value="Spring:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue></UserData></Part>
<Part id="id361" name="Spring Link:;0,Parts" type="solid">
<Bound id="id364" values="0.1303011178970337 -0.04939981177449226 0.007499259896576405 0.001999998930841684 0.01499851979315281 0.007499259896576405"></Bound>
<Representation id="id365" format="JT" location="./2_Cylinder_Engine/Spring_Link__0_Parts.jt"></Representation></Part>
<Part id="id394" name="Valve_Sub:;0,Parts" instanceRefs="inst1995632 inst2053208 inst1862560" type="assembly">
<UserData id="id406">
<UserValue value="Valve_Sub:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="**Changes not in Library**" title="Revision"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Jan-30-1998 16:58:26.00" title="Version Create Date + Time"></UserValue>
<UserValue value="Valve_Sub" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id408" name="Spring:;0,Parts" instanceRefs="inst1722840 inst1723976 inst1725736 inst1995424 inst1726232 inst1727160 inst1722360 inst1995528 inst1995008 inst2053416" type="assembly">
<UserData id="id419">
<UserValue value="Spring:;0,Parts" title="Name"></UserValue>
<UserValue type="int" value="0" title="Version"></UserValue>
<UserValue value="sgerus" title="Creator"></UserValue>
<UserValue value="Jan-30-1998 16:58:25.00" title="Version Create Date + Time"></UserValue>
<UserValue value="INITIAL" title="State"></UserValue>
<UserValue value="Spring" title="I-DEAS Name"></UserValue>
<UserValue value="sgerus" title="Last Modifier"></UserValue>
<UserValue value="May-03-1999 15:12:04.00" title="Version Mod. Date + Time"></UserValue></UserData></Part>
<Part id="id457" name="Rocker Arm:123-600;0,Parts" type="solid">
<Bound id="id460" values="-0.2874188423156738 -0.1816282123327255 0.04250000044703484 0.03894562274217606 0.01755017042160034 0.04250000044703484"></Bound>
<Representation id="id461" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_123_600_0_Parts.jt"></Representation></Part>
<Part id="id463" name="Rocker Arm_copy:123-602;0,Parts" type="solid">
<Bound id="id466" values="-0.2914990782737732 -0.1816282123327255 0.04250000044703484 0.03894564881920815 0.01755017600953579 0.04250000044703484"></Bound>
<Representation id="id467" format="JT" location="./2_Cylinder_Engine/Rocker_Arm_copy_123_602_0_Parts.jt"></Representation></Part>
<Part id="id469" name="Valve Cover_copy:;0,Main" type="solid">
<Bound id="id472" values="0.003508739871904254 -0.03198798000812531 0.0386538989841938 0.101500004529953 0.09204161167144775 0.03634610027074814"></Bound>
<Representation id="id473" format="JT" location="./2_Cylinder_Engine/Valve_Cover_copy__0_Main.jt"></Representation></Part>
<Part id="id481" name="Valve Cover:123-701;0,Parts" type="solid">
<Bound id="id486" values="0.003508739871904254 -0.03198803216218948 0.1113460958003998 0.101500004529953 0.09204155951738358 0.03634609654545784"></Bound>
<Occurrence id="id483" instanceRefs="#inst1798736 #inst2010456 #inst1724160">
<Transform id="id484">-1.552729944620523e-009 5.031413063960599e-009 -1 0 5.0314401534024e-009 1 5.031413063960599e-009 0 1 -3.418919334308157e-007 -1.096145751944277e-007 0 0.6029092669487 0.04294551536440849 0.04271972924470902 1</Transform></Occurrence>
<Representation id="id487" format="JT" location="./2_Cylinder_Engine/Valve_Cover_123_701_0_Parts.jt"></Representation></Part></InstanceGraph>
<Material id="id77" diffuse="1 0 1" specular="1 0 1" emissive="0 0 0" ambient="0 0 0" shininess="96" alpha="0.1000000238418579"></Material>
<Material id="id182" diffuse="0.847058892250061 0.847058892250061 0.847058892250061" specular="0.8000000715255737 0.8000000715255737 0.8000000715255737" emissive="0 0 0" ambient="0.1490196138620377 0.1490196138620377 0.1490196138620377" shininess="96" alpha="0.5"></Material>
<Material id="id190" diffuse="0.6509804129600525 0.7921569347381592 0.9411765336990356" specular="0.6509804129600525 0.7921569347381592 0.9411765336990356" emissive="0 0 0" ambient="0.1490196138620377 0.1490196138620377 0.1490196138620377" shininess="96" alpha="0.5"></Material>
<Material id="id212" diffuse="1 0 0" specular="1 0 0" emissive="0 0 0" ambient="0.1490196138620377 0.1490196138620377 0.1490196138620377" shininess="96" alpha="0.5"></Material></ProductDef></PLMXML>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
+137
View File
@@ -0,0 +1,137 @@
DBRep_DrawableShape
CASCADE Topology V1, (c) Matra-Datavision
Locations 2
1
1 0 0 0
0 1 0 0
0 0 1 0
2 1 -1 0
Curve2ds 6
1 0 10 1 0
2 0 0 1 0 -0 1 2
1 6.2831853071795862 -0 0 1
1 0 -0 0 1
1 0 0 1 0
2 0 0 1 0 -0 1 2
Curves 3
2 0 0 10 0 0 1 1 0 -0 -0 1 0 2
1 2 -4.898425415289509e-16 0 0 0 1
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
Polygon3D 0
PolygonOnTriangulations 6
26 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2
p 0.0310985626705653 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
26 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1
p 0.0310985626705653 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
2 27 2
p 0.0310985626705653 1 0 10
2 28 1
p 0.0310985626705653 1 0 10
26 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 27
p 0.0310985626705653 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
26 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1
p 0.0310985626705653 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
Surfaces 3
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
1 0 0 10 0 0 1 1 0 -0 -0 1 0
1 0 0 0 0 0 1 1 0 -0 -0 1 0
Triangulations 3
52 50 1 0.0157705973710445
2 -4.89842541528951e-16 10 2 -4.89842541528951e-16 10 1.93716632225726 0.49737977432971 10 1.75261336008773 0.963507348203431 10 1.45793725484282 1.36909421185738 10 1.07165358995799 1.68865585100403 10 0.618033988749894 1.90211303259031 10 0.125581039058625 1.99605345685654 10 -0.374762629171451 1.96457450145738 10 -0.851558583130147 1.80965410493204 10 -1.27484797949738 1.54102648555158 10 -1.6180339887499 1.17557050458494 10 -1.8595529717765 0.736249105369352 10 -1.98422940262896 0.250666467128604 10 -1.98422940262896 -0.250666467128614 10 -1.8595529717765 -0.736249105369362 10 -1.61803398874989 -1.17557050458495 10 -1.27484797949737 -1.54102648555158 10 -0.851558583130138 -1.80965410493204 10 -0.374762629171441 -1.96457450145738 10 0.125581039058636 -1.99605345685654 10 0.618033988749905 -1.9021130325903 10 1.071653589958 -1.68865585100402 10 1.45793725484283 -1.36909421185737 10 1.75261336008773 -0.96350734820342 10 1.93716632225727 -0.497379774329697 10 2 -4.89842541528951e-16 0 2 -4.89842541528951e-16 0 1.93716632225726 0.49737977432971 0 1.75261336008773 0.963507348203431 0 1.45793725484282 1.36909421185738 0 1.07165358995799 1.68865585100403 0 0.618033988749894 1.90211303259031 0 0.125581039058625 1.99605345685654 0 -0.374762629171451 1.96457450145738 0 -0.851558583130147 1.80965410493204 0 -1.27484797949738 1.54102648555158 0 -1.6180339887499 1.17557050458494 0 -1.8595529717765 0.736249105369352 0 -1.98422940262896 0.250666467128604 0 -1.98422940262896 -0.250666467128614 0 -1.8595529717765 -0.736249105369362 0 -1.61803398874989 -1.17557050458495 0 -1.27484797949737 -1.54102648555158 0 -0.851558583130138 -1.80965410493204 0 -0.374762629171441 -1.96457450145738 0 0.125581039058636 -1.99605345685654 0 0.618033988749905 -1.9021130325903 0 1.071653589958 -1.68865585100402 0 1.45793725484283 -1.36909421185737 0 1.75261336008773 -0.96350734820342 0 1.93716632225727 -0.497379774329697 0 0 10 6.28318530717959 10 0.251327412287184 10 0.502654824574367 10 0.753982236861551 10 1.00530964914873 10 1.25663706143592 10 1.5079644737231 10 1.75929188601029 10 2.01061929829747 10 2.26194671058465 10 2.51327412287184 10 2.76460153515902 10 3.0159289474462 10 3.26725635973339 10 3.51858377202057 10 3.76991118430776 10 4.02123859659494 10 4.27256600888212 10 4.52389342116931 10 4.77522083345649 10 5.02654824574367 10 5.27787565803086 10 5.52920307031804 10 5.78053048260523 10 6.03185789489241 10 6.28318530717959 0 0 0 0.251327412287184 0 0.502654824574367 0 0.753982236861551 0 1.00530964914873 0 1.25663706143592 0 1.5079644737231 0 1.75929188601029 0 2.01061929829747 0 2.26194671058465 0 2.51327412287184 0 2.76460153515902 0 3.0159289474462 0 3.26725635973339 0 3.51858377202057 0 3.76991118430776 0 4.02123859659494 0 4.27256600888212 0 4.52389342116931 0 4.77522083345649 0 5.02654824574367 0 5.27787565803086 0 5.52920307031804 0 5.78053048260523 0 6.03185789489241 0 22 21 47 22 47 48 22 48 49 23 22 49 3 28 29 3 1 28 24 23 49 24 49 50 24 50 51 4 29 30 4 3 29 25 24 51 5 30 31 26 51 52 5 4 30 26 25 51 26 52 27 2 26 27 6 31 32 6 32 33 6 5 31 7 6 33 8 33 34 8 34 35 8 7 33 9 8 35 10 35 36 10 9 35 11 36 37 11 10 36 12 37 38 12 11 37 13 38 39 13 12 38 14 13 39 14 39 40 15 14 40 15 40 41 16 15 41 16 41 42 17 16 42 17 42 43 18 17 43 18 43 44 19 18 44 19 44 45 19 45 46 20 19 46 20 46 47 21 20 47
26 25 1 2.22044604925031e-16
2 -4.89842541528951e-16 10 1.93716632225726 0.49737977432971 10 1.75261336008773 0.963507348203431 10 1.45793725484282 1.36909421185738 10 1.07165358995799 1.68865585100403 10 0.618033988749894 1.90211303259031 10 0.125581039058625 1.99605345685654 10 -0.374762629171451 1.96457450145738 10 -0.851558583130147 1.80965410493204 10 -1.27484797949738 1.54102648555158 10 -1.6180339887499 1.17557050458494 10 -1.8595529717765 0.736249105369352 10 -1.98422940262896 0.250666467128604 10 -1.98422940262896 -0.250666467128614 10 -1.8595529717765 -0.736249105369362 10 -1.61803398874989 -1.17557050458495 10 -1.27484797949737 -1.54102648555158 10 -0.851558583130138 -1.80965410493204 10 -0.374762629171441 -1.96457450145738 10 0.125581039058636 -1.99605345685654 10 0.618033988749905 -1.9021130325903 10 1.071653589958 -1.68865585100402 10 1.45793725484283 -1.36909421185737 10 1.75261336008773 -0.96350734820342 10 1.93716632225727 -0.497379774329697 10 0.0078852986855219 3.33066907387547e-16 10 2 0 1.93716632225726 0.49737977432971 1.75261336008773 0.963507348203431 1.45793725484282 1.36909421185738 1.07165358995799 1.68865585100403 0.618033988749894 1.90211303259031 0.125581039058625 1.99605345685654 -0.374762629171451 1.96457450145738 -0.851558583130147 1.80965410493204 -1.27484797949738 1.54102648555158 -1.6180339887499 1.17557050458494 -1.8595529717765 0.736249105369352 -1.98422940262896 0.250666467128604 -1.98422940262896 -0.250666467128614 -1.8595529717765 -0.736249105369362 -1.61803398874989 -1.17557050458495 -1.27484797949737 -1.54102648555158 -0.851558583130138 -1.80965410493204 -0.374762629171441 -1.96457450145738 0.125581039058636 -1.99605345685654 0.618033988749904 -1.9021130325903 1.071653589958 -1.68865585100402 1.45793725484283 -1.36909421185737 1.75261336008773 -0.96350734820342 1.93716632225727 -0.497379774329697 0.00788529868552179 2.22044604925031e-16 26 1 2 26 2 3 26 3 4 26 4 5 26 5 6 26 6 7 26 7 8 26 8 9 26 9 10 26 10 11 26 11 12 26 12 13 26 13 14 26 14 15 26 15 16 26 16 17 26 17 18 26 18 19 26 19 20 26 20 21 26 21 22 26 22 23 26 23 24 26 24 25 26 25 1
26 25 1 2.22044604925031e-16
2 -4.89842541528951e-16 0 1.93716632225726 0.49737977432971 0 1.75261336008773 0.963507348203431 0 1.45793725484282 1.36909421185738 0 1.07165358995799 1.68865585100403 0 0.618033988749894 1.90211303259031 0 0.125581039058625 1.99605345685654 0 -0.374762629171451 1.96457450145738 0 -0.851558583130147 1.80965410493204 0 -1.27484797949738 1.54102648555158 0 -1.6180339887499 1.17557050458494 0 -1.8595529717765 0.736249105369352 0 -1.98422940262896 0.250666467128604 0 -1.98422940262896 -0.250666467128614 0 -1.8595529717765 -0.736249105369362 0 -1.61803398874989 -1.17557050458495 0 -1.27484797949737 -1.54102648555158 0 -0.851558583130138 -1.80965410493204 0 -0.374762629171441 -1.96457450145738 0 0.125581039058636 -1.99605345685654 0 0.618033988749905 -1.9021130325903 0 1.071653589958 -1.68865585100402 0 1.45793725484283 -1.36909421185737 0 1.75261336008773 -0.96350734820342 0 1.93716632225727 -0.497379774329697 0 0.0078852986855219 3.33066907387547e-16 0 2 0 1.93716632225726 0.49737977432971 1.75261336008773 0.963507348203431 1.45793725484282 1.36909421185738 1.07165358995799 1.68865585100403 0.618033988749894 1.90211303259031 0.125581039058625 1.99605345685654 -0.374762629171451 1.96457450145738 -0.851558583130147 1.80965410493204 -1.27484797949738 1.54102648555158 -1.6180339887499 1.17557050458494 -1.8595529717765 0.736249105369352 -1.98422940262896 0.250666467128604 -1.98422940262896 -0.250666467128614 -1.8595529717765 -0.736249105369362 -1.61803398874989 -1.17557050458495 -1.27484797949737 -1.54102648555158 -0.851558583130138 -1.80965410493204 -0.374762629171441 -1.96457450145738 0.125581039058636 -1.99605345685654 0.618033988749904 -1.9021130325903 1.071653589958 -1.68865585100402 1.45793725484283 -1.36909421185737 1.75261336008773 -0.96350734820342 1.93716632225727 -0.497379774329697 0.00788529868552179 2.22044604925031e-16 26 1 2 26 2 3 26 3 4 26 4 5 26 5 6 26 6 7 26 7 8 26 8 9 26 9 10 26 10 11 26 11 12 26 12 13 26 13 14 26 14 15 26 15 16 26 16 17 26 17 18 26 18 19 26 19 20 26 20 21 26 21 22 26 22 23 26 23 24 26 24 25 26 25 1
TShapes 15
Ve
1e-07
2 -4.89842541528951e-16 10
0 0
0101101
*
Ed
1e-07 1 1 0
1 1 0 0 6.28318530717959
2 1 1 0 0 6.28318530717959
2 2 2 0 0 6.28318530717959
6 1 1 0
6 2 2 0
0
0101100
+15 2 -15 2 *
Ve
1e-07
2 -4.89842541528951e-16 0
0 0
0101101
*
Ed
1e-07 1 1 0
1 2 0 0 10
3 3 4CN 1 0 0 10
7 3 4 1 0
0
0101000
-15 2 +13 2 *
Ed
1e-07 1 1 0
1 3 0 0 6.28318530717959
2 5 1 0 0 6.28318530717959
2 6 3 0 0 6.28318530717959
6 5 1 0
6 6 3 0
0
0101100
+13 2 -13 2 *
Wi
0101000
-14 0 +12 0 +11 0 -12 0 *
Fa
0 1e-07 1 0
2 1
0101000
+10 0 *
Wi
0101000
+14 0 *
Fa
0 1e-07 2 0
2 2
0101000
+8 0 *
Wi
0101000
-11 0 *
Fa
0 1e-07 3 0
2 3
0101000
-6 0 *
Sh
0101100
+9 0 +7 0 -5 0 *
So
0100100
+4 0 *
Co
0100000
+3 1 *
Co
1100000
+2 0 *
+1 0
+256
View File
@@ -0,0 +1,256 @@
DBRep_DrawableShape
CASCADE Topology V1, (c) Matra-Datavision
Locations 9
1
1 0 0 0
0 1 0 0
0 0 1 0
1
1 0 0 0
0 1 0 0
0 0 1 0
2 2 -1 0
2 1 -1 2 -1 0
1
1 0 0 0
0 1 0 0
0 0 1 5
2 2 1 5 -1 0
2 5 -1 0
2 1 -1 5 -1 0
2 5 1 2 -1 0
Curve2ds 14
2 0 0 1 0 -0 1 2
1 0 0 1 0
1 0 5 1 0
1 0 5 1 0
1 6.2831853071795862 -0 0 1
1 0 -0 0 1
1 6.2831853071795862 -0 0 1
1 0 -0 0 1
1 0 10 1 0
1 0 5 1 0
1 6.2831853071795862 -0 0 1
1 0 -0 0 1
1 0 10 1 0
2 0 0 1 0 -0 1 2
Curves 7
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
1 2 -4.898425415289509e-16 0 0 0 1
1 2 -4.898425415289509e-16 0 0 0 1
2 0 0 10 0 0 1 1 0 -0 -0 1 0 2
1 2 -4.898425415289509e-16 0 0 0 1
2 0 0 10 0 0 1 1 0 -0 -0 1 0 2
Polygon3D 0
PolygonOnTriangulations 14
36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 37
p 0.0157727586365918 1 0 0.179519580205131 0.359039160410262 0.538558740615393 0.718078320820525 0.897597901025656 1.07711748123079 1.25663706143592 1.43615664164105 1.61567622184618 1.79519580205131 1.97471538225644 2.15423496246157 2.3337545426667 2.51327412287184 2.69279370307697 2.8723132832821 3.05183286348723 3.23135244369236 3.41087202389749 3.59039160410262 3.76991118430775 3.94943076451288 4.12895034471801 4.30846992492315 4.48798950512828 4.66750908533341 4.84702866553854 5.02654824574367 5.2060678259488 5.38558740615393 5.56510698635906 5.74462656656419 5.92414614676933 6.10366572697446 6.28318530717959
36 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1
p 0.0157727586365918 1 0 0.179519580205131 0.359039160410262 0.538558740615393 0.718078320820525 0.897597901025656 1.07711748123079 1.25663706143592 1.43615664164105 1.61567622184618 1.79519580205131 1.97471538225644 2.15423496246157 2.3337545426667 2.51327412287184 2.69279370307697 2.8723132832821 3.05183286348723 3.23135244369236 3.41087202389749 3.59039160410262 3.76991118430775 3.94943076451288 4.12895034471801 4.30846992492315 4.48798950512828 4.66750908533341 4.84702866553854 5.02654824574367 5.2060678259488 5.38558740615393 5.56510698635906 5.74462656656419 5.92414614676933 6.10366572697446 6.28318530717959
36 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2
p 0.0157727586365918 1 0 0.179519580205131 0.359039160410262 0.538558740615393 0.718078320820525 0.897597901025656 1.07711748123079 1.25663706143592 1.43615664164105 1.61567622184618 1.79519580205131 1.97471538225644 2.15423496246157 2.3337545426667 2.51327412287184 2.69279370307697 2.8723132832821 3.05183286348723 3.23135244369236 3.41087202389749 3.59039160410262 3.76991118430775 3.94943076451288 4.12895034471801 4.30846992492315 4.48798950512828 4.66750908533341 4.84702866553854 5.02654824574367 5.2060678259488 5.38558740615393 5.56510698635906 5.74462656656419 5.92414614676933 6.10366572697446 6.28318530717959
36 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1
p 0.0157727586365918 1 0 0.179519580205131 0.359039160410262 0.538558740615393 0.718078320820525 0.897597901025656 1.07711748123079 1.25663706143592 1.43615664164105 1.61567622184618 1.79519580205131 1.97471538225644 2.15423496246157 2.3337545426667 2.51327412287184 2.69279370307697 2.8723132832821 3.05183286348723 3.23135244369236 3.41087202389749 3.59039160410262 3.76991118430775 3.94943076451288 4.12895034471801 4.30846992492315 4.48798950512828 4.66750908533341 4.84702866553854 5.02654824574367 5.2060678259488 5.38558740615393 5.56510698635906 5.74462656656419 5.92414614676933 6.10366572697446 6.28318530717959
2 37 2
p 0.0157727586365918 1 0 5
2 38 1
p 0.0157727586365918 1 0 5
2 1 2
p 0.0157727586365918 1 5 10
2 3 38
p 0.0157727586365918 1 5 10
36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 2
p 0.0157727586365918 1 0 0.179519580205131 0.359039160410262 0.538558740615393 0.718078320820525 0.897597901025656 1.07711748123079 1.25663706143592 1.43615664164105 1.61567622184618 1.79519580205131 1.97471538225644 2.15423496246157 2.3337545426667 2.51327412287184 2.69279370307697 2.8723132832821 3.05183286348723 3.23135244369236 3.41087202389749 3.59039160410262 3.76991118430775 3.94943076451288 4.12895034471801 4.30846992492315 4.48798950512828 4.66750908533341 4.84702866553854 5.02654824574367 5.2060678259488 5.38558740615393 5.56510698635906 5.74462656656419 5.92414614676933 6.10366572697446 6.28318530717959
36 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1
p 0.0157727586365918 1 0 0.179519580205131 0.359039160410262 0.538558740615393 0.718078320820525 0.897597901025656 1.07711748123079 1.25663706143592 1.43615664164105 1.61567622184618 1.79519580205131 1.97471538225644 2.15423496246157 2.3337545426667 2.51327412287184 2.69279370307697 2.8723132832821 3.05183286348723 3.23135244369236 3.41087202389749 3.59039160410262 3.76991118430775 3.94943076451288 4.12895034471801 4.30846992492315 4.48798950512828 4.66750908533341 4.84702866553854 5.02654824574367 5.2060678259488 5.38558740615393 5.56510698635906 5.74462656656419 5.92414614676933 6.10366572697446 6.28318530717959
2 1 2
p 0.0157727586365918 1 5 10
2 3 38
p 0.0157727586365918 1 5 10
36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 2
p 0.0157727586365918 1 0 0.179519580205131 0.359039160410262 0.538558740615393 0.718078320820525 0.897597901025656 1.07711748123079 1.25663706143592 1.43615664164105 1.61567622184618 1.79519580205131 1.97471538225644 2.15423496246157 2.3337545426667 2.51327412287184 2.69279370307697 2.8723132832821 3.05183286348723 3.23135244369236 3.41087202389749 3.59039160410262 3.76991118430775 3.94943076451288 4.12895034471801 4.30846992492315 4.48798950512828 4.66750908533341 4.84702866553854 5.02654824574367 5.2060678259488 5.38558740615393 5.56510698635906 5.74462656656419 5.92414614676933 6.10366572697446 6.28318530717959
36 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1
p 0.0157727586365918 1 0 0.179519580205131 0.359039160410262 0.538558740615393 0.718078320820525 0.897597901025656 1.07711748123079 1.25663706143592 1.43615664164105 1.61567622184618 1.79519580205131 1.97471538225644 2.15423496246157 2.3337545426667 2.51327412287184 2.69279370307697 2.8723132832821 3.05183286348723 3.23135244369236 3.41087202389749 3.59039160410262 3.76991118430775 3.94943076451288 4.12895034471801 4.30846992492315 4.48798950512828 4.66750908533341 4.84702866553854 5.02654824574367 5.2060678259488 5.38558740615393 5.56510698635906 5.74462656656419 5.92414614676933 6.10366572697446 6.28318530717959
Surfaces 5
1 0 0 0 0 0 1 1 0 -0 -0 1 0
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
1 0 0 10 0 0 1 1 0 -0 -0 1 0
Triangulations 5
36 35 1 3.00432421995733e-16
2 -4.89842541528951e-16 0 1.96785917719726 0.357113789597274 0 1.87246974127947 0.702749648162686 0 1.71689758720373 1.02579855481181 0 1.50614293200722 1.31587745187943 0 1.24697960371747 1.56366296493606 0 0.947737324945996 1.76119106371348 0 0.618033988749893 1.90211303259031 0 0.268466531635309 1.98189952353587 0 -0.0897296607010315 1.99798613308263 0 -0.44504186791263 1.94985582436365 0 -0.786050063307849 1.8390555451029 0 -1.10179396290421 1.6691465074426 0 -1.38212529797373 1.44558972765478 0 -1.6180339887499 1.17557050458494 0 -1.80193773580484 0.867767478235115 0 -1.92792572139171 0.532073691133349 0 -1.99194858799048 0.179278617806865 0 -1.99194858799048 -0.179278617806869 0 -1.92792572139171 -0.532073691133352 0 -1.80193773580484 -0.867767478235118 0 -1.61803398874989 -1.17557050458495 0 -1.38212529797373 -1.44558972765478 0 -1.1017939629042 -1.66914650744261 0 -0.786050063307846 -1.8390555451029 0 -0.445041867912627 -1.94985582436365 0 -0.0897296607010284 -1.99798613308263 0 0.268466531635312 -1.98189952353587 0 0.618033988749896 -1.90211303259031 0 0.947737324945998 -1.76119106371348 0 1.24697960371747 -1.56366296493606 0 1.50614293200722 -1.31587745187942 0 1.71689758720373 -1.02579855481181 0 1.87246974127947 -0.702749648162684 0 1.96785917719726 -0.357113789597272 0 0.00402570600476093 -1.11022302462516e-16 0 2 0 1.96785917719726 0.357113789597273 1.87246974127947 0.702749648162686 1.71689758720373 1.02579855481181 1.50614293200722 1.31587745187943 1.24697960371747 1.56366296493606 0.947737324945996 1.76119106371348 0.618033988749893 1.90211303259031 0.268466531635309 1.98189952353587 -0.0897296607010316 1.99798613308263 -0.44504186791263 1.94985582436365 -0.786050063307849 1.8390555451029 -1.10179396290421 1.6691465074426 -1.38212529797373 1.44558972765478 -1.6180339887499 1.17557050458494 -1.80193773580484 0.867767478235115 -1.92792572139171 0.532073691133349 -1.99194858799048 0.179278617806865 -1.99194858799048 -0.179278617806869 -1.92792572139171 -0.532073691133352 -1.80193773580484 -0.867767478235117 -1.61803398874989 -1.17557050458495 -1.38212529797373 -1.44558972765478 -1.1017939629042 -1.66914650744261 -0.786050063307846 -1.8390555451029 -0.445041867912627 -1.94985582436365 -0.0897296607010285 -1.99798613308263 0.268466531635312 -1.98189952353587 0.618033988749896 -1.90211303259031 0.947737324945998 -1.76119106371348 1.24697960371747 -1.56366296493606 1.50614293200722 -1.31587745187942 1.71689758720373 -1.02579855481181 1.87246974127948 -0.702749648162684 1.96785917719726 -0.357113789597272 0.00402570600476104 0 36 25 26 36 26 27 36 27 28 36 28 29 36 29 30 36 30 31 36 31 32 36 32 33 36 33 34 36 34 35 36 35 1 36 1 2 36 2 3 36 3 4 36 4 5 36 5 6 36 6 7 36 7 8 36 8 9 36 9 10 36 10 11 36 11 12 36 12 13 36 13 14 36 14 15 36 15 16 36 16 17 36 17 18 36 18 19 36 19 20 36 20 21 36 21 22 36 22 23 36 23 24 36 24 25
72 70 1 0.0080514120095221
2 -4.89842541528951e-16 5 2 -4.89842541528951e-16 5 1.96785917719726 0.357113789597274 5 1.87246974127947 0.702749648162686 5 1.71689758720373 1.02579855481181 5 1.50614293200722 1.31587745187943 5 1.24697960371747 1.56366296493606 5 0.947737324945996 1.76119106371348 5 0.618033988749893 1.90211303259031 5 0.268466531635309 1.98189952353587 5 -0.0897296607010315 1.99798613308263 5 -0.44504186791263 1.94985582436365 5 -0.786050063307849 1.8390555451029 5 -1.10179396290421 1.6691465074426 5 -1.38212529797373 1.44558972765478 5 -1.6180339887499 1.17557050458494 5 -1.80193773580484 0.867767478235115 5 -1.92792572139171 0.532073691133349 5 -1.99194858799048 0.179278617806865 5 -1.99194858799048 -0.179278617806869 5 -1.92792572139171 -0.532073691133352 5 -1.80193773580484 -0.867767478235118 5 -1.61803398874989 -1.17557050458495 5 -1.38212529797373 -1.44558972765478 5 -1.1017939629042 -1.66914650744261 5 -0.786050063307846 -1.8390555451029 5 -0.445041867912627 -1.94985582436365 5 -0.0897296607010284 -1.99798613308263 5 0.268466531635312 -1.98189952353587 5 0.618033988749896 -1.90211303259031 5 0.947737324945998 -1.76119106371348 5 1.24697960371747 -1.56366296493606 5 1.50614293200722 -1.31587745187942 5 1.71689758720373 -1.02579855481181 5 1.87246974127947 -0.702749648162684 5 1.96785917719726 -0.357113789597272 5 2 -4.89842541528951e-16 0 2 -4.89842541528951e-16 0 1.96785917719726 0.357113789597274 0 1.87246974127947 0.702749648162686 0 1.71689758720373 1.02579855481181 0 1.50614293200722 1.31587745187943 0 1.24697960371747 1.56366296493606 0 0.947737324945996 1.76119106371348 0 0.618033988749893 1.90211303259031 0 0.268466531635309 1.98189952353587 0 -0.0897296607010315 1.99798613308263 0 -0.44504186791263 1.94985582436365 0 -0.786050063307849 1.8390555451029 0 -1.10179396290421 1.6691465074426 0 -1.38212529797373 1.44558972765478 0 -1.6180339887499 1.17557050458494 0 -1.80193773580484 0.867767478235115 0 -1.92792572139171 0.532073691133349 0 -1.99194858799048 0.179278617806865 0 -1.99194858799048 -0.179278617806869 0 -1.92792572139171 -0.532073691133352 0 -1.80193773580484 -0.867767478235118 0 -1.61803398874989 -1.17557050458495 0 -1.38212529797373 -1.44558972765478 0 -1.1017939629042 -1.66914650744261 0 -0.786050063307846 -1.8390555451029 0 -0.445041867912627 -1.94985582436365 0 -0.0897296607010284 -1.99798613308263 0 0.268466531635312 -1.98189952353587 0 0.618033988749896 -1.90211303259031 0 0.947737324945998 -1.76119106371348 0 1.24697960371747 -1.56366296493606 0 1.50614293200722 -1.31587745187942 0 1.71689758720373 -1.02579855481181 0 1.87246974127947 -0.702749648162684 0 1.96785917719726 -0.357113789597272 0 0 5 6.28318530717959 5 0.179519580205131 5 0.359039160410262 5 0.538558740615393 5 0.718078320820525 5 0.897597901025656 5 1.07711748123079 5 1.25663706143592 5 1.43615664164105 5 1.61567622184618 5 1.79519580205131 5 1.97471538225644 5 2.15423496246157 5 2.3337545426667 5 2.51327412287184 5 2.69279370307697 5 2.8723132832821 5 3.05183286348723 5 3.23135244369236 5 3.41087202389749 5 3.59039160410262 5 3.76991118430775 5 3.94943076451288 5 4.12895034471801 5 4.30846992492315 5 4.48798950512828 5 4.66750908533341 5 4.84702866553854 5 5.02654824574367 5 5.2060678259488 5 5.38558740615393 5 5.56510698635906 5 5.74462656656419 5 5.92414614676933 5 6.10366572697446 5 6.28318530717959 0 0 0 0.179519580205131 0 0.359039160410262 0 0.538558740615393 0 0.718078320820525 0 0.897597901025656 0 1.07711748123079 0 1.25663706143592 0 1.43615664164105 0 1.61567622184618 0 1.79519580205131 0 1.97471538225644 0 2.15423496246157 0 2.3337545426667 0 2.51327412287184 0 2.69279370307697 0 2.8723132832821 0 3.05183286348723 0 3.23135244369236 0 3.41087202389749 0 3.59039160410262 0 3.76991118430775 0 3.94943076451288 0 4.12895034471801 0 4.30846992492315 0 4.48798950512828 0 4.66750908533341 0 4.84702866553854 0 5.02654824574367 0 5.2060678259488 0 5.38558740615393 0 5.56510698635906 0 5.74462656656419 0 5.92414614676933 0 6.10366572697446 0 22 21 57 22 57 58 23 22 58 23 58 59 3 38 39 3 1 38 24 59 60 24 23 59 4 39 40 4 3 39 25 60 61 25 24 60 5 40 41 5 4 40 26 61 62 26 25 61 6 41 42 6 5 41 27 62 63 27 26 62 7 42 43 7 6 42 28 63 64 28 27 63 8 43 44 8 44 45 8 7 43 29 64 65 29 28 64 9 8 45 9 45 46 30 65 66 30 29 65 10 9 46 31 66 67 31 30 66 11 10 46 11 46 47 32 67 68 32 31 67 12 11 47 12 47 48 33 68 69 33 32 68 13 12 48 13 48 49 34 33 69 34 69 70 14 13 49 14 49 50 14 50 51 35 34 70 35 70 71 15 14 51 36 35 71 36 71 72 36 72 37 16 15 51 16 51 52 2 36 37 17 16 52 17 52 53 18 17 53 18 53 54 19 18 54 19 54 55 20 19 55 20 55 56 21 20 56 21 56 57
72 70 1 0.0080514120095221
2 -4.89842541528951e-16 5 2 -4.89842541528951e-16 10 2 -4.89842541528951e-16 5 1.96785917719726 0.357113789597274 5 1.87246974127947 0.702749648162686 5 1.71689758720373 1.02579855481181 5 1.50614293200722 1.31587745187943 5 1.24697960371747 1.56366296493606 5 0.947737324945996 1.76119106371348 5 0.618033988749893 1.90211303259031 5 0.268466531635309 1.98189952353587 5 -0.0897296607010315 1.99798613308263 5 -0.44504186791263 1.94985582436365 5 -0.786050063307849 1.8390555451029 5 -1.10179396290421 1.6691465074426 5 -1.38212529797373 1.44558972765478 5 -1.6180339887499 1.17557050458494 5 -1.80193773580484 0.867767478235115 5 -1.92792572139171 0.532073691133349 5 -1.99194858799048 0.179278617806865 5 -1.99194858799048 -0.179278617806869 5 -1.92792572139171 -0.532073691133352 5 -1.80193773580484 -0.867767478235118 5 -1.61803398874989 -1.17557050458495 5 -1.38212529797373 -1.44558972765478 5 -1.1017939629042 -1.66914650744261 5 -0.786050063307846 -1.8390555451029 5 -0.445041867912627 -1.94985582436365 5 -0.0897296607010284 -1.99798613308263 5 0.268466531635312 -1.98189952353587 5 0.618033988749896 -1.90211303259031 5 0.947737324945998 -1.76119106371348 5 1.24697960371747 -1.56366296493606 5 1.50614293200722 -1.31587745187942 5 1.71689758720373 -1.02579855481181 5 1.87246974127947 -0.702749648162684 5 1.96785917719726 -0.357113789597272 5 2 -4.89842541528951e-16 10 1.96785917719726 0.357113789597274 10 1.87246974127947 0.702749648162686 10 1.71689758720373 1.02579855481181 10 1.50614293200722 1.31587745187943 10 1.24697960371747 1.56366296493606 10 0.947737324945996 1.76119106371348 10 0.618033988749893 1.90211303259031 10 0.268466531635309 1.98189952353587 10 -0.0897296607010315 1.99798613308263 10 -0.44504186791263 1.94985582436365 10 -0.786050063307849 1.8390555451029 10 -1.10179396290421 1.6691465074426 10 -1.38212529797373 1.44558972765478 10 -1.6180339887499 1.17557050458494 10 -1.80193773580484 0.867767478235115 10 -1.92792572139171 0.532073691133349 10 -1.99194858799048 0.179278617806865 10 -1.99194858799048 -0.179278617806869 10 -1.92792572139171 -0.532073691133352 10 -1.80193773580484 -0.867767478235118 10 -1.61803398874989 -1.17557050458495 10 -1.38212529797373 -1.44558972765478 10 -1.1017939629042 -1.66914650744261 10 -0.786050063307846 -1.8390555451029 10 -0.445041867912627 -1.94985582436365 10 -0.0897296607010284 -1.99798613308263 10 0.268466531635312 -1.98189952353587 10 0.618033988749896 -1.90211303259031 10 0.947737324945998 -1.76119106371348 10 1.24697960371747 -1.56366296493606 10 1.50614293200722 -1.31587745187942 10 1.71689758720373 -1.02579855481181 10 1.87246974127947 -0.702749648162684 10 1.96785917719726 -0.357113789597272 10 6.28318530717959 5 6.28318530717959 10 0 5 0.179519580205131 5 0.359039160410262 5 0.538558740615393 5 0.718078320820525 5 0.897597901025656 5 1.07711748123079 5 1.25663706143592 5 1.43615664164105 5 1.61567622184618 5 1.79519580205131 5 1.97471538225644 5 2.15423496246157 5 2.3337545426667 5 2.51327412287184 5 2.69279370307697 5 2.8723132832821 5 3.05183286348723 5 3.23135244369236 5 3.41087202389749 5 3.59039160410262 5 3.76991118430775 5 3.94943076451288 5 4.12895034471801 5 4.30846992492315 5 4.48798950512828 5 4.66750908533341 5 4.84702866553854 5 5.02654824574367 5 5.2060678259488 5 5.38558740615393 5 5.56510698635906 5 5.74462656656419 5 5.92414614676933 5 6.10366572697446 5 0 10 0.179519580205131 10 0.359039160410262 10 0.538558740615393 10 0.718078320820525 10 0.897597901025656 10 1.07711748123079 10 1.25663706143592 10 1.43615664164105 10 1.61567622184618 10 1.79519580205131 10 1.97471538225644 10 2.15423496246157 10 2.3337545426667 10 2.51327412287184 10 2.69279370307697 10 2.8723132832821 10 3.05183286348723 10 3.23135244369236 10 3.41087202389749 10 3.59039160410262 10 3.76991118430775 10 3.94943076451288 10 4.12895034471801 10 4.30846992492315 10 4.48798950512828 10 4.66750908533341 10 4.84702866553854 10 5.02654824574367 10 5.2060678259488 10 5.38558740615393 10 5.56510698635906 10 5.74462656656419 10 5.92414614676933 10 6.10366572697446 10 58 22 23 58 57 22 59 23 24 59 58 23 39 3 4 39 38 3 60 24 25 60 59 24 40 4 5 40 39 4 61 25 26 61 60 25 41 5 6 41 40 5 62 26 27 62 61 26 42 6 7 42 41 6 63 27 28 63 62 27 43 7 8 43 42 7 64 28 29 64 63 28 44 8 9 44 9 10 44 43 8 65 29 30 65 64 29 45 44 10 45 10 11 66 30 31 66 65 30 46 45 11 67 31 32 67 66 31 47 11 12 47 46 11 68 32 33 68 67 32 48 47 12 48 12 13 69 33 34 49 13 14 69 68 33 49 48 13 70 69 34 70 34 35 50 14 15 50 15 16 50 49 14 71 70 35 71 35 36 51 50 16 72 71 36 72 36 37 52 16 17 52 51 16 2 72 37 2 37 1 53 17 18 53 52 17 54 18 19 54 53 18 55 19 20 55 54 19 56 20 21 56 55 20 57 21 22 57 56 21
72 70 1 0.0080514120095221
2 -4.89842541528951e-16 10 2 -4.89842541528951e-16 15 2 -4.89842541528951e-16 10 1.96785917719726 0.357113789597274 10 1.87246974127947 0.702749648162686 10 1.71689758720373 1.02579855481181 10 1.50614293200722 1.31587745187943 10 1.24697960371747 1.56366296493606 10 0.947737324945996 1.76119106371348 10 0.618033988749893 1.90211303259031 10 0.268466531635309 1.98189952353587 10 -0.0897296607010315 1.99798613308263 10 -0.44504186791263 1.94985582436365 10 -0.786050063307849 1.8390555451029 10 -1.10179396290421 1.6691465074426 10 -1.38212529797373 1.44558972765478 10 -1.6180339887499 1.17557050458494 10 -1.80193773580484 0.867767478235115 10 -1.92792572139171 0.532073691133349 10 -1.99194858799048 0.179278617806865 10 -1.99194858799048 -0.179278617806869 10 -1.92792572139171 -0.532073691133352 10 -1.80193773580484 -0.867767478235118 10 -1.61803398874989 -1.17557050458495 10 -1.38212529797373 -1.44558972765478 10 -1.1017939629042 -1.66914650744261 10 -0.786050063307846 -1.8390555451029 10 -0.445041867912627 -1.94985582436365 10 -0.0897296607010284 -1.99798613308263 10 0.268466531635312 -1.98189952353587 10 0.618033988749896 -1.90211303259031 10 0.947737324945998 -1.76119106371348 10 1.24697960371747 -1.56366296493606 10 1.50614293200722 -1.31587745187942 10 1.71689758720373 -1.02579855481181 10 1.87246974127947 -0.702749648162684 10 1.96785917719726 -0.357113789597272 10 2 -4.89842541528951e-16 15 1.96785917719726 0.357113789597274 15 1.87246974127947 0.702749648162686 15 1.71689758720373 1.02579855481181 15 1.50614293200722 1.31587745187943 15 1.24697960371747 1.56366296493606 15 0.947737324945996 1.76119106371348 15 0.618033988749893 1.90211303259031 15 0.268466531635309 1.98189952353587 15 -0.0897296607010315 1.99798613308263 15 -0.44504186791263 1.94985582436365 15 -0.786050063307849 1.8390555451029 15 -1.10179396290421 1.6691465074426 15 -1.38212529797373 1.44558972765478 15 -1.6180339887499 1.17557050458494 15 -1.80193773580484 0.867767478235115 15 -1.92792572139171 0.532073691133349 15 -1.99194858799048 0.179278617806865 15 -1.99194858799048 -0.179278617806869 15 -1.92792572139171 -0.532073691133352 15 -1.80193773580484 -0.867767478235118 15 -1.61803398874989 -1.17557050458495 15 -1.38212529797373 -1.44558972765478 15 -1.1017939629042 -1.66914650744261 15 -0.786050063307846 -1.8390555451029 15 -0.445041867912627 -1.94985582436365 15 -0.0897296607010284 -1.99798613308263 15 0.268466531635312 -1.98189952353587 15 0.618033988749896 -1.90211303259031 15 0.947737324945998 -1.76119106371348 15 1.24697960371747 -1.56366296493606 15 1.50614293200722 -1.31587745187942 15 1.71689758720373 -1.02579855481181 15 1.87246974127947 -0.702749648162684 15 1.96785917719726 -0.357113789597272 15 6.28318530717959 5 6.28318530717959 10 0 5 0.179519580205131 5 0.359039160410262 5 0.538558740615393 5 0.718078320820525 5 0.897597901025656 5 1.07711748123079 5 1.25663706143592 5 1.43615664164105 5 1.61567622184618 5 1.79519580205131 5 1.97471538225644 5 2.15423496246157 5 2.3337545426667 5 2.51327412287184 5 2.69279370307697 5 2.8723132832821 5 3.05183286348723 5 3.23135244369236 5 3.41087202389749 5 3.59039160410262 5 3.76991118430775 5 3.94943076451288 5 4.12895034471801 5 4.30846992492315 5 4.48798950512828 5 4.66750908533341 5 4.84702866553854 5 5.02654824574367 5 5.2060678259488 5 5.38558740615393 5 5.56510698635906 5 5.74462656656419 5 5.92414614676933 5 6.10366572697446 5 0 10 0.179519580205131 10 0.359039160410262 10 0.538558740615393 10 0.718078320820525 10 0.897597901025656 10 1.07711748123079 10 1.25663706143592 10 1.43615664164105 10 1.61567622184618 10 1.79519580205131 10 1.97471538225644 10 2.15423496246157 10 2.3337545426667 10 2.51327412287184 10 2.69279370307697 10 2.8723132832821 10 3.05183286348723 10 3.23135244369236 10 3.41087202389749 10 3.59039160410262 10 3.76991118430775 10 3.94943076451288 10 4.12895034471801 10 4.30846992492315 10 4.48798950512828 10 4.66750908533341 10 4.84702866553854 10 5.02654824574367 10 5.2060678259488 10 5.38558740615393 10 5.56510698635906 10 5.74462656656419 10 5.92414614676933 10 6.10366572697446 10 58 22 23 58 57 22 59 23 24 59 58 23 39 3 4 39 38 3 60 24 25 60 59 24 40 4 5 40 39 4 61 25 26 61 60 25 41 5 6 41 40 5 62 26 27 62 61 26 42 6 7 42 41 6 63 27 28 63 62 27 43 7 8 43 42 7 64 28 29 64 63 28 44 8 9 44 9 10 44 43 8 65 29 30 65 64 29 45 44 10 45 10 11 66 30 31 66 65 30 46 45 11 67 31 32 67 66 31 47 11 12 47 46 11 68 32 33 68 67 32 48 47 12 48 12 13 69 33 34 49 13 14 69 68 33 49 48 13 70 69 34 70 34 35 50 14 15 50 15 16 50 49 14 71 70 35 71 35 36 51 50 16 72 71 36 72 36 37 52 16 17 52 51 16 2 72 37 2 37 1 53 17 18 53 52 17 54 18 19 54 53 18 55 19 20 55 54 19 56 20 21 56 55 20 57 21 22 57 56 21
36 35 1 3.00432421995733e-16
2 -4.89842541528951e-16 10 1.96785917719726 0.357113789597274 10 1.87246974127947 0.702749648162686 10 1.71689758720373 1.02579855481181 10 1.50614293200722 1.31587745187943 10 1.24697960371747 1.56366296493606 10 0.947737324945996 1.76119106371348 10 0.618033988749893 1.90211303259031 10 0.268466531635309 1.98189952353587 10 -0.0897296607010315 1.99798613308263 10 -0.44504186791263 1.94985582436365 10 -0.786050063307849 1.8390555451029 10 -1.10179396290421 1.6691465074426 10 -1.38212529797373 1.44558972765478 10 -1.6180339887499 1.17557050458494 10 -1.80193773580484 0.867767478235115 10 -1.92792572139171 0.532073691133349 10 -1.99194858799048 0.179278617806865 10 -1.99194858799048 -0.179278617806869 10 -1.92792572139171 -0.532073691133352 10 -1.80193773580484 -0.867767478235118 10 -1.61803398874989 -1.17557050458495 10 -1.38212529797373 -1.44558972765478 10 -1.1017939629042 -1.66914650744261 10 -0.786050063307846 -1.8390555451029 10 -0.445041867912627 -1.94985582436365 10 -0.0897296607010284 -1.99798613308263 10 0.268466531635312 -1.98189952353587 10 0.618033988749896 -1.90211303259031 10 0.947737324945998 -1.76119106371348 10 1.24697960371747 -1.56366296493606 10 1.50614293200722 -1.31587745187942 10 1.71689758720373 -1.02579855481181 10 1.87246974127947 -0.702749648162684 10 1.96785917719726 -0.357113789597272 10 0.00402570600476093 -1.11022302462516e-16 10 2 0 1.96785917719726 0.357113789597273 1.87246974127947 0.702749648162686 1.71689758720373 1.02579855481181 1.50614293200722 1.31587745187943 1.24697960371747 1.56366296493606 0.947737324945996 1.76119106371348 0.618033988749893 1.90211303259031 0.268466531635309 1.98189952353587 -0.0897296607010316 1.99798613308263 -0.44504186791263 1.94985582436365 -0.786050063307849 1.8390555451029 -1.10179396290421 1.6691465074426 -1.38212529797373 1.44558972765478 -1.6180339887499 1.17557050458494 -1.80193773580484 0.867767478235115 -1.92792572139171 0.532073691133349 -1.99194858799048 0.179278617806865 -1.99194858799048 -0.179278617806869 -1.92792572139171 -0.532073691133352 -1.80193773580484 -0.867767478235117 -1.61803398874989 -1.17557050458495 -1.38212529797373 -1.44558972765478 -1.1017939629042 -1.66914650744261 -0.786050063307846 -1.8390555451029 -0.445041867912627 -1.94985582436365 -0.0897296607010285 -1.99798613308263 0.268466531635312 -1.98189952353587 0.618033988749896 -1.90211303259031 0.947737324945998 -1.76119106371348 1.24697960371747 -1.56366296493606 1.50614293200722 -1.31587745187942 1.71689758720373 -1.02579855481181 1.87246974127948 -0.702749648162684 1.96785917719726 -0.357113789597272 0.00402570600476104 0 36 25 26 36 26 27 36 27 28 36 28 29 36 29 30 36 30 31 36 31 32 36 32 33 36 33 34 36 34 35 36 35 1 36 1 2 36 2 3 36 3 4 36 4 5 36 5 6 36 6 7 36 7 8 36 8 9 36 9 10 36 10 11 36 11 12 36 12 13 36 13 14 36 14 15 36 15 16 36 16 17 36 17 18 36 18 19 36 19 20 36 20 21 36 21 22 36 22 23 36 23 24 36 24 25
TShapes 25
Ve
1e-07
2 -4.89842541528951e-16 0
0 0
0101101
*
Ed
1e-07 1 1 0
1 1 0 0 6.28318530717959
2 1 1 0 0 6.28318530717959
2 2 2 0 0 6.28318530717959
6 1 2 3
6 2 1 0
0
0101100
+25 4 -25 4 *
Wi
0101000
-24 0 *
Fa
0 1e-07 1 0
2 1
0101000
-23 0 *
Ve
1e-07
2 -4.89842541528951e-16 5
0 0
0101101
*
Ed
1e-07 1 1 0
1 2 0 0 6.28318530717959
2 3 2 6 0 6.28318530717959
2 4 3 6 0 6.28318530717959
6 3 2 7
6 4 3 7
0
0101100
+21 8 -21 8 *
Ed
1e-07 1 1 0
1 3 0 0 5
3 5 6CN 2 0 0 5
7 5 6 2 3
0
0101000
+25 4 -21 4 *
Wi
0101000
-20 5 +19 2 +24 2 -19 2 *
Fa
0 1e-07 2 2
2 2
0101000
+18 0 *
Ve
1e-07
2 -4.89842541528951e-16 10
0 0
0101101
*
Ed
1e-07 1 1 0
1 4 0 5 10
3 7 8CN 3 0 5 10
7 7 8 3 3
0
0101000
+21 4 -16 4 *
Ed
1e-07 1 1 0
1 5 0 0 6.28318530717959
2 9 3 0 0 6.28318530717959
2 10 4 9 0 6.28318530717959
6 9 3 3
6 10 4 3
0
0101100
+16 4 -16 4 *
Wi
0101000
+15 2 +20 5 -15 2 -14 2 *
Fa
0 1e-07 3 2
2 3
0101000
+13 0 *
Ve
1e-07
2 -4.89842541528951e-16 15
0 0
0101101
*
Ed
1e-07 1 1 0
1 6 0 5 10
3 11 12CN 4 0 5 10
7 11 12 4 7
0
0101000
+16 8 -11 8 *
Ed
1e-07 1 1 0
1 7 0 0 6.28318530717959
2 13 4 0 0 6.28318530717959
2 14 5 0 0 6.28318530717959
6 13 4 7
6 14 5 0
0
0101100
+11 8 -11 8 *
Wi
0101000
+10 5 +14 2 -10 5 -9 5 *
Fa
0 1e-07 4 5
2 4
0101000
+8 0 *
Wi
0101000
+9 0 *
Fa
0 1e-07 5 0
2 5
0101000
+6 0 *
Sh
0101000
-22 2 +17 0 +12 0 +7 0 +5 5 *
So
0100000
+4 0 *
Co
0100000
+3 0 *
Co
1100000
+2 1 *
+1 0
+531
View File
@@ -0,0 +1,531 @@
DBRep_DrawableShape
CASCADE Topology V1, (c) Matra-Datavision
Locations 18
1
1 0 0 0
0 1 0 0
0 0 1 0
1
1 0 0 0
0 1 0 0
0 0 1 0
1
1 0 0 0
0 1 0 0
0 0 1 0
2 2 1 3 1 0
2 2 -1 0
2 1 -1 3 -1 2 -1 0
1
1 0 0 0
0 1 0 0
0 0 1 5
2 2 1 7 -1 0
2 7 -1 0
2 3 -1 7 -1 0
2 1 -1 3 -1 7 -1 0
1
1 0 0 -6.5
0 1 0 -8
0 0 1 6
2 1 -1 0
2 7 1 3 1 0
2 3 -1 2 -1 0
2 7 1 2 -1 0
2 12 -1 0
2 1 -1 12 -1 0
Curve2ds 32
2 0 0 1 0 -0 1 2
1 0 0 1 0
1 0 5 1 0
1 0 5 1 0
1 6.2831853071795862 -0 0 1
1 0 -0 0 1
8 5.75 8.75
1 4.6498482185881986 0 0 1
8 5.75 8.75
1 -6 -6.0039100721660859 1 0
1 -1.5707963267948966 8.5 1 0
2 6.5 8 0 -1 1 0 2
8 5.75 8.75
1 3.2041334153862846 0 0 1
8 5.75 8.75
1 -6 4.5039100721660859 1 0
1 -1.5707963267948966 6 1 0
2 6.5 8 0 -1 1 0 2
1 6.2831853071795862 -0 0 1
1 0 -0 0 1
1 0 10 1 0
1 0 5 1 0
1 2.5 0 0 -1
1 6.375 0 0 1
1 0 -7.875 1 0
1 0 6.375 1 0
1 0 0 0 -1
1 6.375 0 0 1
1 0 7.875 1 0
1 2.5 0 0 1
1 0 0 0 1
1 0 7.875 1 0
1 6.2831853071795862 -0 0 1
1 0 -0 0 1
1 0 10 1 0
2 0 0 1 0 -0 1 2
Curves 16
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
1 2 -4.898425415289509e-16 0 0 0 1
1 -0.125 -1.9960899278339139 0 0 0 1
2 0 0 8.5 0 0 1 0 -1 0 1 0 -0 2
1 -1.9960899278339139 -0.125 0 0 0 1
2 0 0 6 0 0 1 0 -1 0 1 0 -0 2
1 2 -4.898425415289509e-16 0 0 0 1
2 0 0 10 0 0 1 1 0 -0 -0 1 0 2
1 6.375 0 2.5 0 1 0
1 6.375 7.875 0 0 0 1
1 6.375 0 0 -0 1 0
1 0 7.875 2.5 1 0 -0
1 0 7.875 0 1 0 -0
1 2 -4.898425415289509e-16 0 0 0 1
2 0 0 10 0 0 1 1 0 -0 -0 1 0 2
Polygon3D 0
PolygonOnTriangulations 32
26 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 27
p 0.0394318960038986 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
26 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1
p 0.0394318960038986 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
26 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2
p 0.0394318960038986 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
26 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 14
p 0.0394318960038986 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
2 27 2
p 0.0394318960038986 1 0 5
2 28 1
p 0.0394318960038986 1 0 5
2 1 2
p 0.0394318960038986 1 6 8.5
2 1 2
p 0.0394318960038986 1 6 8.5
6 3 4 5 6 7 2
p 0.0394318960038986 1 4.77492974218118 5.06407270282156 5.35321566346194 5.64235862410233 5.93150158474271 6.22064454538309
6 1 4 5 6 7 3
p 0.0394318960038986 1 4.77492974218118 5.06407270282156 5.35321566346194 5.64235862410233 5.93150158474271 6.22064454538309
2 8 3
p 0.0394318960038986 1 6 8.5
2 1 4
p 0.0394318960038986 1 6 8.5
6 8 9 10 11 12 1
p 0.0394318960038986 1 4.77492974218118 5.06407270282156 5.35321566346194 5.64235862410233 5.93150158474271 6.22064454538309
6 1 4 5 6 7 3
p 0.0394318960038986 1 4.77492974218118 5.06407270282156 5.35321566346194 5.64235862410233 5.93150158474271 6.22064454538309
2 14 40
p 0.0394318960038986 1 5 10
2 13 39
p 0.0394318960038986 1 5 10
26 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 40
p 0.0394318960038986 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
26 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1
p 0.0394318960038986 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
2 2 3
p 0.0394318960038986 1 6.00391007216609 7.875
2 3 2
p 0.0394318960038986 1 6.00391007216609 7.875
2 4 3
p 0.0394318960038986 1 0 2.5
2 2 3
p 0.0394318960038986 1 0 2.5
2 1 4
p 0.0394318960038986 1 6.00391007216609 7.875
2 3 2
p 0.0394318960038986 1 6.00391007216609 7.875
2 1 2
p 0.0394318960038986 1 4.50391007216609 6.375
2 4 3
p 0.0394318960038986 1 4.50391007216609 6.375
2 1 2
p 0.0394318960038986 1 4.50391007216609 6.375
2 1 2
p 0.0394318960038986 1 4.50391007216609 6.375
2 1 2
p 0.0394318960038986 1 5 10
2 3 28
p 0.0394318960038986 1 5 10
26 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 2
p 0.0394318960038986 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
26 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1
p 0.0394318960038986 1 0 0.251327412287184 0.502654824574367 0.753982236861551 1.00530964914873 1.25663706143592 1.5079644737231 1.75929188601029 2.01061929829747 2.26194671058465 2.51327412287184 2.76460153515902 3.0159289474462 3.26725635973339 3.51858377202057 3.76991118430776 4.02123859659494 4.27256600888212 4.52389342116931 4.77522083345649 5.02654824574367 5.27787565803086 5.52920307031804 5.78053048260523 6.03185789489241 6.28318530717959
Surfaces 9
1 0 0 0 0 0 1 1 0 -0 -0 1 0
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
1 6.375 0 0 1 0 -0 0 0 1 0 -1 0
1 0 0 2.5 0 0 1 1 0 -0 -0 1 0
1 0 7.875 0 -0 1 0 0 0 1 1 0 -0
1 0 0 0 0 0 1 1 0 -0 -0 1 0
2 0 0 0 0 0 1 1 0 -0 -0 1 0 2
1 0 0 10 0 0 1 1 0 -0 -0 1 0
Triangulations 9
26 25 1 2.22044604925031e-16
2 -4.89842541528951e-16 0 1.93716632225726 0.49737977432971 0 1.75261336008773 0.963507348203431 0 1.45793725484282 1.36909421185738 0 1.07165358995799 1.68865585100403 0 0.618033988749894 1.90211303259031 0 0.125581039058625 1.99605345685654 0 -0.374762629171451 1.96457450145738 0 -0.851558583130147 1.80965410493204 0 -1.27484797949738 1.54102648555158 0 -1.6180339887499 1.17557050458494 0 -1.8595529717765 0.736249105369352 0 -1.98422940262896 0.250666467128604 0 -1.98422940262896 -0.250666467128614 0 -1.8595529717765 -0.736249105369362 0 -1.61803398874989 -1.17557050458495 0 -1.27484797949737 -1.54102648555158 0 -0.851558583130138 -1.80965410493204 0 -0.374762629171441 -1.96457450145738 0 0.125581039058636 -1.99605345685654 0 0.618033988749905 -1.9021130325903 0 1.071653589958 -1.68865585100402 0 1.45793725484283 -1.36909421185737 0 1.75261336008773 -0.96350734820342 0 1.93716632225727 -0.497379774329697 0 0.0078852986855219 3.33066907387547e-16 0 2 0 1.93716632225726 0.49737977432971 1.75261336008773 0.963507348203431 1.45793725484282 1.36909421185738 1.07165358995799 1.68865585100403 0.618033988749894 1.90211303259031 0.125581039058625 1.99605345685654 -0.374762629171451 1.96457450145738 -0.851558583130147 1.80965410493204 -1.27484797949738 1.54102648555158 -1.6180339887499 1.17557050458494 -1.8595529717765 0.736249105369352 -1.98422940262896 0.250666467128604 -1.98422940262896 -0.250666467128614 -1.8595529717765 -0.736249105369362 -1.61803398874989 -1.17557050458495 -1.27484797949737 -1.54102648555158 -0.851558583130138 -1.80965410493204 -0.374762629171441 -1.96457450145738 0.125581039058636 -1.99605345685654 0.618033988749904 -1.9021130325903 1.071653589958 -1.68865585100402 1.45793725484283 -1.36909421185737 1.75261336008773 -0.96350734820342 1.93716632225727 -0.497379774329697 0.00788529868552179 2.22044604925031e-16 26 1 2 26 2 3 26 3 4 26 4 5 26 5 6 26 6 7 26 7 8 26 8 9 26 9 10 26 10 11 26 11 12 26 12 13 26 13 14 26 14 15 26 15 16 26 16 17 26 17 18 26 18 19 26 19 20 26 20 21 26 21 22 26 22 23 26 23 24 26 24 25 26 25 1
52 50 1 0.0157705973710445
2 -4.89842541528951e-16 5 2 -4.89842541528951e-16 5 1.93716632225726 0.49737977432971 5 1.75261336008773 0.963507348203431 5 1.45793725484282 1.36909421185738 5 1.07165358995799 1.68865585100403 5 0.618033988749894 1.90211303259031 5 0.125581039058625 1.99605345685654 5 -0.374762629171451 1.96457450145738 5 -0.851558583130147 1.80965410493204 5 -1.27484797949738 1.54102648555158 5 -1.6180339887499 1.17557050458494 5 -1.8595529717765 0.736249105369352 5 -1.98422940262896 0.250666467128604 5 -1.98422940262896 -0.250666467128614 5 -1.8595529717765 -0.736249105369362 5 -1.61803398874989 -1.17557050458495 5 -1.27484797949737 -1.54102648555158 5 -0.851558583130138 -1.80965410493204 5 -0.374762629171441 -1.96457450145738 5 0.125581039058636 -1.99605345685654 5 0.618033988749905 -1.9021130325903 5 1.071653589958 -1.68865585100402 5 1.45793725484283 -1.36909421185737 5 1.75261336008773 -0.96350734820342 5 1.93716632225727 -0.497379774329697 5 2 -4.89842541528951e-16 0 2 -4.89842541528951e-16 0 1.93716632225726 0.49737977432971 0 1.75261336008773 0.963507348203431 0 1.45793725484282 1.36909421185738 0 1.07165358995799 1.68865585100403 0 0.618033988749894 1.90211303259031 0 0.125581039058625 1.99605345685654 0 -0.374762629171451 1.96457450145738 0 -0.851558583130147 1.80965410493204 0 -1.27484797949738 1.54102648555158 0 -1.6180339887499 1.17557050458494 0 -1.8595529717765 0.736249105369352 0 -1.98422940262896 0.250666467128604 0 -1.98422940262896 -0.250666467128614 0 -1.8595529717765 -0.736249105369362 0 -1.61803398874989 -1.17557050458495 0 -1.27484797949737 -1.54102648555158 0 -0.851558583130138 -1.80965410493204 0 -0.374762629171441 -1.96457450145738 0 0.125581039058636 -1.99605345685654 0 0.618033988749905 -1.9021130325903 0 1.071653589958 -1.68865585100402 0 1.45793725484283 -1.36909421185737 0 1.75261336008773 -0.96350734820342 0 1.93716632225727 -0.497379774329697 0 0 5 6.28318530717959 5 0.251327412287184 5 0.502654824574367 5 0.753982236861551 5 1.00530964914873 5 1.25663706143592 5 1.5079644737231 5 1.75929188601029 5 2.01061929829747 5 2.26194671058465 5 2.51327412287184 5 2.76460153515902 5 3.0159289474462 5 3.26725635973339 5 3.51858377202057 5 3.76991118430776 5 4.02123859659494 5 4.27256600888212 5 4.52389342116931 5 4.77522083345649 5 5.02654824574367 5 5.27787565803086 5 5.52920307031804 5 5.78053048260523 5 6.03185789489241 5 6.28318530717959 0 0 0 0.251327412287184 0 0.502654824574367 0 0.753982236861551 0 1.00530964914873 0 1.25663706143592 0 1.5079644737231 0 1.75929188601029 0 2.01061929829747 0 2.26194671058465 0 2.51327412287184 0 2.76460153515902 0 3.0159289474462 0 3.26725635973339 0 3.51858377202057 0 3.76991118430776 0 4.02123859659494 0 4.27256600888212 0 4.52389342116931 0 4.77522083345649 0 5.02654824574367 0 5.27787565803086 0 5.52920307031804 0 5.78053048260523 0 6.03185789489241 0 22 21 47 22 47 48 22 48 49 1 28 29 23 22 49 3 29 30 3 1 29 24 23 49 24 49 50 4 3 30 25 50 51 25 24 50 25 51 52 5 30 31 5 31 32 5 4 30 26 52 27 26 25 52 2 26 27 6 5 32 7 32 33 7 6 32 8 33 34 8 7 33 9 34 35 9 8 34 10 35 36 10 36 37 10 9 35 11 10 37 12 37 38 12 38 39 12 11 37 13 12 39 14 39 40 14 13 39 15 14 40 15 40 41 16 15 41 16 41 42 17 16 42 17 42 43 17 43 44 18 17 44 19 18 44 19 44 45 20 19 45 20 45 46 21 20 46 21 46 47
64 64 1 0.0173770792535486
-0.125 -1.99608992783391 6 -0.125 -1.99608992783391 8.5 -1.99608992783391 -0.125 8.5 -1.87758807372937 -0.688957927154656 8.5 -1.60320358499452 -1.19571663242622 8.5 -1.19571663242623 -1.60320358499452 8.5 -0.688957927154665 -1.87758807372936 8.5 -1.99608992783391 -0.125 6 -1.87758807372937 -0.688957927154656 6 -1.60320358499452 -1.19571663242622 6 -1.19571663242623 -1.60320358499452 6 -0.688957927154665 -1.87758807372936 6 2 -4.89842541528951e-16 5 2 -4.89842541528951e-16 5 1.93716632225726 0.49737977432971 5 1.75261336008773 0.963507348203431 5 1.45793725484282 1.36909421185738 5 1.07165358995799 1.68865585100403 5 0.618033988749894 1.90211303259031 5 0.125581039058625 1.99605345685654 5 -0.374762629171451 1.96457450145738 5 -0.851558583130147 1.80965410493204 5 -1.27484797949738 1.54102648555158 5 -1.6180339887499 1.17557050458494 5 -1.8595529717765 0.736249105369352 5 -1.98422940262896 0.250666467128604 5 -1.98422940262896 -0.250666467128614 5 -1.8595529717765 -0.736249105369362 5 -1.61803398874989 -1.17557050458495 5 -1.27484797949737 -1.54102648555158 5 -0.851558583130138 -1.80965410493204 5 -0.374762629171441 -1.96457450145738 5 0.125581039058636 -1.99605345685654 5 0.618033988749905 -1.9021130325903 5 1.071653589958 -1.68865585100402 5 1.45793725484283 -1.36909421185737 5 1.75261336008773 -0.96350734820342 5 1.93716632225727 -0.497379774329697 5 2 -4.89842541528951e-16 10 2 -4.89842541528951e-16 10 1.93716632225726 0.49737977432971 10 1.75261336008773 0.963507348203431 10 1.45793725484282 1.36909421185738 10 1.07165358995799 1.68865585100403 10 0.618033988749894 1.90211303259031 10 0.125581039058625 1.99605345685654 10 -0.374762629171451 1.96457450145738 10 -0.851558583130147 1.80965410493204 10 -1.27484797949738 1.54102648555158 10 -1.6180339887499 1.17557050458494 10 -1.8595529717765 0.736249105369352 10 -1.98422940262896 0.250666467128604 10 -1.98422940262896 -0.250666467128614 10 -1.8595529717765 -0.736249105369362 10 -1.61803398874989 -1.17557050458495 10 -1.27484797949737 -1.54102648555158 10 -0.851558583130138 -1.80965410493204 10 -0.374762629171441 -1.96457450145738 10 0.125581039058636 -1.99605345685654 10 0.618033988749905 -1.9021130325903 10 1.071653589958 -1.68865585100402 10 1.45793725484283 -1.36909421185737 10 1.75261336008773 -0.96350734820342 10 1.93716632225727 -0.497379774329697 10 4.6498482185882 6 4.6498482185882 8.5 3.20413341538628 8.5 3.49327637602667 8.5 3.78241933666705 8.5 4.07156229730743 8.5 4.36070525794781 8.5 3.20413341538628 6 3.49327637602667 6 3.78241933666705 6 4.07156229730743 6 4.36070525794781 6 0 5 6.28318530717959 5 0.251327412287184 5 0.502654824574367 5 0.753982236861551 5 1.00530964914873 5 1.25663706143592 5 1.5079644737231 5 1.75929188601029 5 2.01061929829747 5 2.26194671058465 5 2.51327412287184 5 2.76460153515902 5 3.0159289474462 5 3.26725635973339 5 3.51858377202057 5 3.76991118430776 5 4.02123859659494 5 4.27256600888212 5 4.52389342116931 5 4.77522083345649 5 5.02654824574367 5 5.27787565803086 5 5.52920307031804 5 5.78053048260523 5 6.03185789489241 5 0 10 6.28318530717959 10 0.251327412287184 10 0.502654824574367 10 0.753982236861551 10 1.00530964914873 10 1.25663706143592 10 1.5079644737231 10 1.75929188601029 10 2.01061929829747 10 2.26194671058465 10 2.51327412287184 10 2.76460153515902 10 3.0159289474462 10 3.26725635973339 10 3.51858377202057 10 3.76991118430776 10 4.02123859659494 10 4.27256600888212 10 4.52389342116931 10 4.77522083345649 10 5.02654824574367 10 5.27787565803086 10 5.52920307031804 10 5.78053048260523 10 6.03185789489241 10 56 5 6 56 55 5 39 13 15 12 11 31 41 15 16 41 39 15 32 12 31 42 41 16 57 6 7 57 56 6 43 16 17 43 17 18 43 42 16 1 12 32 33 1 32 58 57 7 44 43 18 45 18 19 2 1 33 45 44 18 2 58 7 46 19 20 59 2 33 46 45 19 59 58 2 60 33 34 47 20 21 60 34 35 60 59 33 47 46 20 48 21 22 61 60 35 48 22 23 48 47 21 62 35 36 49 48 23 62 61 35 63 36 37 63 37 38 50 49 23 63 62 36 50 23 24 50 24 25 64 38 14 64 63 38 51 50 25 40 64 14 8 26 27 52 51 25 52 25 26 3 26 8 3 52 26 9 8 27 9 27 28 53 52 3 4 53 3 10 28 29 10 9 28 54 53 4 30 10 29 5 54 4 11 10 30 55 54 5 31 11 30
4 2 1 1.66533453693773e-15
-0.125 -1.99608992783391 6 -0.125 -1.99608992783391 8.5 -0.125 -0.125 8.5 -0.125 -0.125 6 0 -6.00391007216609 2.5 -6.00391007216609 2.5 -7.875 0 -7.875 2 4 3 2 1 4
8 7 1 4.9960036108132e-16
-1.99608992783391 -0.125 8.5 -0.125 -0.125 8.5 -0.125 -1.99608992783391 8.5 -1.87758807372937 -0.688957927154656 8.5 -1.60320358499452 -1.19571663242622 8.5 -1.19571663242623 -1.60320358499452 8.5 -0.688957927154665 -1.87758807372936 8.5 -1.06054496391696 -1.06054496391696 8.5 4.50391007216609 7.875 6.375 7.875 6.375 6.00391007216609 4.62241192627063 7.31104207284534 4.89679641500548 6.80428336757378 5.30428336757377 6.39679641500548 5.81104207284533 6.12241192627063 5.43945503608304 6.93945503608304 8 2 1 8 3 2 8 1 4 8 4 5 8 5 6 8 6 7 8 7 3
4 2 1 3.33066907387547e-16
-1.99608992783391 -0.125 6 -0.125 -0.125 6 -0.125 -0.125 8.5 -1.99608992783391 -0.125 8.5 0 4.50391007216609 0 6.375 2.5 6.375 2.5 4.50391007216609 3 2 1 3 1 4
8 7 1 4.9960036108132e-16
-1.99608992783391 -0.125 6 -0.125 -0.125 6 -0.125 -1.99608992783391 6 -1.87758807372937 -0.688957927154656 6 -1.60320358499452 -1.19571663242622 6 -1.19571663242623 -1.60320358499452 6 -0.688957927154665 -1.87758807372936 6 -1.06054496391696 -1.06054496391696 6 4.50391007216609 7.875 6.375 7.875 6.375 6.00391007216609 4.62241192627063 7.31104207284534 4.89679641500548 6.80428336757378 5.30428336757377 6.39679641500548 5.81104207284533 6.12241192627063 5.43945503608304 6.93945503608304 8 2 1 8 3 2 8 1 4 8 4 5 8 5 6 8 6 7 8 7 3
52 50 1 0.0157705973710445
2 -4.89842541528951e-16 10 2 -4.89842541528951e-16 15 2 -4.89842541528951e-16 10 1.93716632225726 0.49737977432971 10 1.75261336008773 0.963507348203431 10 1.45793725484282 1.36909421185738 10 1.07165358995799 1.68865585100403 10 0.618033988749894 1.90211303259031 10 0.125581039058625 1.99605345685654 10 -0.374762629171451 1.96457450145738 10 -0.851558583130147 1.80965410493204 10 -1.27484797949738 1.54102648555158 10 -1.6180339887499 1.17557050458494 10 -1.8595529717765 0.736249105369352 10 -1.98422940262896 0.250666467128604 10 -1.98422940262896 -0.250666467128614 10 -1.8595529717765 -0.736249105369362 10 -1.61803398874989 -1.17557050458495 10 -1.27484797949737 -1.54102648555158 10 -0.851558583130138 -1.80965410493204 10 -0.374762629171441 -1.96457450145738 10 0.125581039058636 -1.99605345685654 10 0.618033988749905 -1.9021130325903 10 1.071653589958 -1.68865585100402 10 1.45793725484283 -1.36909421185737 10 1.75261336008773 -0.96350734820342 10 1.93716632225727 -0.497379774329697 10 2 -4.89842541528951e-16 15 1.93716632225726 0.49737977432971 15 1.75261336008773 0.963507348203431 15 1.45793725484282 1.36909421185738 15 1.07165358995799 1.68865585100403 15 0.618033988749894 1.90211303259031 15 0.125581039058625 1.99605345685654 15 -0.374762629171451 1.96457450145738 15 -0.851558583130147 1.80965410493204 15 -1.27484797949738 1.54102648555158 15 -1.6180339887499 1.17557050458494 15 -1.8595529717765 0.736249105369352 15 -1.98422940262896 0.250666467128604 15 -1.98422940262896 -0.250666467128614 15 -1.8595529717765 -0.736249105369362 15 -1.61803398874989 -1.17557050458495 15 -1.27484797949737 -1.54102648555158 15 -0.851558583130138 -1.80965410493204 15 -0.374762629171441 -1.96457450145738 15 0.125581039058636 -1.99605345685654 15 0.618033988749905 -1.9021130325903 15 1.071653589958 -1.68865585100402 15 1.45793725484283 -1.36909421185737 15 1.75261336008773 -0.96350734820342 15 1.93716632225727 -0.497379774329697 15 6.28318530717959 5 6.28318530717959 10 0 5 0.251327412287184 5 0.502654824574367 5 0.753982236861551 5 1.00530964914873 5 1.25663706143592 5 1.5079644737231 5 1.75929188601029 5 2.01061929829747 5 2.26194671058465 5 2.51327412287184 5 2.76460153515902 5 3.0159289474462 5 3.26725635973339 5 3.51858377202057 5 3.76991118430776 5 4.02123859659494 5 4.27256600888212 5 4.52389342116931 5 4.77522083345649 5 5.02654824574367 5 5.27787565803086 5 5.52920307031804 5 5.78053048260523 5 6.03185789489241 5 0 10 0.251327412287184 10 0.502654824574367 10 0.753982236861551 10 1.00530964914873 10 1.25663706143592 10 1.5079644737231 10 1.75929188601029 10 2.01061929829747 10 2.26194671058465 10 2.51327412287184 10 2.76460153515902 10 3.0159289474462 10 3.26725635973339 10 3.51858377202057 10 3.76991118430776 10 4.02123859659494 10 4.27256600888212 10 4.52389342116931 10 4.77522083345649 10 5.02654824574367 10 5.27787565803086 10 5.52920307031804 10 5.78053048260523 10 6.03185789489241 10 48 22 23 48 23 24 48 47 22 28 3 4 49 48 24 29 4 5 29 28 4 50 24 25 50 49 24 30 29 5 51 25 26 51 26 27 51 50 25 31 5 6 31 6 7 52 27 1 31 30 5 52 51 27 2 52 1 32 31 7 33 7 8 33 32 7 34 8 9 34 33 8 35 9 10 35 34 9 36 10 11 36 11 12 36 35 10 37 36 12 38 12 13 38 13 14 38 37 12 39 38 14 40 14 15 40 39 14 41 40 15 41 15 16 42 41 16 42 16 17 43 42 17 43 17 18 43 18 19 44 43 19 45 19 20 45 44 19 46 20 21 46 45 20 47 21 22 47 46 21
26 25 1 2.22044604925031e-16
2 -4.89842541528951e-16 10 1.93716632225726 0.49737977432971 10 1.75261336008773 0.963507348203431 10 1.45793725484282 1.36909421185738 10 1.07165358995799 1.68865585100403 10 0.618033988749894 1.90211303259031 10 0.125581039058625 1.99605345685654 10 -0.374762629171451 1.96457450145738 10 -0.851558583130147 1.80965410493204 10 -1.27484797949738 1.54102648555158 10 -1.6180339887499 1.17557050458494 10 -1.8595529717765 0.736249105369352 10 -1.98422940262896 0.250666467128604 10 -1.98422940262896 -0.250666467128614 10 -1.8595529717765 -0.736249105369362 10 -1.61803398874989 -1.17557050458495 10 -1.27484797949737 -1.54102648555158 10 -0.851558583130138 -1.80965410493204 10 -0.374762629171441 -1.96457450145738 10 0.125581039058636 -1.99605345685654 10 0.618033988749905 -1.9021130325903 10 1.071653589958 -1.68865585100402 10 1.45793725484283 -1.36909421185737 10 1.75261336008773 -0.96350734820342 10 1.93716632225727 -0.497379774329697 10 0.0078852986855219 3.33066907387547e-16 10 2 0 1.93716632225726 0.49737977432971 1.75261336008773 0.963507348203431 1.45793725484282 1.36909421185738 1.07165358995799 1.68865585100403 0.618033988749894 1.90211303259031 0.125581039058625 1.99605345685654 -0.374762629171451 1.96457450145738 -0.851558583130147 1.80965410493204 -1.27484797949738 1.54102648555158 -1.6180339887499 1.17557050458494 -1.8595529717765 0.736249105369352 -1.98422940262896 0.250666467128604 -1.98422940262896 -0.250666467128614 -1.8595529717765 -0.736249105369362 -1.61803398874989 -1.17557050458495 -1.27484797949737 -1.54102648555158 -0.851558583130138 -1.80965410493204 -0.374762629171441 -1.96457450145738 0.125581039058636 -1.99605345685654 0.618033988749904 -1.9021130325903 1.071653589958 -1.68865585100402 1.45793725484283 -1.36909421185737 1.75261336008773 -0.96350734820342 1.93716632225727 -0.497379774329697 0.00788529868552179 2.22044604925031e-16 26 1 2 26 2 3 26 3 4 26 4 5 26 5 6 26 6 7 26 7 8 26 8 9 26 9 10 26 10 11 26 11 12 26 12 13 26 13 14 26 14 15 26 15 16 26 16 17 26 17 18 26 18 19 26 19 20 26 20 21 26 21 22 26 22 23 26 23 24 26 24 25 26 25 1
TShapes 49
Ve
1e-07
2 -4.89842541528951e-16 0
0 0
0101101
*
Ed
1e-07 1 1 0
1 1 0 0 6.28318530717959
2 1 1 0 0 6.28318530717959
2 2 2 0 0 6.28318530717959
6 1 2 5
6 2 1 0
0
0101100
+49 6 -49 6 *
Wi
0101000
-48 0 *
Fa
0 1e-07 1 0
2 1
0101000
-47 0 *
Ve
1e-07
2 -4.89842541528951e-16 5
0 0
0101101
*
Ed
1e-07 1 1 0
1 2 0 0 6.28318530717959
2 3 2 8 0 6.28318530717959
2 4 3 8 0 6.28318530717959
6 3 2 9
6 4 3 10
0
0101100
+45 11 -45 11 *
Ed
1e-07 1 1 0
1 3 0 0 5
3 5 6CN 2 0 0 5
7 5 6 2 5
0
0101000
+49 6 -45 6 *
Wi
0101000
-44 7 +43 2 +48 2 -43 2 *
Fa
0 1e-07 2 2
2 2
0101000
+42 0 *
Ve
2.00001e-07
-0.125 -1.99608992783391 6
0 0
0101101
*
Ve
2.00001e-07
-0.125 -1.99608992783391 8.5
0 0
0101101
*
Ed
1e-07 1 1 0
1 4 0 6 8.5
2 7 3 4 6 8.5
2 8 4 12 6 8.5
6 7 3 0
6 8 4 0
0
0101000
+40 13 -39 13 *
Ve
2.00001e-07
-1.99608992783391 -0.125 8.5
0 0
0101101
*
Ed
1e-07 1 1 0
1 5 0 4.77492974218118 6.22064454538309
2 9 3 4 4.77492974218118 6.22064454538309
2 10 5 12 4.77492974218118 6.22064454538309
6 9 3 0
6 10 5 0
0
0101000
+37 13 -39 13 *
Ve
2.00001e-07
-1.99608992783391 -0.125 6
0 0
0101101
*
Ed
1e-07 1 1 0
1 6 0 6 8.5
2 11 3 4 6 8.5
2 12 6 12 6 8.5
6 11 3 0
6 12 6 0
0
0101000
+35 13 -37 13 *
Ed
1e-07 1 1 0
1 7 0 4.77492974218118 6.22064454538309
2 13 3 4 4.77492974218118 6.22064454538309
2 14 7 12 4.77492974218118 6.22064454538309
6 13 3 0
6 14 7 0
0
0101000
+35 13 -40 13 *
Wi
0101000
-38 0 +36 0 +34 0 -33 0 *
Ve
1e-07
2 -4.89842541528951e-16 10
0 0
0101101
*
Ed
1e-07 1 1 0
1 8 0 5 10
3 15 16CN 3 0 5 10
7 15 16 3 15
0
0101000
+45 6 -31 6 *
Ed
1e-07 1 1 0
1 9 0 0 6.28318530717959
2 17 3 0 0 6.28318530717959
2 18 8 16 0 6.28318530717959
6 17 3 15
6 18 8 5
0
0101100
+31 6 -31 6 *
Wi
0101000
+44 14 -30 4 -29 4 +30 4 *
Fa
0 1e-07 3 4
2 3
0101000
+32 0 +28 0 *
Ve
1e-07
-0.125 -0.125 8.5
0 0
0101101
*
Ed
1e-07 1 1 0
1 10 0 6.00391007216609 7.875
2 19 4 0 6.00391007216609 7.875
2 20 5 0 6.00391007216609 7.875
6 19 4 17
6 20 5 17
0
0101000
+39 18 -26 18 *
Ve
1e-07
-0.125 -0.125 6
0 0
0101101
*
Ed
1e-07 1 1 0
1 11 0 0 2.5
2 21 4 0 0 2.5
2 22 6 0 0 2.5
6 21 4 17
6 22 6 17
0
0101000
-26 18 +24 18 *
Ed
1e-07 1 1 0
1 12 0 6.00391007216609 7.875
2 23 4 0 6.00391007216609 7.875
2 24 7 0 6.00391007216609 7.875
6 23 4 17
6 24 7 17
0
0101000
+40 18 -24 18 *
Wi
0101000
-38 0 -25 12 +23 12 +22 12 *
Fa
0 1e-07 4 12
2 4
0101000
+21 0 *
Ed
1e-07 1 1 0
1 13 0 4.50391007216609 6.375
2 25 5 0 4.50391007216609 6.375
2 26 6 0 4.50391007216609 6.375
6 25 5 17
6 26 6 17
0
0101000
+37 18 -26 18 *
Wi
0101000
-19 12 +25 12 +36 0 *
Fa
0 1e-07 5 12
2 5
0101000
+18 0 *
Ed
1e-07 1 1 0
1 14 0 4.50391007216609 6.375
2 27 6 0 4.50391007216609 6.375
2 28 7 0 4.50391007216609 6.375
6 27 6 17
6 28 7 17
0
0101000
+35 18 -24 18 *
Wi
0101000
-16 12 -23 12 +19 12 +34 0 *
Fa
0 1e-07 6 12
2 6
0101000
+15 0 *
Wi
0101000
-16 12 +22 12 +33 0 *
Fa
0 1e-07 7 12
2 7
0101000
+13 0 *
Ve
1e-07
2 -4.89842541528951e-16 15
0 0
0101101
*
Ed
1e-07 1 1 0
1 15 0 5 10
3 29 30CN 8 0 5 10
7 29 30 8 9
0
0101000
+31 11 -11 11 *
Ed
1e-07 1 1 0
1 16 0 0 6.28318530717959
2 31 8 0 0 6.28318530717959
2 32 9 0 0 6.28318530717959
6 31 8 9
6 32 9 0
0
0101100
+11 11 -11 11 *
Wi
0101000
+10 7 +29 2 -10 7 -9 7 *
Fa
0 1e-07 8 7
2 8
0101000
+8 0 *
Wi
0101000
+9 0 *
Fa
0 1e-07 9 0
2 9
0101000
+6 0 *
Sh
0101000
-46 4 +41 3 +27 0 -20 0 -17 0 -14 0 +12 0 +7 3 +5 14 *
So
0100000
+4 0 *
Co
0100000
+3 0 *
Co
1100000
+2 1 *
+1 0

Some files were not shown because too many files have changed in this diff Show More