Compare commits

...

9395 Commits

Author SHA1 Message Date
Craig Marshall 690774c0ef Fixes Bug 2034. Made Part dimensional arrows proportional to line length and radius 2019-03-12 10:38:07 -03:00
Bernd Hahnebach 639a497c9d FEM: in out VTK, return obj on vtk result import 2019-03-12 10:45:58 +01:00
Bernd Hahnebach eb171db379 FEM: mesh tools, add method to find 2D zplane meshes 2019-03-12 10:45:58 +01:00
Bernd Hahnebach 6a7085fe08 FEM: material task panel, fix it when Poissons Ration is given but empty 2019-03-12 10:45:58 +01:00
Bernd Hahnebach 67a19b758a FEM: inp file export pref widget, add missing tool tip 2019-03-12 10:45:58 +01:00
Bernd Hahnebach 1a67718022 FEM: vtk file import pref widget, fix tooltip, fixes #3886 2019-03-12 10:45:57 +01:00
wmayer ec86db4bfb when saving parameters make sure document exists 2019-03-12 01:05:50 +01:00
wmayer 194f5d779e fixes 0003894: Part Thickness dialog thickness field not Expressions enabled 2019-03-12 01:04:24 +01:00
Yorik van Havre 6323069cbb AddonManager: fixed iconless button 2019-03-11 17:29:40 -03:00
wmayer 568faf67a0 0003897: 'View Sketch' button doesn't account for container transform 2019-03-11 12:54:26 +01:00
wmayer 4a1c04e059 keep selection order with Selection.getSelection() 2019-03-10 18:01:25 +01:00
wmayer 3e713d918c fixes FreeCAD segfaults when pressing 'Clear All' in Measure tasks dialogue with no opened document 2019-03-10 12:27:20 +01:00
wmayer c1c5dd9bb4 fix unicode issue on tab of StartPage 2019-03-10 11:54:05 +01:00
wandererfan ba6092502c Fix #3891 S/S Contents not displayed at load
- DrawViewSpreadsheet is empty after document load. Requires
  recompute to display s/s contents.
2019-03-09 17:41:43 -05:00
wmayer 6363c90a20 PVS: V517 The use of 'if (A) {...} else if (A) {...}' pattern was detected. 2019-03-08 18:56:16 +01:00
wmayer 67df9f3a82 PVS: V780 non-passive (non-PDS) type cannot be copied using the memcpy function 2019-03-07 21:40:22 +01:00
Yorik van Havre 0acb6eb236 Updated offline documentation 2019-03-07 14:10:28 -03:00
wmayer 00f2bd4e62 PVS: fix some more coding flaws 2019-03-07 14:43:16 +01:00
looooo 9e86ff440f add cmake_minimum_required to top of CMakeLists.txt and increase minimum Version 2019-03-07 11:10:42 +01:00
looooo 3ad9ee6fa4 python3.7 fix 2019-03-07 11:10:42 +01:00
wandererfan b5c3ca2087 Fix derived class calls wrong parent method 2019-03-07 10:58:30 +01:00
wandererfan 7b5458b7fa Ensure ProjGroup is created before child 2019-03-07 10:58:29 +01:00
wandererfan 9a99a87a9a Replace static_cast with dynamic_cast
- replace all static_cast with dynamic_cast + error test
2019-03-07 10:58:28 +01:00
wandererfan 7189b8ebc0 Fix segfault on missing Anchor view
- test script did not create Anchor(Front) view.  DPG/DVP did not
  handle missing Anchor properly
2019-03-07 10:58:28 +01:00
wandererfan 198c2258d4 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
Bernd Hahnebach e21c284472 FEM: ccx tools, add misisng new line in error output 2019-03-07 10:45:34 +01:00
Bernd Hahnebach 6ebc2423b5 FEM: ccx tools, more Python3 decode fixes 2019-03-07 10:45:33 +01:00
Yorik van Havre dcae6d027e Updated translations 2019-03-06 21:50:08 -03:00
Yorik van Havre 8f58abfd49 Tools: Updated wiki download scripts 2019-03-06 17:11:00 -03:00
Yorik van Havre 8a84875e07 Arch: Minor bugfix in IFC exporter 2019-03-06 17:04:50 -03:00
wmayer 13433f4779 fix invalid static_cast 2019-03-06 16:56:26 +01:00
triplus 10cdb56f24 Add scroll area to Draft Toolbar
Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=3&t=34552&p=291101#p291101

issue #3881
2019-03-06 11:53:45 -03:00
Dion Moult 8d01876484 Change hotkey of of cycle snap from tab to ` to prevent clashes with current tab behaviour 2019-03-06 11:47:00 -03:00
Bernd Hahnebach 87e47df06d FEM: ccx tools, Py3 decode fix in get ccx version 2019-03-06 12:22:32 +01:00
Bernd Hahnebach fd326aebb2 FEM: ccx tools, fix missing ccx setup 2019-03-06 12:22:32 +01:00
Bernd Hahnebach 3f6149ad4a FEM: elmer solver prefs, use elmer path for elmer grid prefs 2019-03-06 12:22:32 +01:00
Bernd Hahnebach e40ee28c1d FEM: frame work solver settings, delete duplicate code 2019-03-06 12:22:31 +01:00
Bernd Hahnebach 2e1e942a9b FEM: ccx tools solver task panel, fix editor prefs 2019-03-06 12:22:31 +01:00
wmayer c3fb5edc41 allow to define custom background images 2019-03-06 11:09:14 +01:00
wmayer 55160676d3 fixes 0003880: list of languages is not sorted in the preferences settings 2019-03-05 17:50:15 +01:00
Bernd Hahnebach 19a62a44ea Material: editor code formating, white space and remove new lines 2019-03-05 13:43:20 +01:00
triplus b5bd2e3405 Image workbench missing icons 2019-03-05 13:41:33 +01:00
wmayer 1daa0aa79c improve Copy&Paste handling in Python console 2019-03-05 10:20:50 +01:00
Bernd Hahnebach 56cc7e7913 FEM: analysis member, get rid of duplicate code in getting the analysis mesh 2019-03-04 22:15:44 +01:00
Bernd Hahnebach e606062f4c FEM: solver tasks, use FreeCAD instead of App 2019-03-04 22:15:44 +01:00
Bernd Hahnebach 7a2398ee80 FEM: solver framework, use small written modul import names in tasks 2019-03-04 22:15:44 +01:00
Bernd Hahnebach 79f9c21379 FEM: analysis, allow result meshes to be analysis member for making an analysis 2019-03-04 22:15:44 +01:00
Bernd Hahnebach e21423836a FEM: purge results gui tool, make it active if only result meshes are left in an analysis 2019-03-04 22:15:44 +01:00
Bernd Hahnebach 185098a911 FEM: result tools, delete result meshes on result purging too 2019-03-04 22:15:43 +01:00
Bernd Hahnebach 445f747378 FEM: ccx tools, delete duplicate code 2019-03-04 22:15:43 +01:00
Bernd Hahnebach e8044ac2cc FEM: ccx tools solver task panel, add missing check analysis type 2019-03-04 22:15:43 +01:00
Bernd Hahnebach 0b5cc822e8 FEM: examples, update solver obj of 3D example 2019-03-04 22:15:42 +01:00
Bernd Hahnebach f839b136d1 FEM: examples, update solver obj of 2D example 2019-03-04 22:15:42 +01:00
Bernd Hahnebach 56056a491d FEM: unit tests, add tests for von mises and prinzipal stress calculation 2019-03-04 22:15:42 +01:00
Yorik van Havre 3ca714670f Draft: Fixed failing dimension snap tool 2019-03-04 15:54:51 -03:00
wmayer 16a84b9605 add some comments 2019-03-04 19:25:43 +01:00
wmayer f24bed170a fix navigation with Tab or Shift+Tab in property editor 2019-03-04 19:15:53 +01:00
wmayer f29df543c2 remove unused controls from General preference page 2019-03-04 15:18:05 +01:00
wmayer 28b195d6e2 PVS issues:
consistently define copy constructor and assignment operator
remove superfluous casts
initialize member variables in constructor
avoid double assignment
2019-03-04 11:53:49 +01:00
wmayer d28e6a6ae7 hide some controls from preferences pages that are not implemented yet 2019-03-03 22:49:24 +01:00
wmayer 2b0d3477cb fix copy-constructor of Path::Area class 2019-03-03 15:51:07 +01:00
wmayer a604dab0b8 cannot use null pointer as target for strcpy 2019-03-03 15:39:38 +01:00
wmayer b1909bff4d PVS: V519 The 'keepExplicitPlacement' variable is assigned values twice successively. 2019-03-03 15:24:17 +01:00
wmayer 519849de89 fix -Wmaybe-uninitialized 2019-03-03 15:04:24 +01:00
wmayer 34e09b9af3 fix document observer classes to allow to run unit tests multiple times 2019-03-03 13:57:24 +01:00
luz.paz 9079de7516 Material: fix typos
Found via codespell
Thought this would merit a pre-0.18 release commit because of `./src/Mod/Material/StandardMaterial/TEMPLATE.FCMat`
2019-03-02 18:11:45 -05:00
Yorik van Havre ad28ba5095 Tools: Fixed bug in FreeCAD.ts generation 2019-03-02 19:32:10 -03:00
Yorik van Havre a70a82e19f Revert "Merged crowdin translations" for investigation due to some problems found in the translation files...
This reverts commit 9032c4c587.
2019-03-02 19:17:44 -03:00
wmayer 58aa9b183e fixes 0003876: Spreadsheet WB does not respect number of decimal settings
fixes 0003875: Spreadsheet workbench does not respect locale for decimal separator
2019-03-02 23:07:49 +01:00
Bernd Hahnebach 039ed11e84 Material: card tools, update ods and csv 2019-03-02 18:13:11 +01:00
Bernd Hahnebach ce4413e7a4 Material: cards, add group sections to all cards, by rewriting them once again 2019-03-02 18:13:11 +01:00
Bernd Hahnebach ac51fb35a7 Material: cards, rewrite all cards with card writer 2019-03-02 18:13:11 +01:00
Bernd Hahnebach 6a3a3f9f3e Material: mat module, write all cards def, add a parameter to not write the template card, which is active by default 2019-03-02 18:13:10 +01:00
Bernd Hahnebach 93456fda4c Material: card writer, get rid of double new line on file end 2019-03-02 18:13:10 +01:00
Bernd Hahnebach e481af1369 Material: card writer, better meta comments 2019-03-02 18:13:10 +01:00
Bernd Hahnebach f8771be49a Material, card writer, add parameter to switch off group section writing (it is how material cards look like ATM) 2019-03-02 18:13:09 +01:00
Bernd Hahnebach 83a40a3273 Material, card writer, move comment 2019-03-02 18:13:09 +01:00
Bernd Hahnebach 1f2e0fb9e5 Material: card writer, add white spaces around = 2019-03-02 18:13:09 +01:00
Bernd Hahnebach cf7df30f0f Material: card template, add group sections 2019-03-02 18:13:09 +01:00
Bernd Hahnebach 910753def0 Material: card template, white space 2019-03-02 18:13:09 +01:00
Bernd Hahnebach 34cd6733fb Material: card template, update some descriptions and links 2019-03-02 18:13:08 +01:00
Bernd Hahnebach db027538dd Material: card template, move property link comment in a separat line 2019-03-02 18:13:08 +01:00
Bernd Hahnebach 4e788b40ff Material: card template, update localized property comments 2019-03-02 18:13:08 +01:00
Bernd Hahnebach dfc4ac5ceb Material: card template, update unit description 2019-03-02 18:13:08 +01:00
Bernd Hahnebach 49707de57a Material: cards and templates, sort and move all rendering and vector rendering group attributes 2019-03-02 18:13:08 +01:00
Bernd Hahnebach 025ec48c8b Material: cards and templates, sort and move all architecture group attributes 2019-03-02 18:13:07 +01:00
Bernd Hahnebach c942ab71c5 Material: cards and templates, sort and move all thermal group attributes 2019-03-02 18:13:07 +01:00
Bernd Hahnebach 6f6735f9a8 Material: cards and templates, sort and move all mechanical group attributes 2019-03-02 18:13:06 +01:00
Bernd Hahnebach 68e23b6814 Material: cards and templates, sort and move all general group attributes 2019-03-02 18:13:06 +01:00
Bernd Hahnebach d0098ff966 Material: cards and templates, sort and move all cost group attributes 2019-03-02 18:13:05 +01:00
Bernd Hahnebach 90d789e393 Material: card tools headers, add missing property polish name 2019-03-02 18:13:05 +01:00
Bernd Hahnebach f8a5d278a1 Material: card tools headers, delete old depretiated property enlargen 2019-03-02 18:13:05 +01:00
wmayer 8da09b30e7 fix restoring sketch 2019-03-02 16:23:40 +01:00
wmayer 337c9c936f fix various flaws detected by PVS 2019-03-01 22:52:41 +01:00
Yorik van Havre 9032c4c587 Merged crowdin translations 2019-02-28 21:53:37 -03:00
wmayer 5791c341be fix -Winconsistent-missing-override 2019-02-28 23:30:56 +01:00
wmayer fcd3fe0a46 fix -Winconsistent-missing-override 2019-02-28 23:17:20 +01:00
wmayer 2ccffbe406 fix -Winconsistent-missing-override 2019-02-28 22:55:46 +01:00
wmayer f9d30cdc7c fix typo in German translation 2019-02-28 22:15:55 +01:00
wmayer 59a0144a4f fix saving view provider attributes for Copy&Paste or Duplicate selection 2019-02-28 18:48:30 +01:00
kazan417 979177deb1 Fix cut an object with a plane feature translation
Fix not worked translation for cut an object with a plane feature in arch module.
Without this fix cut an object with a plane does not work in languages different to English.
Similar bugs was fixed earlier, but this was harder to find because of initially grayed out feature.
2019-02-28 14:43:08 -03:00
triplus b0d83f3c5e Optional ClearMenuBar parameter
Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=34&t=34366

P.S. Note that some mixed line endings were detected in this file and were normalized automatically.
2019-02-28 03:15:13 +01:00
wmayer 10c745175f support Del shortcut in several PD task dialogs 2019-02-27 13:36:45 +01:00
wmayer 070a153757 fixes 0003865: non-ASCII characters incorrectly displayed in material cards
The combination Py2+Qt5 already worked, this change now fixes the combinations Py2+Qt4 and Py3+Qt5
2019-02-26 19:26:00 +01:00
easyw 29ae44e083 fixing kicad StepUp wiki page link 2019-02-26 14:40:02 -03:00
wmayer d3e008e46c fixes 0003860: Debian bug #920971 - C++ exception on DXF import 2019-02-25 23:46:31 +01:00
wandererfan be45d5e7ba Implement kb scroll and pan 2019-02-25 17:52:46 +01:00
wandererfan 1c209d423f Implment ctl+/- zoomin on Page 2019-02-25 17:52:46 +01:00
Bernd Hahnebach f572207cdf FEM: ccx input writer, cut seconds output by 2 decimals 2019-02-25 17:50:50 +01:00
Bernd Hahnebach 3a472131af FEM: ccx tools task panel, use ccx tools method to find ccx binary 2019-02-25 17:50:50 +01:00
Bernd Hahnebach 972bb5ee1b FEM: ccx tools solver task panel, switch to self.fea instead of lots of fea instances 2019-02-25 17:50:49 +01:00
Bernd Hahnebach 91a1a4b6d6 FEM: ccx tools, find analysis if not given and there is only one in document 2019-02-25 17:50:49 +01:00
Bernd Hahnebach 3f8c524609 FEM: ccx tools, do not run all init methods on fea init 2019-02-25 17:50:49 +01:00
Bernd Hahnebach 21e1a89fc7 FEM: ccx tools solver task panel, update to new ccx tools working dir setting def 2019-02-25 17:50:49 +01:00
Bernd Hahnebach 5e57de60d7 FEM: ccx tools, do not create the working dir if it does not exist 2019-02-25 17:50:49 +01:00
Bernd Hahnebach 9ae07756c7 FEM: ccx tools unit tests, explicit create the working directory for all tests 2019-02-25 17:50:49 +01:00
Bernd Hahnebach 13a4ccc386 FEM: solver framework, fix pref group of working dir 2019-02-25 17:50:48 +01:00
Bernd Hahnebach 18c9046cef FEM: general prefs, some typos and better text 2019-02-25 17:50:48 +01:00
wmayer 85da6c363d make Del shortcut working again in Sketch edit mode 2019-02-25 17:17:32 +01:00
wmayer d3631968ab add method to Python interface to get reflect lines of a shape 2019-02-25 10:50:38 +01:00
wmayer e3d63493c7 fixes 0003061: 'Move object after other object' function causes chaos 2019-02-24 14:04:42 +01:00
wmayer 4e973324ae when restoring object then only expand single items, not its parent items 2019-02-24 00:37:53 +01:00
wmayer a4e46d1fa1 Undo/Redo of renaming an object via context-menu 2019-02-23 22:26:21 +01:00
wmayer 0852dde409 fixes 0003807: STEP export with BaseFeature does not hide BaseObject 2019-02-23 19:43:35 +01:00
wmayer 4765b7e2fe fixes 0003848: Preferences dialog not fully visible 2019-02-23 16:28:39 +01:00
wmayer bd89326d06 avoid using hard-code precision when writing double to streams 2019-02-23 14:58:41 +01:00
wmayer 183cd16263 Fix precision of NumberExpression when writing to a string (reverts a3af2902ef)
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=34392
2019-02-23 14:34:14 +01:00
wmayer 564d41d835 fixes 0003524: The PartDesign hole feature should respect the Reverse property and provide a checkbox in the panel 2019-02-22 21:10:05 +01:00
wmayer 2631df09c0 correctly handle again NotImplementedError in Python view providers 2019-02-22 13:26:33 +01:00
wandererfan 77b22f4f30 Fix bad highlight position in Detail from ProjGroup 2019-02-22 11:55:21 +01:00
wandererfan 8b8f96b930 Fix Selection center marks
- CenterMarks were difficult to select due to small
  pick radius.  Pick radius is now an adjustable
  parameter.
2019-02-22 11:55:21 +01:00
wandererfan c940081de1 Allow Section of unfused Source
- ViewSection required Source shapes to be fused before performing
  the section cut.  This caused some Edges to not be shown in the
  result.  An option to not fuse the Sources has been added.
2019-02-22 11:55:20 +01:00
wmayer b9b0a973e4 fixes 0003819: no proper input for contact stiffness 2019-02-22 11:51:57 +01:00
wmayer f6d9ec8568 fix creation of filter list for export dialog 2019-02-21 23:03:47 +01:00
Bernd Hahnebach 397418078a Material: card tools, update csv and ods 2019-02-21 21:53:04 +01:00
Bernd Hahnebach 638988f589 Material: cards, some fixes in generic cards 2019-02-21 21:53:04 +01:00
wmayer 2fcb7cb644 fixes 0003805: After 'Create a hole with the selected sketch' the model disappears 2019-02-21 18:49:00 +01:00
wmayer e55b718cd6 fixes 0003694: Part->Boolean->Cut should show error message if a non-solid (Shell, etc.) is selected 2019-02-21 16:55:59 +01:00
Bernd Hahnebach 56fb560e4f Material: cmake, add the new generic cards 2019-02-21 13:51:44 +01:00
Bernd Hahnebach 0061ea743b Material, card tools, update csv and ods 2019-02-21 13:51:44 +01:00
donovaly b686b43b9d Material: cards, fix name and licence of the new cards 2019-02-21 13:51:44 +01:00
donovaly 744ab56576 Material: cards, add some new cards 2019-02-21 13:51:43 +01:00
donovaly 9249db9f4c Material: cards, add some properties to some cards 2019-02-21 13:51:43 +01:00
donovaly 7fd66a11bf Material: card tools, add some cards and change properties of some cards by adding csv and ods files 2019-02-21 13:51:43 +01:00
Bernd Hahnebach 7249a15165 Material: editor, sort cards in combo box 2019-02-21 13:51:43 +01:00
Bernd Hahnebach f8c6bc6312 Material: editor, some comments 2019-02-21 13:51:43 +01:00
Bernd Hahnebach cad3019da5 Material: card parser, more important comments 2019-02-21 13:51:43 +01:00
Bernd Hahnebach e448ac66fb Material: template card, fix some properties 2019-02-21 13:51:42 +01:00
wmayer 66da83ef92 fixes 0003605: Scrolling on length inputs with Building Euro unit system has max value 2019-02-21 13:30:13 +01:00
wmayer 9d87d13dd2 fixes 0003843: registration of pointer in navigation cube/cluster is off, makes clicking difficult (fixed by garya) 2019-02-20 17:39:53 +01:00
wmayer 2e8412f684 fix position of version number in splash screen 2019-02-20 14:05:13 +01:00
Yorik van Havre 21dc8c5054 Arch: Fixed remaining encoding problems - issue #3827 2019-02-19 20:03:51 -03:00
Yorik van Havre 187988b64b Draft: Fixed move/rotate of objects inside PArt containers - fixes #3485 2019-02-19 19:55:20 -03:00
Yorik van Havre 3fc17edb41 Draft: Removed leftovers from DraftTools in DraftGui 2019-02-19 19:53:14 -03:00
wmayer c215a2aa2c fix inheritance of PartPy 2019-02-19 23:21:35 +01:00
SmuSmu acdd4b097b Update FreeCAD_WindowsInstaller.nsi 2019-02-19 22:32:03 +01:00
SmuSmu 723f1cf2c5 parameter for silent install was wrong
parameter for silent install was wrong
2019-02-19 22:31:53 +01:00
wmayer a6a9c15c4c disable commit e3793e6c 2019-02-19 22:28:46 +01:00
wmayer afc44af3e9 In boolean task panel show labels not internal names, fix adding/removing bodies 2019-02-19 20:49:14 +01:00
wmayer 997d1d7d51 fixes 0003846: unexpected result in building RuledSurface 2019-02-19 15:53:39 +01:00
wandererfan dace2f39cf Fix ShapeString attachment to Face 2019-02-19 10:32:46 -03:00
triplus 99b289e541 Start module Py2 encoding
https://forum.freecadweb.org/viewtopic.php?p=287690#p287600
2019-02-19 10:31:00 -03:00
wandererfan dca9120de7 Fix PDF orientation for ANSI B Landscape
- PDF exports in landscape orientation on ANSI B (Ledger) paper
  were formatted as landscape, but on portrait paper orientation.
2019-02-19 10:27:59 -03:00
Bernd Hahnebach 7642214958 Material: card tools, update csv and ods 2019-02-19 10:27:26 -03:00
Bernd Hahnebach 9c545b1883 Material: cards, remove non standard language info 2019-02-19 10:27:26 -03:00
Bernd Hahnebach b80d1887c3 Material: cards, fix some card names inside the cards 2019-02-19 10:27:26 -03:00
Bernd Hahnebach 7ab47cd6a6 Material: cards, remove spcific price values 2019-02-19 10:27:26 -03:00
Bernd Hahnebach 328c1a937a Material: card template, fix card name 2019-02-19 10:27:26 -03:00
Bernd Hahnebach 80af7c6b60 Material: card template, add missing properties 2019-02-19 10:27:26 -03:00
Bernd Hahnebach 1c44504a27 Material: card template, delete duplicate property for thermal expansion coefficient 2019-02-19 10:27:26 -03:00
Bernd Hahnebach a79624c6a7 Material: mat card template, adapt units from FreeCAD unit system 2019-02-19 10:27:26 -03:00
Bernd Hahnebach a1ba550301 Material: card tools, add missing properties 2019-02-19 10:27:26 -03:00
Bernd Hahnebach 899f3df2fe Material: card header, use the same header in all code files 2019-02-19 10:27:26 -03:00
Bernd Hahnebach 1b69cc58a1 Material: tools, add def to read and write a bunch of mat cards 2019-02-19 10:27:26 -03:00
wmayer e3793e6c88 use format options when using repr() on a quantity 2019-02-19 13:46:22 +01:00
wmayer 638845a6f0 fixes 0003845: unwanted rounding for dimensions of subtractive shapes in task dialog 2019-02-19 09:50:12 +01:00
Yorik van Havre 60d6a21493 Draft: better handling of non-closing paths in SVG import - issue #2488 2019-02-18 23:22:31 -03:00
wmayer a12f4f364f fixes 0003823: FEM, unusable material property changing when using task panel 2019-02-18 23:26:00 +01:00
triplus 68e7975157 Icon themes support for draft tray and snap 2019-02-18 10:11:25 -03:00
wmayer 90c80f83fd PVS: V522 There might be dereferencing of a potential null pointer 'Py::Vector2d().getCxxObject()' 2019-02-18 00:00:10 +01:00
wmayer b842274386 PVS: V783 Dereferencing of the invalid iterator 'b' might take place. 2019-02-17 22:39:13 +01:00
wmayer f0320d954a PVS: V629 Consider inspecting the 'col.red() << 24' expression. Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type. 2019-02-17 22:27:00 +01:00
wmayer 2bb5797568 PVS: V595 The pointer was utilized before it was verified against nullptr 2019-02-17 20:55:52 +01:00
wmayer 1e343d339f PVS: V779 Unreachable code detected. It is possible that an error is present. 2019-02-17 20:12:56 +01:00
wmayer 239c20b71f PVS: V705 It is possible that 'else' block was forgotten or commented out, thus altering the program's operation logics. 2019-02-17 19:54:24 +01:00
wmayer 493a144080 PVS: The 'then' statement is equivalent to the 'else' statement. 2019-02-17 19:52:35 +01:00
wmayer 67020fffef PVS: V735 Possibly an incorrect HTML. 2019-02-17 19:49:06 +01:00
wmayer ffaf1c9b76 V1028 Possible overflow. Consider casting operands, not the result 2019-02-17 19:31:02 +01:00
wmayer f160cc7854 PVS: V773 A memory leak is possible 2019-02-17 19:17:02 +01:00
wmayer 3845350c0a PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
wmayer f581d5c8cb PVS: V560 A part of conditional expression is always true 2019-02-17 13:56:48 +01:00
wmayer b52f8d1e1d PVS: V730 Not all members of a class are initialized inside the constructor 2019-02-17 11:49:51 +01:00
wmayer 4e42e42957 PVS: Not all members of a class are initialized inside the constructor 2019-02-17 11:04:33 +01:00
wmayer a73b10203a fixes 0003825: file location not stored when opening/saving materials 2019-02-16 22:53:54 +01:00
furti b8da380ef4 Set window visibility based on wall
Previously windows attached to walls were not hidden or shown when the
visibility of the wall changed. This commit searches for all windows
that are based on the wall and hides or unhides them.

https://forum.freecadweb.org/viewtopic.php?f=23&t=34166

fixes 3833
2019-02-16 19:31:16 -02:00
wmayer 5f4deea7c9 fixes 0003794: Shortcut-Key is executed in edit field of a constraint (Combo View) 2019-02-16 21:53:23 +01:00
wmayer 36dc7b4242 issue 0003832: Editing thickness in Part or PartDesign resets join type to always being Arc 2019-02-16 16:30:46 +01:00
wmayer 7da9b674fc issue 0003832: Editing thickness in Part or PartDesign resets join type to always being Arc 2019-02-16 15:56:46 +01:00
wmayer 6704887afa fixes 0003838: missing tooltip in mesh preferences dialog 2019-02-16 15:07:52 +01:00
wmayer 506048a6f9 fixes 0003837: missing tooltip in STEP preferences dialog 2019-02-16 14:51:42 +01:00
wmayer 04bc3f817a fixes 0003840: Sketcher WB: units not completely hidden 2019-02-16 14:10:37 +01:00
wmayer 645b397dda fixes 0003804: FC becomes unusable after double-cicking on FEM elements while clip view is active 2019-02-15 23:30:18 +01:00
Abdullah Tahiri 88228d6d25 Fixes #3762 2019-02-15 19:08:44 +01:00
Bernd Hahnebach 4ff8995167 Material: editor, white spaces 2019-02-15 19:02:43 +01:00
Bernd Hahnebach ef79d20bfa Material, mat card writer, do not write empty sections 2019-02-15 19:02:43 +01:00
Bernd Hahnebach 07f7a04d61 Material: card tools, update csv and ods 2019-02-15 19:02:42 +01:00
Bernd Hahnebach 1e631eed1f Material: mat cards, add unit to shear modulus 2019-02-15 19:02:42 +01:00
Bernd Hahnebach 587b0a79ee Material: editor xml prop file, add shear modulus 2019-02-15 19:02:42 +01:00
Bernd Hahnebach 44a1298b80 Material: mat cards, fix a unit in an Aluminium 2019-02-15 19:02:42 +01:00
wmayer e9434d5023 in selection dialog also offer planar shape binders 2019-02-15 18:45:45 +01:00
Yorik van Havre 60f91fbef2 Draft: Fixed non-GUI issues - Fixes #3826 2019-02-14 22:18:41 -02:00
wandererfan 21353779d9 Fix Dimension Text Color
- Dimension text did not respect Color property setting.
2019-02-14 21:14:11 +01:00
wandererfan 9207e2ef7d Fix Dim text position for some DistanceX
- Dim text position was affected by point selection order
  when distance was no horizontal.
2019-02-14 21:14:11 +01:00
wandererfan a2bca22fc9 Fix #3800 Connect TD export to FC Gui Export
- TD did not define export types for the general Export
  command in Gui.
2019-02-14 21:14:11 +01:00
wandererfan 4ced49da81 Fix update of children on parent LockPosition change 2019-02-14 21:14:11 +01:00
wandererfan 41ab00c116 Restore secondary ortho view movement to v017 style
- this should also complete the fix for #3809
2019-02-14 21:14:11 +01:00
wandererfan a0e3ab1a40 Fix #3810 X/Y Property Update on Locked View
- fixes x/y update when position locked for simple
  Views and ProjectionGroups.
2019-02-14 21:14:10 +01:00
Bernd Hahnebach 97614e0341 FEM: in out, add missing new line 2019-02-14 21:11:24 +01:00
Bernd Hahnebach ce5757e1a6 FEM: material task panel, white space 2019-02-14 21:11:23 +01:00
Bernd Hahnebach b1efdf9c6a Material: card templates, remove wrong shear modulus name modulus of share and update materials csv and ods 2019-02-14 21:11:23 +01:00
Bernd Hahnebach ac0fc4d13c Material: mat cards, fix shear modulus name in all cards 2019-02-14 21:11:23 +01:00
Bernd Hahnebach 43ef43c3e2 Material: card templates, fix name of property shear modulus 2019-02-14 21:11:23 +01:00
Bernd Hahnebach 00007327c4 Material: editor, get rid of duplicate unit definition
- in mat editor xml file and in FreeCAD unit system
- remove it from material editor xml file and get it from FreeCAD unit system
2019-02-14 21:11:23 +01:00
Bernd Hahnebach 96a1007eae Material: editor dict file, fix some units 2019-02-14 21:11:22 +01:00
Bernd Hahnebach 57a0acffc0 Units: add various Material stress properties 2019-02-14 21:11:22 +01:00
wmayer 4bfe11ff43 improve calltips windows for Py2 2019-02-14 15:58:23 +01:00
Yorik van Havre c648b0e874 Material: Provisorily hide preview fields while mat preview is not implemented 2019-02-14 10:49:24 -02:00
wmayer 7d0e06c961 only allow 7-bit ASCII for IGES and STEP header information 2019-02-14 12:05:55 +01:00
wmayer 1a68b75a4b fix possible infinite loop when transcoding from/to UTF-8 2019-02-14 11:06:30 +01:00
wmayer ad51185280 print additional information to std::cout about ocaf structure 2019-02-13 17:54:54 +01:00
triplus 43b081947f Improved icon themes support 2019-02-13 10:42:46 -02:00
wmayer 9e7c384948 avoid possible errors with null labels 2019-02-13 11:39:25 +01:00
wmayer b4d2b9def5 fix build failure on Ubuntu Bionic 2019-02-13 10:46:55 +01:00
wmayer 3b708c7f84 by default disable the option NoSystemBackground to avoid possible OpenGL glitches 2019-02-12 21:47:50 +01:00
wmayer 0677684047 copyObject should return the clone of the passed object for recursive copies, not an arbitrary object 2019-02-12 19:40:29 +01:00
wmayer 9dfbc8f797 Py3: fix possible crash in call tips list 2019-02-12 17:14:27 +01:00
wmayer 1081403d21 Expose some standard units and quantities to Python 2019-02-12 15:12:19 +01:00
Bernd Hahnebach 7f2ad7fbbf Material: mat card parser, there are two parsers in FreeCAD, make some comments about the existance of each other 2019-02-12 10:17:50 -02:00
Bernd Hahnebach 79b7041336 Material: tools adapt csv and ods 2019-02-12 10:17:50 -02:00
Bernd Hahnebach 8223a5497a Material: cards, fix CardName 2019-02-12 10:17:50 -02:00
Bernd Hahnebach 1f70b27bad Material: card steel generic, fix kg unit 2019-02-12 10:17:50 -02:00
Bernd Hahnebach 33e40b584e Material: mat cards, add some units to all cards where missing 2019-02-12 10:17:50 -02:00
Bernd Hahnebach 3b579190ea Material: card reader and writer, use file card name as CardName property 2019-02-12 10:17:50 -02:00
Bernd Hahnebach e0be3e474e Material: card reader, fix for values containing a = 2019-02-12 10:17:50 -02:00
Bernd Hahnebach 76d1f0aa8e Material: card writer, some comments 2019-02-12 10:17:50 -02:00
Bernd Hahnebach 0310bf6487 Material: card writer, better attribute classification
- move Density from General to Mechanical
- move Source from Meta to General and call it SourceURL
- add ReferenceSource to General
- move specific price, vendor and ProductURL into group cost
2019-02-12 10:17:50 -02:00
Bernd Hahnebach 3c3d9bca58 Material: card writer, do not handle source as comment in mat card 2019-02-12 10:17:50 -02:00
Bernd Hahnebach 22f59570c8 Material: card writer, move FreeCAD version info behind matcard info, std in original cards 2019-02-12 10:17:50 -02:00
Bernd Hahnebach b94ebbecc5 Material: Py3, get rid of extra bees on printing 2019-02-12 10:17:50 -02:00
wmayer fb37201299 fix build failures with newer compiler versions 2019-02-12 13:10:49 +01:00
wmayer b29209d523 enhance capabilities to render text in splashscreen 2019-02-12 13:09:51 +01:00
wmayer aee5b0213b improve exception handling if module to load a file cannot be imported 2019-02-12 13:07:48 +01:00
wmayer 0c3bfc4ff3 fix minor issues 2019-02-12 11:16:52 +01:00
Abdullah Tahiri 4e2ae6f408 Part: Rearrange inheritance not to use ArcPy
============================================

Inheritance:

Geometry
- GeomPoint
- GeomCurve (GeometryCurvePy)
- - GeomBoundedCurve (BoundedCurvePy)
- - - GeomBezierCurve (BezierCurvePy)
- - - GeomBSplineCurve (BSplineCurvePy)
- - - GeomTrimmedCurve (TrimmedCurvePy)
- - - - GeomArcOfConic (ArcOfConicPy)
- - - - - GeomArcOfCircle (ArcOfCirclePy)
- - - - - GeomArcOfEllipse (ArcOfEllipsePy)
- - - - - GeomArcOfHyperbola (ArcOfHyperbolaPy)
- - - - - GeomArcOfParabola (ArcOfParabolaPy)
- - - - GeomLineSegment (LineSegmentPy)
- - GeomConic
- - - GeomCircle
- - - GeomEllipse
- - - GeomHyperbola
- - - GeomParabola
- - GeomLine
- - GeomOffsetCurve

* Note: ArcPy is also a twinclass of c++ GeomTrimmedCurve, Python ArcPy derives from Python TrimmedCurvePy.

Same functionality as before:

>>> geometries = ActiveSketch.Geometry
>>> line = geometries[1]
>>> arc = geometries[2]
>>> line
<Line segment (-97.4389,42.4463,0) (-80.7887,44.5569,0) >
>>> arc
ArcOfCircle (Radius : 19.3111, Position : (-74.6914, -23.2165, 0), Direction : (0, 0, 1), Parameter : (1.82335, 2.71597))
>>> line.FirstParameter
0.0
>>> line.LastParameter
16.783437032695776
>>> line.setParameterRange(0,20)
>>> line.LastParameter
20.0
>>> arc.StartPoint
Vector (-79.51683708894876, -4.517938119394778, 0.0)
>>> arc.EndPoint
Vector (-92.27963885411512, -15.243140671641918, 0.0)
>>> arc.setParameterRange(1.5,3)
>>> arc
ArcOfCircle (Radius : 19.3111, Position : (-74.6914, -23.2165, 0), Direction : (0, 0, 1), Parameter : (1.5, 3))
>>> geometries[1] = line
>>> geometries[2] = arc
>>> ActiveSketch.Geometry = geometries
>>> ActiveSketch.solve()
0
>>>
2019-02-11 19:13:55 +01:00
Abdullah Tahiri a3b93ee0eb Part: expose geometry clone support to python
=============================================

>>> geometries = ActiveSketch.Geometry
>>> geo0 = geometries[0]
>>> geo0.Tag
'a2b6883e-64d6-4348-b567-8b5e0a4896a0'
>>> geo1 = geo0.clone()
>>> geo1.Tag
'a2b6883e-64d6-4348-b567-8b5e0a4896a0'
>>> geo1.Radius = 3
>>> geo0.Tag
'a2b6883e-64d6-4348-b567-8b5e0a4896a0'
>>> geo0.Radius
30.157883192724587
>>> geo1.Tag
'a2b6883e-64d6-4348-b567-8b5e0a4896a0'
>>> geo1.Radius
3.0
2019-02-11 19:13:35 +01:00
Abdullah Tahiri 0ceae9ead4 Part: Enable trimmed curves to set their parameter range, from c++ and Python
=============================================================================

>>> geometries = ActiveSketch.Geometry
>>> geo2 = geometries[2]
>>> geo2
ArcOfCircle (Radius : 27.5267, Position : (-70.4702, -31.8933, 0), Direction : (0, 0, 1), Parameter : (1.34187, 2.35619))
>>> geo2.setParameterRange(1,3)
>>> geometries[2]=geo2
>>> ActiveSketch.Geometry=geometries
2019-02-11 19:13:16 +01:00
Abdullah Tahiri 6dd192eb1e Part: Python Bounded Curve (bring in accordance with c++)
Inheritance correspondence:

Geometry
- GeomPoint
- GeomCurve (GeometryCurvePy)
- - GeomBoundedCurve (BoundedCurvePy)
- - - GeomBezierCurve (BezierCurvePy)
- - - GeomBSplineCurve (BSplineCurvePy)
- - - GeomTrimmedCurve (ArcPy)
- - - - GeomArcOfConic (ArcOfConicPy)
- - - - - GeomArcOfCircle (ArcOfCirclePy)
- - - - - GeomArcOfEllipse (ArcOfEllipsePy)
- - - - - GeomArcOfHyperbola (ArcOfHyperbolaPy)
- - - - - GeomArcOfParabola (ArcOfParabolaPy)
- - - - GeomLineSegment (LineSegmentPy)
- - GeomConic
- - - GeomCircle
- - - GeomEllipse
- - - GeomHyperbola
- - - GeomParabola
- - GeomLine
- - GeomOffsetCurve
2019-02-11 19:12:50 +01:00
wmayer 51b32d75b4 fix regression in German translation 2019-02-11 17:51:36 +01:00
wmayer 397902c205 split question text from warning text 2019-02-11 17:03:51 +01:00
luz.paz 604811596f Crowdin: cont... 2019-02-11 16:22:13 +01:00
luz.paz 112f3de671 Crowdin: Continuing to refine translation strings 2019-02-11 16:22:12 +01:00
wmayer 110f6f74a4 Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] 2019-02-11 16:12:50 +01:00
Mateusz Skowroński 92614e5688 Use QHash<K,T> instead of QMap<K,T> when K is a pointer. [-Wclazy-qmap-with-pointer-key] Thanks Clazy! 2019-02-11 15:39:15 +01:00
Mateusz Skowroński fbdfe16462 Use faster form of QFileInfo(filename).exists(). [-Wclazy-qfileinfo-exists] Thanks Clazy! 2019-02-11 15:39:15 +01:00
Mateusz Skowroński 082647b2d1 Remove unused non-trivial variables. [-Wclazy-unused-non-trivial-variable] Thanks Clazy! 2019-02-11 15:39:15 +01:00
Mateusz Skowroński 317bcd59c9 Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy! 2019-02-11 15:39:14 +01:00
Bernd Hahnebach 216106e407 Material: Py3 fixes in mat card writer 2019-02-11 15:18:24 +01:00
wmayer 0c37c7f5a5 simplify creation of strings 2019-02-11 13:46:58 +01:00
wmayer 9067d6a738 simplify creation of string 2019-02-11 13:03:51 +01:00
wmayer b1d086463d Fix theoretically possible format string vulnerability 2019-02-11 11:49:12 +01:00
Yorik van Havre 2ac0851d4c Draft: Small bugfix 2019-02-09 20:37:36 -02:00
donovaly ae3b57be3b export Flattened SVG fixes for python 3
To be able to export as flattened SVG with the Conda build of FC one needs these fixes.
2019-02-09 20:01:44 -02:00
carlopav 1401c00d60 Update DraftTools.py
Updated first part of file from FreeCAD/FreeCAD
2019-02-09 20:00:38 -02:00
carlopav a23a9499bc Update DraftTools.py
Refined last commit code
2019-02-09 20:00:38 -02:00
carlopav 4f7804dc10 Update DraftTools.py
Modified arc editing:
- middle editpoint control radius
- end editpoint control first and last angle;
2019-02-09 20:00:38 -02:00
carlopav e3ab6a1e1b Update DraftTools.py
Update Edit tool to edit wall base objects.
2019-02-09 20:00:38 -02:00
furti 27a467a44b Fix missing DWG imports in ArchSectionPlane.getSVG
When a DWG file is imported into FreeCAD it gets imported as a Part
object with a compound shape. One would imagine, that such an object
should be rendered like a symbol inside a TechDraw View. But when the
imported shape is inside a SectionPlane that also contains solids, the
shape is not included in the SVG.

The problem is, that getCutShapes only uses solid shapes, when a volume
was cut before. But the imported DWG is a flat 2D object and has no solids
inside.

To fix it, the getSVG method will check if an object looks like a draft
object, meaning:
 - It has a shape
 - It has no solids
 - It has no volume

When it finds such a shape, it will treat it like a draft object. So
it is displayed like a symbol in the resulting SVG.

https://forum.freecadweb.org/viewtopic.php?f=3&t=34079
2019-02-09 19:53:54 -02:00
Yorik van Havre 7ee0e4d439 Updated master translation files 2019-02-08 19:16:21 -02:00
Yorik van Havre 4a5cf9c52f Tools: Updated translation scripts to handle only the master (untranslated) ts files 2019-02-08 19:15:56 -02:00
Yorik van Havre f14633d182 Added untranslated 'master' .ts files where missing 2019-02-08 18:50:13 -02:00
Yorik van Havre b2619e7eb7 Tools: Discard obsolete strings in translation files 2019-02-08 18:32:10 -02:00
GeneGH 09da55e90f Repair pythonopen in line 126 for Python3
Python 3 is fussy about match of data type for a file open or write. Python 2 does not seem to care if a string is written with a 'wb' indicating a binary type, but Python 3 flags it as an error.
2019-02-08 11:06:05 -02:00
furti cce889b21c Fix missing door symbols in getSVG
The ArchSectionPlane has a built in SVG Cache. But the door symbols and
a few other things are not inside the cache. This things not inside the
cache rely on the presence of a cutface. But this cutface was only built
when the cache is not available.

So the First invocation after the cache was cleared added the symbols.
The next invocations of the method, with a cached SVG did not calculate
the symbols again, because the cutfaces where missing.

This commit fixes it by calculating the cutfaces independent from the
cache.

Reported in https://forum.freecadweb.org/viewtopic.php?f=3&t=33987
2019-02-08 11:05:17 -02:00
luz.paz d040a656b4 Typos cont. + whitespace 2019-02-08 11:01:24 -02:00
luz.paz 4cfda0c3a5 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Dion Moult 140d085517 Move hardcoded tab shortcut for cycling elsewhere in prep for refactor 2019-02-08 10:59:26 -02:00
Dion Moult 334a2a31d0 Allow tabbing to cycle through objects to snap
To do this, the object snapping code has been refactored into a snapToObject function. This allows it to be called on different objects easily. A new base class which handles the tab event has been added.
2019-02-08 10:59:26 -02:00
Yorik van Havre 18b5f238ae Arch: Fixed py3/encoding bug 2019-02-07 21:05:09 -02:00
paullee f431226bb8 Fix Right Align Railing Offset Bug 2019-02-06 10:13:37 -02:00
rokuster 59f39e2a33 file uri instead of relative path for images
Windows conda build needs a file uri to the image. This fix needs also changes in StartPage.py
2019-02-06 10:13:11 -02:00
rokuster ddc27357f5 Fix Images Display Issues
- Replace relative Add-On Image Path with full file uri in StartPage.js file
- Fix a missing absolute file path
- Fix a duplicated data folder entry in the Resourcepath
2019-02-06 10:13:11 -02:00
Bernd Hahnebach c0e8a4f310 FEM: mechanical result object, add comment in regard of read only 2019-02-06 10:10:46 -02:00
Bernd Hahnebach 38675fb0f5 FEM: result tools, small code improvements 2019-02-06 10:10:46 -02:00
Bernd Hahnebach 8c1c221f25 Data: update FEM 3D example 2019-02-06 10:10:46 -02:00
Bernd Hahnebach d8d185fe19 Data: update FEM 2D example 2019-02-06 10:10:46 -02:00
Bernd Hahnebach 62264e69f1 FEM: import tools, code improvements 2019-02-06 10:10:46 -02:00
Bernd Hahnebach 2c0ed3c041 FEM: import tools, some comments 2019-02-06 10:10:46 -02:00
Yorik van Havre 50895db6c1 Arch: Small bugfix in spaces 2019-02-04 22:35:16 -02:00
Markus Lampert 07910613dd Restrict removal of g0 to clearance height to the engraving of the last base model. 2019-02-04 22:21:28 -02:00
Syres916 550009be14 Collada Export Py3 Fixes
To allow successful Collada Export for Py3 and Py2, tested import of DAE file with colours from Blender to ensure no regression on the import side. Note: I had to download Pycollada to enable testing in Conda build.
2019-02-04 22:20:47 -02:00
Markus Lampert e680c60def Fixed error in hole sorting algorithm when some locations have identical distances 2019-02-04 22:20:03 -02:00
Markus Lampert c98407e282 Fixed dragknife error if coordinate isn't set in command. 2019-02-04 22:20:03 -02:00
Markus Lampert dd98661de7 Fixed py3 change of return type of 2019-02-04 22:20:03 -02:00
DeepSOIC 6a4422a9b6 PartDesign: Shapebinder: fix placement
reported by koluna:
https://forum.freecadweb.org/viewtopic.php?f=20&t=33794
2019-02-04 22:19:23 -02:00
DeepSOIC 03d7b83adb PartDesign: Shapebinder: use compound instead of fusion 2019-02-04 22:19:23 -02:00
Bernd Hahnebach ebc9893512 FEM: inout tools, add some comment in the regard of NaN 2019-02-04 22:18:54 -02:00
Bernd Hahnebach ebe1a2c4a4 FEM: guiobject, fix forgoten defs on code refactor in commit 80f2ccc fixes #3814 2019-02-04 22:18:54 -02:00
Bernd Hahnebach f05d8c314a Material Editor: fix unit for specific heat, fixes #3781 2019-02-04 22:18:54 -02:00
Bernd Hahnebach eba3b95438 FEM: material task panel, fix assignment and cancel by material editor 2019-02-04 22:18:54 -02:00
Bernd Hahnebach db9b125e04 FEM: material task panel, check for None instead of not 2019-02-04 22:18:54 -02:00
Bernd Hahnebach 1f79cd7007 FEM: material task panel, some comments 2019-02-04 22:18:54 -02:00
Yorik van Havre a4d5c02d36 Arch: Fixed encoding bug in OBJ importer 2019-02-04 13:35:00 -02:00
Yorik van Havre 2c0dfda7b5 Arch: Small bugfix in IFC exporter 2019-02-04 13:25:14 -02:00
Yorik van Havre f94e76c111 Arch: Fixed duplicate IfcSurfaceStyle names in IFC export 2019-02-01 18:38:21 -02:00
Yorik van Havre ac18ec0d79 Updated translations 2019-02-01 13:54:10 -02:00
Yorik van Havre 27885764c5 Tools: Use downloaded zip file from crowdin without arguments 2019-02-01 13:53:38 -02:00
Yorik van Havre 0bed2a9c53 Git ignore crowdin zip file 2019-02-01 13:40:47 -02:00
Yorik van Havre 0cd796a0f1 Draft: Fixed UI focus in arc tool 2019-02-01 12:16:52 -02:00
Bernd Hahnebach 7e9c09b770 FEM: materials task panel, fix: if material editor was canceled the material params were set to 0 2019-02-01 11:27:48 -02:00
Bernd Hahnebach cba29e6ce6 FEM: unit tests, some defs to open the FreeCAD test files 2019-02-01 11:27:48 -02:00
Bernd Hahnebach ce86fa4365 FEM: result tools, typo 2019-02-01 11:27:48 -02:00
Bernd Hahnebach e49098824b FEM: result tools, improve stats handling 2019-02-01 11:27:48 -02:00
Bernd Hahnebach ebbe781771 FEM: import tools, displacement abs, move calculation and adding into result tools 2019-02-01 11:27:48 -02:00
Bernd Hahnebach 52aa1b24cc FEM: frd reader, delete duplicate data container 2019-02-01 11:27:48 -02:00
Bernd Hahnebach de5fcf7c19 FEM: result reading, use stress tuple for filling all stress properties 2019-02-01 11:27:48 -02:00
Bernd Hahnebach a3612b4ac9 FEM: import tools, move stats calculation into result tools 2019-02-01 11:27:48 -02:00
Bernd Hahnebach e18ed72bdf FEM: import tools, remove duplicate code, node numbers attribut has been set already 2019-02-01 11:27:48 -02:00
Bernd Hahnebach 36c7d8740f FEM: frd reader, move span calculation into fill result 2019-02-01 11:27:48 -02:00
Bernd Hahnebach 546cadebb8 FEM: frd reader, rename frd reading def 2019-02-01 11:27:48 -02:00
Bernd Hahnebach ea60b65518 FEM: result reader, better identifier name 2019-02-01 11:27:48 -02:00
Bernd Hahnebach 9604920b1e FEM: Z88 result reader, typo in error message 2019-02-01 11:27:48 -02:00
Dion Moult 10e8d1281a Fix to take into account joining an object into a closed wire. 2019-01-31 10:54:36 -02:00
Dion Moult 84f68cc266 Support splitting closed wires as well as open wires 2019-01-31 10:54:36 -02:00
Dion Moult dd3c9ccfeb Add beautiful icons thanks to bitacovir
https://forum.freecadweb.org/viewtopic.php?p=283187
2019-01-31 10:54:36 -02:00
Dion Moult 0294b55bf0 This type of tool only works on wires 2019-01-31 10:54:36 -02:00
Dion Moult 09f134d56f Add split tool 2019-01-31 10:54:36 -02:00
Dion Moult 7867864456 Make join modifier actually talk about joining 2019-01-31 10:54:36 -02:00
Dion Moult 46ffa77c32 I think being explicit is clearer, and prevents the liklihood of random falsy values 2019-01-31 10:54:36 -02:00
Dion Moult 05ec6dbde5 Add some docstrings for joinwires and jointwowires 2019-01-31 10:54:36 -02:00
Dion Moult 5e6fb09119 Now you can join multiple wires all at once 2019-01-31 10:54:36 -02:00
Dion Moult e25044d0e9 Sorry I can't believe I committed and pushed that 2019-01-31 10:54:36 -02:00
Dion Moult 882c4ca2f3 Add new draft join tool 2019-01-31 10:54:36 -02:00
Yorik van Havre 6e91ae9561 Draft: Reverted 5ccc656 2019-01-31 10:53:40 -02:00
Yorik van Havre a901f5798a Draft: edit fix for wires works for bsplines too 2019-01-31 10:53:40 -02:00
Dion Moult 49be948b45 Adding new points on wires tests the edge you clicked on instead of an overcomplicated curve parameter check
* Makes adding points on wires and closed wires simpler and more reliable
 * Minor code cleanup to reduce the nesting of "if" statements
2019-01-31 10:53:40 -02:00
luz.paz 13622cd0b8 FEM: Fix grammar 2019-01-30 11:08:03 -02:00
luz.paz 8a4af3b28c Crowdin: Sketcher/App/SketchObject.cpp elaborated term in string 2019-01-30 11:08:03 -02:00
luz.paz 69707228c5 Crowdin: Sketcher/Gui/TaskSketcherValidation.cpp fixed obsolete punct. 2019-01-30 11:08:03 -02:00
luz.paz 77102cae41 Crowdin: Sketcher/Gui/CommandCreateGeo.cpp fix typos 2019-01-30 11:08:03 -02:00
luz.paz 103c118b82 Crwodin: Sketcher/Gui/CommandConstraints.cpp s/root/origin/ 2019-01-30 11:08:03 -02:00
luz.paz 92622053ae Crowdin: Drawing/Gui/TaskOrthoViews.ui remove whitespace
Fixed even though WB is obsolete
2019-01-30 11:08:03 -02:00
luz.paz 67fff1538d Crowdin: Arch/ArchFloor.py grammar and refinement 2019-01-30 11:08:03 -02:00
luz.paz 26750deb07 Documentation: uniformity 2019-01-30 11:08:03 -02:00
luz.paz f11f2fb590 Crowdin: Draft/Resources/ui/preferences-dxf.ui grammar fix 2019-01-30 11:08:03 -02:00
luz.paz e78fd828e2 Crowdin: AddonManager/AddonManager.py fix some strings 2019-01-30 11:08:03 -02:00
luz.paz 06967e2b4d Crowdin: StartPage/TranslationTexts.py grammatical fix 2019-01-30 11:08:03 -02:00
luz.paz 3b85a067bd Crowdin: Gui/qtcolorpicker.cpp refine string 2019-01-30 11:08:03 -02:00
luz.paz 3a32c314bc Crowdin: Draft/Draft.py fix grammar 2019-01-30 11:08:03 -02:00
luz.paz 3253de75e9 Fix for a previous commits
Crowdin:  Sketcher/App/SketcherAnalysis remove newlines
Crowdin:  Part/AttachmentEditor/TaskAttachmentEditor.py fix previous commiit
Crowdin:  Gui/NetworkRetriever.cpp correct previous commit
2019-01-30 11:08:03 -02:00
luz.paz 1770117406 Crowdin: Tux/NavigationIndicatorGui.py grammar fix 2019-01-30 11:08:03 -02:00
luz.paz 582181af70 Crowdin: Part/Gui/TaskAttacher.cpp superfluous whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz 845e77164b Crowdin: Part/AttachmentEditor/TaskAttachmentEditor.py whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz a07e675d9e Crowdin: Gui/CADNavigationStyle.cpp refinements 2019-01-30 11:08:03 -02:00
luz.paz 4c33b114de Crowdin: PartDesign/Gui/CommandBody.cpp grammar fix 2019-01-30 11:08:03 -02:00
luz.paz bccfcfc5d7 Crowdin: PartDesign/Gui/TaskFeaturePick.ui superfluous whitespace 2019-01-30 11:08:03 -02:00
luz.paz cf75857376 Crowdin: Gui/NetworkRetriever.cpp superfluous whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz adae9071ed Crowdin: Base/Exception.h uniformity fix 2019-01-30 11:08:03 -02:00
luz.paz 1db71c3c7e Crowdin: Arch/ArchStairs.py missing paranthesis fix 2019-01-30 11:08:03 -02:00
luz.paz d858a8609d Crowdin: Sketcher/App/SketchObject.cpp uniformity fix 2019-01-30 11:08:03 -02:00
luz.paz c65fce6128 Crowdin: Sketcher/App/SketchAnalysis.cpp remove superflous whitespace 2019-01-30 11:08:03 -02:00
luz.paz 95f16814f6 Crowdin: Sketcher/Gui/CommandConstraints.cpp grammar fix 2019-01-30 11:08:03 -02:00
luz.paz 90841f72c1 Crowdin: Sketcher/Gui/CommandCreateGeo.cpp typo fix 2019-01-30 11:08:03 -02:00
luz.paz 0df518db8f Crowdin: Sketcher/Gui/SketchRectangularArrayDialog.ui typo fix 2019-01-30 11:08:03 -02:00
luz.paz 16653a4be9 Crowdin: Sketcher/Gui/SketcherSettings.ui whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz 83c2434bd9 Crowdin: Sketcher/Gui/CommandConstraints.cpp 2019-01-30 11:08:03 -02:00
luz.paz d5ea453f9d Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
luz.paz e1446a0b99 [WIP] Crowdin: fixes pre-0.18 release
Includes some whitespace fixes as well
2019-01-30 11:08:03 -02:00
wandererfan 0c5629870c Hide n/a Rotation property
- DPG does not rotate, but shows Rotation property in
  Property Editor
2019-01-30 10:12:49 -02:00
wandererfan 0f00402201 Prevent selection of read only field
- "current primary view direction" in TaskProjGroup is
  read only, but can obtain focus.  This can cause events
  to be unexpectedly passed to other objects.
2019-01-30 10:12:49 -02:00
markus 0b7c0b93dc Use regular 'w' mode when writing text files for py3 compatibility. 2019-01-30 10:12:00 -02:00
Fredrik Johansson 93dd00cc39 Make startpage navigation buttons work initial load 2019-01-27 23:29:25 -02:00
carlopav 763b4f3d8c Update DraftTools.py
Small fix to edit tool when editing arcs.
2019-01-27 23:26:22 -02:00
Fredrik Johansson 5caae5f430 Fix chrash when clicking link to allow internetaccess, and not having a open document 2019-01-27 11:35:43 +01:00
wmayer f2dc59c3ab add missing header file 2019-01-27 00:05:23 +01:00
wmayer d2ddce6a2e remove Standard_OVERRIDE which is unknown for older OCCT versions 2019-01-26 23:09:14 +01:00
wmayer dbc09e3a23 fixes 0003020: 2D offset of circle are not in the right place 2019-01-26 22:52:40 +01:00
wmayer 9f96254e7e improve whitespaces 2019-01-26 22:52:40 +01:00
Yorik van Havre bf24b74629 Draft: Small fix to Edit tool 2019-01-26 18:47:51 -02:00
triplus 051454314b Extend PySide2 wrapper to support QtUiTools
Reports started to emerge as ATM importing QtUiTools doesn't work on Qt5 builds:

https://forum.freecadweb.org/viewtopic.php?f=22&t=32947
https://forum.freecadweb.org/viewtopic.php?f=37&t=33629
2019-01-25 10:37:21 +01:00
wmayer 4079c9603f fixes #0003788: Part-workbench extrude with taper angle delivers a wrong shape 2019-01-25 02:49:09 +01:00
Stian Skjelstad 80f82b59db Detection of NETGEN_VERSION is needed if using Netgen package provided cmake file too.
Do not overwrite NETGEN_VERSION that might be cached. Use a new variable instead, NETGEN_VERSION_C.

Use cmake internal system to specify std=c++14, else you can end up with  `c++ -DFOO -std=c++14 -Ibar -std=c++11`, and the latter is used.
2019-01-24 14:52:21 +01:00
Stian Skjelstad 4c38d81d90 Netgen provided cmake file, has the include directories to use in plural.
Netgen provided cmake file, and the internal detection, had different casing
for the _FOUND variable

When detecting the Netgen include-directories, we only want the /include in
addition to the global one. To include a given header file, specify which
part of the library, or use the one from the project/include directory.
2019-01-24 14:52:03 +01:00
qingfengxia 672b15a8da FEM: constraint fluid boundary, fix bug of the delayed redrawing for BoundaryType changed 2019-01-24 14:19:49 +01:00
luz.paz 2b3ea642da Crowdin: More grammatical and whitespace fixes 2019-01-24 13:30:03 +01:00
Markus Lampert 28a23c23bc Set feed rates to constructs commands for a tags. 2019-01-24 10:13:44 -02:00
Markus Lampert af4026bcd5 Added support for feeds and speeds to to cmdsForEdge. 2019-01-24 10:13:44 -02:00
wmayer dedaa80762 fixes 0003771: Memory leak in Part.Face.Surface 2019-01-23 22:38:51 +01:00
Yorik van Havre 090fc64284 Misc translation fixes from https://forum.freecadweb.org/viewtopic.php?p=281670 2019-01-23 18:20:43 -02:00
Yorik van Havre eb08c67a78 Draft: Fixed regression in snapping 2019-01-23 13:27:22 -02:00
sliptonic 96dee91d5e fixes #3665
Applying patch from jurij
2019-01-22 20:26:59 +01:00
luz.paz 16ab8d3c8a Fix source typos 2019-01-22 20:26:59 +01:00
luz.paz 86078f6bae Path: Misc. comment typo and whitespace fixes 2019-01-22 20:26:58 +01:00
wmayer ba14668e1a add method multVec to MatrixPy class for better consistency 2019-01-22 15:57:10 +01:00
Dion Moult 47a2296c69 Remove abstract IFC entities (as per IFC4 Add2) 2019-01-22 10:19:14 -02:00
wandererfan d7c22d92dd Fix Compile Warning
- m_sectionFormat is not used yet and provokes a
  warning message.
2019-01-22 10:15:04 -02:00
wandererfan 5a26558a9d Fix out of scope warnings
- Links within TD were not set to Global scope. This caused
  problems when a Page was in a container, but Views were not
  in the container.
2019-01-22 10:15:04 -02:00
Yorik van Havre 13bf2c9672 Arch: Fixed missing UIDs in IFC import 2019-01-22 00:11:49 -02:00
Yorik van Havre 3ade7b34af Arch: Fixed multiple documents open bug in Reference object 2019-01-22 00:11:11 -02:00
Yorik van Havre ca2e3c2324 Draft: Small cosmetic fix in edit points 2019-01-22 00:10:31 -02:00
wmayer 041a550815 handle also B-spline and Bezier curves in GeomCurve::closestParameter 2019-01-21 13:47:41 +01:00
wandererfan 90fd3ae483 Fix movement of Front View in ProjectionGroup 2019-01-21 11:45:30 +01:00
wmayer 99c47b9bb2 fixes 0003785: Incorrect extension FCstd instead fcstd 2019-01-21 11:41:16 +01:00
Yorik van Havre 79a25ff6bd Arch: Prevision for forward compatibility 2019-01-20 19:32:12 -02:00
Yorik van Havre 46066bc160 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2019-01-20 19:31:20 -02:00
Bernd Hahnebach 82d92280af FEM: result and mesh, add compact result and mesh, workaround for issue #2873 2019-01-20 18:40:53 +01:00
Yorik van Havre 7fd16affee Arch: Updated IFC property sets definitions 2019-01-20 15:30:54 -02:00
wmayer e385ed7809 add convenience functions to get element type to id and vice versa 2019-01-20 17:58:30 +01:00
wmayer 76c9540009 fix crash when accessing invalid group 2019-01-20 17:57:08 +01:00
sliptonic 873762ccda Path: Remove obsolete code 2019-01-19 23:31:49 -06:00
sliptonic ef87018430 crowdin: fix whitespace 2019-01-19 23:31:49 -06:00
luz.paz cb768d4087 Crowdin: Path/PathScripts/PathOp.py capitalize string 2019-01-19 23:31:49 -06:00
luz.paz b7fbd7aeff Crowdin: Path/PathScripts/PathProfileBase.py capitalize string 2019-01-19 23:31:48 -06:00
DeepSOIC 28cbe2bd89 Spreadsheet: fix #3474 cross-CS drag-drop issue 2019-01-20 00:45:49 +01:00
Kurt Kremitzki 2e03740572 Fix Start WB behavior for missing examples dir in Debian package 2019-01-20 00:36:35 +01:00
Bernd Hahnebach 2a208f9da4 FEM: file ending, use FCStd in FEM strings 2019-01-20 00:32:19 +01:00
Bernd Hahnebach d0d8b99302 FEM: unit tests, add some comments to open test files in FreeCAD 2019-01-20 00:32:19 +01:00
Bernd Hahnebach b8172a1047 FEM: test suite, use FCStd instead of fcstd, as it is what FreeCAD does on saveing a file 2019-01-20 00:32:19 +01:00
Bernd Hahnebach 969b8860f8 FEM: white space 2019-01-20 00:32:17 +01:00
Bernd Hahnebach 37389601e7 FEM: tetgen exporter, code formating pep 8 2019-01-20 00:32:17 +01:00
Bernd Hahnebach 90f4869cac FEM: code formating, space in block comment 2019-01-20 00:32:17 +01:00
Bernd Hahnebach 4b7ddfe407 FEM: file types, sort them for im- and export 2019-01-20 00:32:17 +01:00
Bernd Hahnebach 769632f33b FEM: solver settings, sort setting 2019-01-20 00:32:17 +01:00
Bernd Hahnebach 3c0193b796 FEM: cmake, sort solver modules 2019-01-20 00:32:17 +01:00
luz.paz 5e2fbe18e5 Crowdin: Remove apostrophe from TechDraw/Gui/MDIViewPage.cpp translation 2019-01-20 00:29:18 +01:00
luz.paz 4f67fae9e8 Refine TechDraw/Gui/CommandDecorate.cpp translation string 2019-01-20 00:29:18 +01:00
wandererfan 7bd3bb8371 Fix Text Literals for Translation
- these strings were noted as being difficult to
  translate on Crowdin
2019-01-20 00:29:17 +01:00
Yorik van Havre ed06cbe626 OpenSCAD: Fixed issue #3640 2019-01-18 19:58:23 -02:00
Yorik van Havre a60b6957db Arch: Axis can now be referenced in sketches 2019-01-18 17:40:50 -02:00
Yorik van Havre ae95f77f5a Draft: Fixed small bug in Snap Nearest command 2019-01-18 17:39:33 -02:00
wmayer 42d7c7afd3 disconnect boost signals when destroying tree view 2019-01-18 16:33:48 +01:00
wmayer de53904563 fixes 0002706: Box selection does not select dimension or text 2019-01-18 14:46:21 +01:00
wmayer d37dea9c74 fixes 0001673: Assign already assigned keyboard shortcuts without searching old assigned action 2019-01-18 00:55:34 +01:00
wmayer b852d1490e add method to check if key sequence is none 2019-01-18 00:54:49 +01:00
wmayer c9b4f4ba67 fix possible crash in PropertySheet when removing dependencies 2019-01-17 18:33:06 +01:00
wmayer 552ed9eab2 fixes 0002793: tube as basic solid 2019-01-17 15:37:55 +01:00
wmayer e3ec8e7004 fixes 0003776: PartDesign Hole parameters Diameter field is not unit aware 2019-01-17 14:13:51 +01:00
wmayer 0cc8efa105 simplify handling of locale specific with InputField from Python 2019-01-17 02:57:00 +01:00
wmayer fdf8fe7bc6 fixes 0003669: AddonManager should inform of the need to restart FreeCAD for changes to take effect 2019-01-16 14:47:28 +01:00
wmayer f1c23e9038 Add new display mode Wireframe & Nodes to FEM 2019-01-16 10:19:14 +01:00
wmayer 6e5369da3a fix possible double destruction when removing a group and its content from document 2019-01-16 00:35:34 +01:00
Yorik van Havre 71d57b3760 Start: Handle addons with non-standard WB name 2019-01-15 20:01:23 -02:00
wmayer bdbea25d0d issue 0003624: FEM, GUI, mesh VP, element colors 2019-01-15 21:29:47 +01:00
wmayer 9f394aa53a set name to Inventor node of display mode 2019-01-15 21:26:54 +01:00
wmayer d94fc4988e fixes 0003683: FEM, GUI, incorrect display of constraints symbols on reference shapes 2019-01-15 11:01:45 +01:00
Yorik van Havre 3f51e25b26 Start: Fixed image file paths 2019-01-14 20:20:12 -02:00
luz.paz f86f5e9272 Crowdin: Experiment to remove obsolete translations from .ts file
Crowdin currently has an issue where typo strings that have been fixed in the FC source haven't been permeating in to the Crowdin UI. This maybe do to discrepency between lupdate and crowdin.  This PR experiments with removing a few lingering obsolete translations in the main .ts file of the Arch and Path WBs. If this works then a follow-up PR will be made to remove all the rest of the obsolete strings.
2019-01-14 19:39:58 +01:00
Bernd Hahnebach 4257a4d8ba FEM: vtk tools, some comments, white spaces and changes from message to log 2019-01-14 18:10:34 +01:00
Stefan Tröger 16435205d4 FEM: vtk Post, ensure correct data visuliation with non-continious node id's, workaround for issue #3617 2019-01-14 18:10:22 +01:00
Bernd Hahnebach 17a6a9889b FEM: toolbarnames, fix wrong name for utilities toolbar 2019-01-14 18:10:12 +01:00
Bernd Hahnebach 767c7365d3 FEM: netgen mesh obj, make it a norecompute obj 2019-01-14 18:09:55 +01:00
wmayer 24f1b023ef also set default view orientation when creating document from Start workbench 2019-01-14 14:43:41 +01:00
Yorik van Havre dd7aba2f65 Draft: small bugfix in trackers 2019-01-14 11:32:34 -02:00
wmayer c601f4cb66 fixes 0003222: Invert zoom setting is not respected in paper/page mode 2019-01-14 11:08:17 +01:00
wmayer 85c7ac5abb fix build failure with old Coin3d versions 2019-01-14 10:10:15 +01:00
wmayer 53eb746e1a fixes 0003700: Tree object deletion possible with keyboard but not right-click menu in Part Design 2019-01-14 00:47:22 +01:00
wmayer 632f9cf250 fixes 0003515: Changing Name of Spreadsheet in History Tree Does Not Trigger Name Update in Tab at Bottom of 3D Window 2019-01-14 00:21:56 +01:00
wmayer 1382f83620 fixes 0003222: Invert zoom setting is not respected in paper/page mode 2019-01-13 23:29:20 +01:00
wmayer 1f5059b5b2 fix crash when removing from document and accessing Python based feature 2019-01-13 17:50:48 +01:00
wmayer b357d530ef set non-modifying functions of Python wrappers as const 2019-01-13 15:45:32 +01:00
luz.paz d0d2a05941 Crowdin: cont...
https://crowdin.com/translate/freecad/27906/en-en#6502552
2019-01-13 02:24:50 +01:00
luz.paz 0d022601f2 Crowdin: more fixes
https://crowdin.com/translate/freecad/27906/en-en#6497659
https://crowdin.com/translate/freecad/27906/en-en#6497662
https://crowdin.com/translate/freecad/27906/en-en#6497656
2019-01-13 02:24:50 +01:00
luz.paz 506741aee1 [For v0.18] Crowdin fixes
https://crowdin.com/translate/freecad/568/en-en#1172237
https://crowdin.com/translate/freecad/568/en-en#1172239
https://crowdin.com/translate/freecad/568/en-en#195053
https://crowdin.com/translate/freecad/568/en-en#1172247
https://crowdin.com/translate/freecad/568/en-en#1172249
https://crowdin.com/translate/freecad/568/en-en#1172251
https://crowdin.com/translate/freecad/6766/en-en#6511058
https://crowdin.com/translate/freecad/6766/en-en#6511060
https://crowdin.com/translate/freecad/6766/en-en#6502381
+ random typo fixes
2019-01-13 02:24:50 +01:00
wmayer 15b854b2a0 allow to set user-defined standard orientation 2019-01-13 02:21:54 +01:00
wmayer abe82e00f4 harmonize functions to set camera orientations 2019-01-12 22:59:44 +01:00
Abdullah Tahiri 7d8e566264 Sketcher: fixes #3762 2019-01-12 17:26:19 +01:00
wandererfan cec0cf9133 Fix #3763 Page Tab not removed on undo 2019-01-12 17:21:32 +01:00
wmayer 0459122c11 update PD example project 2019-01-12 16:29:40 +01:00
Yorik van Havre a32d938962 Re-added linux thumbnailer utility that had been washed out together with debian folder 2019-01-12 13:27:31 -02:00
Yorik van Havre b7bf5db527 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2019-01-12 13:26:20 -02:00
wmayer 033fce2685 support face colors when writing in OpenInventor format 2019-01-12 15:06:25 +01:00
Yorik van Havre ac097cc240 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2019-01-11 15:55:26 -02:00
Yorik van Havre 6ccc239f97 Arch: Small bugfix in ifc exporter 2019-01-10 15:33:53 -02:00
wmayer 64a94ae0f7 implement Isometric, Dimetric and Trimetric projection 2019-01-10 18:31:17 +01:00
Syres916 a69abb3b75 Py3 Fix to import Airfoil DAT files
To prevent error message as per https://forum.freecadweb.org/viewtopic.php?f=3&t=33309#p278902

As it's my first PR, I've tried to follow the advice @triplus gave in https://forum.freecadweb.org/viewtopic.php?f=10&t=30340&start=300#p279079 but please let me know if I'm not providing sufficient information.
2019-01-10 10:19:30 -02:00
Yorik van Havre a14af0f2bd AddonManager: Show warning for obsolete addons 2019-01-09 19:57:19 -02:00
wmayer 356ecd5b1b fixes #0003766: Closing and re-opening a TechDraw page causes segfault 2019-01-09 22:09:16 +01:00
wmayer f9f5b34ba7 Py3: fix saving sketch while in edit mode 2019-01-09 18:29:11 +01:00
wmayer 896aaf575f fix incorrect terminology in NaviCube, add support of isometric view 2019-01-09 14:18:26 +01:00
Yorik van Havre 9a72871137 Arch: Fixed behaviour of alternative wall icon 2019-01-09 10:28:27 -02:00
cclauss 511a9edae8 matplotlib, PySide, Shiboken, six
* https://pypi.org/project/matplotlib
* https://pypi.org/project/pyside
* https://pypi.org/project/shiboken
* https://pypi.org/project/six
2019-01-09 10:32:44 +01:00
cclauss fb08dce8d4 Create requirements.txt
__pip install -r requirements.txt__
2019-01-09 10:32:44 +01:00
cclauss c701531069 flake8 noqa a Python 3 syntax error 2019-01-09 10:31:27 +01:00
cclauss a17ca7dc05 apply() was removed in Python 3 2019-01-09 10:30:02 +01:00
Yorik van Havre 3d52e8a6b9 Arch: Fixed recursion loop in windows 2019-01-08 16:39:11 -02:00
wmayer d37d7455d0 fix double vs. float problem to solve problems in Mesh.nearestFacetOnRay 2019-01-08 19:13:50 +01:00
Yorik van Havre 89cf78b262 Arch: Fixed Reference object that cannot be deleted 2019-01-08 15:44:45 -02:00
cclauss 59731e95a8 Undefined name: to --> 'to' (again)
Just like #1884 but on a different file.
```
./src/Tools/FCFileTools.py:47:50: F821 undefined name 'to'
                print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                 ^
./src/Tools/FCFileTools.py:86:54: F821 undefined name 'to'
                    print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                     ^
```
2019-01-08 11:57:18 -02:00
Yorik van Havre e638705bc4 Draft: Fixed grid not appearing on working plane setup 2019-01-08 11:43:36 -02:00
wmayer 1ebcb36545 Remove decode as returned object by translate() function is a unicode oject 2019-01-08 13:23:51 +01:00
wmayer 55a4f78adf Add command to create coordinate system as datum item 2019-01-08 12:48:37 +01:00
Yorik van Havre 6efd6de4c1 Start: Show 'New' button even if recent files list is empty 2019-01-07 19:44:49 -02:00
cclauss a7c0f4bc5b Drop depencence on six module 2019-01-07 15:51:34 +01:00
cclauss 51ab27f54a Fix file, long, raw_input, and xrange for Python 3 2019-01-07 15:42:37 +01:00
easyw fdb855e366 minor fix on SVG import 2019-01-07 12:26:34 -02:00
cclauss 3c4a5389d6 Undefined name: Typo ‘newob‘ —> ‘newobj’
Discovered via #1883
2019-01-07 12:26:07 -02:00
cclauss 9af7b83538 Missing import FreeCAD and/or FreeCADGui (again) 2019-01-07 12:25:27 -02:00
cclauss cf5a045792 fast_finish: true
Mark the build as passing even if the allow_failures macOS job is still running.
* https://blog.travis-ci.com/2013-11-27-fast-finishing-builds
2019-01-07 12:13:34 -02:00
cclauss 4ccdabd004 macOS: drop the old osx_image: xcode7.3
xcode9.4 is the Travis default and 10.1 is the latest available.
* https://docs.travis-ci.com/user/reference/osx/#os-x-version
2019-01-07 12:13:34 -02:00
cclauss 05572ba49e Also run the osx build in allow_failures mode
This let's us see where things are failing without failing the entire Travis build.
* https://docs.travis-ci.com/user/customizing-the-build/#rows-that-are-allowed-to-fail
2019-01-07 12:13:34 -02:00
cclauss f503314132 Travis CI: matrix: allow_failures: python: 3.7 2019-01-07 12:13:34 -02:00
cclauss b7ccf8da00 Travis CI: The real Python 3.7 in a separate parallel run 2019-01-07 12:13:34 -02:00
cclauss bdc0509372 python3 -m pip install flake8 2019-01-07 12:13:34 -02:00
cclauss 53a2feb6c0 Travis CI: Use flake8 to find Python syntax errors 2019-01-07 12:13:34 -02:00
Yorik van Havre 59eb1735bc Arch: Fixed wrong movement of references on reload 2019-01-07 11:19:32 -02:00
Yorik van Havre e10e90516e Draft: Fixed wrong Qt import 2019-01-07 11:18:49 -02:00
Yorik van Havre a9f1a0c4e2 AddonManager: Don't overwrite displayed text after a module install/removal 2019-01-06 22:26:03 -02:00
wmayer 1a8d3a7030 make handling more user-friendly if Sketch is outside of Body object 2019-01-06 22:43:14 +01:00
Przemo Firszt 0136445404 Fix medfile loction on different versions of fedora
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-01-05 19:58:33 +01:00
Przemo Firszt 744f381d5d Tidy up BuildRequires in fedora spec
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-01-05 19:58:33 +01:00
Przemo Firszt a07d1af088 Add med to fedora spec file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-01-05 19:58:33 +01:00
wmayer a395c570f8 respect transparency when setting color per face 2019-01-05 19:50:12 +01:00
lorenz ab1f4c442d py3: AddonManager-macro: use unicode
proposal from here: https://forum.freecadweb.org/viewtopic.php?f=3&t=33172&start=10#p278156
2019-01-05 14:50:25 +01:00
wmayer 2c3268f9f6 Py3: use feature detection instead of version detection 2019-01-05 13:11:04 +01:00
Markus Lampert 381f087536 Using fixed size images for qt5/4 compatibility 2019-01-05 12:30:41 +01:00
Markus Lampert 81729f6621 Setting fixed size for tool images 2019-01-05 12:30:41 +01:00
Markus Lampert 6e0a5580b8 Fixed Queue import for py3 2019-01-05 12:30:41 +01:00
Markus Lampert cd1ebb1732 Fixed indexing dictionary keys 2019-01-05 12:30:40 +01:00
cclauss d33098860d Fix TabError for Python 3
Was split out of #1885...
```
./src/Tools/ArchiveNameFromVersionHeader.py:41:34: E999 TabError: inconsistent use of tabs and spaces in indentation
	version['FCRepositoryHash'] = SHA
                                 ^
```
2019-01-05 12:20:49 +01:00
Bernd Hahnebach ade267b8f6 Arch: import ifc, code formating, flake8, only the most important ones 2019-01-05 12:17:52 +01:00
Bernd Hahnebach bc31a9afcd Material: code formating, flake8 2019-01-05 12:17:52 +01:00
Bernd Hahnebach b3de953c18 Material: code formating, file beginnings Python block comment with space, flake8 E265 2019-01-05 12:17:52 +01:00
Bernd Hahnebach 86c7a85e3c FEM: code formating, flake8, make line breaks before binary operator, it really reads better :-) 2019-01-05 12:17:51 +01:00
eszlari 19cd5690e7 XDGData: remove CMAKE_CURRENT_SOURCE_DIR 2019-01-05 12:15:58 +01:00
eszlari 0177c8b64e Linux mime: add icon 2019-01-05 12:15:58 +01:00
Yorik van Havre d9f8cfac18 Arch: Fixed wire/edge bug in IFC import 2019-01-04 22:48:49 -02:00
Yorik van Havre 41a9f5bbab Updated credits page 2019-01-04 15:25:12 -02:00
wmayer 9f2904e8ec fix flake8 issues suggested by cclauss 2019-01-04 15:30:17 +01:00
Bernd Hahnebach 56db51867c FEM: ccx tools, better error handling on run ccx 2019-01-04 15:28:17 +01:00
Bernd Hahnebach 37a2cceab3 FEM: ccx tools, ccx run, set ret code to 0 for check analysis and return ret code 2019-01-04 15:28:17 +01:00
Bernd Hahnebach 76541ca1b5 FEM: ccx tools, debug prints 2019-01-04 15:28:16 +01:00
Bernd Hahnebach 2e6dac1871 FEM: code formating, flake8 2019-01-04 15:28:16 +01:00
Bernd Hahnebach 3f443d2264 FEM: result reading, debugg prints 2019-01-04 15:28:16 +01:00
Bernd Hahnebach 8a3fd0caf6 Arch: IFC, print code formating in the regard of Py3 2019-01-04 15:28:16 +01:00
wmayer 64fa8cb855 improve handling of (raw) input in Python console 2019-01-04 14:16:50 +01:00
wmayer 2c838bfc7d fix typo in StartPage module 2019-01-04 10:56:34 +01:00
wmayer df3853738e fix several Py3 issues 2019-01-03 18:11:37 +01:00
cclauss 7afb54f49b Undefined name: to --> 'to'
```
./src/Tools/fcbt/FileTools.py:47:50: F821 undefined name 'to'
                print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                 ^
./src/Tools/fcbt/FileTools.py:86:54: F821 undefined name 'to'
                    print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                     ^
```
2019-01-03 17:38:45 +01:00
wmayer 7ba92f96a5 reduce code duplication 2019-01-03 17:33:39 +01:00
wmayer 8358d7f876 Qt5: don't use native color dialog 2019-01-03 16:14:12 +01:00
wmayer b8455531c1 declare private intersect() function as static to make clear it doesn't belong to a GeomCurve instance 2019-01-03 15:40:59 +01:00
wmayer 2aa4f8c47f Update copyright notice 2019-01-03 15:37:02 +01:00
tomate44 9ea523a9e0 fix intersectCC method missing some intersection points for Geom2d curves 2019-01-03 12:33:58 +01:00
wmayer 3ba0772d97 handle C++ exception in Python interface 2019-01-03 12:19:37 +01:00
Silas 8526b0747e Improve readability with some comments 2019-01-03 11:43:43 +01:00
Silas 309640eb7f Only changes the ViewSystem if the user confirms
UnitsApi::setSchema() was being called when the user changed the
comboBox item, so the view system was saved if the user later clicked
Cancel.  This call was moved to the saveSettings() method that is called
only if the user clicks Apply or OK.
2019-01-03 11:43:43 +01:00
cclauss f1c6c549a9 Cannot mix bytes and nonbytes literals in OpenSCADUtils.py
Fixes Travis test failure: https://travis-ci.org/FreeCAD/FreeCAD/jobs/474743289#L8528
2019-01-03 11:37:00 +01:00
wmayer 8527b0228e in test_python_syntax fix check for Py3 2019-01-03 10:40:19 +01:00
Yorik van Havre 98ebeaa198 Draft: fixed bug in arc tracker 2019-01-02 18:05:34 -02:00
paullee 5af993cb1c Curvilinear Landing based on underlying curve edges supported; found sortEdges() 'problem'
Discussion:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=100#p277409
2019-01-02 17:26:34 -02:00
Bernd Hahnebach ddebf0d3c7 FEM: gmsh tools, Py3, there still are extra b'ees to remove 2019-01-02 17:26:00 -02:00
luz.paz 0a25f7fd58 FEM: source comment typo fixes 2019-01-02 17:24:58 -02:00
Diego Elio Pettenò 0274e73a8d setup: don't require the user to agree to GPL to complete setup.
As @foone complains on twitter often enough, this should not require
agreement for use since GPL is not an EULA.

The definitions are inspired from the similar NSIS setup file from VLC.
2019-01-02 17:23:52 -02:00
wmayer 01367d21f6 fix bytes vs. str issue on macOS 2019-01-02 16:26:16 +01:00
wmayer ccf99f57c0 add slice apart command to sub-menu 2019-01-01 22:21:07 +01:00
Stian Skjelstad 06ef43c77f Fix #3697
We need to initialize progressTime for given number of step-operations too,
else the filter that checks for X ms between each refresh update will always
fail, due to time-difference being way out of range.

Also, 10 updates per second is not a lot, since we also filter out the
QT event loop for long operations performed in the main thread.
2019-01-01 21:47:11 +01:00
wmayer 1f30c218e6 remove signal blocker
fixes 0003752: Preferences/Sketcher: Changing Grid size default is not respected upon creation of new Sketches
2019-01-01 18:17:23 +01:00
wmayer 70aaf3e95f fixes 0003756: Tooltips should not start with the internal name of the tool 2019-01-01 16:54:12 +01:00
wmayer 47fc808157 fixes 0003757: Join icon menu in the Boolean toolbar does not show command names nor tooltips 2019-01-01 16:48:43 +01:00
Yorik van Havre 1a7d3d9a37 Start: Don't switch workbenches if we're not in Start anymore 2018-12-31 16:45:16 -02:00
Yorik van Havre 41fee3bb3d Fixed wording as notifed on crowdin 2018-12-31 16:21:49 -02:00
wmayer 563d020b67 improve error messages for Pocket, Hole and Groove feature 2018-12-31 18:30:13 +01:00
wmayer fd9516e071 fixes 0003755: Crash when using Part - Refine Shape on certain files 2018-12-31 15:06:21 +01:00
Yorik van Havre 6cdeab9c14 Start: Fixed single quotes display 2018-12-30 12:47:19 -02:00
Yorik van Havre 0bf6ca9732 Fixed translations of startpage 2018-12-30 12:38:03 -02:00
wmayer 7e80a1f64e add Qt5 translation files 2018-12-29 18:37:07 +01:00
Yorik van Havre e83c44200a Start: Better handling of unicode on py2 2018-12-29 14:41:25 -02:00
Yorik van Havre 91a61d4813 Material: Fixed py3/import issues 2018-12-29 14:40:25 -02:00
caceres 195c530c00 Material: MaterialEditor migrate to model/view 2018-12-29 12:47:30 -02:00
wmayer be5796b2d0 add method restoreFinished and reimplement it in SketchObject 2018-12-29 15:27:32 +01:00
wmayer 6cc2c1147e do not make default suffix lower case 2018-12-29 13:52:28 +01:00
Yorik van Havre 42e6650ac0 Start: Fixed translation on py2 2018-12-28 11:38:21 -02:00
Yorik van Havre 217e0fef0f Import: Fixed import of some DXF R12 files 2018-12-28 00:12:28 -02:00
wmayer 5d36da83e0 add comment 2018-12-27 20:06:16 +01:00
triplus 4276b92e32 Add Intensity 2018-12-27 20:00:55 +01:00
triplus 1d840261c5 Point cloud display mode enumeration
After point cloud is imported and saved to a file, opening such file introduces issue with point cloud feature display mode property.

Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=3&t=32808
2018-12-27 20:00:55 +01:00
Yorik van Havre 79723fe3d4 Arch: small cosmetic fix in material editor 2018-12-27 12:56:49 -02:00
Yorik van Havre f3a44bed80 Arch: Lowered tolerance of planar profiles for Arch structures 2018-12-27 12:29:03 -02:00
DeepSOIC 407dc25dba Part: add Slice Apart command 2018-12-27 14:30:06 +01:00
DeepSOIC f275a95008 PartGui: use icon in Compound viewprovider 2018-12-27 14:30:05 +01:00
DeepSOIC c025a77797 PartGui: add ExplodeCompound to menu and toolbars 2018-12-27 14:30:05 +01:00
DeepSOIC 3c23f2aa50 PartGui: update icons
* replace Part_Compound icon with a new one
* add Part_ExplodeCompound icon
2018-12-27 14:30:05 +01:00
DeepSOIC 368f0f0ccd Part: "Explode compound" tool 2018-12-27 14:30:04 +01:00
Yorik van Havre fc5542b976 Fixed translation of py commands in Image 2018-12-27 11:14:07 -02:00
Yorik van Havre cea09fd986 fixed non-executable translation script 2018-12-27 10:55:58 -02:00
Yorik van Havre 3e6e9ed690 Part: Fixed translation issues 2018-12-27 10:51:49 -02:00
luz.paz 7044147bac Path: source comment typo fixes
Found via `codespell`
2018-12-27 10:22:36 -02:00
wmayer 47f131b59e fix bug in zipios::writeUint16 2018-12-27 13:17:40 +01:00
Yorik van Havre d5dd0973ca Draft: Added ON/OFF status to the tooltip of snapping buttons 2018-12-26 12:59:50 -02:00
wmayer 9c7128ea77 fixes 0003729: REGRESSION: FreeCAD 0.17 does not export color information with STEP files 2018-12-24 17:27:56 +01:00
wandererfan 8801726ed4 Fix StartCell/EndCell handling
- multi-character Columns and multi-digit Rows
  were not being interpreted correctly.
2018-12-24 11:02:32 -02:00
Abdullah Tahiri ffd980b27e PartDesign: Up to face inclined plane limitation
================================================

fixes #3177

I fixed it by tricking the function, see:
https://forum.freecadweb.org/viewtopic.php?f=8&t=24238&start=30#p274454
2018-12-24 11:01:59 -02:00
Stian Skjelstad 33dfca95fa Improve messages when trying to detect HDF5 2018-12-24 11:01:39 -02:00
Stian Skjelstad 0f03f1e2bb Improve error-message if med.h is not found in CMake, and write all
commands in upper case, following the common syntax
2018-12-24 11:01:39 -02:00
Stian Skjelstad dccf48d3f4 On my Ubuntu setup, compilation failes when using med.h, since
libmedc is built with openMPI, while freeCAD selects hdf5-serial.

libmed declares functions prototypes which has MPI parameters if
built for openMPI, causing compilation errors. Doing some online
searches reveals that some users manually changes the include-paths
to hdf5-openmpi if this error happens.

This patch tries to autodetect this situation.
2018-12-24 11:01:39 -02:00
Yorik van Havre 2226da3a20 Added support for arabic and vietnamese 2018-12-23 13:56:46 -02:00
Yorik van Havre 2ea84272fd Updated translations from crowdin 2018-12-23 13:54:30 -02:00
Markus Lampert 3969dd52aa Use removeSplitter to get a single face for the removal shape construction. 2018-12-23 11:07:31 -02:00
Mateusz Skowroński 71a8e2668d Fix GCC 8 warning: catching polymorphic type by value [-Wcatch-value=] 2018-12-23 11:05:02 -02:00
Mateusz Skowroński 94e392347c Fix GCC 8 warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 2018-12-23 11:05:02 -02:00
wandererfan 376a70bffc Remove u8 literals for Win compatibility 2018-12-23 11:03:02 -02:00
wandererfan 1b854e029b Add support for DMS angles to Expressions 2018-12-23 11:03:02 -02:00
wandererfan 60b9936a35 Use correct unicode symbols for DMS units 2018-12-23 11:03:02 -02:00
Bernd Hahnebach 763b5c362f FEM: ccx tools, optimize imports 2018-12-21 22:39:29 +01:00
Bernd Hahnebach ba22f17a3a FEM: ccx tools, add a method to find elments with no material 2018-12-21 22:22:49 +01:00
Bernd Hahnebach 3a9ada062f FEM: ccx tools, typo in def name for non positive jacobians 2018-12-21 22:16:57 +01:00
Bernd Hahnebach 9bb6174545 FEM: ccx tools, split run def to be able to do every fea task independent 2018-12-21 22:16:57 +01:00
Bernd Hahnebach d7e61d68b8 FEM: ccx tools, small code improvements 2018-12-21 22:16:57 +01:00
Bernd Hahnebach 356d24157c FEM: ccx tools, solver typ check only for ccx tools type 2018-12-21 22:16:57 +01:00
Yorik van Havre 0ab6b3ec02 Arch: fixed wrong WP when double-clicking an Arch BuildingPart 2018-12-21 18:55:59 -02:00
Bernd Hahnebach 1030e1cc64 FEM: print some error if only one material object but this one has a reference shape 2018-12-21 10:11:48 -02:00
Bernd Hahnebach 9d13a1ab89 FEM: ccx run, do not run ccx if input file writer returned an error 2018-12-21 10:11:48 -02:00
Bernd Hahnebach 07e7c2ef87 FEM: revert f77c605 and use a better fix fir frd reading of NaN floats 2018-12-21 10:11:48 -02:00
Bernd Hahnebach 56e9e92fd5 FEM: z88, delete not needed and not used variable 2018-12-21 10:11:48 -02:00
Yorik van Havre ab916fefe7 [Testing] renaming COPYING file to LICENSE 2018-12-20 20:36:01 -02:00
wmayer 583917dc17 fix several bugs in LabelEditor to handle PropertyStringList 2018-12-20 23:20:23 +01:00
wmayer 4c67a5c3c6 workaround to correctly render annotation flags if NaviCube is shown 2018-12-20 17:52:35 +01:00
Yorik van Havre 2e03d02a1a Arch: Fixed crash on creating new BuildingParts 2018-12-20 13:21:48 -02:00
Bernd Hahnebach f77c605ca8 FEM: frd file reader, fix for broken frd files 2018-12-20 12:00:04 -02:00
Bernd Hahnebach 86c5113e09 FEM: gmsh VP, Py3, remove more extra b'ees 2018-12-20 12:00:04 -02:00
Bernd Hahnebach 0d8388a47a FEM: code formating, pep8 2018-12-20 12:00:04 -02:00
Abdullah Tahiri e72bd857c7 Sketcher: Tangency between arcofellipse and other curves
========================================================

Surprisingly there was no code to handle arcofellipse tangencies using AngleViaPoint constraint.

fixes #3659
2018-12-20 11:59:26 -02:00
wmayer f474900c07 change default value of renderTriangleLimit to UINT_MAX 2018-12-20 10:49:37 +01:00
Yorik van Havre b918cbe14d Arch: Fixed object transparency not adopting the material's one 2018-12-19 20:51:39 -02:00
Fabio Rossi 92a89d6c2b Avoid overwriting of LDFLAGS for shared libs 2018-12-19 21:54:02 +01:00
Bernd Hahnebach 8324b2ee1b FEM: solver, move observer def into base class and use decode for Py3 bytestrings 2018-12-19 21:50:44 +01:00
Bernd Hahnebach b73849bc33 FEM: utils, add a def to decode bytestrings in Py3 2018-12-19 21:50:44 +01:00
wmayer 0556a2ca68 fixes 0002304: Duplicate multi selection of sketch element produces many sketches 2018-12-19 21:17:59 +01:00
Yorik van Havre 842672d961 Arch: Fixed display bug in BuildingPart 2018-12-19 16:33:48 -02:00
Yorik van Havre ca7dd2e1c3 Arch: Small refactor in arch reference 2018-12-19 12:29:34 -02:00
Yorik van Havre 7aa4d2a9f6 Arch: Fixed wrong elevation of imported IFC elements 2018-12-19 11:46:40 -02:00
wandererfan cd1959a094 Fix Detail highlight position for rotated DPGI
- highlight position calculation was not taking into account
  rotation of DPGI due to RotationVector property.
2018-12-19 10:30:30 -02:00
Abdullah Tahiri 47443dfd87 Improve debug info 2018-12-19 10:27:30 -02:00
Abdullah Tahiri 2830f107ae Sketcher: Improve element widget name of external geometry
===========================================================

fixes #3719

what?
https://forum.freecadweb.org/viewtopic.php?f=3&t=32693&p=274634#p274634
2018-12-19 10:27:30 -02:00
George Shuklin 69e3aeaa40 Draft/getSVG: Fix missed variable gui, fix bad call to getProj 2018-12-19 10:24:29 -02:00
Yorik van Havre 47a38eceb3 Arch: more thorough file search in arch references 2018-12-18 21:49:27 -02:00
wandererfan b5a3b7d3df Use same symbol for display and edit.
- UnitsSchemaImperialCivil was sometimes displaying
  degree symbol as "deg" and sometimes as "°"
2018-12-18 22:17:38 +01:00
wandererfan bde252895f Handle negative angles in UnitsSchemaImperialCivil 2018-12-18 22:17:38 +01:00
Yorik van Havre c4866c8346 Removed unappropriate copyright note from license file 2018-12-18 17:34:39 -02:00
Yorik van Havre c5939d4476 Tools: cosmetic fix in translation scripts 2018-12-18 11:36:46 -02:00
Yorik van Havre 91bb88fe18 add App.Units.setSchema() python method 2018-12-18 11:01:35 -02:00
Yorik van Havre 2557f07cbe Draft: minor bugfix 2018-12-18 11:01:14 -02:00
Yorik van Havre 56aba4c9d9 Arch: Allow to not zoom fit after importing IFC files 2018-12-18 11:00:56 -02:00
Abdullah Tahiri c43adafb12 Sketcher: Respect general autoconstraints setting on sketch creation
====================================================================

fixes #3727

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

https://forum.freecadweb.org/viewtopic.php?f=3&t=32761
2018-12-17 18:44:56 +01:00
Abdullah Tahiri 64cd6a9082 remove experimental string from VBO and sketcher continue mode 2018-12-17 18:01:52 +01:00
wmayer bf1603b388 improve mesh validation functions 2018-12-17 16:14:28 +01:00
Yorik van Havre 5213f26846 Draft: Fixed tolerance problem in snapping to intersections 2018-12-17 12:58:21 -02:00
Yorik van Havre 175566d551 Arch: Fixed remaining bugs in Schedule - Fixes #3590 2018-12-17 12:24:27 -02:00
Yorik van Havre eb04b8ef0c Arch: Fixed incomplete last commit 2018-12-17 11:24:33 -02:00
Yorik van Havre ea885fb650 Arch: Stored if preferences pages are loaded or not 2018-12-17 11:22:20 -02:00
Yorik van Havre 223eb6864c Draft: Fixed wrong formatting of DXF importer url 2018-12-17 11:06:10 -02:00
Bernd Hahnebach 08ce5a6123 FEM: objects module, add vtk post processing objects 2018-12-17 09:38:23 -03:00
Bernd Hahnebach 41e56ef9d0 FEM: unit tests, add FEM_VTK check and reactivate vtk mesh test 2018-12-17 09:38:23 -03:00
George Shuklin ef34dd3a4f Include getSVG.py into Draft_SRCS 2018-12-17 09:37:51 -03:00
George Shuklin 8701a4d898 made getLineStyle to accepts scale parameter 2018-12-17 09:37:51 -03:00
George Shuklin dc8d8fdb44 move getDiscretized and getPattern outside of getSVG() 2018-12-17 09:37:51 -03:00
George Shuklin e1eae5e114 move getProj outside of getSVG, make 'plane' explicit. 2018-12-17 09:37:51 -03:00
George Shuklin 615d81fda3 Move getLineStyle to a separate function 2018-12-17 09:37:51 -03:00
George Shuklin 6ee6c677c6 Move getSVG into a separate file to further refactoring.
All internal dependencies (getrgb, getType) are reimported.
2018-12-17 09:37:51 -03:00
wmayer b530c7e576 include cmath header for definition of M_PI 2018-12-17 10:04:10 +01:00
wmayer 766383d411 fixes 0003726: Property Editor Angle Fields Do Not Respect Units 2018-12-16 21:35:58 +01:00
wmayer 583aea5aec fixes 0003732: Menu groups in Draft menu are not translated even though translated strings exist 2018-12-16 17:20:26 +01:00
wmayer fec487dc7f fix translate() function for Py2 & Qt5 2018-12-16 16:25:25 +01:00
wmayer c7883cd3cd fixes 0003733: FEM workbench menus are not translatable 2018-12-16 12:55:10 +01:00
wmayer 5a028e4578 fixes 0003734: Image Scaling tooltip is untranslatable and should be reworded 2018-12-16 11:15:06 +01:00
wmayer fd050c6f1d minor changes 2018-12-15 21:43:37 +01:00
Abdullah Tahiri 57b7142cd7 Sketcher: Do not recompute on geometry deletion
fixes #3642
2018-12-15 16:38:54 +01:00
Bernd Hahnebach cc0ea5571e FEM: unit tests, deactivate vtk mesh test, because travis runs without vtk 2018-12-14 22:53:48 +01:00
Bernd Hahnebach 150bcfcd77 FEM: mesh api, import of Abaqus inp mesh file with Fem API 2018-12-14 22:51:39 +01:00
Bernd Hahnebach b441c0d3e8 FEM: mesh api, import of z88 mesh file with Fem API 2018-12-14 22:51:39 +01:00
Bernd Hahnebach fffd4d49c4 FEM: unit tests, add tetra10 vtk mesh read and write test 2018-12-14 22:51:39 +01:00
Bernd Hahnebach 3e247b32dc FEM: in out moduels, use print log instead of print message 2018-12-14 22:51:38 +01:00
Bernd Hahnebach 1421b35b83 FEM: ccx tools, print error message if user trys to run ccx in test mode 2018-12-14 22:51:38 +01:00
wandererfan be23cf133a Revert Erroneous Change to parser
- ExpressionParser.y changed in error by commit
  00e6376c.  Regen ExpressionParser.tab.c and
  lex.ExpressionParser.c
2018-12-14 19:30:49 +01:00
Abdullah Tahiri 7acdd87bf2 fixes #3724 2018-12-14 19:26:30 +01:00
Yorik van Havre 0c886a479a Draft: Fixed wrong placement of edit dots in Draft Stretch 2018-12-14 16:06:31 -02:00
Yorik van Havre 981b158228 Draft: Fixed nearest snap not snapping to the working plane when required 2018-12-14 13:22:32 -02:00
Yorik van Havre 497b85f68c Arch: Fixed merged same-color IfcSurfaceStyles in IFC export 2018-12-14 13:21:47 -02:00
wmayer fa658f2f3b prepare for OCCT 7.3.1 2018-12-14 15:51:10 +01:00
Gauthier 5d5c4eb046 Fix forget to add new postprocessor grbl_G81 in CMakeLists 2018-12-14 08:52:35 -03:00
Yorik van Havre 144fee0915 Draft: updated minimal version of dxf library to include py3 fixes 2018-12-13 22:50:25 -02:00
Bernd Hahnebach 44e8f9e9bf FEM: unit tests, reactivate new z88 mesh reader test and mesh reading 2018-12-13 23:21:54 +01:00
Bernd Hahnebach a41d7a7398 FEM: Py3 fix, do not open file in binary mode if writing strings 2018-12-13 23:21:54 +01:00
wmayer 60581cff90 prepare for OCCT 7.3.1 2018-12-13 23:10:10 +01:00
wmayer 729b9e7afa add missing headers, prepare for OCCT 7.3.1 2018-12-13 23:08:48 +01:00
wmayer 9683abfc36 improve mesh healing functions 2018-12-13 17:31:21 +01:00
DeepSOIC 3b2c3b1d99 PartGui: fix typo in pop-up message
spotted by @bitacovir in crowdin:
https://crowdin.com/translate/freecad/563/en-hu#6513090
2018-12-13 09:02:22 -03:00
Gauthier 72c4bd3484 First version of grbl_G81_post.py 2018-12-13 09:01:52 -03:00
Bernd Hahnebach 5dee2fdfb3 FEM: unit tests, temporary deactivate new z88 mesh reader test and mesh reading 2018-12-12 08:47:33 -03:00
Bernd Hahnebach ce75653955 FEM: unit tests, rename test tools to utils to distinguish between test modules 2018-12-12 08:47:33 -03:00
Bernd Hahnebach 5d105319d3 FEM: unit tests, delete wrong comment command 2018-12-12 08:47:33 -03:00
Bernd Hahnebach a3ea67ceae FEM: unit tests, split common module into a new module for result tests 2018-12-12 08:47:33 -03:00
Bernd Hahnebach 8d88af3803 FEM: unit tests, rename test class names 2018-12-12 08:47:33 -03:00
Bernd Hahnebach ab6a3b34fc FEM: unit tests, small code improvement in mesh 2018-12-12 08:47:33 -03:00
Bernd Hahnebach b26a873920 FEM: unit tests, add import status print 2018-12-12 08:47:33 -03:00
Bernd Hahnebach 9d39000e3a FEM: unit tests, mesh move tetra10 tests in separate class 2018-12-12 08:47:33 -03:00
Bernd Hahnebach 13441b6535 FEM: unit tests, improve mesh tetra10 test 2018-12-12 08:47:33 -03:00
Bernd Hahnebach 8bb994dff8 FEM: unit tests, z88 tetra10 read write test 2018-12-12 08:47:33 -03:00
Bernd Hahnebach f998547f8a FEM: unit tests, comment in ccxtools test 2018-12-12 08:47:33 -03:00
Bernd Hahnebach 0ac6451517 FEM: inp mesh reader, add def to return the FemMesh only (no Document obj) 2018-12-12 08:47:33 -03:00
Bernd Hahnebach 569715c1d7 FEM: import z88 mesh, delete duplicate code 2018-12-12 08:47:33 -03:00
Bernd Hahnebach 1e47334634 FEM: z88 mesh import, get rid of not needed future import and debugg print 2018-12-12 08:47:33 -03:00
Bernd Hahnebach 1a77dc54c3 FEM: in out modules, use console log instead of print 2018-12-12 08:47:33 -03:00
Bernd Hahnebach e01546b0a9 FEM: mesh api, export of z88 mesh file with Fem API 2018-12-12 08:47:33 -03:00
wmayer 25eb9a22e9 fix MeshGeomFacet::IntersectWithPlane 2018-12-11 18:42:47 +01:00
sdaau 3290c36d28 Draft: preserving face colors and names when downgrading/upgrading (splitFaces and makeShell only) 2018-12-11 09:15:30 -03:00
Przemo Firszt 7fe115a3c7 Add mesa-libEGL-devel for fedora >= 29 COPR builds
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-12-11 09:12:37 -03:00
easyw d901631f8e a minor py3 fix 2018-12-11 09:12:15 -03:00
kreso-t 5eeff9d17f Path: Adaptive - bugfix
fix for path cleaning, related to uncleared regions
2018-12-11 09:10:08 -03:00
Bernd Hahnebach 081173e344 FEM: solver run, fix method names 2018-12-10 20:56:41 -03:00
DeepSOIC 5d5ac035f7 PartGui: fix error popup message
reported by kazan417 in crowdin
https://crowdin.com/translate/freecad/563/en-hu#6500315
2018-12-10 20:55:51 -03:00
Yorik van Havre 083954a0e2 Arch: small optimization in Arch Reference 2018-12-10 19:41:02 -02:00
Yorik van Havre 686688e00c Arch: Ability to unload shape of Arch References 2018-12-10 19:33:08 -02:00
Yorik van Havre f56198dd33 Tools: fixed translation of py files in Part 2018-12-10 11:00:53 -02:00
Yorik van Havre 5633bd14d2 Arch/Draft: Misc small fixes
* Properly handle offset2D and arch objects in Draft Stretch
* Allow the WP of Arch BuildingParts to stay weak
* Fixed Draft Edit making Wires not plane anymore
* Dont change the WP if already perpendicular to current view
* Fixed DXF import of Polyfaces
2018-12-10 10:21:17 -02:00
wmayer d91e38962c mesh segmentation algorithm for surfaces 2018-12-10 13:19:27 +01:00
Stian Skjelstad 7102ff26a7 Remove reuse of variable-name.
customwidgets.cpp: In member function ‘virtual void Gui::AccelLineEdit::keyPressEvent(QKeyEvent*)’:
customwidgets.cpp:287:38: error: no match for ‘operator+’ (operand types are ‘Qt::Modifier’ and ‘QKeySequence’)
             QKeySequence key(Qt::CTRL+key);
                              ~~~~~~~~^~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:38:0,
                 from customwidgets.cpp:24:

g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
2018-12-10 09:17:20 -03:00
wandererfan d9d81ade84 Clean up section line arrows 2018-12-10 09:15:07 -03:00
Abdullah Tahiri 167b0d6d99 Thumbnail generation
====================

Dynamically check whether to apply the fix for thumbnail generation.

Some QT5 version seem to be affected. This problem appears in some linux distributions with some window managers.

You may check/activate this fix:

>>> hgrp = App.ParamGet("User parameter:BaseApp/Preferences/Document")
>>> hgrp.GetBool("SaveThumbnailFix")
False
>>> hgrp.SetBool("SaveThumbnailFix",True)
>>> hgrp.GetBool("SaveThumbnailFix")
True
2018-12-10 09:14:36 -03:00
wandererfan 1d8cc22ed4 Fix SectionLine preference location 2018-12-10 09:12:51 -03:00
wmayer 0caa169eb0 mesh segmentation algorithm for surfaces 2018-12-10 00:23:31 +01:00
wmayer 9be3e63332 mesh segmentation algorithm for surfaces 2018-12-08 15:53:58 +01:00
wandererfan f8f85f0079 Improve "links go out of scope" message 2018-12-08 11:29:45 -03:00
wandererfan f76f19732c Use Global Scope for PathArray Links 2018-12-08 11:29:45 -03:00
wandererfan bf3a1fdaa8 Test for binormal == Z sb binormal parallel Z 2018-12-08 11:29:45 -03:00
lorenz 3059646761 Fem: Elmer: rename function iterkeys -> keys 2018-12-08 11:27:22 -03:00
looooo 1476caf281 py3: iteritems -> items, iterkeys -> keys 2018-12-08 11:27:22 -03:00
Przemo Firszt 9d395235b9 Comment out osx builds
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-12-08 11:26:14 -03:00
easyw 2cbf323e84 another py3 compatibility fix 2018-12-08 11:24:56 -03:00
easyw bb226d1973 first step vs py3 compatibility 2018-12-08 11:24:56 -03:00
DeepSOIC e48254d98e Draft: allow cross-CS links for Clone
fixes drag-drop issues
https://forum.freecadweb.org/viewtopic.php?f=3&t=32677&p=272896#p272896
2018-12-08 11:23:53 -03:00
wmayer 20fe774784 mesh segmentation algorithm for surfaces 2018-12-07 20:03:44 +01:00
Yorik van Havre 265be0fd86 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2018-12-07 14:27:35 -02:00
Yorik van Havre c507ab9efd Arch: minor bugfix in arch reference 2018-12-07 14:27:18 -02:00
wmayer a92014a36d rework mesh segmentation dialog 2018-12-07 13:13:08 +01:00
Bernd Hahnebach 36447d71c5 FEM: ccx tools, simplify member collection 2018-12-07 08:53:48 -03:00
Bernd Hahnebach 1311bac126 FEM: solver frame work ccx and z88, simplify member collection 2018-12-07 08:53:48 -03:00
Bernd Hahnebach 945497c73c FEM: utils, add some defs to collect analysis group member 2018-12-07 08:53:48 -03:00
Bernd Hahnebach 80f2ccc304 FEM: utils, rename get single member 2018-12-07 08:53:48 -03:00
Bernd Hahnebach 592979b829 FEM: utils, rename get member 2018-12-07 08:53:48 -03:00
Bernd Hahnebach e5c8c18e8d FEM: elmer writer, use class methond instead of utils method directly 2018-12-07 08:53:48 -03:00
Bernd Hahnebach 5c4b287597 FEM: solver tasks, delete duplicate methods 2018-12-07 08:53:48 -03:00
Bernd Hahnebach 93e179ba01 FEM: unit tests, extend commends to command for every module test 2018-12-07 08:53:48 -03:00
wandererfan 0e26ce1f27 Add id=PageName to exported Svg
- add id attribute to output of QSvgGenerator.
2018-12-07 08:53:08 -03:00
wandererfan 14b780c0ee Add Parameter to Control Section Line Appearance
- allow user to specify traditional section line
  or "reference arrow method"
2018-12-06 08:57:56 -03:00
wandererfan 7b4bc50e5c Make Edge Selection Area Adjustable
- Edges may be difficult to select depending on drawing
  scale and zoom level.
- Parameter: Preferences/Mod/TechDraw/General/EdgeFuzz
2018-12-06 08:57:56 -03:00
wandererfan ac15cda1d4 Add US Letter size blank template 2018-12-06 08:57:56 -03:00
wandererfan 9907422806 Display correct symbols for Minute/Second
- the ImperialCivil unit schema uses "M" for angular
  minutes and "S" for angular seconds. These must be
  replaced by ' and ".
2018-12-06 08:57:17 -03:00
wandererfan 00e6e376c9 Add ImperialCivil Units Schema
- units for civil engineering - ft, ft2, ft3, mph,
  and angles as degrees/minutes/seconds
2018-12-06 08:57:17 -03:00
wandererfan eb9aa5c54d Remove custom translation code
- go back to letting loadUi do the translating.
2018-12-06 08:54:46 -03:00
Bernd Hahnebach e40ce74f27 FEM: unit tests, extend the FEM is derived from test to more Trues 2018-12-06 08:53:58 -03:00
Bernd Hahnebach f3cee72436 FEM: utils, get rid of duplicate defs 2018-12-06 08:53:58 -03:00
Bernd Hahnebach 711d7f52ba FEM: utils, improve method to return the obj type 2018-12-06 08:53:58 -03:00
Bernd Hahnebach f9dd5f2b6f FEM: utils, rename isOfTypeNew to is_of_type 2018-12-06 08:53:58 -03:00
Bernd Hahnebach e06a541fec FEM: utils, rename typeOfObj to type_of_obj 2018-12-06 08:53:58 -03:00
Bernd Hahnebach d40b23a142 FEM: unit tests, move object tests in separate test module and class 2018-12-06 08:53:58 -03:00
Bernd Hahnebach 72d6c48bba FEM: unit tests, better name for unit test FreeCAD file names 2018-12-06 08:53:58 -03:00
Bernd Hahnebach babd888668 FEM: unit tests, better comments 2018-12-06 08:53:58 -03:00
Bernd Hahnebach 5ccd715e3f FEM: unit tests, rename common class 2018-12-06 08:53:58 -03:00
Bernd Hahnebach 9519f122f9 FEM: ccx tools, move helper into fem utils module 2018-12-06 08:53:58 -03:00
Bernd Hahnebach 44bdb5f99c FEM: calculix, fix obj type check 2018-12-06 08:53:58 -03:00
Bernd Hahnebach a2024d448f FEM: z88, fix obj type check 2018-12-06 08:53:58 -03:00
Bernd Hahnebach f6b1ec4401 FEM: z88 writer, raise exception if element type is not supported by Z88 2018-12-06 08:53:58 -03:00
Yorik van Havre ef002fdde2 Arch: Fixed non-unified extrusion direction in multisolid structures 2018-12-05 17:27:12 -02:00
Yorik van Havre 8483d8d5c2 Draft: Fixed dangling temp snap points 2018-12-05 16:38:34 -02:00
Yorik van Havre 47fd9d335e Arch: Fixed wrong extrusion of multisolid structures 2018-12-05 13:02:48 -02:00
Yorik van Havre 7159d38e82 Draft: Solved duplication problem - Fixed #2304 2018-12-05 11:05:40 -02:00
wmayer 69328ae2f5 if activating a workbench raises a general error then add the name to the message 2018-12-05 11:31:16 +01:00
Yorik van Havre b12bcc44a8 Draft: py3 bugfix 2018-12-03 18:39:57 -02:00
wmayer 9a7f97c827 Fix usage of Reference dialog:
+ fix memory leak by using QDialog on the stack
+ open a transaction where needed when making a copy to avoid mess with undo/redo
+ set proper title and use main window as parent
+ replace class name Dialog with PartDesignGui::DlgReference
2018-12-03 17:54:05 +01:00
paul a899a970c8 Fix another 2 missing parentheses 2018-12-03 10:30:08 -03:00
Yorik van Havre ccc5ff53fe Fixed py3 sntax errors 2018-12-03 10:30:08 -03:00
paullee da7b5199fb Some methods become Static, returnOutlines() become more generic purpose etc. 2018-12-03 10:30:08 -03:00
paullee 51b3b33917 Fix Typo - vbaseFollowLastSement --> vbaseFollowLastSegment 2018-12-03 10:30:08 -03:00
Abdullah Tahiri c88a64e8e7 Make Open vertices detection routine accesible to Python 2018-12-03 12:11:11 +01:00
Abdullah Tahiri 18e680f283 Move Open vertices detection routine to SketchAnalysis 2018-12-03 12:11:11 +01:00
Yorik van Havre 60c668231e Arch: Fixed buggy display string of BuildingParts 2018-12-02 19:10:46 -02:00
Yorik van Havre 7a279d7764 Arch: Fixed position of BuildingPart label on start 2018-12-02 18:49:07 -02:00
Yorik van Havre cc09490725 Arch: Remember last wall alignment setting 2018-12-02 17:20:38 -02:00
wmayer 4d4f016277 only save setting if grid view is shown or not 2018-12-02 12:15:28 +01:00
Abdullah Tahiri e654e476f6 Make show grid checkbox work again 2018-12-02 10:10:39 +01:00
Yorik van Havre 6199c95fd7 Draft/Arch: minor fixes 2018-12-01 18:56:05 -02:00
lorenz 2e03d2f298 cmake: revert changes for smesh
smesh relevant part of this commit:
https://github.com/FreeCAD/FreeCAD/pull/1810/commits/6b69a86600788ae9078b95a93cfa023ea1996a85
2018-12-01 20:17:37 +01:00
lorenz b022c7c01d further cmake changes for conda 2018-12-01 14:52:15 -03:00
lorenz c0644b84ed cmake-changes for conda 2018-12-01 14:52:15 -03:00
Yorik van Havre 5217b245b4 Arch: Added pref option to set default MoveWithHost property 2018-12-01 12:23:45 -02:00
Yorik van Havre 79ba082c55 Arch: Fixed IFC export of arch structures with several solids / holes 2018-12-01 12:14:00 -02:00
Yorik van Havre bc53910ace Arch: code cleaning 2018-12-01 12:13:25 -02:00
Yorik van Havre 34cad5b81f Draft: Better fix to buggy Move/rotate of Arch BuilfingParts 2018-12-01 12:12:22 -02:00
Yorik van Havre 0e3cab0874 Draft: Fixed snapping to sectionPlanes 2018-12-01 12:11:10 -02:00
wandererfan bdbdf8c6b7 FR1973 Draft ShapeString Ui
- load new ui from Resource file
- minor updates to translate for Py3
2018-12-01 11:08:37 -03:00
lorenz 5c8a9d2e19 py3: try to fix online doc problem 2018-12-01 11:05:20 -03:00
wmayer 927b496827 fix converting float list to string list in property editor 2018-12-01 11:58:09 +01:00
Yorik van Havre 9e870bec2e Added encrypted chunk.io key to travis file 2018-11-30 10:10:47 -02:00
Yorik van Havre d3ee0cd1fc Merge branch 'master' of github.com:FreeCAD/FreeCAD 2018-11-30 10:03:45 -02:00
wmayer 426bc01188 add runtime option to choose between native and Qt file dialogs 2018-11-30 12:37:26 +01:00
plgarcia 792bb8282a Drags and drop with groups 2018-11-29 21:25:28 +01:00
Yorik van Havre e3de72b131 Arch: Cosmetic fix to IFC prefs page 2018-11-29 16:34:42 -02:00
DeepSOIC 82fd0a8db6 Gui: Gesture: add option to disable tilt
On Qt5, using pinch will inevitably cause tilt. It's annoying, so it is disabled by default.

In the future, it's best to introduce some kind of threshold to overcome for the tilt to be triggered.
2018-11-29 15:29:27 -03:00
DeepSOIC b09fb97ad8 Gui: Gesture: fix tilt angle sign 2018-11-29 15:29:27 -03:00
DeepSOIC 46d0d4c80c Gui: Gesture: QPinchGesture angle - sign, degrees, make cumulative
fixes pinch gesture rotation part on Qt5 (tested only on windows, Qt4 and Qt5)
2018-11-29 15:29:27 -03:00
Yorik van Havre 623a1b5ce8 Arch: Cosmetic fixes to arch material UI 2018-11-29 16:10:20 -02:00
Yorik van Havre e677afd5c6 Arch: Refactored file detection code in Arch References 2018-11-29 11:13:31 -02:00
luz.paz 7d6e9c4f40 Misc. typo fix in src/Mod/Arch/ImportIFC.py 2018-11-29 09:46:18 -03:00
wmayer 1dded002ca Improve automatic search for matching Shiboken2 config file 2018-11-28 23:05:13 +01:00
Yorik van Havre 0939f17d6a Arch: Added IFC export option to disable IfcRectangleProfileDefs 2018-11-28 18:27:12 -02:00
Yorik van Havre 03e7083dd5 Draft: Fixed wrong moving of BuildingParts 2018-11-28 16:51:02 -02:00
Yorik van Havre 0de83e8b90 Arch: Reference object now uses file in current dir if not found in stored path 2018-11-28 16:50:13 -02:00
Yorik van Havre 8f62c85a6c Arch: Fixed bug in BuildingPart placement 2018-11-28 14:57:36 -02:00
Yorik van Havre 081e318829 Arch: Fixed buggy view restore system in BuildingPart 2018-11-28 14:28:21 -02:00
wmayer 4d6bcdcb0d If option USE_QT_FILEDIALOG is used then for Qt5 we still have to set QFileDialog::DontUseNativeDialog 2018-11-28 15:50:21 +01:00
Yorik van Havre 4e77cee5ee Merge branch 'master' of github.com:FreeCAD/FreeCAD 2018-11-27 16:10:56 -02:00
Yorik van Havre c0567a5990 Draft: Fixed DXF import of texts 2018-11-27 16:10:42 -02:00
luz.paz 4dc201e086 Misc. typo, grammar, and whitespace fixes
[skip ci]
2018-11-27 15:02:58 -03:00
wmayer 1dbbb4371b Py3: Port Wizard shaft to Python 3 2018-11-27 18:13:35 +01:00
Abdullah Tahiri a27e333852 Missing ExceptionProducer init for RestoreError 2018-11-27 13:23:44 -03:00
Bernd Hahnebach 5ba7942660 FEM: results, initialize Stats with the appropriate lenght on obj. creation 2018-11-27 13:23:00 -03:00
Bernd Hahnebach 16ee138017 FEM: results, fix stats setting 2018-11-27 13:23:00 -03:00
wandererfan d7d52336ba Fix coverity CID 184293 2018-11-27 13:21:18 -03:00
wandererfan 6c3a4450e8 Fix Arrowheads on vertical dimensions
- arrowheads sometimes point in wrong direction
  depending on selection order
2018-11-27 13:21:18 -03:00
Yorik van Havre ea66fcc55f Arch: Fixed missing 'Create Group' option in BuildingParts 2018-11-26 20:08:15 -02:00
wmayer 7ceac311b3 add specialized exception type for bad graphs 2018-11-26 14:15:19 +01:00
wmayer 42b689b464 show folder choosing file dialog for StartPage preferences 2018-11-26 13:22:53 +01:00
Bernd Hahnebach c24ff17840 FEM: special character, Python seams not to like the ü of Jürgen even it is an comment 2018-11-26 09:10:17 -03:00
Bernd Hahnebach f3c5c9a70b FEM: code formating, more format changes 2018-11-26 09:10:17 -03:00
Bernd Hahnebach 0ed87a5775 FEM: code formating, flake8 2018-11-26 09:10:17 -03:00
Bernd Hahnebach 72db8632ab FEM: code formating, print function 2018-11-26 09:10:17 -03:00
luz.paz d150dec132 FEM: make file headers title use the same schema in all fem(gui)objects/
Cherrypicked from femtemp f3212888c50d
+ 2 femobject uniformity fixes

fem(gui)objects leftover header copyright fix
2018-11-26 09:10:17 -03:00
luz.paz bf779155d4 FEM: solver, make uniform copyright and developer info
.
2018-11-26 09:10:17 -03:00
luz.paz 432ae644ee FEM: solver, make file header title use the same schema in all solver modules
Made uniform all __title__ doxy \addtogroup blocks
2018-11-26 09:10:17 -03:00
wmayer 29eeb6c2d8 fix crash if origin feature doesn't exist when trying to create dependency graph 2018-11-26 13:09:11 +01:00
Yorik van Havre 73df4e6fc0 Arch: Fixed default axis bubble size 2018-11-22 14:25:37 -02:00
Yorik van Havre 652e1dbdd0 Material: Fixed encoding bug 2018-11-22 11:45:06 -02:00
triplus 9fc8446c95 Notepad reliability
Notepad save/load functionality should work without the need to enable "Authorize FreeCAD to access the internet".

https://forum.freecadweb.org/viewtopic.php?f=10&t=30340&start=110#p269908
2018-11-22 10:24:44 -03:00
Yorik van Havre 54dd7c621d Draft: Fixed buggy ghost tracker 2018-11-21 18:37:39 -02:00
Yorik van Havre 3f585f4cf6 More readable splash image 2018-11-21 18:37:01 -02:00
wmayer 608d42d3cd fix ViewProjMatrix::getProjectionMatrix 2018-11-20 19:21:15 +01:00
Yorik van Havre a3129d3335 Changed splash screen, to remind us of it... 2018-11-20 14:15:42 -02:00
Yorik van Havre 0f2830609c Merge branch 'master' of github.com:FreeCAD/FreeCAD 2018-11-20 12:40:27 -02:00
Yorik van Havre 024540dbbe Fixed coverity issues
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00
wmayer 36e3d5ef66 Fix scan coverity issues:
CID 184350:  Null pointer dereferences
2018-11-20 15:11:43 +01:00
Mateusz Skowroński 82fbdbb327 Explicitly set CMake's CMP0072 to OLD. 2018-11-20 09:44:11 +01:00
Yorik van Havre 3799b2a306 Fixed coverity issues
184348 Bad use of null-like value
175794 Copy-paste error
172913 Copy-paste error
169506 Structurally dead code
169504 Bad use of null-like value
169013 Copy-paste error
2018-11-19 19:36:50 -02:00
Yorik van Havre b1d6770ffb Fixed coverity issues
184298 Bad use of null-like value
183849 Bad use of null-like value
183846 Bad use of null-like value
183845 Copy-paste error
183844 Bad use of null-like value
2018-11-19 19:17:56 -02:00
wmayer ddb20468ad some additions to pR 1794:
add a special XMLAttributeError class to indicate an error when accessing a missing attribute
in PropertyContainer::Restore make error handling more flexible
2018-11-19 19:07:56 +01:00
Abdullah Tahiri 7216dba2f3 remove forgoten exception 2018-11-19 11:31:10 +01:00
Abdullah Tahiri b6a37e153f Example implementation 2018-11-19 11:31:10 +01:00
Abdullah Tahiri 9a34a93db1 Extension of XMLReader to facilitate partial restores 2018-11-19 11:31:10 +01:00
Abdullah Tahiri 10b12ddedb fix exception catching by reference 2018-11-19 11:31:09 +01:00
Abdullah Tahiri 8db80c5c99 Property: dropping isorderrelevant boolean member in favour of bit in the status of the properties 2018-11-19 11:31:09 +01:00
Abdullah Tahiri 1b152ee689 Example code of propagating the result of the partial restore 2018-11-19 11:31:08 +01:00
Abdullah Tahiri 714604e58f ZipStream: Change precision from 12 to 16 decimals
==================================================

Fixes:
https://forum.freecadweb.org/viewtopic.php?f=3&t=32212&start=10#p269080
2018-11-19 11:31:08 +01:00
Abdullah Tahiri 8176b7129c SketchObject: Activate relevant propertylist order 2018-11-19 11:31:08 +01:00
Abdullah Tahiri d62e886407 PropertyGeometryList: enable a partial recover on certain errors 2018-11-19 11:31:07 +01:00
Abdullah Tahiri 591718f918 App:Geometry make LineSegments do a best effort for recovering erroneus data 2018-11-19 11:31:07 +01:00
Abdullah Tahiri 580bb268d4 make App::Property aware of whether the order on the list is relevant or not 2018-11-19 11:31:07 +01:00
Abdullah Tahiri a459ee3f22 New Base::Exception type RestoreError 2018-11-19 11:31:07 +01:00
wandererfan ddfa510565 Fix View position in ClipGroup 2018-11-19 10:12:09 +01:00
wandererfan 7909ce83f9 Fix #3699 ClipGroup Regression from v0.17 2018-11-19 10:12:08 +01:00
wandererfan e67b84c5ec Fix #3698 Detail of Section View 2018-11-19 10:12:08 +01:00
wmayer 893f038717 improve whitespaces 2018-11-19 10:03:50 +01:00
Abdullah Tahiri 5705763088 Sketcher: Improving group constraint preselection
=================================================

the position obtained from the SoPath of the picked point when entering
the combined icon object is not the center of the icon, what leads to
wrong preselection or no preselection at all.

This commit uses the translation of the Constraint node, which is the same that
is used to locate the constraint icons on the screen in the first place.
2018-11-18 12:03:13 +01:00
Abdullah Tahiri 6df9b895ff Sketcher: Fillet increase debugging verbose and disable by default 2018-11-18 12:03:05 +01:00
Yorik van Havre fc5b6288c6 Draft: re-added missing arcFrom2Pts function in DraftGeomUtils 2018-11-16 18:28:01 -02:00
wmayer 6d836ad7a5 improve drag and drop in tree view 2018-11-16 17:19:58 +01:00
plgarcia f89b996396 Improvement and correction drags and drops in tree views. 2018-11-16 13:14:57 +01:00
wmayer e623049763 use more speaking variable names 2018-11-16 11:24:25 +01:00
wmayer e58f72933a fix DocumentObject::isInInListRecursive and DocumentObject::isInOutListRecursive 2018-11-16 01:14:33 +01:00
wmayer c009a206f8 make _getInListRecursive much more efficient by avoiding to process objects multiple times 2018-11-15 23:17:04 +01:00
wmayer 5479936894 remove superfluous error messages in In/Out list methods 2018-11-15 22:16:29 +01:00
wmayer b3721f8613 fix re-throwing an exception 2018-11-15 17:20:55 +01:00
wmayer af36a78f7f harmonize settings for DAGView with other dockable windows 2018-11-15 10:58:14 +01:00
wmayer d86c83d6c5 Enable again the standalone tree and property view by default 2018-11-15 10:24:53 +01:00
wmayer 1458c2364a fix file guards 2018-11-14 23:58:19 +01:00
wmayer 23addab20d fix exception message 2018-11-14 23:18:27 +01:00
wmayer 7dc13bd2d6 Replace Base::Exception with appropriate subclass 2018-11-14 23:17:42 +01:00
wmayer e02695b91f Replace Base::Exception with appropriate subclass 2018-11-14 19:45:20 +01:00
wmayer b0247d184e Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
wmayer 7acdb56d92 Replace Base::Exception with appropriate subclass 2018-11-14 19:28:00 +01:00
wmayer 56db19824e Replace Base::Exception with appropriate subclass 2018-11-14 19:27:52 +01:00
Yorik van Havre f6205c6b93 Selection view: only select search results when enter is pressed 2018-11-14 15:11:54 -02:00
wmayer fc16bcbfca Replace Base::Exception with appropriate subclass 2018-11-14 18:02:49 +01:00
wmayer f9e487e4b2 Replace Base::Exception with appropriate subclass 2018-11-14 17:47:43 +01:00
wmayer c5a5eb6a83 Replace Base::Exception with appropriate subclass 2018-11-14 17:36:00 +01:00
wmayer 9d80db2793 Replace Base::Exception with appropriate subclass 2018-11-14 17:23:48 +01:00
wmayer 560b415f19 Replace Base::Exception with appropriate subclass 2018-11-14 17:19:30 +01:00
wmayer f34ec4534c Replace Base::Exception with appropriate subclass 2018-11-14 17:11:53 +01:00
wmayer 4f02b209fc fixes 0003689: Snap to grid checkbox in edit control widget does not update 2018-11-14 12:40:39 +01:00
PoroCYon da09f7c3d9 OpenSCAD: fix error in workaroundforissue128needed with date formats (YYYYMMDD vs YYYY.MM.DD)
This happens when the git version of OpenSCAD is installed (which uses YYYYMMDD), instead of
the latest released version (from 2015, which uses YYYY.MM.DD).
2018-11-14 00:14:19 +01:00
wmayer a7094210f8 Fix scan coverity issues:
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
Gaël Écorchard 735b0a18b9 [AddonManager] Fix bug to install macros' other files 2018-11-13 13:28:53 +01:00
Przemo Firszt 7e1acd756f Restore removed rpkg.conf 2018-11-13 13:26:53 +01:00
wmayer b8ed93605d Fix scan coverity issues:
CID 184299:  Null pointer dereferences  (FORWARD_NULL)
CID 184297:  Error handling issues  (UNCAUGHT_EXCEPT)
CID 184296:  Uninitialized members  (UNINIT_CTOR)
CID 184292:  Uninitialized members  (UNINIT_CTOR)
2018-11-13 13:20:16 +01:00
wmayer 6a6ea0a5a6 add search function to tree view 2018-11-13 11:27:34 +01:00
Yorik van Havre c18785fdb3 Arch: fixed bug in Schedule 2018-11-12 14:28:43 -02:00
lorenz 36f5421b34 ship: repair hydrostatics-plotting for py2 2018-11-11 14:34:10 -03:00
wmayer de074ec4f3 fixes 0003518: Expressions (fx) not updated 2018-11-11 10:58:48 +01:00
wmayer 04005b5e45 fixes 0003680: Export (Ctrl+E) doesn't check to make sure that object being exported is a model at all 2018-11-10 19:02:50 +01:00
wandererfan 9d384bd74e Fix #3674 inverted Detail from DPG
- Base views from ProjectionGroups can
  have inverted projection direction or
  rotation vector vs regular views. This
  causes Detail views to be inverted.
2018-11-10 17:04:58 +01:00
Przemo Firszt 7ed7b7add0 Use github api to find the total number of commits
That approach is faster and doesn't require huge download to determine
the total number of commits.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-11-10 17:03:20 +01:00
wmayer 9e2acc477c When activating a part container in the tree view make sure all parent items are expanded 2018-11-10 16:13:10 +01:00
wmayer 442e2dd381 add method to check if an open transaction is empty
This is needed to avoid to incorrectly abort a transaction if a recompute was done between opening and closing an editor in the property view
2018-11-10 14:50:58 +01:00
wmayer b65faeff77 fixes 0003627: Hole fails to restore from file 2018-11-10 01:13:42 +01:00
Abdullah Tahiri 07cf5b10d7 Sketcher: Trim support multiple intersections for circles
=========================================================

The problem with ellipses:
https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&sid=37481b7a6c1ae2614c9840fc27a7773e&start=60#p267248

The problem with circles:
https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&sid=37481b7a6c1ae2614c9840fc27a7773e&start=60#p267536
2018-11-09 22:30:04 +01:00
Abdullah Tahiri 084c483603 Sketcher: Ellipse trim, handle multiple intersection 2018-11-09 22:30:04 +01:00
Abdullah Tahiri 4245ae6863 Sketcher: Ellipse trimming with internal aligment geometry
==========================================================

Trimming was not considering a case where an ellipse is trimmed with respect to its own internal aligment geometry.

This resulted in Coincident Constraints with PointPos = Sketcher::none, which is invalid.
2018-11-09 22:30:03 +01:00
wandererfan f10c28fb5b Handle case of no points returned
- GeomAPI_ProjectPointOnCurve sometimes returns
  zero points and/or throws "NotDone" exception.
2018-11-09 22:26:37 +01:00
Yorik van Havre 4d0c856fa0 Start: minor py3 fix 2018-11-09 17:59:36 -02:00
Yorik van Havre bd2bf371af Arch: Fixed buggy import/export of objects based on rectangles to IFC 2018-11-09 17:59:17 -02:00
Yorik van Havre a8fda8df0b Arch: Fixed buggy import/export of 2D objects to IFC 2018-11-09 16:56:59 -02:00
wmayer 3d8b815834 by default disable old tree view & property view 2018-11-09 17:44:51 +01:00
wmayer 847c6ef74a fixes 0003652: Missing little expression icon 2018-11-09 16:48:44 +01:00
wmayer 9fde41ff19 Allow user to define a custom minimum deviation for the tessellation 2018-11-09 13:42:38 +01:00
wmayer f6a9cfaad3 fix -Wabsolute-value 2018-11-09 12:46:36 +01:00
looooo d4461f351c add function to retrive femmesh edges by a TopoDS_Edge 2018-11-09 11:11:59 +01:00
Yorik van Havre 7d197ce829 Start: Use default file icon if mime-based one is unavailable for some reason 2018-11-08 17:56:21 -02:00
Yorik van Havre 490b76f405 Arch: Fixed py3 errors in IFC export 2018-11-08 17:23:06 -02:00
Yorik van Havre b56598428d Arch: Disabled children claiming for Section Planes for now (buggy) 2018-11-08 15:17:22 -02:00
wmayer fe033dee78 make unit tests about document observer more reliably 2018-11-08 16:19:06 +01:00
wmayer 24c33c0d96 remove some more boost.signals leftover 2018-11-08 12:34:43 +01:00
wmayer 36b9a1c45c Add unit tests to check the new Prop_NoRecompute value 2018-11-08 10:24:14 +01:00
wmayer 6186a310d7 Add a new PropertyType enum Prop_NoRecompute to reduce possible inconsistencies between touched and recomputed features.
At the moment many feature classes lack of the mustExecute() method and thus can cause a touched feature not to be recomputed and causes the feature to be in a broken state.
Now this new enum value virtually makes the mustExecute() superfluous and thus guarantees to recompute a feature if a modified property has not set the Prop_NoRecompute flag.

On the other hand there are properties that should only touch a feature but not enforce a recompute. This guarantees a better performance and avoids unnecessary recomputes.
For example this is useful for placements where a change can be applied on-the-fly and the feature is up-to-date. Other features that depend on the touched feature will still be recomputed.
2018-11-08 10:20:50 +01:00
Yorik van Havre 1d72ee4343 Draft: Export of Arch Axes to DXF 2018-11-07 12:38:07 -02:00
wmayer daadba4924 add security checks when reading BMS files to avoid possible crashes due to corrupted data 2018-11-07 13:51:39 +01:00
wmayer 7fbd1c6beb remove some more boost.signals leftover 2018-11-07 11:42:44 +01:00
Bernd Hahnebach ba11c3a701 FEM: commands, sort classes 2018-11-06 12:04:49 -03:00
Bernd Hahnebach fb531582f6 FEM: print mesh info, rename it to display mesh info 2018-11-06 12:04:49 -03:00
Bernd Hahnebach 798c0ea4a8 FEM: z88 mesh, some changes:
- add a much simpler method to write a FemMesh to Z88 file format by Python
- add a read method which does not create a document object but just returns the FemMesh
2018-11-06 12:04:49 -03:00
easyw 3408e5908c minor Py3 issue fixed
https://forum.freecadweb.org/viewtopic.php?f=10&t=30624&p=265892#p265892
fixing as suggested here:
https://hynek.me/articles/hasattr/
2018-11-06 12:03:33 -03:00
Zheng, Lei f2ddb64fa1 Path.Area: minor optimization 2018-11-06 12:02:12 -03:00
Zheng, Lei a345669b38 Path.Area: fix default parameter initialization 2018-11-06 12:02:12 -03:00
Markus Lampert 2d3f94590e Support for step down in deburr op. 2018-11-06 12:01:18 -03:00
Markus Lampert 64addcabd9 Enable op base feature pre-selection for multiple base models. 2018-11-06 12:01:18 -03:00
Markus Lampert e4fc276bac Maintain stock bound box extension values across refreshs 2018-11-06 12:01:18 -03:00
Yorik van Havre fe8f172ce1 Arch: Fixed bug in windows snapping 2018-11-05 20:00:56 -02:00
Yorik van Havre ff5d67b66c Draft: fixed snapping to WPProxies 2018-11-05 19:28:20 -02:00
apeltauer d03a11ead9 Change the name of the Wire object
After changing the name from DWire to Wire the test fails, because an element with the name DWire does not exists.
The name change came in with commit "684b4ab03a27231e0cc603ca815bf9ea367fd0b9"
in file "src\Mod\Draft\Draft.py"
2018-11-05 19:24:02 +01:00
wmayer 36124965d1 add PS action to dumpToFile 2018-11-05 19:22:52 +01:00
Yorik van Havre fcdcb5d858 Arch/Draft: Fixed py3 bugs in text rendering 2018-11-05 11:47:54 -02:00
wmayer fbb8e86cbf remove trailing spaces 2018-11-05 11:55:14 +01:00
wmayer 768b1874db + minor fix in Document unit tests 2018-11-05 11:21:50 +01:00
wmayer c1f19d3854 remove trailing spaces 2018-11-05 10:53:01 +01:00
wmayer dedf42102e remove leftover of boost.signals headers 2018-11-05 00:03:36 +01:00
Clemens Weissbacher f71da8d76d py3: Arch: fix TypeError exception 2018-11-04 14:51:38 -03:00
Markus Lampert fb4460e528 Added tool controller to custom op 2018-11-04 14:50:04 -03:00
Markus Lampert fe8677fab1 Also restore position of base op when dressup is deleted. 2018-11-04 14:50:04 -03:00
Markus Lampert bfcd21361f Insert dressups at the same position in the operations list as the parent op is/was 2018-11-04 14:50:04 -03:00
Markus Lampert de5b785f6e Moved Deburr out of experimental features. 2018-11-04 14:50:04 -03:00
pekkaroi 2f2f5af4c2 Path: PathSurface task panel update 2018-11-04 14:49:21 -03:00
pekkaroi 5118118740 generalized optimization algorithm 2018-11-04 14:49:21 -03:00
pekkaroi c40060bc20 Path: Optimize output of OCL dropcutter algo. 2018-11-04 14:49:21 -03:00
Abdullah Tahiri 13f589a0a6 Sketcher: Allow driven constraints when autoredundancy removal and autorecomputes active
==========================================================================================

https://forum.freecadweb.org/viewtopic.php?f=3&t=31998#p266626
2018-11-04 14:46:37 -03:00
DeepSOIC 195c492993 Part: Attacher: fix blocking error message
fix #3662
for now, just allow accepting attachment even if attachment is faulty
2018-11-04 14:45:49 -03:00
Abdullah Tahiri 0a667889a0 Sketcher: Trim bug
==================

Trim tool fails to generate coincidence upon trimming an arc of ellipse at the end of the arc.

https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&start=50#p266765
2018-11-04 14:43:24 -03:00
Abdullah Tahiri d779e5b4b9 Sketcher: Fillet radius estimation improvement 2018-11-04 14:43:24 -03:00
Abdullah Tahiri 6f42f3dacc Part: Geometry tangent with Vector3d overload 2018-11-04 14:43:24 -03:00
Abdullah Tahiri 293e5732ad Sketcher: SketchObject Debug disabled by default 2018-11-04 14:43:24 -03:00
Abdullah Tahiri abc7101118 Sketcher: Add DEBUG macro to SketchObject 2018-11-04 14:43:24 -03:00
Abdullah Tahiri 69d62787eb Sketcher: Intercurve fillet Improvement and delete constraint on point fix
==========================================================================

Intercurve fillet uses endpoint constraints for improved accuracy, but before this
commit was only considering a coincident constraint. Now it also considers an endpoint
tangency or perpendicular.

delConstraintOnPoint with coincidentonly=false, was not checking endpoint perpendiculars and
would therefore fail to delete them.

https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&start=30#p265731
2018-11-04 14:43:24 -03:00
Abdullah Tahiri fe78c1a037 Sketcher: Expose mass datum commands to python 2018-11-04 14:41:20 -03:00
Abdullah Tahiri 2c41e70c91 Sketcher: Mass operations on dimensionals
=========================================

This commit introduces two functions to operate on all datum constraints exclusively:

- Make all datum constraints driving or not driving, depending on the argument.
- Move all datum constraints at the end of the constraint list.

The practical use an ongoing effort towards improving the block constraint behaviour, that will be defered to 0.19
2018-11-04 14:41:20 -03:00
Abdullah Tahiri 6a1aed66e2 Sketcher: Refactor code relating to dimensional constraint checks 2018-11-04 14:41:20 -03:00
Abdullah Tahiri 8e2e5d7b6a Sketcher: Made constraints aware of whether they are dimensionals or not
========================================================================

Centralise the knowledge on whether a constraint is dimensional or not within the constraint
2018-11-04 14:41:20 -03:00
marvellouschandan 071bc89cf1 Indentation error solved 2018-11-04 14:38:45 -03:00
marvellouschandan 2765ed4792 Resolved issue: Exporting rectangular section to ifc 2018-11-04 14:38:45 -03:00
Yorik van Havre 90a1f4ad1c Draft: Fixed py3 bug in getSVG 2018-11-04 15:36:07 -02:00
wmayer c3014fc65f fix blocking of SelectionObserver 2018-11-04 11:54:40 +01:00
luz.paz 4c2f2cd210 Misc. typos and whitespace
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm,./ChangeLog.txt" -I ../fc-word-whitelist.txt` and `grep`. Excess whitespace auto-removed by Atom editor.
2018-11-03 16:13:06 -03:00
wmayer 5ff383b46c fix gcc8 build failure 2018-11-02 18:57:43 +01:00
Yorik van Havre 684b4ab03a Draft: Fixed wrong Placement of Draft Wire - fixes #3558 2018-11-01 14:42:52 -03:00
Przemo Firszt e4b1cfc430 Fix COPR build and remove fedora specific xdg files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-11-01 10:50:07 -03:00
wmayer e86f7caea8 Improve TaskAttacher dialog:
+ correct handling of active document
+ properly handle case if the view provider or document is deleted while the dialog is still open
2018-10-31 14:29:42 +01:00
wmayer 347f99364d add/extend helper classes to safely access documents, document objects or view providers 2018-10-31 14:27:28 +01:00
wmayer 40cec5f72a add/extend helper classes to savely access document, document objects or view providers 2018-10-31 11:24:45 +01:00
wmayer 0c8da1c38a add an assert to several Command methods to be notified in debug mode if no active document exists 2018-10-31 11:21:33 +01:00
wmayer f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer 3858b179c3 improve whitespaces 2018-10-30 13:48:00 +01:00
Abdullah Tahiri e10068a648 Sketcher: Trimming support bug
==============================

OCCT Geom2dAPI_InterCurveCurve based intersector does not detect intersection with the endpoint of a tangent line:
https://tracker.dev.opencascade.org/view.php?id=30217

This is a work-around that introduces endpoints of secondary curves as intersections, and uses projection to reject
projections further away than precision::confusion().

fixes #2463
2018-10-30 13:41:40 +01:00
wandererfan 408c31634f Fix BSpline/Circle conversion 2018-10-30 13:25:33 +01:00
wandererfan f0420d6cbd Add formatter for gp_Pnt 2018-10-30 13:25:33 +01:00
wmayer 2f4b61dacb fixes -Winconsistent-missing-override 2018-10-30 13:21:59 +01:00
kreso-t cd34f3d127 Path: Adaptive - set as standard feature
- i.e. removed from experimental features
2018-10-29 23:29:08 +01:00
kreso-t 976e804e2c Path: Adaptive - fix for path cleaning
- fix for side-effect introduced by last change
(completely collinear paths were filtered out)
2018-10-29 23:29:08 +01:00
Clemens Weissbacher 6e7beb1a0b py3: OpenSCAD: fix type cast 2018-10-29 17:18:13 +01:00
Clemens Weissbacher 1be9f18b52 py3: OpenSCAD: use io.open more explicit 2018-10-29 17:17:53 +01:00
wmayer 1538a14eca leave license field and url of a Part container empty to avoid possible confusion with imported 3rd-party STEP/IGES models 2018-10-29 15:24:12 +01:00
wandererfan 2b84be64cc Fix spurious error message
-  in FeatureGroove, the check for multiple
   solids in result was checking the wrong
   variable.
2018-10-29 10:29:23 -03:00
kreso-t c2f2db8b56 Path: Adaptive - finishing path improvements
- fixed bug in path cleaning (artifacts on the finish path)
- increased path discretization resolution
2018-10-29 10:28:54 -03:00
wmayer 1e7aa1becf fix crash with Py3 when releasing memory buffer 2018-10-29 11:59:34 +01:00
wmayer 42c5b2e9ca fixes 0003657: automatic rotation disabled by default 2018-10-28 20:45:02 +01:00
wmayer 53ba33a805 fix -Wunused-private-field 2018-10-28 18:58:38 +01:00
Abdullah Tahiri 1d86a83b30 Sketcher: Fillet UI command Improved exception handling 2018-10-28 18:35:41 +01:00
Abdullah Tahiri 957c22a61a Sketcher: Fillet extended CAD kernel information 2018-10-28 18:35:27 +01:00
Abdullah Tahiri 044e0f6c20 Sketcher: Use transparent exception mechanism for fillets
=========================================================

This ensures that the exception back in the c++ that invoked python retains the type of exception and can be properly catched.
2018-10-28 18:34:50 +01:00
Abdullah Tahiri 7effa68eeb Part: Geometry use CADKernelError exception for OCCT
====================================================

Part of the geometry was using CADKernelError and part was using RunTimeError exceptions, so unify criteria.

Runtime is very generic and does not need to stem from OCCT.

- Also rename of a typo basic to basis, to be coherent with OCCT terminology
2018-10-28 18:34:36 +01:00
Abdullah Tahiri 4b9d90321a Sketcher: GUI command updated to support filleting of bounded curves 2018-10-28 18:34:23 +01:00
Abdullah Tahiri f1a98c3101 Sketcher: Support for filleting bounded curves
==============================================

Generally, bounded curves require that the curves are coincident at one point, the vertex to be filleted.

Trimmed curves, like combinations of line segments, arcs of conics, do not require it, as they are able to extend the trimmed
curve using the basis curve. However, they work fine when there is such a coincidence.
2018-10-28 18:34:12 +01:00
Abdullah Tahiri 649d115afb Part: Geometry New Bounded-Trimmed-curve inheritance
====================================================

The new hierarchy is as this:
GeomArcOfConic:GeomTrimmedCurve:GeomBoundedCurve:GeomCurve

A bounded curve is one having a start and endpoint, like an arc, a line segment, or a b-spline

A trimmed curve is one arising from trimming a basis curve, line an arc or a line segment, but NOT a b-spline.

An arc of Conic is one arising from a conic section, line an arc, but neither a line segment, nor a b-spline.

This new hierarchy enables a more consistent handling of geometry and it is closer to the OCCT hierarchy.
2018-10-28 18:33:58 +01:00
Abdullah Tahiri 0ed7b1d691 Part: Geometry - refactoring of intersection code 2018-10-28 18:33:45 +01:00
Abdullah Tahiri c946de8fb4 Part: Geometry - intersection - checkendpoints
===============================================

Extrema algorithms sometimes fails when coincident endpoints

I am not sure if it is a bug in OCCT or it is just not intended.

This commits adds an extra check to add endpoints if within tolerance.
https://forum.freecadweb.org/viewtopic.php?f=10&t=31700
2018-10-28 18:33:32 +01:00
Abdullah Tahiri 4d1e981138 Part: Geometry GeomTrim Geomline segment type
=============================================

Make line segment inherit from GeomTrim. This allows seamless management of trimmed curves.
2018-10-28 18:33:19 +01:00
Abdullah Tahiri 396998467b Part: Geometry intersect routines throw when OCCT throws 2018-10-28 18:32:42 +01:00
Abdullah Tahiri 7c1a218847 Sketcher: Inter-trimmed-curve filleting
=======================================

Algorithm changed to use offset curves, so as to avoid moving geometry in the sketcher.
2018-10-28 18:32:30 +01:00
Abdullah Tahiri b1858f2cf4 Part: Geometry Arcs inheriting from GeomTrimmedCurve 2018-10-28 18:32:15 +01:00
Abdullah Tahiri 0aa3da513a Sketcher: filleting arcofconic-arcofconic command 2018-10-28 18:32:02 +01:00
Abdullah Tahiri 44c5f1a67e Sketcher: Fillet support inter-conics
==============================================

Specific support for filleting between conics.

It does not support B-Splines or line segments.
2018-10-28 18:31:48 +01:00
Abdullah Tahiri 8b97a31372 Part: Geometry refactoring
==========================

python c+ wrapper to use twin class c++ function instead of duplicating the code
2018-10-28 18:31:35 +01:00
Abdullah Tahiri 9e349c33a8 Part: Geometry - improvements/bug fixes
=======================================

routine for closest parameter to point was failing on endpoints. The former version
used the parameter of the basis curve, which sometimes was giving parameter values
incoherent. This version uses distance to endpoints when a projection on the trimmed
curve can not be found.
2018-10-28 18:31:22 +01:00
Abdullah Tahiri f301feec31 Part: New routines for curve intersection 2018-10-28 18:31:06 +01:00
Yorik van Havre 4c9356f0f5 Arch: Finished implementing color support for Arch Reference 2018-10-28 13:57:05 -03:00
Yorik van Havre a3729d5ca9 Arch: Support part colors in Reference 2018-10-28 13:57:05 -03:00
wmayer 17c783051b extend FreeCAD.getUserMacroDir to accept boolean to either return actual or default macro directory 2018-10-28 17:10:10 +01:00
lorenz e517c00d9b py3: Fem: remove extra b'ees
https://forum.freecadweb.org/viewtopic.php?f=18&t=30954
2018-10-28 15:13:30 +01:00
wmayer 465152bcc9 fix crash in debug mode in sketcher in case the equation matrix has rank zero 2018-10-28 14:51:14 +01:00
wmayer 4362ddc797 Raytracing: Fixed search locations of povray 2018-10-28 13:09:25 +01:00
wmayer 907cdb8fa0 add module for Qt translation stuff 2018-10-28 12:58:14 +01:00
Yorik van Havre 57726db47f AddonManager: minor bugfix 2018-10-27 16:15:55 -03:00
Yorik van Havre 7fabfde0ef py3 compatibility fixes 2018-10-27 16:04:51 -03:00
wmayer b6712e264a fix crash with Py3 when releasing memory buffer 2018-10-27 19:58:54 +02:00
wmayer 3b1e1f8859 remove trailing whitespaces 2018-10-27 18:12:36 +02:00
wmayer 3443fd9661 replace deprecated failUnless with assertEqual 2018-10-27 17:44:37 +02:00
ickby b262cf6e9f Persistence: Incorporate review feedback 2018-10-27 16:15:39 +02:00
ickby c60364772a Persistence: Test cases for content dump
It turned our that the document could not be dumped as the xml specifier was used as first element. As the dumping added the <content> element around it was invalid. However, content is required to read properties. Hence the xml element generation was moved.
2018-10-27 16:15:30 +02:00
ickby f5fc291ecd Persistence: Avoid copy of data on binary restore 2018-10-27 16:15:20 +02:00
ickby 4a7d49f8b6 Persistence: Enable binary dumps of properties 2018-10-27 16:15:09 +02:00
ickby fd378bbc8d Persistence: Implement dumping of binary content 2018-10-27 16:14:59 +02:00
wmayer 2af5a983a2 unit test for / operator of Quantity 2018-10-27 15:58:40 +02:00
wmayer 83f61b4372 implement true divide handler of the number protocol for Quantity 2018-10-27 15:27:27 +02:00
George Shuklin 7ec3984cbe Add support for dLabel.ViewObject.Line
If it's false, do not draw line (and arrow), text only
2018-10-26 19:25:44 -03:00
George Shuklin 9543d54647 Add arrows to dLabel getSVG, minor style cleanup 2018-10-26 19:25:44 -03:00
George Shuklin 3a85a1fd41 Add line for annotation (no arrow yet) 2018-10-26 19:25:44 -03:00
George Shuklin 3391a5ea4b Initial work, only text (no lines) 2018-10-26 19:25:44 -03:00
wmayer 76590be8ac improve call tips window 2018-10-26 19:37:16 +02:00
wmayer 4cff87ed57 add functions to customize NaviCube 2018-10-26 15:51:03 +02:00
triplus 10cd4cc7af Hide Draft tray toolbar
Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=3&t=31720
2018-10-26 04:26:20 +02:00
wandererfan 4fa707f46d Respect "InvertZoom" parameter 2018-10-26 00:49:53 +02:00
wandererfan 9c1587cfad Fix delayed rotation of DVP based Views 2018-10-26 00:49:53 +02:00
wandererfan b2135da447 Workaround for #3332 2018-10-26 00:49:52 +02:00
luz.paz 0660fd737c Reverting partial commit 2a53eb043 2018-10-26 00:47:18 +02:00
wmayer 33663d134d make the methods highlightSelection/unhighlightSelection virtual 2018-10-26 00:40:20 +02:00
wmayer 41ca90d223 Do not use a view provider's bounding box node when handling BoundBox selection style because it leads to some inconsistent behaviour.
Instead let SoBoxSelectionRenderAction render the bounding box.
2018-10-26 00:39:15 +02:00
Yorik van Havre b11ed19f8d Arch: Make section planes claim their children in the tree 2018-10-25 12:13:16 -03:00
Yorik van Havre f1e3ec88c6 AddonManager: Fixed missing files in cmake 2018-10-25 12:02:46 -03:00
Yorik van Havre 8ffd8c2901 Arch: Fixed bug in Site 2018-10-25 11:59:22 -03:00
luz.paz b78a6b57fa Another typo fix 2018-10-25 11:06:28 -03:00
luz.paz 0500bcbda3 Requested revision 2018-10-25 11:06:28 -03:00
luz.paz 2a53eb0432 Please review these and then I'll squash all in to one commit 2018-10-25 11:06:28 -03:00
luz.paz f976a4f734 Misc. typos and whitespace fixes
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt` and `grep`
2018-10-25 11:06:28 -03:00
Gaël Écorchard 968ce141d0 [AddonManager] Fix Python 2 bug with list comprehension 2018-10-25 11:04:43 -03:00
Gaël Écorchard 2506f5b207 [AddonManager] Strip whitespace from other_files
Strip whitespace from the file name in the macro metadata __Files__
field.
2018-10-25 11:04:43 -03:00
Gaël Écorchard 37b738f86f [AddonManager] Add support for __Files__
Read the metadata __Files__ for macros from git and install or remove
files listed there.
__Files__ must be a comma-separated list of files to be copied alongside
the macro.  Their path must be relative to the macro (*.FCMacro file)
and not to othe root of the repository. Each file can be prefixed with a
subdirectory.
2018-10-25 11:04:43 -03:00
Gaël Écorchard bac786a8ea [AddonManager] separate the Macro class
Separate the Macro class of the AddonManager into addonmanager_macro.py
to prepare for future support for dependent files for macros from the
git repository.
2018-10-25 11:04:43 -03:00
Clemens Weissbacher cef825c567 py3: OpenSCAD: make Mod/OpenSCAD python3 compatible 2018-10-25 11:03:36 -03:00
Clemens Weissbacher 54f88cc75c py3: Arch: fix import urllib2 problem 2018-10-25 11:03:36 -03:00
pekkaroi ae9786253c PATH Fix bug on finding minimum Z on DressupRampEntry 2018-10-25 11:02:02 -03:00
lorenz d3df5d979a py3: Arch: try to fix unicode problem 2018-10-25 11:01:03 -03:00
Bernd Hahnebach d449f7f8c0 FEM: nonlinear material, small fix in setting solver attributes 2018-10-25 11:00:07 -03:00
Bernd Hahnebach 96f515748b FEM: ccx solver task panel run, return error if CalculiX has finished but there are errors in output. Happens on nonpositive jacobians 2018-10-25 11:00:07 -03:00
Bernd Hahnebach 341b72bea8 FEM: ccx tools, small improvements if nonpositive jacobians are in the mesh 2018-10-25 11:00:07 -03:00
luz.paz a22a0d4567 FEM: file headers, fix .cpp and .h header text 2018-10-25 11:00:07 -03:00
wandererfan 733dae2b3d Update context menu
- Page context menu was left over from
  Drawing module. Now updated with
  appropriate actions.
2018-10-25 10:58:53 -03:00
wandererfan 650404c17f Reduce unnecessary updates to QGraphicsScene
- Views were being redrawn unnecessarily on
  changes to selection status. Views are now
  redrawn only if the item's selection status
  is different from the desired state.
2018-10-25 10:58:53 -03:00
wandererfan 24f43527f5 Use circles for circular BSplines 2018-10-25 10:58:53 -03:00
wmayer 2004653fe4 check for existence of PySide stuff when defining convertWrapperToQuantity 2018-10-24 23:12:59 +02:00
wmayer 36029e96d6 restore shiboken wrapper for Base::Quantity 2018-10-24 22:27:59 +02:00
wmayer be586d089e improve whitespaces 2018-10-24 19:41:21 +02:00
wmayer a53027342e rework error handling mechanism 2018-10-24 19:38:43 +02:00
Yorik van Havre ea4fb69e4e Arch: Prevent exporting materials as IFC objects 2018-10-24 14:22:38 -03:00
Yorik van Havre 46b152669b Draft: fixed bug in delay system when passing a function with False as argument 2018-10-24 14:22:11 -03:00
Yorik van Havre 3969400a11 Draft: Don't show the Draft tray bar automatically 2018-10-24 12:23:20 -03:00
Amritpal Singh 74a6bb4253 Updated Draft Dimension object. 2018-10-24 11:06:17 -03:00
Yorik van Havre c78ebdec42 Draft: Set normal direction of dimensions to (0,0,1) by default 2018-10-23 22:18:26 -03:00
wmayer 75ee3e4c25 suppress error message if while restoring a document one of the lines or planes of an origin cannot be found 2018-10-23 23:12:25 +02:00
wmayer 27615abce1 implement a direct way to set single or double precision when writing/reading properties using floating point numbers 2018-10-23 19:38:03 +02:00
wmayer 8678f74dc6 allow to access NaviCube of 3d viewer 2018-10-23 12:47:11 +02:00
wmayer 7c4ab45e31 cache supported languages in order to make preferences dialog open faster 2018-10-23 12:44:43 +02:00
wmayer 409fec05c9 improve whitspaces 2018-10-23 12:43:47 +02:00
kreso-t 70fef39341 Path: Adaptive - finish depth option added
implemented the same way as in other path area operations
reusing the PathUtils.depth_params class
2018-10-22 15:41:18 -03:00
wandererfan 31a9ae655f Fix crash on RevertDocument
- MDIViewPage was not being deleted when document
  was closed. On reload, stale MDIViewPage was using
  old object pointers.
2018-10-22 15:39:01 -03:00
Martin Kroeker 13584d64fb py3: cannot take len() of zip() object directly 2018-10-22 15:38:16 -03:00
wandererfan 9f2ad88ded Upgrade test for BSpline is Line 2018-10-22 15:34:13 -03:00
wandererfan 3ca8eb0989 Use Page Label for Tab Text 2018-10-22 15:34:13 -03:00
wandererfan 8280d551a9 Fix Rotation not applied after restore
- DrawAnnotation was not applying Rotation
  property after restore from saved file.
2018-10-22 15:34:13 -03:00
Peter Eszlari 8933374b4d Linux: add XDG metadata files 2018-10-22 15:29:53 -03:00
looooo 44c2f19e38 py3: Draft: use proper way to test if property is available
if the attribute is not available py3 raises: `<class 'AssertionError'>: The enum is empty`. For py2 hasattr simple returns False. Similar changes should be applied also to other places.
2018-10-22 15:25:00 -03:00
wmayer 9bb360bb75 fix bug in PropertyPlacementList::RestoreDocFile 2018-10-22 12:06:54 +02:00
wmayer 1243b2543e put USE_OLD_DAG around use of backlinks 2018-10-22 12:06:22 +02:00
wmayer a8b7390805 fixes 0003486: Improve VRML export for more complex structures 2018-10-21 20:53:19 +02:00
wmayer c950d1f093 improve whitespaces 2018-10-19 22:25:55 +02:00
wmayer 7b86681678 fixes 0003638: Importing CSV-files produces an empty spreadsheet without the data 2018-10-18 23:32:32 +02:00
wmayer 3a6afac8b2 improve whitespaces 2018-10-18 23:31:55 +02:00
looooo 1e6818b6fb py3: arch: fix unicode problems #3590 2018-10-17 11:28:16 +02:00
wandererfan a281832627 Change tool from cylinder to prism
- cutting with cylinder produced too many
  short bsplines from HLR.  Straight cut
  from prism reduces these and speeds up
  HLR significantly.
2018-10-17 11:25:49 +02:00
Przemo Firszt 5eac507240 Add conditional python-matplotlib requirement depending on fedora ver
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-10-17 11:24:33 +02:00
Przemo Firszt 162dfe5737 Set revision and url in nightly builds
This is quick & dirty fix to a problem with revision number and date when
building from the tarball. The tarballs don't have all the git info
required to recognise build type and set revision/date properly, so it
will be done "manually" using sed. That change doesn't affect anything
except fedora rpmbuild or COPR builds.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-10-17 11:24:33 +02:00
Bernd Hahnebach 5e3b10c92f FEM: code formating, cut lines with more than 200 diggits 2018-10-17 11:23:05 +02:00
Bernd Hahnebach 40d0db3176 FEM: ccx solver, add gemetry check analysis 2018-10-17 11:23:05 +02:00
Bernd Hahnebach 76cc1308e1 FEM: print message, fix 2018-10-17 11:23:05 +02:00
Bernd Hahnebach 5981cf07b1 FEM: inout modules, delete not used and not needed variable 2018-10-17 11:23:05 +02:00
luz.paz f5523dd830 FEM: Typos 2018-10-17 11:23:04 +02:00
luz.paz d6d7b36aeb FEM: Grammar and organization fixes 2018-10-17 11:23:04 +02:00
wmayer 1c1dfe2215 whitespace improvement 2018-10-17 11:20:18 +02:00
wmayer 0b12ceec84 make constraint validation consistent to evaluation 2018-10-16 23:21:40 +02:00
wmayer 20298c45d2 set the cloned shape the tip of the created body 2018-10-16 19:39:07 +02:00
wmayer 0c63ab4234 remove unused shiboken wrapper for Base::Quantity 2018-10-16 19:31:33 +02:00
wmayer 47536dcd37 enable FREECAD_RELEASE_PDB by default, cleanup cmake file, improve whiespaces 2018-10-15 20:11:58 +02:00
wmayer 19b399015e fix possible build failure if oCCT is not used 2018-10-15 20:10:42 +02:00
wmayer 9d3ad415aa add option to save document directly to target file 2018-10-15 20:09:43 +02:00
wmayer e79a19828e avoid to degenerate the view frustum if there is only a single point in the scene 2018-10-15 14:08:46 +02:00
wmayer c6745d1b5b fixes 0003610: App::PropertyFloatList not updating in Spreadsheet 2018-10-13 14:02:03 +02:00
wmayer 571f75204a fixes 0003341: Undoing is missing steps 2018-10-13 12:21:17 +02:00
wandererfan cb30a82969 Fix #3634 Lost formatSpec on save/restore 2018-10-13 02:10:53 +02:00
wmayer 715ab0596e remove unused checkbox from Placement dialog 2018-10-13 01:51:05 +02:00
mwganson e1c18f0153 shorten placement dialog height so there is not so much scrolling required 2018-10-13 01:36:25 +02:00
mwganson 404f9e019d placement task -- for user's convenience copy distance or angle to clipboard when user shift+clicks Selected points button 2018-10-13 01:11:39 +02:00
wmayer 7527c7d149 fix -Wunused-variable 2018-10-12 22:17:29 +02:00
luz.paz 125f41e3e8 Misc. typo fix
Found via `codespell`
2018-10-11 16:21:28 -04:00
wandererfan f6e9faa62c Fix #3623 Display of Ft/In Dimensions 2018-10-11 21:59:20 +02:00
wandererfan eaf987625e Correct tree icon for Angle3Pt 2018-10-11 21:59:05 +02:00
wandererfan a373280946 Add @mario52's templates 2018-10-11 21:58:47 +02:00
wmayer 22ddbe0f8d fixes 0003632: Drawing lines on top of an image will not save the work (Reason: ' &' in the file name) 2018-10-11 21:50:32 +02:00
wmayer 68c644104a implement mustExecute for Raytracing features 2018-10-11 15:51:11 +02:00
wmayer 23d64fa7b7 fixes 0003629: FEM, input file is not written if the FreeCAD document name has none standard letters 2018-10-11 12:40:16 +02:00
wmayer ae7c53b951 Py3: fix opening file 2018-10-11 12:06:07 +02:00
wmayer 04faa8f497 + fix cutting or selecting mesh in perspective projection mode 2018-10-11 10:48:27 +02:00
Amritpal Singh ff05101b68 Fixed FreeCAD crashes. 2018-10-10 10:45:57 -03:00
wmayer 6178c79581 implement Cut, Copy, Paste messages in SheetView 2018-10-10 08:25:34 +02:00
wmayer 22513600dd implement cut/copy/paste in spreadsheet view 2018-10-09 00:02:53 +02:00
wmayer 0e948db5a3 Win32-specific optimization in Points module 2018-10-08 18:50:03 +02:00
Abdullah Tahiri e66849378b Sketcher: Avoid transfering angle constraints
=============================================

Angle constraints are internally coded using the diverging points of the segments (PointPos != none) in normal 2 segment angle constraints.

This creates a problem with the mechanism to transfer enpoints on angle deletion.

fixes #3589
2018-10-08 15:16:27 +02:00
wmayer dc023afc84 emit signal when starting and finishing to save a document 2018-10-08 14:03:00 +02:00
wmayer 4ac34d06a8 minor fixes 2018-10-08 12:27:03 +02:00
luz.paz 1f3905810c typo/grammar fixes 2018-10-08 11:06:41 +02:00
ickby 11a569b6b4 Make document observer testcases work in cmd line mode 2018-10-08 11:06:25 +02:00
ickby 3e3bfbabf5 Expose edit signals to Gui observer 2018-10-08 11:06:04 +02:00
ickby a0de8c9a62 Add python document observer for GUI documents 2018-10-08 11:04:56 +02:00
ickby fb95e3247d Expose dynamic property signals to python observer 2018-10-08 11:02:31 +02:00
ickby 7ec4fb357c Improve document observer tests by checking parameters of each call, not only the last one 2018-10-08 11:01:52 +02:00
ickby f68e36de41 Expose document property changes to python document observer 2018-10-08 11:01:07 +02:00
ickby e91de65df0 Fix and test the new signals 2018-10-08 10:58:39 +02:00
ickby 238c8a8567 Expose onBeforeChange to python document observer 2018-10-08 10:52:52 +02:00
Stefan Tröger 0edf6892b3 Expose transaction events to document observer 2018-10-08 10:49:39 +02:00
Stefan Tröger 2a15d8fc3a Add signals for recomputed objects 2018-10-08 10:43:32 +02:00
Priit Laes 64e9c4ea5a travis: ccache compilation also requires xsltproc 2018-10-08 10:40:13 +02:00
Priit Laes c6b1bdd297 travis: Install eigen3 via package from Ubuntu repository 2018-10-08 10:40:03 +02:00
Priit Laes ba85adf78c travis: Drop references to Ubuntu 12.04 2018-10-08 10:39:53 +02:00
Priit Laes ee3456fd88 travis: Reduce number of packages installed via apt
Use `--no-install-recommends` to only install needed packages.
2018-10-08 10:39:35 +02:00
mwganson 876c65157d issue 3443, suppress generation of new document when documents are loaded via command line 2018-10-07 23:27:44 +02:00
wmayer 84aa87c852 keep corner of navi cube when changing language 2018-10-07 22:39:33 +02:00
wmayer 8e084199d9 improve trace support of Shape binder 2018-10-07 22:11:53 +02:00
wmayer 84280330aa print warning also in release mode if an object is still touched after recompute 2018-10-07 22:09:44 +02:00
wmayer be8b1b52c1 fix ObjectStatusLocker and StateLocker to support nested calls 2018-10-07 22:04:27 +02:00
paullee 3de3ac3994 Tweak makeRailing(None) to (re)-create Railing and insert back to Stairs.Additions
Discussion:-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&p=260767#p260767
2018-10-07 13:48:33 -03:00
paullee c825cca145 Default Stairs (i.e. without Base Dwire etc.) also have Railings created
Discussion:-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=55d32dc42111afa6c7fdf7b0fc0f3ab7&start=90#p260764
2018-10-07 13:48:33 -03:00
paul 1e23a42068 Merge pull request #1 from luzpaz/ArchStairs_Improvement_9
Typo fix for Archstair_Improvement9
2018-10-07 13:48:33 -03:00
wmayer 294100d95e for inner loop use a different iterator variable than for outer loop, remove superfluous argument from Message() 2018-10-06 19:42:58 +02:00
mwganson 3d833e52df placement dlg - do reselection prior to updating center coordinates -- prevents other object moving if apply incremental changes is not enabled 2018-10-05 16:14:17 -05:00
wmayer f84971fca2 avoid throwing exception in intersectCC 2018-10-05 22:17:20 +02:00
wmayer f5befc75ce improve unicode handling when setting Start page 2018-10-05 15:36:34 +02:00
wmayer d9e4c727db improve mesh decimation 2018-10-05 15:07:27 +02:00
lorenz 795e261be6 StartPage - handle should always return unicode 2018-10-05 11:33:30 +02:00
lorenz c159f9abad py3: fix unicode problem 2018-10-05 11:33:17 +02:00
Markus Lampert 6848a3c116 Removed experimental wb from build 2018-10-05 11:30:45 +02:00
Markus Lampert 78863e2698 Added comment about the correctness of cloning a clone - lest I not attempt to /fix/ it again 2018-10-05 11:30:45 +02:00
Markus Lampert 0e9bbf401c Cleaning up startEditing/finishEditing/isEditing 2018-10-05 11:30:45 +02:00
Markus Lampert 1a6665c0f4 Changed view providers to use Gui.Document.setEdit to start the editor for a new object. 2018-10-05 11:30:45 +02:00
mwganson 2c09277763 sketcher: clear selection after failed addExternal geometry to prevent crash 2018-10-05 11:26:07 +02:00
wmayer 48ec50db38 fix segfault in ExpressionDelegate in case constraint property is invalidated 2018-10-04 23:34:19 +02:00
wmayer a0916a9a66 avoid re-throwing an exception in case normal is not defined 2018-10-04 23:31:55 +02:00
wmayer 7949cd84ef fix possible crashes in sketcher commands due to wrong casts 2018-10-04 19:45:20 +02:00
wmayer abb56c35d0 0003544: Crash on creation of vertical dimension with Shift + V 2018-10-04 18:37:33 +02:00
wmayer b7f7c16e6c fix header include 2018-10-04 16:49:04 +02:00
mwganson 5811bc5f24 placement task - align buttons better 2018-10-04 16:26:31 +02:00
mwganson a520eb6342 placement - show complementary angle as float 2018-10-04 16:26:22 +02:00
kreso-t cc0dbb58e5 Path: Adaptive - adjustments to path smoothing 2018-10-04 16:23:20 +02:00
Yorik van Havre da9c652782 Start: Write test page in non-binary format 2018-10-04 11:11:48 -03:00
wmayer ebec4cd5e2 fix freeze when editing empty sketch 2018-10-04 00:34:06 +02:00
wmayer 93d9f16588 in topologicalSort check for valid iterator 2018-10-04 00:33:19 +02:00
Yorik van Havre 58b80f5389 Arch: bugfix in PanelCut 2018-10-03 16:37:28 -03:00
Yorik van Havre 1dfdaca5d3 Raytracing: Fixed search locations of povray 2018-10-03 16:33:41 -03:00
Yorik van Havre 27c80884a1 Start: Fixed freeze when trying to read corrupt fcstd file 2018-10-03 16:33:11 -03:00
Yorik van Havre a6f7ca483e Arch: Added a CutOffset property to PanelCut object to be able to move the cut plane 2018-10-03 16:04:01 -03:00
wmayer 8bf9d368a4 avoid multiple spaces in property name 2018-10-03 18:48:10 +02:00
wmayer e2ddabf235 returning a boolean from setEdit/unsetEdit of a Python view provider indicates a handled edit mode, None indicates to forward it to the C++ view provider 2018-10-03 17:39:22 +02:00
markus a4b0bdf33d Fixed context menu for PathIconViewProvider 2018-10-03 16:49:26 +02:00
markus 293ac55262 Fixed path model double click 2018-10-03 16:49:19 +02:00
markus 868baa6dd2 Return NotImplemented on PythonFeature::setEdit if the setEdit is implemented and returns True for one of the standard, not Default, edit modes 2018-10-03 16:49:10 +02:00
wmayer 5b85233a58 remove useless methods startEditing/finishEditing/isEditing from Python wrapper of view provider
add attribute to access document from view provider
2018-10-03 16:31:58 +02:00
wmayer 41f0dc1fe8 support of user defined Povray or Lux templates 2018-10-03 14:29:34 +02:00
wmayer 39d072bf82 fixes 0003621: Additive and subtractive loft preview not showing during creation 2018-10-03 12:40:43 +02:00
wmayer a03f8b7e49 improve whitespaces 2018-10-03 12:40:13 +02:00
luz.paz b8c50dc0f9 Fixed misplaced word 2018-10-02 21:05:31 +02:00
luz.paz 2de755186b Misc. typo fixes
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt`
2018-10-02 21:05:22 +02:00
mwganson fae5b4f7f7 Placement dialog - more consistent axis direction based on order of selection 2018-10-02 21:03:51 +02:00
Abdullah Tahiri 65dd09d5e6 Sketcher: Grid visualization improvement
========================================

Now the Grid is calculated based on the maximum semiaxis length. Grid is recalculated on every redraw of the Sketcher.
2018-10-02 20:59:29 +02:00
Abdullah Tahiri dedd66e7f4 Sketcher: Axes visualization improvement
========================================

Axes size was bounded to the boundingbox of the underlaying 2D shape. However, this does not even get updated in no update mode and provides unreliable values.

The axes calculation now:
- is coded to be the same size and fully symmetric.
- is coded to be minimum 100 mm semiaxis, which gives a good impresion for empty sketches with default zoom.
- is coded to grow with the largest of the semiaxes.

fixes #3334
2018-10-02 20:59:10 +02:00
wmayer 93f06f8256 fixes 0003410: 0.17 Regression: recompute will make parts lose color and take a longer delay compared to FC0.16 2018-10-02 19:04:44 +02:00
Yorik van Havre 4cab61c54a AddonManager: Added Mario's macro execute button 2018-10-02 10:25:38 -03:00
Markus Lampert a7942fc3ec Fixed path tool controller context menu 2018-10-02 09:42:52 -03:00
Markus Lampert 04568dc6ee Cleaned up path op context menu 2018-10-02 09:42:52 -03:00
Markus Lampert 317de14d25 Fixed model edit 2018-10-02 09:42:52 -03:00
Markus Lampert 82b98588aa Fixed support for objects in the tree without a Proxy 2018-10-02 09:42:52 -03:00
Markus Lampert 840e904a12 Fixed context menu for PathJob 2018-10-02 09:42:52 -03:00
Markus Lampert dd2679bc46 Fixed PathSetupSheet task panel and added doc strings to the UI. 2018-10-02 09:42:52 -03:00
Markus Lampert cf2799ccd8 Refactored operation initialisation into separate module so it can be called from the WB and the Job UI. 2018-10-02 09:42:52 -03:00
wandererfan cc320aa802 Handle Straight Line BSplines 2018-10-02 09:42:16 -03:00
wandererfan b569120131 Add 3Point Angle Dimension 2018-10-02 09:42:16 -03:00
wandererfan 1578b05a98 Add option to reverse arrowheads on Dims 2018-10-02 09:42:16 -03:00
wandererfan f5668c77ae Move dimText Prefix to FormatSpec
- prefix was applied at every request for
  formatted value. Now prefix is applied
  to FormatSpec and can be overridden for
  things like screw dia. M6 vs (phi)M6.
2018-10-02 09:42:16 -03:00
wandererfan d2c2b35b6c Add over/under Tolerance to Dimensions 2018-10-02 09:42:16 -03:00
Yorik van Havre 1d3f3ab7ec AddonManager: Fixed macro copying and centre manager dialog over FC window 2018-10-01 19:19:52 -03:00
Yorik van Havre 0e6f14e86b Arch: bugfixes in reference tool 2018-10-01 18:36:29 -03:00
Bernd Hahnebach 6410c28ddb FEM: vtk, tools, better comments in header file 2018-10-01 17:53:30 -03:00
Bernd Hahnebach c7252e5efd FEM: vtk, import and export FC result, better log messages 2018-10-01 17:53:30 -03:00
Bernd Hahnebach dc41055741 FEM: vtk, import and export FC result, get the FC result properties for them from a seperate method 2018-10-01 17:53:30 -03:00
Bernd Hahnebach ffdfaafb98 FEM: in out and vtk, make use of stats calculations for vtk import 2018-10-01 17:53:30 -03:00
Bernd Hahnebach 3d86b69657 FEM: import tools, move stats calculation in separate method 2018-10-01 17:53:30 -03:00
Bernd Hahnebach f56afed06d FEM: vtk, import FC result, further code improvements 2018-10-01 17:53:30 -03:00
Bernd Hahnebach 702b999e48 FEM: vtk, import FC result, small code improvements 2018-10-01 17:53:30 -03:00
Bernd Hahnebach a6ae394c1a FEM: vtk, import FC result, get rid of needless essential property 2018-10-01 17:53:30 -03:00
Bernd Hahnebach e1b9ad2899 FEM: vtk, import FC result, move defs together 2018-10-01 17:53:30 -03:00
Bernd Hahnebach bc9de847f1 FEM: vtk, export FC result, move defs together 2018-10-01 17:53:30 -03:00
Bernd Hahnebach 23643f08dc FEM: vtk, import FC result, get rid of needles result types 2018-10-01 17:53:30 -03:00
Bernd Hahnebach b05d61b391 FEM: vtk, export FC result, small code improvements 2018-10-01 17:53:30 -03:00
Bernd Hahnebach 99855a1605 FEM: vtk, export FC result, get rid of needless result types
- an result is an result, we just gone export what we have
- a vtk result can consists of all kind of result types
2018-10-01 17:53:30 -03:00
wmayer c3a8348861 fixes 0003571: Offset3D of volumes intersection is not solid 2018-09-30 22:40:32 +02:00
wmayer caf78bbabf fixes 0003509: Create MultiTransform Feature from existing Transform Feature forces document migration 2018-09-30 18:14:22 +02:00
wmayer 46def65b44 make DAG view behave more nicely in case of cyclic graphs 2018-09-30 15:21:11 +02:00
wmayer dfe734f3f1 fix infinite recursion when creating dependency graph with loops 2018-09-30 14:56:47 +02:00
Yorik van Havre 496df34369 Arch: Finished base implementation of Reference object 2018-09-29 16:41:42 -03:00
Yorik van Havre 1fec4d0c51 Arch: Started implementing Arch Reference 2018-09-29 16:41:42 -03:00
wmayer 64b9c78b92 fix GeometryPy::setConstruction 2018-09-29 21:36:07 +02:00
wmayer 47dacf30d0 update resource file 2018-09-29 18:32:12 +02:00
Rafael e8c6007c8f Replace fem-post-filter-data-at-point PNGicon
Currently a FEM WB tool has a PNG icon in FreeCAD. This file is the
fem-post-filter-data-at-point.png The rest of the icons in FEM WB 
are SVG files. This PNG icon is from ParaView and it has a different
stile, compared with the other FEM icons. It would be good to have 
an original SVG icon for this tool.

This commit replaces the PNG file with a SVG file with a new design. 
This job was a request from the FEM WB developer, in the UX/UI Design
FreeCAD Forum.

The new SVG icon follows the FreeCAD Artwork Guidelines
- https://www.freecadweb.org/wiki/Artwork_Guidelines

The new design keep the stile of the other icons with similar function 
in the FEM toolbar
- https://www.freecadweb.org/wiki/File:Fem-DataAlongLine.svg
2018-09-29 18:30:50 +02:00
Abdullah Tahiri b73cbd739c Sketcher: Correct checking of compatible equality geometry
=========================================================

Before this commit equality line to circle is allowed although the solver can not process it.

Similar happens for several combinations of incompatible edges.
2018-09-29 18:18:42 +02:00
Abdullah Tahiri 80e4b36f37 Sketcher: No equality to be applied to external axes
fixes #3532
2018-09-29 18:18:02 +02:00
kreso-t d1eb5f19a8 Path: Adaptive - Small adjustment to link path cleaning 2018-09-29 18:12:45 +02:00
kreso-t 9a2338a2cf Path: Adaptive - small performance improvement
- related to linking path smoothing
2018-09-29 18:12:28 +02:00
kreso-t a9dfb16998 Path: Adaptive - improvements and bug fixes
- more accurate path smoothing
- fix for missing helix lead-in in some cases
- fix for cleaning of helix center point
- increased max allowed step-over to 75%
2018-09-29 18:12:09 +02:00
wmayer 96ea2d470e use toDegrees 2018-09-29 18:08:10 +02:00
mwganson c78321f347 ensure points.size() > 0 before accessing points[0], update selected points message 2018-09-29 18:08:10 +02:00
Mark Ganson TheMarkster 55e6ee6d20 add support for 3 picked points in placement dialog (#1) 2018-09-29 18:08:09 +02:00
mwganson cfe088400d add tooltip to apply axial button 2018-09-29 18:08:09 +02:00
mwganson 6b44ba59bb add axial movement to placement dialog 2018-09-29 18:08:09 +02:00
Yorik van Havre 17b568db17 Start: Added pref option to use gradient icon for new files 2018-09-29 12:52:04 -03:00
wmayer dc46910231 fix crash when creating a copy of datum object 2018-09-29 12:34:55 +02:00
Yorik van Havre 0d228bce02 Arch: Fixed edit mode of components 2018-09-28 16:13:01 -03:00
paullee 2cddbe5dab ArchPipe objects named as "Rail"
Discussion:
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&p=259085#p259085
https://github.com/FreeCAD/FreeCAD/commit/5f63a7764bc4372f26db244a10d0dd0bc39ed360#diff-fb9ac48ea14ab86d0e964fee1f4e4838
2018-09-28 13:18:40 -03:00
paullee 56378b5be8 Add Property 'Width of Landing'; set width of different 'edge' of a Landing
Discussion:
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=80#p257963
https://forum.freecadweb.org/viewtopic.php?f=22&t=29709
2018-09-28 13:18:40 -03:00
wmayer e605d5f4bf fix build failure for oCCT 7.2 or later 2018-09-28 15:36:17 +02:00
wmayer 27a4938d90 move class ExportOCAF to own source files 2018-09-28 15:06:46 +02:00
wmayer 95efad737b fixes 0003491: Import.export not preserving placement of Part Features in STP file export 2018-09-28 14:58:49 +02:00
wmayer 02ab1c9424 fixes 0003165: Color information lost in STEP export 2018-09-28 11:49:04 +02:00
wmayer 0812fb06df improve Python call tips window 2018-09-27 21:49:20 +02:00
wmayer 3d2d4bdfcb store Python attributes of all extension types in one dict 2018-09-27 21:48:30 +02:00
wmayer 1d1abb6d29 fixes 0003311: SketchObjectPython - no addGeometry addConstraints setDriving...? 2018-09-27 21:47:03 +02:00
wmayer 830caf34c0 fixes 0003547: Linear pattern, mirrored and polar pattern feature not working on a hole just on pocket 2018-09-27 13:30:30 +02:00
Bernd Hahnebach 13b45c9c79 FEM: revert ac1b037, it is based on a change which is not in master, not yet ;-) 2018-09-27 11:09:22 +02:00
wmayer 19cd040415 in linear pattern handle selected edge of a 2d part object 2018-09-27 11:04:30 +02:00
Bernd Hahnebach a0ff629747 FEM: vtk, post task boxes, add some comment 2018-09-26 22:43:07 +02:00
Bernd Hahnebach a905b63632 FEM: vtk fix, task panels, some enumerations are no longer set back on any open of the tp 2018-09-26 22:42:53 +02:00
Bernd Hahnebach de7ef263d2 FEM: vtk, initialize the enums of piplines VP 2018-09-26 22:42:40 +02:00
Bernd Hahnebach 5fc337baf5 FEM: vtk fix, remove scaling of vtk results
- only displacements had been scaled, all other results remained untouched
- if the results should be scaled all results needs to be scaled
- this includes all possible result types with their units
2018-09-26 22:42:26 +02:00
Bernd Hahnebach b0f65e45ba FEM: SMESH, update internal version number 2018-09-26 22:42:13 +02:00
Bernd Hahnebach ac1b0371e1 FEM: input filewriter base class, remove no longer working mesh shape property, has been replaced by part 2018-09-26 22:41:56 +02:00
furti f054788a9e Make Part_Measure_Clear_All icon more intuitive
Previously the icon was made up of a tape measure and a pencil. But pencil
icons normally mean editing something. It was not clear that this icon was
meant to delete all the measurements.

This commit replaces the pencil with a red X to make clear it deletes
something. The X was taken because existing delte icons in FreeCAD also
use a red X.
 - https://www.freecadweb.org/wiki/File:Mesh_Remove_Components.svg
 - https://www.freecadweb.org/wiki/File:OpenSCAD_RemoveSubtree.svg
 - https://www.freecadweb.org/wiki/File:Delete.svg
2018-09-26 22:39:26 +02:00
wmayer 7fc487ae6f fixes 0003465: Groups breaking dependency graph 2018-09-26 22:21:52 +02:00
wmayer 00bf21dc26 fixes 0003618: FEM, GUI, mesh view provider, highlighted node show wrong node number on selection 2018-09-26 19:59:32 +02:00
Clemens Weissbacher 0c744f2517 FEM: fix an error handling issue, caused by an non existing variable 2018-09-26 17:15:03 +02:00
paullee fc09738579 ArchStairs: Fix HalfTurnLeft error/bug 2018-09-26 17:10:42 +02:00
kreso-t 1e53a8f479 Fix for crash on windows env. 2018-09-26 17:05:29 +02:00
kreso-t 27f9a69f24 Path: Adaptive - small improvement
- tendency to join cuts when possible
2018-09-26 17:05:05 +02:00
Zheng, Lei 35f6a4fa72 Path.Area: fix offset pocket mode 2018-09-26 17:02:36 +02:00
wandererfan df0eb076a6 Better error messages for bad selections 2018-09-26 17:00:07 +02:00
wandererfan f9b9de42dd Add Peppino's ISO7200 templates 2018-09-26 16:59:49 +02:00
wandererfan 859fed207d Fix double scaling in DPG AutoScale 2018-09-26 16:59:39 +02:00
wandererfan 3163c3d6f5 Fix late repaint of secondary views
- when ScaleType=Automatic and Scale changes
  individual views were not being repainted until
  next document recompute.
2018-09-26 16:59:12 +02:00
wandererfan db593f2169 Suppress spurious message
- was reporting "pattern not found" even if
  hatch source file was not a .pat file.
2018-09-26 16:59:00 +02:00
wandererfan 6b9c1e89d1 Show full width Edges around Section Face
- Section Face was hidding 1/2 of Edge if "Show Section
  Edges" was set to false.
2018-09-26 16:58:52 +02:00
wmayer 57cc33c8ee fixes 0003427: Measurement tool measures wrongly 2018-09-26 16:37:00 +02:00
wmayer dd492d7484 fixes 0003373: 'Save a copy' of a document with a spreadsheet mark the document as touched 2018-09-26 15:22:21 +02:00
wmayer ff0cacca0a fixes 0003469: FreeCAD crashes on edge selection during fillet edge operation on extruded geometry 2018-09-25 22:51:33 +02:00
wmayer dfd3d86b22 fixes 0003333: Wrong behaviour of fuse operation 2018-09-25 17:53:37 +02:00
wmayer 654fc12c8f fixes 0003496: Can't delete spreadsheet if spreadsheet is opened. 2018-09-25 16:17:05 +02:00
wmayer b112ac0ec1 fixes 0003513: Can't open file - some exceptions are shown in the log 2018-09-25 13:21:53 +02:00
wmayer b330950251 fixes 0003611: Linear pattern: 'Select reference' does near to nothing 2018-09-25 11:07:43 +02:00
wmayer fff2a34618 expose method to Python to switch on/off event redirection 2018-09-25 10:13:34 +02:00
wmayer a2d44d2642 fixes 0003521: Import of csv file into Spreadsheet does not work if the path contains non ASCII characters 2018-09-24 22:16:48 +02:00
wmayer 3653d7ed11 fixes 0003148: PartDesign does not allow colouring of single faces for non-primitives 2018-09-24 19:30:36 +02:00
wandererfan 8668296f9c Hard Code QTFileDialog option 2018-09-23 19:37:19 +02:00
wandererfan 6bda4a53e0 Gui::FileChooser respect Qt Dialog Flag
- Gui::FileChooser was not respecting the USE_QT_FILEDIALOG
  compile flag.
2018-09-23 19:37:19 +02:00
kreso-t ac6eebe7b9 Path: Adaptive - enhancements and bug fixes
- more accurate path cleaning
- fix for uncleared area remaining
- linking paths smoothing
2018-09-23 10:45:45 +02:00
easyw b8cceb5f52 make stepZ py3 compliant 2018-09-23 10:43:14 +02:00
wmayer 8d2f8a3d96 fixes 0003380: Involute gear should be created inside of Body and respect Attachment 2018-09-22 20:10:48 +02:00
wmayer 3c048904ff fixes 0003447: False PartDesign migration request 2018-09-22 13:59:34 +02:00
wmayer 2fb62cf0a1 improve whitespaces 2018-09-22 13:40:28 +02:00
wmayer f6b4ffb149 fixes #0001672: Raytracing export to POV-Ray - respect ASCII convention for I/O filenames 2018-09-22 10:48:45 +02:00
wmayer b5811a42b4 fixes #0003582: ShapeBinder did not show correctly 2018-09-22 00:55:46 +02:00
wmayer 75acfe898f fixes #0003540: Body invisible after deleting Part container 2018-09-21 15:12:38 +02:00
wmayer 68bc663617 set parent widget to message box when asking user to delete content of a group 2018-09-21 14:41:52 +02:00
wmayer ac21bcc35c fixes #0003597: PartDesign Additive and Subtractive Loft features don't allow changing the first section after creation 2018-09-20 22:12:43 +02:00
wmayer 198b047bdd clean-up work in TaskPipeOrientation 2018-09-20 17:47:36 +02:00
wmayer 14b8579a62 fixes #0003599: PartDesign Additive and Subtractive Pipe features don't allow changing sections after creation 2018-09-20 17:17:41 +02:00
wmayer 83c40da2a5 issue #0003599: PartDesign Additive and Subtractive Pipe features don't allow changing sections after creation 2018-09-20 15:14:33 +02:00
Zheng, Lei 70918ba683 ViewProvider: fix potential crash when exit editing 2018-09-20 12:47:19 +02:00
Bernd Hahnebach 50ab6e292c FEM: Python code formating, flake8 2018-09-19 21:40:57 +02:00
Bernd Hahnebach d6c6c4da6e FEM: menues, delete the FEM before material menue entries, just like all other entries 2018-09-19 21:40:44 +02:00
Bernd Hahnebach a20fa51084 FEM: menues, move element geometry enties into sub menue 2018-09-19 21:40:34 +02:00
wmayer 7fdbc1d2b8 inside display panel check if the property is part of the view provider 2018-09-19 21:30:35 +02:00
Mark Ganson TheMarkster 047f91832b do reselection whether 1 or 2 points selected
Add message box explaining usage of Selected points button.
Move reselection so it is applied whether 1 or 2 points were selected.
2018-09-19 20:32:49 +02:00
Mark Ganson TheMarkster bc1cf4873e relabel "Selected point(s)" to "Selected points"
better for translating to other languages
2018-09-19 20:32:33 +02:00
kreso-t 96e2f44e28 Path: Adaptive - fix for profiling operation
- improved handling for sharp corners for profiling op.
2018-09-19 18:29:18 +02:00
kreso-t de5ad52415 Path: Adaptive - enhancements and bug fixes
- cleanup & spelling corrections
- lead-in/lead-out improvements
- safer transition of linking path into lead-in/cut
- self-intersection check for keep tool down path
- additional perf. optimisations by parameter tuning
2018-09-19 18:28:48 +02:00
wmayer 4a717a8a44 Make destructors of all generated Py class protected
This is to avoid to create an object on the stack and thus to clutter Python's reference counting mechanism
2018-09-19 18:22:22 +02:00
luz.paz b214f606c4 Misc. typo and whitespace fixes
ref: https://forum.freecadweb.org/viewtopic.php?f=3&t=30988#p256964
along with other misc. fixes
2018-09-19 17:26:03 +02:00
wmayer 8ab6ffa692 fix -Wreorder 2018-09-19 17:17:43 +02:00
wmayer d978287af6 fix CID 183848 2018-09-19 17:14:46 +02:00
wmayer 24cf5d23b5 fix possible crash when aborting geometry checker 2018-09-19 13:50:44 +02:00
wmayer 17d36cecc9 improve manual mesh filling 2018-09-18 21:53:04 +02:00
wmayer 6b055ee899 add verifier class to check the result of the polygon triangulation 2018-09-18 21:38:04 +02:00
wmayer ff6ed27ba9 replace boolean to check for inside/outside cutting with enum values 2018-09-18 18:25:51 +02:00
wmayer 4c8e70b9a3 polish Mesh workbench 2018-09-18 14:53:37 +02:00
wmayer b05f234fac fix overloaded methods SelectionSingleton::addSelection 2018-09-18 12:41:02 +02:00
wmayer 0286a4e313 exit measure distance tool with Esc 2018-09-17 22:21:23 +02:00
wmayer d0cd33b2b8 always close task panel with ESC button 2018-09-17 21:35:44 +02:00
wmayer adc4b4a641 remove limit to only allow vertexes of a model 2018-09-17 17:27:21 +02:00
wmayer 5fc8368753 add convenience method addSelection(SelectionObject) 2018-09-17 17:06:58 +02:00
wmayer 86df253842 Qt5: fix build failure if spacenav is not used under Linux 2018-09-17 16:41:14 +02:00
mwganson fc8d9f2bf3 Add select point(s) option to Placement dialog 2018-09-17 15:00:48 +02:00
wmayer 4b90bed74e fix -Winconsistent-missing-override 2018-09-17 14:18:36 +02:00
wmayer adfdec3b9d re-arrange headers to fix build failure with Qt4 2018-09-17 14:02:29 +02:00
Ian Rees e7a5bd0aad SpaceNavigator on Linux: rearrange #includes 2018-09-17 12:43:24 +02:00
Ian Rees d63e29c3bc Replace Q_OS_UNIX with Q_OS_LINUX for spacenav 2018-09-17 12:43:24 +02:00
Ian Rees 39b27ab9e3 Port SpaceNavigator support on Linux to Qt5 2018-09-17 12:43:24 +02:00
wmayer 189a729027 extend QuantityFormat to set denominator independent of user settings 2018-09-17 12:38:46 +02:00
hokieengr 92145e7e37 Fractional inch setting now disabled when not in Imperial building 2018-09-17 10:32:04 +02:00
hokieengr 77060a75a6 Added support for fractional inch user setting. 2018-09-17 10:32:04 +02:00
hokieengr b102e15569 Now only storing the actual fractional denominator
GUI settings now computed directly from this value. This eliminates the
possibility of the combobox index and the value it represents getting
out of sync.
2018-09-17 10:32:03 +02:00
hokieengr 00a11a6366 Added option to select minimum fractional inch displayed
Load/save operation complete. Not yet integrated with the display code.
Also would like to disable option when non supported (those not using
fractional inches) are selected.
2018-09-17 10:32:03 +02:00
Markus Lampert 97ad1b687f Renamed Path Chamfer op to Deburr. 2018-09-17 10:27:49 +02:00
Markus Lampert a9e040eb10 Fixed selection restore of entire object. 2018-09-17 10:23:41 +02:00
Markus Lampert 91371a6c6a Added option to rotate multiple base objects as a compound or individually. 2018-09-17 10:23:41 +02:00
Markus Lampert 041d800518 Changed Rotate tool behaviour to rotate the entire selection group instead of each one individually. 2018-09-17 10:23:40 +02:00
Markus Lampert 725d87417b Don't force stock refresh on editor start 2018-09-17 10:23:40 +02:00
wmayer f9ca7d62c2 fix compiler warning, fix build failure with older OCCT versions 2018-09-17 10:20:03 +02:00
tomate44 f6d9b692be add a check to BSplineCurve.segment() 2018-09-17 10:02:04 +02:00
kreso-t ee128a32fd Fix for compiler warnings 2018-09-17 09:57:47 +02:00
kreso-t e9e27656be Path: Adaptive - small enhancement
- improved handling in spiky corners
2018-09-17 09:57:47 +02:00
kreso-t 46cd140c8b Path: Adaptive - performance optimization for larger models
- utilizing bounding boxes
- changed the alg. for resolving tool down linking paths,
   resolution is no longer based on clipper offsets as
   offset alg. tends to become slow
- new tool down linking alg. also should be better in finding
   shorter linking paths
- lead-in lead-out improvements
2018-09-17 09:57:46 +02:00
Markus Lampert 76638c7c32 Return self in addProperty for interface compliance. 2018-09-16 15:38:27 -07:00
wmayer 476a07ae24 expose some more methods of ParameterGrp to Python 2018-09-16 19:36:46 +02:00
wmayer c8cfc15e3c fix build failure on Linux 2018-09-15 21:38:15 +02:00
Mark Ganson TheMarkster 625ef4548b addon manager py3 fixes
Only decode / encode if on py2 except for the b'\xc2\xa0', replace, which must be decoded to create the unicode string.
2018-09-15 19:28:44 +02:00
Mark Ganson TheMarkster fa00718c23 fix python3 issues
* fix attempts to remove readonly temp folder in windows, which was preventing addon manager window from closing
* cleanup (unescape) macros manually if HTMLParser().unescape() fails
* replace tabs in macros with 4 spaces
2018-09-15 19:28:36 +02:00
wmayer f809a50be8 when loading file by drag and drop then create the objects in the active document
if no document exists then use i18n to translate the document name
2018-09-15 19:14:46 +02:00
luz.paz d1f1230ef5 Typo and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++" -L "entires,fle,actuall"`
2018-09-15 19:13:52 +02:00
wmayer 6d49383093 Initial support of SpaceMouse Plus XT 2018-09-15 14:53:48 +02:00
wmayer c6df59969b expose more methods of Geom_Curve to Python 2018-09-15 11:26:26 +02:00
wandererfan 295bb8fa86 Fix Decoration positions on Views derived from DPG Base
- Section faces, detail highlights, center and section lines
  were wrong when the BaseView was a DPGI
2018-09-14 21:28:02 +02:00
wmayer dce4086d64 fixes #0002908: stp file import name mismatch (due to some limitation into UTF-8 support & naming convention) 2018-09-14 18:15:48 +02:00
wmayer 161973b962 add option to disable auto-deactivation of property view for inactive document 2018-09-14 16:30:26 +02:00
Markus Lampert 18ed94f788 Disable property editor if none of the selected objects is in the active document. 2018-09-13 22:18:28 -07:00
wmayer 62910898dd fixes #0003588: The path to the Addons does not allow special characters 2018-09-14 00:00:22 +02:00
wmayer 70cf68ab3d restore old behaviour of AddonManager.get_macro_dir 2018-09-13 23:50:36 +02:00
wmayer 3386567d99 issue #0003588: The path to the Addons does not allow special characters 2018-09-13 21:40:30 +02:00
wmayer 02eb4a6fa3 issue #0003588: The path to the Addons does not allow special characters 2018-09-13 16:03:38 +02:00
DeepSOIC 38df1ae742 Part, PartDesign, Attacher: fix a few problems with infinite shapes
To throw an error instead of returning a semi-infinite result that kills rendering.
fixes #3439
2018-09-13 13:12:55 +02:00
DeepSOIC eb8629d077 Part: Attacher: fix flip-sides for O-X-Y-like attachment modes
fixes #2519
2018-09-13 13:03:06 +02:00
wmayer 88babaf60a Ignore key events in dialogs and let parent task panel handle them
The affected dialogs are:
* Texture mapping
* Cross-sections
* Extrusion
* Revolution
2018-09-13 11:13:33 +02:00
wmayer ba2cdde66e move document mode command further uo in the View menu 2018-09-13 01:23:52 +02:00
wmayer 2ce34d6d4c fix regression wrt to bold text in multi-document mode when activating document by tabs 2018-09-13 01:19:49 +02:00
wmayer 5c40496cf3 fixes #0003514: Program crashes when user try to add (by mistake) the origin to a group 2018-09-12 19:01:25 +02:00
wmayer ac66048b8b fixes #0002833: [Spreadsheet] Keyboard events are sent to the wrong viewprovider 2018-09-12 17:40:57 +02:00
wmayer 876339b885 add method to activate 3d view when setting active object list 2018-09-12 15:38:28 +02:00
wmayer 23b0c89b8a fixes #0003155: FEM to mesh conversion fails for shells 2018-09-12 12:39:12 +02:00
wmayer faad5ea273 ignore key events in placement dialog and let parent task panel handle them 2018-09-11 21:12:04 +02:00
wmayer 8f3a53c24c move check for grabbed node and releasing it from ViewProviderDragger::unsetEditViewer to View3DInventorViewer::resetEditingViewProvider 2018-09-11 17:27:17 +02:00
wmayer aae8062f15 minor fixes:
make QtCreator happy by removing const & when connecting signal/slots
fix typo in comment
2018-09-11 15:50:27 +02:00
Zheng, Lei 3a81bd5103 PropertyEditor: improve editing experience 2018-09-11 14:51:03 +02:00
Amritpal Singh 7cf8dc254e Fixed minor bug in Rebar object. 2018-09-11 14:34:59 +02:00
wmayer a6a29467a3 improve whitespaces 2018-09-11 14:26:38 +02:00
hokieengr 77e40f32f0 Reformatted variable spacing. 2018-09-11 14:12:15 +02:00
hokieengr 10281ccc1f Parameterized previously hardcoded fractional inch code
To make way for an eventual upcoming feature whereby the user can select
the minimum fractional inch value (1/8", 1/16", 1/32", etc) to be
displayed, the function responsible for rendering this string was
rewritten. Previous functionality used hardcoded values for 1/8" and
therefore did not allow this to be changed. New code will work with any
integer denominator.

Also, a minor bug in the previous implementation has been fixed by the
new code. Prior to this fix, if an inch value rounded up to a foot, it
would still be rendered in inches. For example: 23.99" would be rendered
as 1'+12". The new code will render this as 2'.

Default fractional value set to 8 (1/8") for now such that there is no
change in the existing behavior. GUI option will be added at some point
in the future.
2018-09-11 14:12:05 +02:00
Markus Lampert 052d8a70e9 Added collapse/expand option to the document tree view. 2018-09-11 11:38:58 +02:00
Markus Lampert 6359c26b5b Changed tree view document hiding boolean to integer to support arbitrary number of views. 2018-09-11 11:38:38 +02:00
Markus Lampert 03d4f084c7 Added option to hide inactive documents in tree view. 2018-09-11 11:38:20 +02:00
wmayer f231871cb0 replace epsilon to check for null vector 2018-09-11 11:33:38 +02:00
Mark Ganson TheMarkster 41102edf67 fix bug in draft path array
put lnodes.normalize() inside try/except block
replace hard-coded 1e-6 with Vector3d::epsilon() in VectorPy::normalize()
2018-09-11 11:11:39 +02:00
wmayer 712012678f fix some MSVC & clang warnings 2018-09-11 11:02:43 +02:00
kreso-t ba6132c4b4 Path: Adaptive - fix for convetional mode detection 2018-09-11 11:02:43 +02:00
kreso-t e69571dcf3 Path: Adaptive - fix for offset glitches 2018-09-11 11:02:43 +02:00
kreso-t 40ff33d4a7 PathSimulation - fix for memory consumption with complex sim paths 2018-09-11 11:02:43 +02:00
kreso-t 9a451bbf3f Path: Adaptive - fix for integration 2018-09-11 11:02:43 +02:00
kreso-t 43ee740ef7 Path: Adaptive - prepping the PR 2018-09-11 11:02:43 +02:00
kreso-t 6db02838c3 Path: Adaptive - typo 2018-09-11 11:02:42 +02:00
kreso-t 90cd7cb23a Path: Adaptive - fixes 2018-09-11 11:02:42 +02:00
kreso-t 78e6cb30b6 Path : Adaotive - fix for finishing pass supression outside stock 2018-09-11 11:02:42 +02:00
kreso-t 9bb3576f6d Path: Adaptive - fixes 2018-09-11 11:02:42 +02:00
kreso-t f4dec2ece6 Path: Adaptive - fix 2018-09-11 11:02:42 +02:00
kreso-t 7b1f384982 Path: Adaptive -fix 2018-09-11 11:02:41 +02:00
kreso-t 202ace41a5 Path: Adaptive - keep tool down ratio option + bugfixes 2018-09-11 11:02:41 +02:00
kreso-t 53bbbe3eca Path: Adaptive - bug fixes 2018-09-11 11:02:41 +02:00
kreso-t 00085edd33 Path: Adaptive - linking optimization - chaining by distance 2018-09-11 11:02:41 +02:00
kreso-t f24d66f965 Path: Adaptive - fix for VS build 2018-09-11 11:02:40 +02:00
kreso-t 3c6d2094ab Path: Adaptive - fix for edge selections 2018-09-11 11:02:40 +02:00
kreso-t 3c7a884120 Path: Adaptive - fix for keep tool down linking 2018-09-11 11:02:40 +02:00
kreso-t af102ca1c5 Path: Adaptive - linking optimizations 2018-09-11 11:02:40 +02:00
kreso-t 526aadfd82 Path: Adaptive - path linking optimizations 2018-09-11 11:02:40 +02:00
kreso-t 4619f8a584 Path: Adaptive - bugfix 2018-09-11 11:02:39 +02:00
kreso-t cbecc2a49a Path: Adaptive - keep tool down feature - alfa 2018-09-11 11:02:39 +02:00
kreso-t 929bf9de50 Path: Adaptive - fix for cut direction 2018-09-11 11:02:39 +02:00
kreso-t 8ce1e811d5 Path:Adaptive - fix 2018-09-11 11:02:39 +02:00
kreso-t 0cbc401f7d Path: Adaptive - cleanup 2018-09-11 11:02:39 +02:00
kreso-t 743e95bca8 Path: Adaptive - bug fix 2018-09-11 11:02:38 +02:00
kreso-t 3928b5c852 Path: Adaptive - bugfix 2018-09-11 11:02:38 +02:00
kreso-t a980d1e9f1 Path: Adaptive - bugfix 2018-09-11 11:02:38 +02:00
kreso-t 0bfd6d7e8e Path: Adaptive - fix for stock to leave for outside region 2018-09-11 11:02:38 +02:00
kreso-t 365227a049 Path: Adaptive - feature to clear from outside stock bounday inwards 2018-09-11 11:02:38 +02:00
kreso-t 364daff4c7 Path: Adaptive - bugfix 2018-09-11 11:02:37 +02:00
kreso-t d578a546c3 Path: Adaptive - bug fix 2018-09-11 11:02:37 +02:00
kreso-t 0fe43a9321 Path: Adaptive - fix for returning to clearence height 2018-09-11 11:02:37 +02:00
kreso-t 3bf7fb24eb Path: Adaptive - support for cylindrical stock 2018-09-11 11:02:37 +02:00
kreso-t 4603f61661 Path: Adaptive - fine tuning 2018-09-11 11:02:37 +02:00
kreso-t 51e3396759 Path: Adaptive - fix for stock to leave option 2018-09-11 11:02:36 +02:00
kreso-t 4d3f6bc82c Path: Adaptive - fix for linking moves optimization 2018-09-11 11:02:36 +02:00
kreso-t 791435b088 Path: Adaptive - added stock to leave option 2018-09-11 11:02:36 +02:00
kreso-t 547ebe4fb6 Path: Adaptive - linking moves optimization 2018-09-11 11:02:36 +02:00
kreso-t e24034a107 Path Adaptive: fix for duplicate edge detection 2018-09-11 11:02:35 +02:00
kreso-t b9f841094f Adaptive: Fix for path nesting 2018-09-11 11:02:35 +02:00
kreso-t 3144de83c9 fix for py3 error 2018-09-11 11:02:35 +02:00
kreso-t b56cc96f32 clean up 2018-09-11 11:02:35 +02:00
kreso-t da62ad5bcd Fix for py3 import 2018-09-11 11:02:34 +02:00
kreso-t 2b395e07b8 Adaptive - finer tolerances for path cleaning 2018-09-11 11:02:34 +02:00
kreso-t 29013240ef Adaptive path to allow selection of edges 2018-09-11 11:02:34 +02:00
kreso-t 7541343022 Fix for compiling with VS2013 2018-09-11 11:02:34 +02:00
kreso-t f7773a1dc9 fix for pybind11 2018-09-11 11:02:34 +02:00
kreso-t 7ca6f83752 fix for pybind11 2018-09-11 11:02:33 +02:00
kreso-t 31cbf6f653 Path adaptive operation added 2018-09-11 11:02:33 +02:00
wmayer dcedf9a4a7 fix install locations for Raytracing and Start module 2018-09-11 10:17:53 +02:00
Markus Lampert 399c95ccc8 Added icon to TaskPanel tab in CombiView to indicate if an edit session is in progress. 2018-09-11 07:42:46 +02:00
Markus Lampert e4dbc896df Set focus to sketcher window when a new handler is activated to ensure proper handling of keys, espcially Escape. 2018-09-11 07:30:43 +02:00
luz.paz 36faeb247a Cosmetically change mentions of Teigha to ODA
Ref:  https://forum.freecadweb.org/viewtopic.php?p=255339#p255339
This PR is superficial as it doesn't actually change the path to the newly named executable.
2018-09-11 07:29:18 +02:00
luz.paz 37305f69fe Misc. typo and whitespace fixes
`codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++"`
2018-09-11 07:27:22 +02:00
Markus Lampert 900a05bca6 Fixed ProfileEdges for multi base models. 2018-09-11 07:24:40 +02:00
Markus Lampert 48d058dc78 Fixed ProfileFaces for multiple base models. 2018-09-11 07:24:39 +02:00
Markus Lampert 8030e96e54 Fixed dogbone support for CCW profiles. 2018-09-11 07:24:39 +02:00
Markus Lampert 6687ff2fd9 Select potential base if it is the only candidate for a base model 2018-09-11 07:24:39 +02:00
Markus Lampert cc7abc59fc PathUtil fixes for adding ops with preselection. 2018-09-11 07:24:39 +02:00
Markus Lampert bc871e2b8e Support for converting existing jobs to multi base model on loading. 2018-09-11 07:24:38 +02:00
Markus Lampert 7925da828e Fixed merge issues 2018-09-11 07:24:37 +02:00
Markus Lampert fffb9f2656 Removed obsolete adjustWirePlacement. 2018-09-11 07:24:37 +02:00
Markus Lampert 1ad7b8c329 Added support for multi base model to Engrave. 2018-09-11 07:24:37 +02:00
Markus Lampert 3687224ce0 Added support for multi base model to Surface op. 2018-09-11 07:24:36 +02:00
Markus Lampert 546cd7e2e2 Added multi base model support to Pocket 3D op. 2018-09-11 07:24:36 +02:00
Markus Lampert 3d646ecd4e Changed base model tab view to a tree view 2018-09-11 07:24:36 +02:00
Markus Lampert e098c7f1f7 Fixed merge issues 2018-09-11 07:24:35 +02:00
Markus Lampert 1f0bda27f6 New approach to determine if an object is a solid - based on it's volume. 2018-09-11 07:24:35 +02:00
Markus Lampert dda6d49388 Fixed typo 2018-09-11 07:24:35 +02:00
Markus Lampert 74bcc8b576 Added support for multi base model to Chamfer op. 2018-09-11 07:24:34 +02:00
Markus Lampert a7f3c5974b Added multi base model support to MillFace. 2018-09-11 07:24:34 +02:00
Markus Lampert cd4e3043e5 Consolidated base model naming 2018-09-11 07:24:34 +02:00
Markus Lampert f01eb07375 Added multi base model support to CircularHoleBase op 2018-09-11 07:24:34 +02:00
Markus Lampert e4e54729ac Added multi base model support to ProfileEdges op. 2018-09-11 07:24:33 +02:00
Markus Lampert 0a9ff5f3aa Fixed base geometry selection for multiple base models. 2018-09-11 07:24:33 +02:00
Markus Lampert 9479e27abe Fixed Contour op to work with multiple base models. 2018-09-11 07:24:33 +02:00
Markus Lampert 39a73f4e7f Preserve selection over moves and rotations 2018-09-11 07:24:33 +02:00
Markus Lampert cc2ffc38a8 Added jobs as a selection for the base models. 2018-09-11 07:24:32 +02:00
Markus Lampert 5d5afd8b08 Added more placement tools for base models. 2018-09-11 07:24:31 +02:00
Markus Lampert 524380cd12 Fixed unit tests to support multiple base models. 2018-09-11 07:24:31 +02:00
Markus Lampert 2480b45c82 Alignment and orientation support for multiple base models. 2018-09-11 07:24:31 +02:00
Markus Lampert e0af0177cd Base model edit during job editor. 2018-09-11 07:24:31 +02:00
Markus Lampert bcfd92d388 Refactored job creation dialog to be re-used for model selection dialog. 2018-09-11 07:24:30 +02:00
Markus Lampert d78d65628a Basic job creation dialog with multiple base models. 2018-09-11 07:24:30 +02:00
Bernd Hahnebach 15df652804 FEM: cpp commands post, do not use create, same like constraints, data along line 2018-09-11 07:22:45 +02:00
Bernd Hahnebach f2422f1f7c FEM: cpp commands post, do not use create, same like constraints, scalar clip 2018-09-11 07:22:45 +02:00
Bernd Hahnebach c4e7ace300 FEM: cpp commands post, do not use create, same like constraints, linearized stress 2018-09-11 07:22:44 +02:00
Bernd Hahnebach 2db040dd84 FEM: cpp commands post, do not use create, same like constraints, data at point 2018-09-11 07:22:44 +02:00
Bernd Hahnebach 79e320d701 FEM: cpp commands post, do not use create, same like constraints, clip 2018-09-11 07:22:43 +02:00
Bernd Hahnebach 2110292f32 FEM: cpp commands sort posts, cut 2018-09-11 07:22:43 +02:00
Bernd Hahnebach 1075c331fa FEM: cpp commands post, fix warning class and a typo 2018-09-11 07:22:43 +02:00
Bernd Hahnebach c95cdb13bc FEM: workbench, remove wrong spaces 2018-09-11 07:22:42 +02:00
Bernd Hahnebach d62f1cbfed FEM: gui py class init, sort classes 2018-09-11 07:22:42 +02:00
Bernd Hahnebach 1effc84eb9 FEM: gui py class init, delete duplicates 2018-09-11 07:22:41 +02:00
Bernd Hahnebach 08e2c4f071 FEM: app py class init, sort classes 2018-09-11 07:22:41 +02:00
Bernd Hahnebach 24c8686861 FEM: app py class init, add some spaces 2018-09-11 07:22:41 +02:00
Bernd Hahnebach c9e5551172 FEM: icons, add new line after add icons 2018-09-11 07:22:41 +02:00
Bernd Hahnebach 6ac8df583a FEM: icons, rename inp editor 2018-09-11 07:22:40 +02:00
Bernd Hahnebach 0cdfc8bc4c FEM: icons, rename element rotation 1d 2018-09-11 07:22:40 +02:00
Bernd Hahnebach 45bf29e0f8 FEM: icons, rename element geometry 2d 2018-09-11 07:22:40 +02:00
Bernd Hahnebach 1fe8dc99fc FEM: icons, rename element geometry 1d 2018-09-11 07:22:39 +02:00
Bernd Hahnebach a8e34e566d FEM: icons, rename element fluid 1d 2018-09-11 07:22:39 +02:00
Bernd Hahnebach 316d99c862 FEM: icons, rename sovler cfd 2018-09-11 07:22:39 +02:00
Bernd Hahnebach 11d728a42e FEM: icons, rename solver analysis frequency 2018-09-11 07:22:38 +02:00
Bernd Hahnebach 211754d606 FEM: icons, rename solver analysis thermomechanical 2018-09-11 07:22:37 +02:00
Bernd Hahnebach de165b9a68 FEM: icons, rename solver analysis static 2018-09-11 07:22:37 +02:00
Bernd Hahnebach 55759110ec FEM: icons, rename solver standard 2018-09-11 07:22:37 +02:00
Bernd Hahnebach e7ce85c6d2 FEM: icons, rename solver control 2018-09-11 07:22:37 +02:00
Bernd Hahnebach 83d4247b8c FEM: icons, rename solver run 2018-09-11 07:22:37 +02:00
Bernd Hahnebach 281eeb5fd8 FEM: icons, rename solver elmer 2018-09-11 07:22:36 +02:00
DeepSOIC 4ca046a729 PartDesign: Refine property for Boolean #3488 2018-09-11 07:16:58 +02:00
DeepSOIC 46621a85d4 PartDesign: Refine property for primitives #3488 2018-09-11 07:16:49 +02:00
DeepSOIC 2cb1bad660 GestureNavigationStyle: fix interaction with SoClipPlaneManip 2018-09-11 00:38:06 +03:00
wmayer a93c893dc1 fixes #0003583: Using the raytracing WB crashes FreeCAD 2018-09-10 20:31:54 +02:00
wmayer b6e8718335 fixes #0003586: App test cases require Part module 2018-09-10 20:00:41 +02:00
wmayer 30f395761a remove unused option FREECAD_MAINTAINERS_BUILD 2018-09-10 17:42:45 +02:00
wmayer 63e8241e64 fix inconsistencies between default action of context menu and double-click 2018-09-10 17:32:39 +02:00
wmayer 2dd876c082 auto-expand/collapse a tree item when activating it 2018-09-10 15:47:48 +02:00
wmayer 34a0c7bce2 by default show highlighted object in bold text, a document's active object is not in bold text any more 2018-09-10 14:24:37 +02:00
wmayer 3b9a9e02bc close all top-level widgets when about to quit event loop 2018-09-10 12:32:14 +02:00
wmayer a624fee2c2 add GUI functions to flip orientation of input curves 2018-09-07 23:03:07 +02:00
wmayer 864767221d add boolean list to handle orientation of boundary curves 2018-09-07 11:48:11 +02:00
wmayer fbcecfb139 add missing header files 2018-09-07 11:46:32 +02:00
wmayer fd2befe7a7 when leaving dragger edit mode make sure to release the grabbed node 2018-09-06 12:42:08 +02:00
wandererfan aa8feb79d0 Use Face or 3D direction for View and ProjGroup
- use current 3D window direction as starting
  direction for DrawViewPart and ProjectionGroup
- if a Face is selected, use Face normal as
  starting direction.
2018-09-06 08:00:00 +02:00
wmayer 233ed49b23 make copy constructor of Handle class private 2018-09-05 22:55:33 +02:00
wmayer 0b846eee52 consider global placement when exporting point cloud 2018-09-05 22:18:55 +02:00
wmayer 7e3be9eb68 take care of object's global placement when creating point cloud of it 2018-09-05 21:24:22 +02:00
wmayer 7d8e7b6d65 add copy constructor for class PointKernel 2018-09-05 21:21:36 +02:00
wmayer 138ddcbeed add method Placement::isIdentity 2018-09-05 21:19:16 +02:00
wmayer 312310de60 take care of global placement when exporting from Mesh menu 2018-09-05 17:46:31 +02:00
wmayer b87d6e69fc copy image resource 2018-09-05 17:27:09 +02:00
Pablo Gil 9b42120c8f Start:
1) replaced link element before li item in order to make the whole box clickable
2) placed "New file" item as first one so that it is always at the same place no matter what session or recent files you have
3) created a thumbnail for "New file" item
2018-09-05 16:07:25 +02:00
Pablo Gil 506ed1ee98 Start: fixed tabs border radius and reduced font weight for file info 2018-09-05 16:07:09 +02:00
looooo 599e59059b reduce line-length to 80 characters 2018-09-05 11:06:26 +02:00
looooo b20d1bc09c new style modules: print traceback as error and as log. 2018-09-05 11:06:12 +02:00
Peter Lama e0f8dede06 Update commit count reference for shallow clones
Clone depth for travis is set to 5000. Using the current HEAD
as reference means we won't have to update it again for awhile.
2018-09-05 10:59:34 +02:00
wmayer 36bd5a0ec1 fix build failure for OCCT < 7.0 2018-09-05 10:56:56 +02:00
wmayer 7a71cf188a take care of global placement when creating mesh from shape 2018-09-05 00:10:07 +02:00
wmayer d8c5581566 add optional parameters to copy method to copy topology and/or triangulation 2018-09-04 23:17:25 +02:00
Christophe Grellier 7d8e53aaab add Const to ancestorsOfType 2018-09-03 22:06:46 +02:00
wmayer 9e5b31fe2a add missing comma separator in list 2018-09-03 21:33:06 +02:00
Yorik van Havre ef0fe57328 Draft: Allow to switch the line of Draft Labels on/off 2018-09-03 16:03:10 -03:00
wmayer acbbcbcb00 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:57:33 +02:00
wmayer b385387797 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:46:54 +02:00
Amritpal Singh dda6672d48 Fixed minor bug of custom spacing in Rebar object. 2018-09-03 11:08:53 -03:00
Mark Ganson TheMarkster 689765da1b Revert unintended change
Not sure how that happened...
2018-09-03 11:08:16 -03:00
Mark Ganson TheMarkster 43d16fc87a Add Duplicate button to Execute Macro dialog
With the Duplicate button a macro is duplicated with a new name, e.g. duplicate a macro named "MyMacro.FCMacro" and you get a new duplicate file named "MyMacro@001.FCMacro", but the user has opportunity to override the new name with a name of his own or to cancel the operation.

Functionality is similar to already existing ability to create copies of the .FCStd file, only for macros, and this must be done manually for each new file.  Will be useful to coders mostly.  Expected use case could be to save a history of the macro periodically as changes are made or perhaps to duplicate the macro first, and then make changes to the duplicate, eventually replacing the original once satisfied with the changes.

New code is based largely on existing code from rename operation, but with QFile.copy() instead of QFile.rename() used, along with other changes needed, such as generating the new suggested filenames.

link to forum discussion and demonstration video:
https://forum.freecadweb.org/viewtopic.php?f=8&p=254014&sid=98243801791920b69086a3fcd4699e34#p254014

Not sure how to make the Duplicate button label text translate when changing languages.
2018-09-03 11:08:16 -03:00
wmayer 299f68cda6 add comment about using readLockNormalCache 2018-09-03 13:16:16 +02:00
Zheng, Lei 4231194a37 GLBuffer: fix isVBOSupported() 2018-09-03 12:59:27 +02:00
Zheng, Lei b5467b02ad MeshGui::SoFCIndexedFaceSet: fix missing normal cache unlock 2018-09-03 12:59:13 +02:00
Markus Lampert ad39b37b98 Fixed whitespace error 2018-09-02 10:50:08 -07:00
Markus Lampert ec8e97c262 Fixed merge issues 2018-09-02 00:32:22 -07:00
markus 67987cc916 Added job export dialog to Job Editor. 2018-09-02 00:32:22 -07:00
markus ff54af4e9b Redesigned ops defaults to use combo box for op selection and only have one editor visibile at the time. 2018-09-02 00:32:22 -07:00
markus 9cc08cee0f Fixing unit tests for more conservative height settings. 2018-09-02 00:32:22 -07:00
markus 84b681eb2b PathEdit integration of the setup-sheet editor. 2018-09-02 00:32:22 -07:00
Markus Lampert 795842b71c Setting a property's tooltips in setup sheet editor. 2018-09-02 00:32:22 -07:00
Markus Lampert c4340a7577 Fixed surface settings. 2018-09-02 00:32:22 -07:00
Markus Lampert e833c5b325 Fixed build for new files. 2018-09-02 00:32:22 -07:00
Markus Lampert 33e3a0083e Turning off settings exception printing for unregistered ops. 2018-09-02 00:32:22 -07:00
Markus Lampert 9d7d9e8177 Partial operation settings support for Surface op. 2018-09-02 00:32:22 -07:00
Markus Lampert 6c83a991ea Operation settings support for both engrave ops 2018-09-02 00:32:22 -07:00
Markus Lampert 3e1310ba79 Operation settings support for Helix op. 2018-09-02 00:32:22 -07:00
Markus Lampert 7d8ed6fd70 Operation setting support for all pocket ops. 2018-09-02 00:32:22 -07:00
Markus Lampert ea84b18aee Operation settings support for Drilling. 2018-09-02 00:32:22 -07:00
Markus Lampert f4124b91bc Sorting of operation settings for UI purposes. 2018-09-02 00:32:22 -07:00
Markus Lampert 0824066c59 Added operation setting support to profile ops. 2018-09-02 00:32:22 -07:00
Markus Lampert 74d3bf4856 Added support for property types required for PocketShape settings. 2018-09-02 00:32:22 -07:00
Markus Lampert 954771ccba Added automatic setting of operation values from the setup sheet during creation. 2018-09-02 00:32:22 -07:00
Markus Lampert ebe76319b8 Added name parameter to operation proxy constructor. 2018-09-02 00:32:22 -07:00
Markus Lampert a3cd80796b Template export/import of operation settings. 2018-09-02 00:32:22 -07:00
Markus Lampert 5f5543da31 Add properties to the setup sheet and initialise their editor from there. 2018-09-02 00:32:22 -07:00
Markus Lampert a5a44ececd Property editor for enums. 2018-09-02 00:32:22 -07:00
Markus Lampert ac84092e75 Basic property editor framework 2018-09-02 00:32:22 -07:00
Markus Lampert 7b81653895 Display setup sheet for each registered op. 2018-09-02 00:32:22 -07:00
Markus Lampert ee49b9874d Prototype objects for operations and the ability to create them through the regular proxy instantiation. 2018-09-02 00:32:22 -07:00
Markus Lampert 070d17e4e4 Add job as parameter to opSetDefaultValues 2018-09-02 00:32:22 -07:00
Markus Lampert b93d39f701 UI for operation's setup sheet. 2018-09-02 00:32:22 -07:00
Markus Lampert 660b9b38d4 Added approximation for hyperbola curves. 2018-09-02 00:32:22 -07:00
Markus Lampert 853ad14a1a Basic UI/editor for the SetupSheet. 2018-09-02 00:32:22 -07:00
Markus Lampert cdff29e474 Fixed stock creation with odd initial extent - tessellate to the rescue. 2018-09-02 00:32:21 -07:00
Markus Lampert c495ed43f8 Fixed heights and introduced OpStockZMin/Max. 2018-09-02 00:32:21 -07:00
Mark Ganson TheMarkster 94fa64077b Add eval() to distance line edit during scaling
This adds the ability to enter things like 6 * 25.4 into the distance line edit widget during scaling operations in the image workbench.  Can also enter something like math.pi * 3 or 2**3, etc.  Basically, any legal python input can be used.

Using eval() is not considered a secure way of doing things, but in this context the user would be entering malicious code into his own computer.  Also, what can the user do in eval() that he can't already do just by entering directly into the python console?
2018-09-01 18:16:48 -05:00
Michal Ulianko faf8834484 py3.7 fix
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
Mark Ganson TheMarkster 591c1d32cd Add link button to Addon Manager to Macros dialog
Adds a button labeled Addons... to the macros dialog below the create, edit, delete, and rename buttons.  Clicking the Addons... button will open the same dialog available from Tools -> Addon Manager menu.
Convenience for experienced users, but new users who might not know about the addon manager will be able to see it here, too.
2018-09-01 22:21:33 +02:00
markus 7c048482bf Hiding all/most properties that are supposed to be hidden on document restore again. 2018-09-01 21:01:04 +02:00
markus f094ae4135 Fixed logging for unit tests. 2018-09-01 21:01:04 +02:00
markus 8054540afe Added button to stock dialog to recreate the stock object. 2018-09-01 21:01:03 +02:00
markus 5b39974bfb Only track stock from base's extent at creation time. 2018-09-01 21:01:03 +02:00
Bernd Waibel a8be139cbc Improve search for coin3d tag file
Currently cmake looks for coin.tag and coin.tag.gz when searching a
tag file of the Coin3D documentation. On some coin3d installations,
the tag file is named Coin.tag or Coin.tag.gz. This patch improves
the search by adding additional hints to the find_file() test for
the tag file.
2018-09-01 20:58:40 +02:00
wmayer b79e1bfee4 get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules 2018-09-01 19:57:15 +02:00
wmayer 8c08635d30 get rid of private function _PyImport_FixupBuiltin for __FreeCADBase__ module 2018-09-01 16:26:18 +02:00
Bernd Waibel 1eeb19748b Fix typo in search for OpenGL. 2018-08-31 23:27:10 +02:00
wmayer fb1a0be846 exit application when running unit tests raised a system exception 2018-08-31 22:21:15 +02:00
Yorik van Havre 022653331f Arch: Close base profile of Structures automatically when needed 2018-08-30 17:12:18 -03:00
Yorik van Havre 5f025587a0 Draft: Fixed bug in WorkingPlaneProxy color 2018-08-30 17:11:40 -03:00
Kurt Kremitzki e381e6b739 Remove unused Debian packaging files
These files are not used in Debian or the PPA; they use conventions from
many years ago and in general are cruft. The canonical location for this
information is now https://salsa.debian.org/science-team/freecad. This
fixes #2984.
2018-08-30 03:31:52 -05:00
Yorik van Havre 682650b0b2 Draft: Fixed adding points in Wires 2018-08-29 21:49:56 -03:00
wmayer 3d70f9ed4f number of used decimals in UnitsApi must already be set when initializing App 2018-08-29 23:35:38 +02:00
Keith Sloan c717d1121d improve csg import 2018-08-29 21:45:41 +02:00
wmayer 96771a07b0 use a widget's current font as default in the list of available families 2018-08-29 19:33:02 +02:00
Bernd Hahnebach 28b7e01123 YEAH 1000 commits for great FreeCAD project :-) ahh the commit ... FEM: netgen mesh obj, typo in attribute description 2018-08-29 11:02:43 -03:00
Bernd Hahnebach d436630f5b FEM: equation objects, add some comments for linear and nonlinear equation 2018-08-29 11:02:43 -03:00
Bernd Hahnebach ff716f3d45 FEM: mesh netgen and gmsh, use the same group and description for mesh geometry object 2018-08-29 11:02:43 -03:00
Bernd Hahnebach 26a255b384 FEM: common test module, some comments 2018-08-29 11:02:43 -03:00
Daniel Furtlehner 998b72324d AddonManager: Fixes download of metadata.txt with Py3
urllib2 in Py3 gives us a bytearray instead of a string. We have to decode it first to get the metadata.txt. When decoding fails we assume that we are in Py2 and process as before.
2018-08-29 11:00:42 -03:00
Yorik van Havre b469c237b5 Arch: cache svg calculations in section planes/techdraw views for better performance 2018-08-28 21:03:25 -03:00
wmayer 404b42d0a6 unit tests of Arch and Draft require GUI, improve output of units tests 2018-08-28 19:39:34 +02:00
Yorik van Havre 559a5e6e58 Arch: Added placement controls to section plane's task panel 2018-08-28 11:18:35 -03:00
wmayer 16e709a682 do not explicitly use extesnion modules in SelectionView::getModule 2018-08-28 14:11:31 +02:00
wmayer 67b5ee0931 now each module registers its unit tests itself 2018-08-28 13:14:16 +02:00
Yorik van Havre 8708da2627 Arch: Section plane is now created at center of selected objects 2018-08-27 22:09:03 -03:00
Yorik van Havre 6f06345634 Draft: Fixed DXF support for new Draft texts 2018-08-27 12:11:38 -03:00
wmayer 904aef5551 use abstract interface to access geometry in transform dialog 2018-08-27 16:19:56 +02:00
Abdullah Tahiri 2a6655e176 Sketcher: UI option to enable/disable the automatic redundant removal mechanism 2018-08-26 20:54:02 +02:00
Abdullah Tahiri 8505b0eff4 Sketcher: Automatic redundant removal mechanism
===============================================

It is a long felt need that redundant constraints are not generated while autoconstraining.

The solver sketcher in v0.17 is überpicky with redundants due to the new popularity contest algorithm. The former behaviour is exhacerbated.

This new mode enables automatic redundant constraint removal.

In UI operations IN EDIT MODE, upon detection of redundancy by the solver, the Sketcher will remove all redundant constraints detected by that solve.

This makes the sketcher much less annoying.

How to test this?

The easiest example is to create a vertical line. Then make the endpoints symmetric with respect to the horizontal axis. Without this mode,
the vertical constraint and the symmetry constraint are redundant. With this mode, the vertical constraint gets automatically removed by the Sketcher.
2018-08-26 20:54:01 +02:00
Abdullah Tahiri dc1bb7eb87 Sketcher: Move autoremoveredundants method from SketchAnalyser to SketchObject 2018-08-26 20:54:01 +02:00
Abdullah Tahiri 96f6c46949 GCS: Bug fixes
==============

- Zero initialization of the jacobian matrix
- Correct notification of redundant/conflicting in presence of non-driving constraints.

fixes #3529
2018-08-26 20:54:01 +02:00
Markus Hovorka 31750a7503 FEM: elmer, fix SIF variable output bug
The property "FluxVariable" of the FluxEquation document type was
exported wrongly by sifio. This was because sifio didn't recognise
unicode as a string and exported is as an array of chars.
2018-08-26 20:47:42 +02:00
luz.paz 31193039e2 FEM: femtools/femutils.py typos and whitespace fixes 2018-08-26 20:47:41 +02:00
Bernd Hahnebach f8939d689f FEM: vtk post, support multiple pipeline objects for filters 2018-08-26 20:47:41 +02:00
Bernd Hahnebach d060cacfa2 FEM: cpp commands sort constraints, temperature 2018-08-26 20:47:41 +02:00
Bernd Hahnebach 144e548456 FEM: cpp commands sort constraints, pulley 2018-08-26 20:47:41 +02:00
Bernd Hahnebach 283f9dbe7a FEM: cpp commands sort constraints, pressure 2018-08-26 20:47:41 +02:00
Bernd Hahnebach ffbeac03f9 FEM: cpp commands sort constraints, plane rotation 2018-08-26 20:47:40 +02:00
Bernd Hahnebach c8ec1a756a FEM: cpp commands sort constraints, initial temperature 2018-08-26 20:47:40 +02:00
Bernd Hahnebach 38f8682633 FEM: cpp commands sort constraints, heat flux 2018-08-26 20:47:40 +02:00
Bernd Hahnebach 79442a1f2a FEM: cpp commands sort constraints, move gear 2018-08-26 20:47:40 +02:00
Bernd Hahnebach 164ee520a9 FEM: cpp commands sort constraints, move force 2018-08-26 20:47:39 +02:00
Bernd Hahnebach ab522431db FEM: cpp commands sort constraints, move fluid boundary 2018-08-26 20:47:39 +02:00
Bernd Hahnebach 33f749c96e FEM: cpp commands sort constraints, move displacement 2018-08-26 20:47:39 +02:00
Bernd Hahnebach c97ed2db34 FEM: cpp commands sort constraints, move contact 2018-08-26 20:47:39 +02:00
Bernd Hahnebach ba6976fd67 FEM: cpp commands, use for command creation same order as for command definition 2018-08-26 20:47:38 +02:00
Bernd Hahnebach 6923a52213 FEM: cpp commands, add some comments 2018-08-26 20:47:38 +02:00
Bernd Hahnebach e214769070 FEM: cpp commands, comment analysis and solver command as they are created in Python 2018-08-26 20:47:38 +02:00
Bernd Hahnebach 8c30258db4 FEM: cpp commands, code formating 2018-08-26 20:47:38 +02:00
Bernd Hahnebach 1a08251a81 FEM: vtk post, change order of commands and icons 2018-08-26 20:47:37 +02:00
Bernd Hahnebach a322cc3495 FEM: vtk post, small improvement in scalar clip gui 2018-08-26 20:47:37 +02:00
Bernd Hahnebach a02b355747 FEM: objects module, rename result objects to post processing ones 2018-08-26 20:47:37 +02:00
Bernd Hahnebach d8f65890df FEM: objects module, delete recompute comments, the user needs to take care of recomputes if he adds objects by Python 2018-08-26 20:47:37 +02:00
Bernd Hahnebach ce1be10f0e FEM: vtk post, typo in Tranparency property 2018-08-26 20:47:37 +02:00
Bernd Hahnebach 25bcbcbf23 FEM: vtk post, sync tranparency on reopen of pipeline task panel 2018-08-26 20:47:36 +02:00
wmayer 2dc8089852 handle case if a B-spline is straight and thus maximum curvature is zero 2018-08-26 19:17:16 +02:00
luz.paz 8740a3a568 Whitespace formatting 2018-08-26 17:30:44 +02:00
luz.paz 55e93745fa Misc. typo fixes
Found via `codespell`
2018-08-26 17:30:44 +02:00
Zheng, Lei 69efa47374 Selection: handle exception in observer callback
Selection callback are sometimes called while traversing Coin node tree.
If any unhandled exception is thrown while traversing the tree, FC 3D
rendering will become unstable and non-usable thereafter.
2018-08-26 17:29:14 +02:00
wmayer 561be08211 Part sweep now accepts compounds of edges that build a wire 2018-08-26 17:02:01 +02:00
wmayer b2cefc460d Part loft now accepts compounds of edges that build a wire 2018-08-26 16:49:48 +02:00
wmayer fe2660b468 issue #0003177: Part Design Pad should allow besides 'Up to face' something like 'Up to plane' as well 2018-08-26 13:22:35 +02:00
Yorik van Havre b656377e6d Start: break too long thumb caption texts 2018-08-25 19:58:49 -03:00
wmayer f8f4cd76cc clear dict when invalidating Py object to fix possible cyclic references 2018-08-25 21:49:57 +02:00
wmayer 5eaf2e6387 fixes #0003564: Python objects: updateData calls to proxy instance that should have been deleted 2018-08-25 16:33:22 +02:00
wmayer bb9d737ba1 when adding a dynamic property to the editor then move it to the correct group or create a new group 2018-08-25 13:26:14 +02:00
wmayer 3f0dca6387 avoid that Datum plane is always touched when automatically resizing it from within its own view provider 2018-08-25 11:09:15 +02:00
Yorik van Havre 2b2b920c80 Arch: python3 fix 2018-08-25 00:11:43 -03:00
Yorik van Havre 988dc11275 Start: additional py3 fixes 2018-08-24 23:10:31 -03:00
Yorik van Havre 69d9a3f949 Arch: Use the smallest face as profile when discovering extrusions in IFC objects - thanks @geometrygym 2018-08-24 23:10:10 -03:00
Yorik van Havre f0d6a43d3d Arch: Using transparent style during walls and structs draw 2018-08-24 15:23:00 -03:00
Yorik van Havre af30700b14 Draft: Fixed leftover scene callbacks in snapping 2018-08-24 15:16:35 -03:00
Yorik van Havre 16e01ceaa9 Start: misc improvements
- Hide recent files section if recent files prefs is set to 0
- Better filetype management
- Better tooltip on file thumbnails
- Added notes section (enable in preferences)
2018-08-23 16:00:18 -03:00
wmayer 24579fff32 Py3: fix PropertyStringListItem::setValue 2018-08-23 17:46:27 +02:00
wmayer 93163b28d0 Improve usability of expression dialog:
+ add signal showFormulaDialog to QuantitySpinBox in order to indicate whether the formula dialog opens or closes
+ when formula dialog opens then hide the button box in the parent dialog, show it again when the formula dialog closes
2018-08-23 12:22:57 +02:00
Yorik van Havre 0252e491d5 Start: Misc fixes to start page
- Use smaller icons in file thumbs if desired size is not available
- Fixed loading of stp examples
- Cleaned wrong files appearing in examples
- Added preference setting to configure font and font size
2018-08-22 11:45:11 -03:00
Markus Lampert 6429707f70 Allow user to suppress the initial tool change. 2018-08-22 10:17:46 -03:00
Markus Lampert c17bcb1303 Enable option for grbl tool change command. 2018-08-22 10:17:46 -03:00
Markus Lampert 478829510e If an edge cannot be flipped, issue a warning and approximate it through straight line segments. 2018-08-22 10:17:46 -03:00
paullee 6e83baf1df Fix railing height at starting point etc.
Discussion:

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=70#p247814
2018-08-22 10:17:24 -03:00
paullee 681c71766f Add Railing Height and Offset
Discussion:-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=70#p247036
2018-08-22 10:17:24 -03:00
wmayer 3927a2ed8b reduce compile time after each time cmake configure is executed (Version.h) 2018-08-21 14:06:33 +02:00
wmayer 4211defb4a reduce compile time after each time cmake configure is executed 2018-08-21 13:53:33 +02:00
wmayer e5a1a9d35a macro to check for different input and output file and if needed replace output file 2018-08-21 13:52:42 +02:00
wmayer b9c24f8a92 reduce compile time after each time cmake configure is executed (swig) 2018-08-21 13:20:58 +02:00
wmayer afd5249563 add static function isVBOSupported to OpenGLBuffer to check for the GL_ARB_vertex_buffer_object extension 2018-08-21 10:29:55 +02:00
Yorik van Havre 83351faebc Draft: Ability to set working plane from PartDesign datum planes 2018-08-20 21:56:08 -03:00
wmayer 952a9a4a80 CMP0050: make Template module aware of cmake policy 2018-08-20 23:33:26 +02:00
wmayer 67ddda714d CMP0050: make Assembly module aware of cmake policy 2018-08-20 23:11:32 +02:00
wmayer 172503b408 CMP0050: make JtReader module aware of cmake policy 2018-08-20 22:49:00 +02:00
wmayer f4a21d3b6b CMP0050: make Sandbox module aware of cmake policy 2018-08-20 22:27:36 +02:00
wmayer a84b84bf1b CMP0050: make TechDraw module aware of cmake policy 2018-08-20 20:59:39 +02:00
wmayer 8ff52568db CMP0050: make Start module aware of cmake policy 2018-08-20 20:42:13 +02:00
wmayer c36bdb4e34 CMP0050: make Start module aware of cmake policy 2018-08-20 20:40:08 +02:00
wmayer 63bf0aaeb6 CMP0050: make Fem module aware of cmake policy 2018-08-20 20:14:46 +02:00
wmayer 681d22226a CMP0050: make Robot module aware of cmake policy 2018-08-20 20:00:53 +02:00
wmayer fc8984ae7c CMP0050: make Path module aware of cmake policy 2018-08-20 19:33:12 +02:00
wmayer d85309a76c CMP0050: make Raytracing module aware of cmake policy 2018-08-20 19:16:12 +02:00
wmayer 49ca698b3e CMP0050: make Drawing module aware of cmake policy 2018-08-20 19:10:02 +02:00
wmayer 0c95c95793 CMP0050: make Drawing module aware of cmake policy 2018-08-20 18:40:14 +02:00
wmayer 2455b5fe39 CMP0050: make Sketcher module aware of cmake policy 2018-08-20 18:04:58 +02:00
wmayer 104595d37d CMP0050: make MeshPart module aware of cmake policy 2018-08-20 17:45:15 +02:00
wmayer ed5313d729 CMP0050: make Inspection module aware of cmake policy 2018-08-20 17:32:25 +02:00
wmayer cdc507d9bb CMP0050: make PartDesign module aware of cmake policy 2018-08-20 17:19:04 +02:00
wmayer 73e27458da CMP0050: make Part module aware of cmake policy 2018-08-20 16:54:23 +02:00
wmayer f7f143a2b9 CMP0050: make Points module aware of cmake policy 2018-08-20 16:34:54 +02:00
wmayer cda05c914c CMP0050: make Import module aware of cmake policy 2018-08-20 16:16:41 +02:00
wmayer e3a783fd46 CMP0050: make Import module aware of cmake policy 2018-08-20 16:16:13 +02:00
paullee cad83384f3 'Multi-segment' continuos railing update following Stairs' changes
Discussion:-
(Somewhere here)

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=60#p246607
2018-08-20 10:52:59 -03:00
paullee fb388774ea Fix railing on 2 sides; Make continous railing for 'multi-segment' stairs; Group under 'Master Stairs'
Discussion:-
(Somewhere here)

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=3d9ba22b6aa2556f61c4ddb035a6163d&start=60#p246607
2018-08-20 10:52:59 -03:00
paullee 6dafd51fa9 Fixing Railing - Left & Right
Discussion:-
(Somewhere here only - Not discussed exactly here, codes not post here)
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=3d9ba22b6aa2556f61c4ddb035a6163d&start=60#p245038
2018-08-20 10:52:59 -03:00
Yorik van Havre 8d47560151 Start: Fix for py3 2018-08-20 10:52:34 -03:00
Yorik van Havre f09ccebbe5 Start: Support for qss stylesheets 2018-08-20 10:52:34 -03:00
Yorik van Havre 9df1166de1 Start: More cosmetic fixes 2018-08-20 10:52:34 -03:00
Yorik van Havre e8811c0d36 Start: cosmetic fixes 2018-08-20 10:52:34 -03:00
Yorik van Havre efae18742e Start: Refined display + start with forum disabled 2018-08-20 10:52:34 -03:00
Yorik van Havre 1007c822d6 Start: Allow to not show start page on file open 2018-08-20 10:52:34 -03:00
Yorik van Havre 36cd5a55cf Start: Added forum box with latest posts 2018-08-20 10:52:34 -03:00
Yorik van Havre 5bc02545ca Start: Small fixes in preference page 2018-08-20 10:52:34 -03:00
Yorik van Havre ac6586a207 Start: New start workbench 2018-08-20 10:52:34 -03:00
Yorik van Havre 8236f158d8 Web: Allow to use url queries 2018-08-20 10:52:34 -03:00
wmayer 9e9e4dd7f7 CMP0050: make Image module aware of cmake policy 2018-08-20 15:52:12 +02:00
wmayer a4390f5478 CMP0050: make ReverseEngineering module aware of cmake policy 2018-08-20 15:37:50 +02:00
wmayer a0faa374cc CMP0050: make Mesh module aware of cmake policy 2018-08-20 15:22:00 +02:00
wmayer 0b86312714 CMP0050: make Spreadsheet module aware of cmake policy 2018-08-20 15:14:05 +02:00
wmayer cd5ee548f6 CMP0050: make Surface module aware of cmake policy 2018-08-20 14:56:30 +02:00
wmayer 8d4953ad8f CMP0050: make Measure module aware of cmake policy 2018-08-20 14:31:54 +02:00
wmayer 8d09cafc33 CMP0050: make Test module aware of cmake policy 2018-08-20 13:58:28 +02:00
wmayer 1c656b1cb7 CMP0050: make Web module aware of cmake policy 2018-08-20 13:51:40 +02:00
wmayer 16295d4121 CMake 2.8.12 and lower allowed the SOURCE signature in add_custom_command
In CMake 3.0 the policy CMP0050 was introduced where it could be set to OLD to keep this behaviour while for NEW an error was raised.
Since CMake 3.5.2 a warning comes up when using the OLD behaviour and that it will be removed in a future version.

In FreeCAD we switched to the new behaviour now and removed the SOURCE signature from add_custom_command which affects the macros
fc_copy_sources, fc_target_copy_resource and fc_target_copy_resource_flat and their usage.
It's not possible any more to add files to a target by using the macros. Now a file must be added to the target before using the macros.

This commit fixes it for Arch, Draft, OpenSCAD, Material, Plot and Ship
2018-08-20 11:47:39 +02:00
wmayer bff245daef add Mesh_Data target to handle scripts files 2018-08-19 22:56:12 +02:00
wmayer 82b31d50e5 clean up cmake macros add new macro fc_target_copy_resource_flat 2018-08-19 22:54:33 +02:00
wmayer a1b0c2ff32 Gui: Better visualization of the Active Object 2018-08-19 18:14:06 +02:00
paullee 55fb508346 Fix StraightLanding connecting bit; other TreadDepth RiserHeight issues etc.
Discussion:
(Somewhere here)
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=3d9ba22b6aa2556f61c4ddb035a6163d&start=60#p244648
2018-08-19 11:15:58 -03:00
paullee 0c918ba5d0 'Centralise' all cases use MakeStraightStairsWithLanding method; further fix TreadDepth and RiserHeight Enforce
Discussion:-
(Somewhere here)

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=3d9ba22b6aa2556f61c4ddb035a6163d&start=60#p244502
2018-08-19 11:15:58 -03:00
paullee 773ca081f1 Add TreadDepth & RiserHeight Enforce properties; Fix MakeStair, MakeStraightLanding functions; Test Right Railing
Discussion:
(Somewhere here)

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=3d9ba22b6aa2556f61c4ddb035a6163d&start=60#p244502
2018-08-19 11:15:58 -03:00
paullee dc4628767c Fix MakeStairs, _CommandStairs functions; Testing Railing (One side only)
Discussion:
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=50#p244345
2018-08-19 11:15:58 -03:00
wmayer 07eea2e3a6 remove ambiguous function setTolerance, use Tolerance attribute instead 2018-08-19 14:31:04 +02:00
wmayer 3ffd435526 move cmake policy CMP0050 to new style 2018-08-19 13:59:42 +02:00
wmayer fc6e6a55ea fix broken generate_from_xml macro 2018-08-19 13:34:05 +02:00
wmayer 68f6c82eb1 fix -Wcast-function-type 2018-08-19 13:11:08 +02:00
wmayer 557fee3dc6 fix -Wignored-qualifiers 2018-08-19 12:38:57 +02:00
wmayer 4686f27f64 fix -Wimplicit-fallthrough 2018-08-19 12:35:57 +02:00
wmayer 0bc5699b59 fix -Wparentheses 2018-08-19 12:28:05 +02:00
looooo fa99f792e3 Py3: PartDesign: relative imports 2018-08-19 10:59:11 +02:00
wmayer 03a28be4ca MSVC does not support keyword 'or' 2018-08-19 10:56:00 +02:00
wandererfan f82012b68a Remove const qualifier for Travis OCE version 2018-08-19 10:47:08 +02:00
wandererfan baa960e1de Coverity Fixes
- 183599
- 183595
- 183594
- 175821
- 175820
- 175817
- 175816
- 175815
- 175814
- 175813
- 175812
- 175811
- 175806
- 175805
- 175804
- 175802
2018-08-19 10:47:08 +02:00
wandererfan 0865468918 Add option for Dxf Version and forced Polyline
- allows override of user parameter values.
2018-08-19 10:47:08 +02:00
wmayer e757e4f7e7 fix warning C4244: conversion from 'const double' to 'float', possible loss of data 2018-08-19 10:43:25 +02:00
wmayer e701f75c25 generic wrapper/unwrapper for PySide and PyQt classes 2018-08-18 22:12:00 +02:00
wandererfan de66ab3d1a Coverity Fixes
- 175807
- 175808
- 183598
2018-08-18 21:59:06 +02:00
wandererfan 368ba7a37e Fix Travis Compile Warnings 2018-08-18 21:59:05 +02:00
wandererfan 0432ecdb88 Fix propagation of Source property to children 2018-08-18 21:59:05 +02:00
Markus Lampert 1b1eaa5def Turn off Operations visibility by default 2018-08-18 21:55:26 +02:00
Markus Lampert 04807fddd7 Add UseOutline property to PocketShape in order to mill full pockets and not have to add all sub-shapes. 2018-08-18 21:55:26 +02:00
luz.paz 321b159f27 More typos 2018-08-18 21:48:43 +02:00
luz.paz a981753d2c Trailing whitespace fixes 2018-08-18 21:48:42 +02:00
luz.paz 781d007321 Misc. typos
Found via `codespell`
Trivial typos

Found via `codespell`
2018-08-18 21:48:42 +02:00
wmayer e31cac568e revert changes of SMESH_Gen class interface of bundled SMESH 2018-08-18 16:13:10 +02:00
wmayer 3c999f563e fix several reference counting bugs 2018-08-18 16:01:55 +02:00
wmayer 271cdcb19e clear selection node when destroying viewer 2018-08-18 11:32:32 +02:00
wmayer 9f9886691b disable FREECAD_USE_EXTERNAL_KDL due to incompatibilities with bundled version 2018-08-17 21:59:51 +02:00
paullee 2221820d79 Various general bugs fixes and _CommandStairs related 2018-08-17 10:35:46 -03:00
paullee 28e8d5e822 Add HalfTurnRight 'basic' feature, Master Stairs to accommodate differnt flight of stairs 2018-08-17 10:35:46 -03:00
wmayer 171e652047 fix -Wabsolute-value 2018-08-17 09:47:38 +02:00
wmayer b04ea27042 do not show dialog of progress indicator for OCCT < 6.9.0 2018-08-17 08:10:16 +02:00
wmayer 5ee9e11931 nullify path on destruction and check if adding new trajectories 2018-08-16 16:04:24 +02:00
wmayer 4d9ee645ce use consistently cc_glglue functions in OpenGLBuffer class 2018-08-16 13:38:46 +02:00
wmayer c842f0b8b5 fix build failure if pch is on 2018-08-16 01:50:54 +02:00
wmayer a5515527e9 move OpenGLBuffer class to core system 2018-08-16 01:30:23 +02:00
wmayer 5039e4b0a7 simplifiy code in SoFCIndexedFaceSet::GLRender, fix bug in wireframe mode when panning/rotating 2018-08-15 22:24:24 +02:00
paullee 4f3d0149f1 Add basic MultiEdgesLanding method 2018-08-15 10:46:43 -03:00
paullee 69fec24cbb Add AbsTop Property - Absolute Top Level of a segment/flight of stairs; To enable 'multi-segment' stairs. 2018-08-15 10:46:43 -03:00
paullee adb44fee55 Add LastSegment Property - to enable 'multi-segment' / 'multi-flight' stairs; and fix some LandingDepth related bug. 2018-08-15 10:46:43 -03:00
Bernd Hahnebach e76488eb10 FEM: post warp filter, try to better handle ui min max values, but no success 2018-08-15 09:18:59 +02:00
Bernd Hahnebach 88b605774d FEM: post warp filter, add some comments and make code better readable, no real changes 2018-08-15 09:18:59 +02:00
Bernd Hahnebach 5d2d33b983 FEM: post warp filter, small ui layout improvements 2018-08-15 09:18:58 +02:00
Bernd Hahnebach 2772d1faa8 FEM: post warp filter, better values for ui spinbox values 2018-08-15 09:18:58 +02:00
Peter Lama c44ade6961 Fix build error on MacOS due to sed command usage
Non GNU sed on macOS expects suffix after -i option (can be empty str).
However, removing the comments from the pyside generated files is not a necessary
operation (presumably done to avoid a diff when no code changed), so simply skip the operation on macOS
2018-08-15 09:13:03 +02:00
wmayer e290de07a9 BOPAlgo supports progress indicator since version 6.9.0 2018-08-15 09:09:44 +02:00
wmayer d5c63cf211 add progress indicator to BOP check task panel 2018-08-14 23:51:02 +02:00
wmayer 2b02b07538 let pass events of a progress dialog in event filter of WaitCursor 2018-08-14 23:49:00 +02:00
wmayer 56e6d58291 add comment about regression in ProgressBar 2018-08-14 23:47:43 +02:00
Przemo Firszt ba7161ac48 Add boost-python to fedora spec file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-08-14 00:04:08 +01:00
wmayer 52a5cbe7cf Improve error report about missing boost components 2018-08-13 12:00:09 +02:00
wmayer 9549f29f2a fix MSVC warning: unreferenced local variable 2018-08-13 11:06:20 +02:00
Mark Ganson TheMarkster 99b077cf80 use parallel mode of BOPCheck class 2018-08-13 10:10:27 +02:00
Kyrre Sjobak ff93395221 Give FindNETGEN a path hint so that it ACTUALLY works with the standard Fedora 28 netgen package. 2018-08-12 20:19:01 +02:00
Kyrre Sjobak e903690e0c Give FindNETGEN a path hint so that it works with the standard Fedora 28 netgen package. 2018-08-12 20:19:01 +02:00
Kyrre Sjobak 9a6dcff1de Give FindMEDFile a path hint so that it works with the standard Fedora 28 med-devel package. 2018-08-12 20:19:01 +02:00
paullee 90a8b54200 Add HalfTurnLeft landing stairs basic feature.
- HalfTurnRight, stairs alignment etc. 'fix' added in 'later version' in my local machine not yet in this commit

Discussion posts :-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=bbca78d86eda8a6f8837fc2901d88be7#p240745
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=70#p247814
2018-08-12 14:09:39 -03:00
Ryan Pavlik 5f8f268244 Apply equivalent changes to FindPySide2Tools as FindPySideTools.
These are largely matching files, potential to de-duplicate them, but this
just ports the changes over for now.
2018-08-11 17:39:15 +02:00
Ryan Pavlik bf043fe68f Fix typo in FreeCadMacros.cmake 2018-08-11 17:39:15 +02:00
Ryan Pavlik f12c4092ab Quote paths used in FindPySideTools.cmake 2018-08-11 17:39:14 +02:00
Ryan Pavlik 32c40179dc Fix ninja warnings about duplicate rules for Mod/Web/Init.py
Both Web/App and Web/Gui were copying it.
2018-08-11 17:39:14 +02:00
Ryan Pavlik 25332ba033 Fix ninja warnings about duplicate rules for Mod/Path/Init.py
Both Path/App and Path/PathSimulator/App were copying it.
2018-08-11 17:39:14 +02:00
Ryan Pavlik 75c698d180 Fix policy warning with CMake (regarding "no rules to generate")
Fixed by using add_custom_command instead of execute_process,
with an in-place sed command included to strip timestamp just like
previous code.
2018-08-11 17:39:13 +02:00
Ryan Pavlik b844589cf5 Clean up and make FindPySideTools CMake module more robust 2018-08-11 17:39:13 +02:00
Ryan Pavlik cf79125dd6 Add fc_target_copy_resource/fc_copy_sources build message
Includes optional verbosity param for tracking down "two rules for..."
ninja/etc warnings.
2018-08-11 17:39:13 +02:00
Ryan Pavlik 2ae238e3db Clean up and fix generate_from_py and generate_from_xml CMake macros
Includes native-path-usage fixing like the previous commit.
2018-08-11 17:39:13 +02:00
Ryan Pavlik 4ffc6c2882 Clean up and improve fc_copy_sources and fc_target_copy_resource CMake macros
The previous steps of TO_NATIVE_PATH followed by ABSOLUTE
is not meaningful or reliable: output of ABSOLUTE is always in
"cmake" path format, not native path format. Native path input to
CMake commands may not do what you want.
2018-08-11 17:39:13 +02:00
Ryan Pavlik 11d89c7608 Clean up and improve "COPY_IF_DIFFERENT" CMake macro 2018-08-11 17:39:12 +02:00
Oliver Oxtoby de282ad5ce Base: Make units of PropertyQuantity settable from Python code
The previous implementation did not allow the unit to be set after it
is initialised by the default constructor - this fix makes it possible
to set the unit by explicitly assigning a Unit object.
2018-08-11 16:12:17 +02:00
wmayer 855f4ef2f6 Fix globalPosition in Stl export 2018-08-11 15:36:08 +02:00
wmayer 9602e22c3d compute the actual placement to apply instead of transforming the points twice 2018-08-11 14:36:50 +02:00
wandererfan 0f9eba7d96 Fix double application of Placement
- global placement already contains feature
  placement, so multiplying aPoints by
  global placement applies feature placement
  twice.
2018-08-11 13:49:29 +02:00
hgutsche a097804cbd Add library for concurremcy in >= VS2015
revert conditional in Points.cpp (i.e. reactivate parallel handling)
2018-08-11 11:55:51 +02:00
Sviatoslav Sydorenko 3c2e27cfc2 🚑🐛 Don't install doc/freecad.qch with no GUI 2018-08-11 11:39:27 +02:00
Markus Lampert 6eb2cd3152 Set Operation's view object proxy to 0 to let the framework use the c++ implementation. 2018-08-11 11:35:47 +02:00
Markus Lampert 02a2376376 Use TC of last operation of a job - bring up dialog if it's the first op of a job. 2018-08-11 11:25:46 +02:00
wandererfan 9f29693df3 Fix Dimension update on DPG Scale Change 2018-08-11 11:24:13 +02:00
wandererfan 7028da17b5 Expose findCentroid to Python 2018-08-11 11:24:12 +02:00
wandererfan 603c294d47 Fix QGIVP boundingRect 2018-08-11 11:24:12 +02:00
wandererfan 5730aae4c9 Allow circular BSplines to be dimensioned 2018-08-11 11:24:12 +02:00
Yorik van Havre 874309b947 Arch: Initial support to export quantities to IFC 2018-08-10 18:37:13 -03:00
Yorik van Havre 57f2bf74a6 Arch: Import/export Site data (longitude, latitude, etc..) to/from IFC 2018-08-10 17:08:20 -03:00
Yorik van Havre 21e00b6d76 Arch: Support for IfcElementAssembly 2018-08-10 13:08:27 -03:00
Markus Lampert d30cb78533 Added vertical/horizontal support for SurfaceOfRevolution. 2018-08-10 10:43:33 -03:00
Markus Lampert a50727b596 Fixed Cancel of job selection - abort op creation. 2018-08-10 10:43:33 -03:00
Markus Lampert cf14ebf7ea Use the job that matches the current selection - iff only one job fits that description. 2018-08-10 10:43:33 -03:00
Yorik van Havre 18964c2e5f Removed non-printable character at line 1 2018-08-10 10:41:50 -03:00
paullee 5e791f55a0 1. Fixed typo in previous commit (item 3)
2. Added URL of discussion post / thread
3. Previous commit - Added Landing Depth Control to ArchStairs

Discussion:-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358#p240197
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=70#p249409
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=70#p249498
2018-08-10 10:41:50 -03:00
paullee c33e247d93 Add Control Landing Depth 2018-08-10 10:41:50 -03:00
wmayer 880c8ccbfd avoid linker errors with >= VS 2015 2018-08-09 23:53:12 +02:00
Markus Lampert 1160e04afe Revert "Get the outline of the syntesized shape for PocketShape before extruding."
This reverts commit 135ede46fe.
2018-08-09 17:24:37 -03:00
wmayer 2587864b52 example using C++ API of FreeCAD in external application 2018-08-09 22:12:18 +02:00
wmayer 90ad845396 for Qt5 no explict event processing after creating a 3d view 2018-08-09 18:57:21 +02:00
wmayer 2e35941efc add some convenience methods for initialization process 2018-08-09 18:41:40 +02:00
wmayer 1d83e15e3f quit event loop after closing main window if not started by an extern host application 2018-08-09 17:03:01 +02:00
wmayer 34172c851c improve handling as library if used by another application 2018-08-09 17:01:46 +02:00
wmayer 241f85569c fix typo 2018-08-09 17:00:41 +02:00
wmayer 71088bfb94 suppress -Wcast-function-type for swig code 2018-08-08 18:18:53 +02:00
wmayer 01c140be28 fix warnings 2018-08-08 18:02:59 +02:00
wmayer a9c4bcb5d6 remove kwd argument for functions only with flag METH_VARARGS 2018-08-08 17:39:32 +02:00
Markus Lampert 0b40519f3f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
Zheng, Lei 1cbd5cc994 Path.Area: add PocketLastStepover/LastStepover parameter 2018-08-08 13:54:58 +02:00
Bernd Hahnebach 3414c042b6 FEM: clipping plane, fix bound box calculation for obj with a property called Shape which is not a occt shape 2018-08-08 13:49:43 +02:00
Zheng, Lei 436d04fe3e ViewProviderDocumentObject: forbid recursive call of updateView() 2018-08-08 13:44:36 +02:00
easyw c961f8f6b5 make Loop selection command available outside Path WB 2018-08-08 08:58:22 +02:00
pekkaroi f99940ff19 Make drill location list sortable 2018-08-07 16:35:32 -03:00
luz.paz 2e1a887c4c whitespace fixes 2018-08-07 11:13:31 -04:00
luz.paz 67aa3c4c32 Source typo change 2018-08-07 11:13:31 -04:00
luz.paz baa6d89328 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
Bernd Hahnebach f991d89ec2 FEM: icons, rename purge results icon 2018-08-07 16:57:06 +02:00
Bernd Hahnebach af61ca6698 FEM: icons, rename show result icon 2018-08-07 16:57:05 +02:00
Bernd Hahnebach 4019cc3466 FEM: icons, rename sphere icon 2018-08-07 16:57:05 +02:00
Bernd Hahnebach 1a1ce36f93 FEM: icons, rename plane icon 2018-08-07 16:57:05 +02:00
Bernd Hahnebach eba0a6a6f8 FEM: icons, rename iso surfaces icon 2018-08-07 16:57:05 +02:00
Bernd Hahnebach e0a8cd8f87 FEM: icons, rename cylinder icon 2018-08-07 16:57:05 +02:00
Bernd Hahnebach b7680920de FEM: icons, rename box icon 2018-08-07 16:57:04 +02:00
Bernd Hahnebach dab1ed770c FEM: icons, rename warp filter icon 2018-08-07 16:57:04 +02:00
Bernd Hahnebach a799e00606 FEM: icons, rename linearized stress icon 2018-08-07 16:57:04 +02:00
Bernd Hahnebach 38ae615edf FEM: icons, rename data at point icon 2018-08-07 16:57:04 +02:00
Bernd Hahnebach d9ed75d954 FEM: icons, rename data along line icon 2018-08-07 16:57:03 +02:00
Bernd Hahnebach 2b6ec41963 FEM: icons, rename cut function icon 2018-08-07 16:57:03 +02:00
Bernd Hahnebach 23d28268ff FEM: icons, rename clip scalar icon 2018-08-07 16:57:03 +02:00
Bernd Hahnebach cbcebb6d0c FEM: icons, rename clip region icon 2018-08-07 16:57:03 +02:00
Bernd Hahnebach e16f1939ea FEM: icons, rename data icon 2018-08-07 16:57:02 +02:00
joha2 4e8574e91d FEM: fenics #0003038: flake8 2018-08-07 16:57:02 +02:00
joha2 8df79bef53 FEM: fenics #0003038: added overlap parameter and removed assign_values from interfaces 2018-08-07 16:57:02 +02:00
joha2 bf45030595 FEM: fenics #0003038: removed old fenics interface classes 2018-08-07 16:57:02 +02:00
joha2 ee8a525c07 FEM: Fenics interface: changed interface into different classes for cell functions 2018-08-07 16:57:02 +02:00
joha2 122ea86ba5 FEM: Fenics interface: flake8 2018-08-07 16:57:02 +02:00
joha2 193e69ad6d FEM: Fenics interface: changed cell function and facet function interface to be more convenient 2018-08-07 16:57:01 +02:00
Bernd Hahnebach baf26a3dc3 FEM: analysis task, use analysis icon 2018-08-07 16:57:01 +02:00
Bernd Hahnebach 6bef300102 FEM: post filters task panels, use the right icons and better names 2018-08-07 16:57:01 +02:00
Bernd Hahnebach 90533ea4ed FEM: post warp task panel, small typos in uifiles combo box 2018-08-07 16:57:00 +02:00
Bernd Hahnebach 1c870cc89a FEM: menue names, use better readable names and use same typo system 2018-08-07 16:57:00 +02:00
Bernd Hahnebach 9ce4111cee py3: define more unicode for python3, see commit 7ad0c7f7 2018-08-07 16:57:00 +02:00
wmayer 88aefc28e8 backport to OCCT < 6.8 2018-08-07 16:56:33 +02:00
wmayer 9faa7fc57f fix exception raised on project load for invalid enums 2018-08-07 15:23:56 +02:00
looooo 7ad0c7f7f2 py3: define unicode for python3 2018-08-06 19:24:38 +02:00
Zheng, Lei 8f3cf6156b PropertyPartShape: remove CopyShapeOnSave parameter 2018-08-06 19:01:37 +02:00
Zheng, Lei 8548d72492 App::Document: enable saving with binary brep 2018-08-06 19:01:21 +02:00
Zheng, Lei d65349f1f9 PropertyPartShape: fix brep shape saving without copy 2018-08-06 19:01:09 +02:00
Zheng, Lei 8018f2640d PropertyPartShape: add parameter to disable copy on save
By default PropertyPartShape uses BRepBuilderAPI_Copy to copy the shape
on saving, to get rid of the triangulation. However, OCCT seems to
perform a deep copy and shape sharing information is lost.

A new parameter, BaseApp/Preferences/Mod/Part/General/CopyShapeOnSave,
is added to disable this.
2018-08-06 19:00:58 +02:00
wmayer dc54f67d03 fix infinite recursion in case of non-DAG documents 2018-08-06 18:52:48 +02:00
wmayer 917b95f726 paralleization of transformation and bounding box calculation 2018-08-06 18:52:01 +02:00
Yorik van Havre 102fe30a76 Arch: Discard faces without nornals in IFC exporter 2018-08-06 10:55:29 -03:00
wmayer 2e4d2dff03 fix possible UNICODE related build failure due to OCCT cmake flags 2018-08-06 12:29:43 +02:00
wmayer 5e63d3ded9 fix build failure on Linux 2018-08-06 10:16:18 +02:00
wmayer e6b7bb18b9 fix macOS build failure of MeshGui 2018-08-05 22:08:46 +02:00
wmayer 8068150c64 [WIP] add box selection to select individual faces 2018-08-04 19:37:49 +02:00
wmayer 70e5b9fec3 fix explosion of face colors dialog if too many faces are selected 2018-08-04 18:16:05 +02:00
wmayer 272c89b007 add protected default constructor of SelectionFilterGate to simplifiy writing of sub-classes 2018-08-04 16:52:57 +02:00
Yorik van Havre 123e9d210d Draft: Allow to turn off Draft verbose output in preferences 2018-08-03 19:07:59 -03:00
luz.paz 1d81fd66b8 AddonManager: expand dialog window
Closes https://github.com/FreeCAD/FreeCAD-addons/issues/74
2018-08-03 10:31:44 -03:00
wmayer 48641c2b93 replace Qt's OpenGL buffer with own implementation based on Coin3d API 2018-08-03 13:07:55 +02:00
Yorik van Havre 53c2058e0c AddonManager: Support for Mario's template for externally hosted macros 2018-08-02 11:47:29 -03:00
Yorik van Havre b40b50a30c Arch: Fixed orientation of CTH profile 2018-08-01 22:16:50 -03:00
Yorik van Havre ee517cf184 Draft: better tooltip for copy mode option 2018-08-01 21:50:44 -03:00
Eivind Kvedalen 5d2a889a80 Fixed issue #3506: Certain alias names with a number at the end caused exceptions when deleting cells in a spreadsheet. 2018-08-01 19:23:16 -03:00
Benjamin Alterauge 20d3ebca86 Update Draft.py 2018-08-01 19:22:45 -03:00
Yorik van Havre 5162f4e578 Arch: support of stacked groups in IFC and added Internal property to Spaces 2018-08-01 15:50:14 -03:00
Yorik van Havre 269a4a5585 Arch: Fixed export to IFC of standalone axes 2018-07-31 19:20:13 -03:00
Yorik van Havre 0865c8ae64 Arch: small bugfix in material creation 2018-07-31 18:31:43 -03:00
Eivind Kvedalen d2f9ab6a11 Spreadsheet: Fixed issue #3361. 2018-07-31 16:11:37 -03:00
Eivind Kvedalen 13da3dd830 Revert "fixes #0003361: Spreadsheet: Inserting Row Cause Crash - FC Daily v0.17"
This reverts commit f485a0786f.
2018-07-31 16:11:37 -03:00
wandererfan cd0b26a69c Fix text position in Diamter Dim 2018-07-31 16:08:48 -03:00
wandererfan 4046b001b5 Fix default Vertex color 2018-07-31 16:08:48 -03:00
wandererfan ee607d36a9 Fix iso View position in AutoDistribute 2018-07-31 16:08:48 -03:00
wmayer 1f4ab25d9a add option to resize datum planes manually 2018-07-30 22:31:24 +02:00
wmayer 9c57ae56ad add cmake file for thumbnail provider 2018-07-30 16:38:55 +02:00
wmayer 9a3f0bc25a improve exception handling in ViewProvider::eventCallback 2018-07-30 12:25:54 +02:00
wmayer 36fa72488c comment out unused icons (to fix C2603 MSVC error) 2018-07-30 09:52:41 +02:00
Abdullah Tahiri 3d4c5eda21 Sketcher: Fix typos 2018-07-30 00:47:26 +02:00
Abdullah Tahiri de7bab2f4a Sketcher: Fix Radius/Diameter shortcut 2018-07-30 00:47:26 +02:00
Abdullah Tahiri c84fe5fa3d Sketcher: Add diameter constraint to the menu and the toolbar
fixes #1632
2018-07-30 00:47:25 +02:00
Abdullah Tahiri 26f93eef96 Sketcher: Geometry Element Widget Support for Diameter Constraint shortcuts 2018-07-30 00:47:25 +02:00
Abdullah Tahiri 1414f986dc Sketcher: Constraint Widget support for the diameter constraint 2018-07-30 00:47:25 +02:00
Abdullah Tahiri 6ce8dcdfc4 Sketcher: Support for editing datum dialog 2018-07-30 00:47:24 +02:00
Abdullah Tahiri 3147691013 Sketcher: Diameter Constraint Property representation 2018-07-30 00:47:24 +02:00
Abdullah Tahiri a582da50b8 Sketcher: New command to add a Diameter Constraint 2018-07-30 00:47:24 +02:00
Abdullah Tahiri 1fbdc7c1dd Sketcher: Diameter constraint art 2018-07-30 00:47:23 +02:00
Abdullah Tahiri de3da81293 Sketcher: ViewProvider representation of the Diameter Constraint 2018-07-30 00:47:23 +02:00
Abdullah Tahiri 2e33aba01e Sketcher: Double arrow label for Diameter Constraint 2018-07-30 00:47:20 +02:00
Abdullah Tahiri f41c1a9696 Sketcher: Python SketchObject support 2018-07-30 00:47:20 +02:00
Abdullah Tahiri 103260872c Sketcher: Diameter support for Sketch Object 2018-07-30 00:47:20 +02:00
Abdullah Tahiri 1e2df1054c Solver: Support for Diameter constraint 2018-07-30 00:47:20 +02:00
Abdullah Tahiri 424d68085e GCS: Diameter constraint emulation through ConstraintEqual 2018-07-30 00:47:19 +02:00
Abdullah Tahiri dcdb664709 GCS: Extension of ConstraintEqual to allow for a proportionality factor 2018-07-30 00:47:19 +02:00
Abdullah Tahiri 4ae2692fe2 Sketcher: Diameter Constraint Python support 2018-07-30 00:47:18 +02:00
Abdullah Tahiri 4bbc7ea786 Sketcher: New Sketcher Constraint Diameter 2018-07-30 00:47:18 +02:00
wmayer 8ef330d19a add missing export macro 2018-07-29 15:53:56 +02:00
Abdullah Tahiri 1899987e89 Sketcher: Add command to delete all constraints to menu 2018-07-29 13:44:09 +02:00
Abdullah Tahiri 74a5a066c9 Sketcher: UI command to delete all the constraints at once 2018-07-29 13:44:09 +02:00
Abdullah Tahiri cd5aa8975e Sketcher: Python command to delete all the constraints at once 2018-07-29 13:44:07 +02:00
Abdullah Tahiri 0024d1b0c4 Sketcher: Python SketchObject implementation
Exposure of all the functionality in the previous commits to Python
2018-07-29 13:44:07 +02:00
Abdullah Tahiri 527c814ddc Sketcher: SketchObject adaptation to Sketch Analysis
Apart for the inclusion of the Analysis functionality, SketchObject has been improved to provide:

- A fast painless deleteAllConstraints() function

- A fast painless constraint group deletion, delConstraints(std::vector<int> ConstrIds, bool updategeometry)
2018-07-29 13:44:07 +02:00
Abdullah Tahiri 3dfb202380 Sketcher: Make use of Sketch Analysis for Sketch Validation - refactoring 2018-07-29 13:44:06 +02:00
Abdullah Tahiri de9e7cc942 Part: Improvement to closest parameter determination when the projection does not exist in the trimmer curve 2018-07-29 13:44:06 +02:00
Abdullah Tahiri 97f375296b Sketcher: Sketch Analysis tool and autoconstraining algorithms
A series of algorithms to detect missing constraints and create them.

Each of the algorithms is divided in different steps for maximum flexibility:

    /// There is a first type of routines, simple routines, which work in the following order:
    /// Detect - (Analyse) - [Get] - [Set] - Make
    ///
    /// The Detect step just identifies possible missing constraints.
    ///
    /// The Analyse, which is not available for all the routines, operates in detected constraints of the same routine, to
    /// look for alternatives. For example, a general pointonpoint detection leads to a search for coincident constraints, which
    /// can be later run via Analyse if it is intended to convert endpoint coincidence to endpoint perpendicular and tangent constraints.
    ///
    /// The Get retrieves the result of the analysis as a vector of ConstraintIds, indicating the suggested constraints. This step is intended
    /// for enabling the user to check the result of the analysis, rather than applying it. If only applying is intended, this step is not necessary
    /// as the Make will operate on the result of the Detect - Analyse directly.
    ///
    /// The Set changes the detected result. It modifies the SketchAnalysis object. It only modifies the SketchObject as far as the SketchAnalysis is changed.
    /// It does not apply any changes to the sketch. It is intended so as to enable the user to change the result that will be applied.
    ///
    /// Neither the Detect, nor the Analyse, nor the Get steps modify the Sketch geometry.
    ///
    /// Make applies the constraints stored internally in the SketchAnalysis object.

It includes an automatic constraining algorithm for coincidences, horizontals/verticals and equality:

    /// A second type of routines, complex routines, are thought for running fully automatic and they Detect, Analyse and Make.
    /// They may also apply a variaty of types of Constraints.

It also includes some helper functions, like autoRemoveRedundants
2018-07-29 13:44:06 +02:00
tomate44 b40c1f16b5 add a missing check for OCC version 2018-07-29 11:50:08 +02:00
tomate44 3c049e44f1 cleanup of defeaturing in Part Gui 2018-07-29 11:50:07 +02:00
tomate44 d5db3ff588 add OCC defeaturing to PartWB Gui 2018-07-29 11:50:07 +02:00
tomate44 1f63d6a103 add python binding of OCC defeaturing 2018-07-29 11:50:06 +02:00
tomate44 4a0ea3c0ec add OCC defeaturing to TopoShape 2018-07-29 11:50:06 +02:00
wmayer e6658ed3f3 expose methods to Python to change navi cube settings 2018-07-29 11:32:54 +02:00
Eivind Kvedalen c2ada8eacd Fix for issue #3541: Normalize xDir vector for Hole feature to correct hole diameter. 2018-07-29 01:03:17 +02:00
wmayer 2ca81da42f fixes #0003538: MacOSX 10.13 not in the 'About FreeCAD' dialog 2018-07-28 16:06:15 +02:00
luz.paz 23b30518b9 PartDesign: fixes for Qt 5.11
Similiar to changes made in https://github.com/FreeCAD/FreeCAD/pull/1552/commits/7e63a33b8b90e2ffa3bd449712d4521eaee75aa7
CC @efferre79
2018-07-28 15:32:43 +02:00
Przemo Firszt c6c55cb6c3 Change method of counting commits
The count of commits in unshallowed copy should always match the actual
number of commits in the master repository, so the is no need for
workarounds.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-07-28 15:25:35 +02:00
Przemo Firszt 9d419b8a40 Add libspnav to fedora spec 2018-07-28 15:25:34 +02:00
wmayer 61a6fbe6d2 fix -Wunused 2018-07-28 12:56:31 +02:00
wmayer c2ab3f02cd remove undesired dependency of Mesh to Part module 2018-07-28 11:58:39 +02:00
wmayer 039e972a4b implement fast mesh rendering for Qt5 port (7x faster) 2018-07-28 11:08:03 +02:00
Yorik van Havre db4f47cf28 Arch: other small bugfix in IFC exporter 2018-07-27 17:07:44 -03:00
Yorik van Havre ee154d9203 Arch: Fixed storey height bug in IFC export 2018-07-27 16:41:20 -03:00
luz.paz 0576524144 Misc. code comment typo fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
2018-07-27 10:39:43 -03:00
Philipp Tenbrock 4c188ec0f5 Fixed DAE export of groups including sub-groups and sub-parts 2018-07-27 10:39:00 -03:00
wandererfan e267eac7bb Fix #3329 globalPosition in Stl export 2018-07-27 10:37:06 -03:00
Yorik van Havre e45a3674f0 Arch: bugfixes in IFC exporter 2018-07-26 19:23:48 -03:00
wandererfan c28f95d9f5 Export DocObjectPy/TopoShapePy to Dxf (Import module) 2018-07-26 10:02:25 -03:00
wmayer 6cc1524a0d Mesh improvements:
+ support of Simple Model Format (smf)
+ improve reading of STL files (reduce by ~70%)
2018-07-26 13:19:35 +02:00
Yorik van Havre 98af9aabd9 Draft: Snap to BuildingPart base points 2018-07-25 20:25:11 -03:00
Yorik van Havre 78fea67043 Arch: bugfix in IFC exporter 2018-07-25 20:24:50 -03:00
wmayer d4987d088f add option to drag at cursor instead of view center 2018-07-25 22:36:35 +02:00
wmayer 6e8b60589f add brnading option to show full version number in splash screen 2018-07-25 22:26:54 +02:00
wmayer 6c51cdd663 minor changes 2018-07-25 21:49:21 +02:00
wmayer fa89e3b951 add url handler to handle certains protocols differently 2018-07-25 21:48:55 +02:00
wmayer d3ef6905ff + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
wmayer 08fcd58e9d + raise exception instead of crashing when trying to access curvature info via Python 2018-07-25 20:12:55 +02:00
wmayer 6b9a3bf93c fix possible crash in Quarter viewer 2018-07-25 19:50:25 +02:00
wmayer b7ac2807fe Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2018-07-25 18:01:02 +02:00
wmayer 65879dfe63 + Improve mesh selection (precompute projection matrix and use polygon bounding box) 2018-07-25 18:00:42 +02:00
Yorik van Havre 2b04db09e3 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2018-07-25 12:56:20 -03:00
Yorik van Havre d034c0083c Draft: Added variable to be able to start Move command in copy mode 2018-07-25 12:55:55 -03:00
Yorik van Havre f6fdad4d07 Part: Fixed wording in ShapeBuilder messages 2018-07-25 12:55:27 -03:00
wmayer 1fcfbcf1ab + move implementation of Base::ifstream and Base::ofstream to header and remove export macro.
This is needed for VS 2013 to avoid that it exports methods of the base class and thus causing linker errors for modules that link FreeCADBase
2018-07-25 17:50:30 +02:00
wmayer 3b3e4fd4ce minor fix 2018-07-25 17:49:28 +02:00
wmayer 806ad88c5a + implement a faster method to multiply vector with matrix
+ add convenience method to transform a point array
2018-07-25 17:31:11 +02:00
wmayer b298e63bcc + implement direct and queued mode in console class 2018-07-25 17:25:32 +02:00
wmayer b13f1562a3 handling of UTF-8 in zipios++ on Win32 2018-07-25 16:57:38 +02:00
wmayer 6b6bde1bab use correct spelling of Windows header 2018-07-25 16:49:37 +02:00
Yorik van Havre 1885036139 Arch: Added preference option for screen helpers color (axes, grids, etc...) 2018-07-25 10:56:12 -03:00
Yorik van Havre 111c0496b4 Draft: Minor bugfix 2018-07-24 17:10:18 -03:00
Yorik van Havre 64c760f537 Added Standard Code property to all components 2018-07-24 11:58:55 -03:00
Yorik van Havre 4394862794 Arch: Reorganizing structural profiles + added eurocode timber sizes 2018-07-24 11:58:34 -03:00
Yorik van Havre 7bac2a610a Arch: minor bugfix 2018-07-23 21:13:14 -03:00
Yorik van Havre acf18c193c Arch: Minor fixes in Materials 2018-07-23 19:43:04 -03:00
wandererfan d37519e3e3 Dxf Boilerplate files not installed
- fix INSTALL command in Import/CMakeLists.txt
2018-07-23 12:47:56 -03:00
wandererfan 4418502964 Add ANSIB Template
- also fix cmake to move all templates after
  build.
2018-07-23 12:47:17 -03:00
wandererfan 2cc80b6131 Add preference settings
- autodistribute, vertex size, vertex color
2018-07-23 12:47:17 -03:00
wandererfan 8ba4cd1058 Add support for alternate LineGroup file 2018-07-23 12:47:17 -03:00
Mark Ganson TheMarkster 5a39efa771 Fix typo
I figure this should be Z instead of Y, but even if I'm wrong there's no reason to check for hasattr(pts,'Y') twice.
2018-07-23 12:46:16 -03:00
wandererfan d48d014eb9 Fix Detail view orientation 2018-07-23 12:45:32 -03:00
hokieengr 2b08754c17 Fixed default HideUnits option to FALSE 2018-07-23 12:44:26 -03:00
hokieengr d7e5534d51 Added code to strip units from display string 2018-07-23 12:44:26 -03:00
hokieengr b9767f0036 Updated hide units GUI option with more text 2018-07-23 12:44:26 -03:00
hokieengr f8327a009b WIP. Moving to other machine. 2018-07-23 12:43:46 -03:00
hokieengr 4c2e36b645 WIP. Added logic to not hide non-base units. 2018-07-23 12:43:46 -03:00
hokieengr 841dfeadbe WIP. Moved code to hide units to seperate function 2018-07-23 12:43:46 -03:00
Bob da41c0071b Add getPresentationValue function prototype 2018-07-23 12:41:14 -03:00
hokieengr 3f1216a58d WIP. Added logic to hide units on distance dimensions.
More of a prototype than anything else right now. Will find a better way to add this functionality to the rest of Sketcher.
2018-07-23 12:41:14 -03:00
hokieengr 5e3ce0331e Added option to hide units in sketch
Currently not hooked up to anything just yet.
2018-07-23 12:41:14 -03:00
wmayer 548f63fd0e fix -Winconsistent-missing-override 2018-07-22 17:19:36 +02:00
Yorik van Havre 8272abf5ae Arch: Added edit mode task panel to arch profiles + added American Wide Flange (W) profiles 2018-07-21 22:50:07 -03:00
Yorik van Havre 4aa91d62e2 Part: Added 'Wire from Edges' option to Part ShapeBuilder 2018-07-20 20:15:26 -03:00
Yorik van Havre a91f9e9812 Arch: Enable materials hierarchy 2018-07-20 17:59:39 -03:00
wandererfan a077a6d1af Tweak Linear Dim Cosmetics 2018-07-20 10:36:26 -03:00
Fabio Rossi 97ebbf27c2 fixed mod Assembly for Qt 5.11 2018-07-20 10:34:58 -03:00
Fabio Rossi 4249ddf648 building fixes of mod Assembly 2018-07-20 10:34:58 -03:00
Fabio Rossi 068073656e fixes in mod Assembly for python3 2018-07-20 10:34:58 -03:00
Yorik van Havre 473c86626d Arch: misc improvements to IFC importer
* Fixed progress bar
* Import can now be aborted by pressing ESC
* No intermediary Extrusion object is created for Walls and Structures
* When a base profile has only linear edges, create a draft wire instead of face
* Fixed placement bug in shared profiles
2018-07-19 17:04:19 -03:00
sliptonic e92d1018be PEP8 cleanup 2018-07-19 12:06:09 -03:00
sliptonic 024ce84da3 Using PropertyVectorDistance
per yorik: https://forum.freecadweb.org/viewtopic.php?f=3&t=29787#p244785
2018-07-19 12:06:09 -03:00
Yorik van Havre c93ff200ca Part: Allow to disable progress bar in brep string reader 2018-07-19 11:57:07 -03:00
Yorik van Havre cc0fb2a5a9 Arch: Fixed bug in display of axis systems 2018-07-18 21:39:11 -03:00
Yorik van Havre 0c33d00bfd Arch: Fixed visibility of BuildingPart 2018-07-18 15:35:13 -03:00
Yorik van Havre 50a10a2020 Arch: Support of shared profiles in extrusions imported from IFC 2018-07-18 15:07:54 -03:00
wandererfan 9bfd118f37 Fix includes for M_PI on Win
Fix missing ImportExport
2018-07-18 10:52:03 -03:00
wandererfan 9c60b4190c Fix "use of deleted function" error on streams 2018-07-18 10:52:03 -03:00
wandererfan 0790e3c920 Add support for Dxf Export R14 spec 2018-07-18 10:52:03 -03:00
Yorik van Havre 24a9ab73a7 Arch: Improved compression of IFC files 2018-07-17 22:30:54 -03:00
Yorik van Havre 56c6e3f0f6 Arch: Fixed wrong Floor height on IFC import 2018-07-17 21:41:19 -03:00
Yorik van Havre d940fd3447 Arch: Enable compression when exporting IFC files (reuse similar vectors, colors, etc) 2018-07-17 14:19:38 -03:00
Yorik van Havre a7c8a4677f Arch: Support for IfcGrid 2018-07-16 17:21:17 -03:00
Mark Ganson TheMarkster fa32af7025 convert tabs to spaces 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster dc79a93dde save current color so it can be reverted on cancel 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster 1cb114e256 handle user cancel color dialog
Currently, when user cancels line color or face color selection dialog current color gets changed to black, as opposed to retaining the status quo.  https://forum.freecadweb.org/viewtopic.php?f=3&t=29762

The fix is to test QColor.isValid(color), which returns false when the user cancels the QColor dialog.
2018-07-16 12:03:45 -03:00
sliptonic 3d09e6543a Fix for coverity CID 168953
Make test for ocl not conditional.
2018-07-15 16:28:16 -03:00
Yorik van Havre 2c74bcddd4 Merge pull request #1553 from luzpaz/source-typo
Source typo fix
2018-07-14 11:55:07 -03:00
luz.paz 49b3fbab58 Source typo fix
minor typo in function saveIfNeccessary() to saveIfNecessary()
2018-07-13 18:49:48 -04:00
Markus Lampert 07d1abb387 Fixed import and coverity issue in rml_post. 2018-07-13 10:33:46 -03:00
wandererfan 7e781bcfd0 Revise multiple solids message 2018-07-13 10:23:42 -03:00
wandererfan c74ea1d999 Fix PD Pocket Through All Unit Test
- test for Pocket Through All case
  generated a multi-solid solution.
  Now returns single solid.
2018-07-13 10:23:42 -03:00
wandererfan 883a726d52 Fix #3401 warning on multiple solid
- PartDesign only uses the first result shape
  of an operation and discards the rest without
  warning.

- this also fixes #1707
2018-07-13 10:23:42 -03:00
Yorik van Havre c6b3949704 Arch: Building now derives from BuildingPart 2018-07-13 10:23:01 -03:00
luz.paz be5e93ddfe Misc. typo & whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
Yorik van Havre c9b29dc63b Revert "Added support in DraftGui.todo.delay function to accept any number of arguments."
This reverts commit dc4fa6e804.
2018-07-11 21:31:57 -03:00
JimStar 63f085dd78 Extended global marker size to be used for Sketcher 2018-07-11 21:22:28 -03:00
JimStar dc15e8f077 Extended global marker size to be used for Path 2018-07-11 21:22:28 -03:00
JimStar 348ae51772 Extended global marker size to be used for other modes 2018-07-11 21:22:28 -03:00
Bernd Hahnebach 101fac6c12 Material: recreated materials files with the bash tools 2018-07-11 21:18:49 -03:00
Bernd Hahnebach 4627ad5856 Material: properties, add ultimate strain 2018-07-11 21:18:49 -03:00
Bernd Hahnebach 35b92641de Material: properties, remove Elasticity because it is a theory and not a property 2018-07-11 21:18:49 -03:00
Bernd Hahnebach 3416a26d7f FEM: analysis group meshing, deactivate by default 2018-07-11 21:18:49 -03:00
Bernd Hahnebach 96ed5404a2 FEM: material task panel, typo 2018-07-11 21:18:49 -03:00
lo d990fb15fa py3: <generator>.next -> next(<generator>)
reported: https://github.com/FreeCAD/FreeCAD_Conda/issues/16
ref1: https://stackoverflow.com/questions/12274606/theres-no-next-function-in-a-yield-generator-in-python-3
2018-07-11 21:17:57 -03:00
wandererfan 860ad6b913 Use Stroker to generate Edge selection area 2018-07-11 21:17:03 -03:00
wandererfan 545bed8b15 Fix arcs on outer angle dimensions 2018-07-11 21:17:03 -03:00
wandererfan 0914829958 Fix initial placement of linear dims 2018-07-11 21:17:03 -03:00
Markus Lampert ae49612447 Fixes for coverity CID 176063 and 176065. 2018-07-11 21:15:59 -03:00
Kurt Kremitzki 062fd6735b Detect OCCT at new Debian location 2018-07-11 21:13:35 -03:00
Amritpal Singh dc4fa6e804 Added support in DraftGui.todo.delay function to accept any number of arguments. 2018-07-11 21:12:27 -03:00
Yorik van Havre c4fc02cbcf Arch: fixed bug in non-GUI mode 2018-07-09 11:49:26 -03:00
Yorik van Havre 74a399e6b1 Arch: added IfcPRoperties to BuildingParts 2018-07-08 17:34:11 -03:00
Yorik van Havre b54661c09a Arch: Added IFC properties editor to edit mode of all Arch objects 2018-07-07 21:46:49 -03:00
Yorik van Havre 0ff2c72abc allow to disable version number in window title 2018-07-07 20:12:43 -03:00
Yorik van Havre 5f63a7764b Arch: using basic object names for all arch objects 2018-07-07 14:40:10 -03:00
pekkaroi d7d4489da1 Change StepOver to PropertyPercent 2018-07-07 14:11:08 -03:00
pekkaroi 097f73afcb Path: Surface op improvements for drop cutter algo 2018-07-07 14:11:08 -03:00
Fabio Rossi 56cd699183 Fix mod JtReader with python3 2018-07-07 14:09:11 -03:00
Fabio Rossi f469c9a2c6 Another fix to compile against qt5 with python2 (detection of shiboken2) 2018-07-07 14:09:11 -03:00
Markus Lampert 1a952af89c Make sure the offset wire is oriented predictably. 2018-07-06 22:08:47 -07:00
Markus Lampert 41ca2b3b6c Changed OpTools and unit tests to not rely on Part.Face creation to determine wire orientation. 2018-07-06 22:08:47 -07:00
Markus Lampert d2efdc4080 Some tests to figure out Travis failures 2018-07-06 22:08:47 -07:00
Markus Lampert c4426c28e6 Fixed chamfer UI 2018-07-06 22:08:47 -07:00
Markus Lampert c4c30fba9d Renamed PathGeomOp to PathOpTools. 2018-07-06 22:08:47 -07:00
Markus Lampert 57ee12df60 Prevent user from adding stock features to chamfer. 2018-07-06 22:08:47 -07:00
Markus Lampert 3652cee94a Fixed holding tags unit tests. 2018-07-06 22:08:47 -07:00
Markus Lampert c75fc99cf6 Added chamfer selection guard to allow edges and faces. 2018-07-06 22:08:47 -07:00
Markus Lampert ebf84ff152 Fixed holding tags issue with Path's at the same height as the tag top. 2018-07-06 22:08:47 -07:00
Markus Lampert b8b1c6afe2 More holding tags robustifying. 2018-07-06 22:08:46 -07:00
Markus Lampert 559d480457 Fixed direction for offsetting holes. 2018-07-06 22:08:46 -07:00
Markus Lampert 664b2da2ee Fixed flipping of an arc if the arc is rotated. 2018-07-06 22:08:46 -07:00
Markus Lampert 1574d0bd43 Robustify holding tags a bit. 2018-07-06 22:08:46 -07:00
Markus Lampert c4ae92cf3c Fixed open wire offsetting and orienting. 2018-07-06 22:08:46 -07:00
Markus Lampert 4a8653b1c6 Refactored geom functions into PathGeomOp. 2018-07-06 22:08:46 -07:00
Markus Lampert 34aaeff312 Extracted and added tests for chamfer tool depth and offset calculations. 2018-07-06 22:08:46 -07:00
Markus Lampert 028d76f000 More chamfer unit tests. 2018-07-06 22:08:46 -07:00
Markus Lampert 324a30831a Fixed wire offsetting and orientation and added more test cases. 2018-07-06 22:08:46 -07:00
Markus Lampert bf7f0a69ed Corrected cutting edge angle input for v-bits. 2018-07-06 22:08:46 -07:00
Markus Lampert ee56fc92d5 Set default log level back to INFO for all modules. 2018-07-06 22:08:46 -07:00
Markus Lampert c559544cdf Fixed missing stock exception in ProfileContour. 2018-07-06 22:08:46 -07:00
Markus Lampert 97ef1bb622 Work around for offsetting a circle with Placement. 2018-07-06 22:08:46 -07:00
Markus Lampert 1b6d14a8df Added basic chamfer test case for offsetting a wire. 2018-07-06 22:08:46 -07:00
Markus Lampert a605b6ea73 Fixed flipping of b-spline and enabled unit test for it. 2018-07-06 22:08:46 -07:00
Markus Lampert d101111f64 Added flipping of edge to PathGeom. 2018-07-06 22:08:46 -07:00
Markus Lampert 8130b57945 Moved functions out of class for simpler testability 2018-07-06 22:08:46 -07:00
Markus Lampert 135ede46fe Get the outline of the syntesized shape for PocketShape before extruding.
This greatly improves the robustness of the algorithm and gives PathArea less chances to mess it up.
2018-07-06 22:08:46 -07:00
Markus Lampert 5fa725c188 Always use climb milling for closed wires. 2018-07-06 22:08:46 -07:00
Markus Lampert 0a7074cd10 Added join to chamfer properties and UI. 2018-07-06 22:08:46 -07:00
Markus Lampert 8657632d1f Combined engrave ops in a command group. 2018-07-06 22:08:46 -07:00
Markus Lampert 6920a618db Fixed chamfer depth and cleaned up properties. 2018-07-06 22:08:46 -07:00
Markus Lampert ce7f288110 Rebase chamfer op on engrave-base and enable path generation. 2018-07-06 22:08:46 -07:00
Markus Lampert 57ff80fb07 Split Engrave into base implementation and Engrave specific pieces. 2018-07-06 22:08:46 -07:00
Markus Lampert 63200c00e5 Offsetting edges for chamfer op. 2018-07-06 22:08:46 -07:00
Markus Lampert ec0e9d1d91 Basic chamfer op framework. 2018-07-06 22:08:46 -07:00
Markus Lampert 0c71bc9f93 Consolidated path tool editor and added customized support for endmill, drill and v-bit. 2018-07-06 22:08:46 -07:00
Victor Fragoso 5f63f9f23f Add comment to clarify why replace() is used
by The WikiLab Team (wikilab.blog.br)
2018-07-06 09:55:44 -03:00
Danilo Oliveira 9ea0cf5a30 Add version info to window title
Fix issue 3499
by The Wikilab Team (wikilab.blog.br)
2018-07-06 09:55:44 -03:00
Amritpal Singh f0252c80c2 Show color of object wrt to its transparency while exporting SVG file. 2018-07-05 19:10:17 -03:00
wandererfan bd4f48c95f Fix #3525 Handle Global Position
- DVP was not taking container's Placement into
  account when drawing objects.
2018-07-05 19:06:33 -03:00
JimStar e5dc8bfffa Implemented a global setting for marker size and support of it for snapping in "Draft" workbench. In future this setting can be used for other markers too, to be able to set them all to comfortable size by just one global setting.
Before that (e.g. on MacBook Pro) it was very hard to see the microscopic selection-circle hidden behind much bigger cursor arrow when trying to snap e.g. a line to some vertex. Now this setting can be used for such displays to increase the marker size and make it clearly visible behind the cursor.
The already existing "sketcher marker size" property is intended to be used for sketcher only, so it's not suitable for global setup of all the markers' sizes uniformly...
2018-07-05 19:05:19 -03:00
Yorik van Havre 2f6fe25971 Arch: Support of IfcBuildingElement and IfcPropertySets in ifc import/export 2018-07-04 14:49:31 -03:00
Bernd Hahnebach a790510d8e Material: material properties, add angle of friction 2018-07-03 17:54:57 -03:00
Bernd Hahnebach 7a27e0e85a Material: material properties, remove duplicate 2018-07-03 17:54:57 -03:00
Bernd Hahnebach f379e61255 Material: material properties, add some links as comments 2018-07-03 17:54:57 -03:00
Bernd Hahnebach 3887161f4c Material: material properties, better formating 2018-07-03 17:54:57 -03:00
Bernd Hahnebach 527b3b35ed Material: add some thermal and mechanical properties to material module 2018-07-03 17:54:57 -03:00
Bernd Hahnebach 6442ac83dc Material: material module, add some comment 2018-07-03 17:54:57 -03:00
Bernd Hahnebach ce9e5d9553 Material: editor, add cards output and some comment 2018-07-03 17:54:57 -03:00
Bernd Hahnebach 0f8566ef0a FEM: principal stress calculation, fix for direction of principal stress 2018-07-03 17:54:57 -03:00
Dmitrii Starostin 1bd2463d90 IMHO it looks like a bug... 2018-07-03 17:53:43 -03:00
Yorik van Havre 6014fce390 Arch: Fixed bug in windows 2018-07-02 13:02:57 -03:00
Yorik van Havre 42efa3f728 Arch: Fixed bug in restoring material objects 2018-07-02 13:02:43 -03:00
Yorik van Havre ab1520b872 Arch: Fixed compatibility with 0.17 2018-06-29 13:07:13 -03:00
easyw 88729418b7 fixed a crash on escape from Image Scaling WB 2018-06-29 12:21:49 -03:00
Yorik van Havre 10dee3f420 Draft: applied patch #1530 from easyw 2018-06-29 12:20:04 -03:00
Yorik van Havre 1314210a4c Arch: Handle cloning of BuildingParts 2018-06-29 12:12:54 -03:00
Yorik van Havre 43bf3bc0cb Arch: Handle placement change in BuildingPart + view management 2018-06-28 18:44:07 -03:00
Yorik van Havre 082926c7d2 Arch: Further work on BuildingPart 2018-06-28 18:44:07 -03:00
Yorik van Havre 2bef80dcc4 Arch: initial BuildingPart development 2018-06-28 18:44:07 -03:00
Yorik van Havre 05c26826ca Arch: context menu option for material group to merge duplicate materials 2018-06-28 18:27:19 -03:00
Yorik van Havre fafb194883 Arch: Minor fix to IFC explorer 2018-06-28 13:35:55 -03:00
Yorik van Havre efdef0f636 Arch: Fixed non-GUI mode bug 2018-06-26 17:31:13 -03:00
Yorik van Havre 3f2cfa0a7f Arch: Fixed OBJ export 2018-06-26 15:26:00 -03:00
Yorik van Havre fd5f1fae3e Arch: Fixed IFC export of window openings 2018-06-26 15:17:22 -03:00
easyw 55db1feb2b adding missing changes :) 2018-06-26 10:13:33 -03:00
easyw 13cbc0c250 fixing py3 exceptions 2018-06-26 10:13:33 -03:00
easyw 87ee06b930 Centering the Image Scaling Dialog 2018-06-26 10:13:33 -03:00
easyw 090211b632 Adding Image Scaling Macro ti Image WB 2018-06-26 10:13:33 -03:00
Yorik van Havre 8f1c6f77c0 Arch: Fixed RHS structural profiles 2018-06-22 11:51:12 -03:00
wandererfan c5d5897457 Fix #3508 Missing Namespace in Templates 2018-06-22 10:56:02 -03:00
wandererfan cd02be6fca TD: provide gap between figure and ext lines 2018-06-22 10:47:55 -03:00
wandererfan b20a992579 Fix extension line direction in isometric views 2018-06-22 10:47:55 -03:00
Yorik van Havre 5da2280cd6 Arch: Added Frame and Offset properties to windows 2018-06-21 18:53:52 -03:00
Markus Lampert fb0fc49a30 Removed PathPreferences class and moved functionality into the module interface. 2018-06-19 21:53:41 -07:00
Markus Lampert b24e95b7c1 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
Yorik van Havre fae0de5858 Arch: Fixed export of included windows to IFC 2018-06-18 22:14:05 -03:00
ageeye 64fee7817b Simple blocks now are possible as container. 2018-06-18 20:38:10 -03:00
ageeye ec16d82c96 Add a new array type: PointArray. 2018-06-18 20:38:10 -03:00
Yorik van Havre 70c190f5dc Merge pull request #1521 from easyw/master
updating Image WB new Icons
2018-06-18 20:34:06 -03:00
easyw 60a0dff12d updating new Icons 2018-06-15 18:29:12 +02:00
Yorik van Havre 8e4dd8ca84 Arch: Fixed bug in removing objects from section planes 2018-06-15 12:36:25 -03:00
wandererfan 9e7f406bd9 Fix X,Y of anchor in Projection Group 2018-06-15 11:34:00 -03:00
wandererfan f91cb2ab7d Compatibility w/R12 and arrows for Angles 2018-06-15 11:34:00 -03:00
Markus Lampert 36a82c690d Add support for full circles to PathGeom. 2018-06-15 11:32:06 -03:00
Torsten Sadowski a59e87976f Additional modules for Arch Linux added to VTK_COMPONENTS 2018-06-15 11:30:42 -03:00
Torsten Sadowski e3f578ee89 Building the FEM module on Arch Linux requires some additions to VTK_LIBRARIES 2018-06-15 11:30:42 -03:00
luz.paz c0014cbd3e Misc. 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`

+ crowdin translation refinements:  
- https://crowdin.com/translate/freecad/6766/en-en#6499546
- https://crowdin.com/translate/freecad/6766/en-en#6504496
2018-06-13 20:37:17 -04:00
Yorik van Havre 548511ac30 Add support for Qt5 in ts update script 2018-06-13 11:45:40 -03:00
larnu c8c10c117b Fix Blender Navigation 2018-06-13 12:21:34 +02:00
Markus Lampert 3c3239ae29 Aggregate base edges into wires for engraving. 2018-06-12 10:32:47 -03:00
ageeye 8faf50ec04 PartDesign::Clone maintain the colors of the original 2018-06-12 10:30:07 -03:00
Yorik van Havre 0fcb378f02 Arch/Draft: Fixed bugs in non-GUI mode 2018-06-11 21:44:23 -03:00
Yorik van Havre 2f18182b6d Updated travis build badge in Readme 2018-06-11 12:28:00 -03:00
ageeye 15685136e7 Add sew function to the draft facebinder. Besides facebinder and patharray get their own icons in the tree view. 2018-06-11 09:58:22 -03:00
ageeye c6c4a06778 Add sew function to the draft facebinder. Besides facebinder and patharray get their own icons in the tree view. 2018-06-11 09:58:22 -03:00
Bernd Hahnebach 1051f10498 Material: main module, only use one material structure list 2018-06-11 06:21:41 +02:00
wmayer f90cd4a56d backport to occt < 6.9 2018-06-10 21:57:25 +02:00
tomate44 f3ac51d9b7 add Approximation option to TopoShape section 2018-06-10 20:59:06 +02:00
tomate44 be96fcc62d add Approximation option to FeaturePartSection 2018-06-10 20:59:06 +02:00
wmayer 2410e53238 fix typo 2018-06-10 20:55:16 +02:00
Bernd Hahnebach 184a566da3 Material: move materal property list into material module and use this for material editor ui and writing of mat files 2018-06-10 20:54:23 +02:00
Bernd Hahnebach 1e844d4f53 Material, code formating, flake8 compatible code 2018-06-10 20:54:23 +02:00
Abdullah Tahiri 1e37612a27 Sketcher: Fix deleteall crash 2018-06-10 19:57:42 +02:00
wandererfan 9975c75888 Fix #3419 Circles as Polygons
- by default, OpenScad represents circles from
  dxf files as octogons.  This fix provides
  access to the OpenScad variable "$fn" which
  controls the number of polygon sides.
2018-06-10 19:33:33 +02:00
wandererfan f571c14487 Fix wrong point in Radius dim 2018-06-10 19:13:22 +02:00
wandererfan 7cb8520a84 Make Dxf Dimensions compatible with ACAD 2018-06-10 19:13:22 +02:00
wandererfan 0f8eca3c1c Make Dxf header compatible with ACAD 2018-06-10 19:13:21 +02:00
wandererfan 79e290ffb5 Fix 3505 Special Chars in Path
- thanks to @marams for the patch.
2018-06-10 19:13:21 +02:00
wandererfan 6c4e4b35af Ensure Correct Scale in DrawViewSection
- when the Source View for a Section is a Projection
  Group item, need to use the Scale property from the
  parent Projection Group.
2018-06-10 19:13:21 +02:00
wmayer a8daaf4a45 fixes #0002725: Random color for features in PartDesignNext 2018-06-10 18:37:53 +02:00
looooo 617dfa0639 Arch: survey: py3-fix 2018-06-10 10:14:30 +02:00
wmayer 41b278a05b fixes #0003256: additive elements do not use color of Body 2018-06-10 10:12:32 +02:00
wmayer 75a6c68185 fix possible crash when reverting a document 2018-06-09 23:22:56 +02:00
wmayer c4fd48fb32 explicit handling of English/en locale in setLocale and supportedLocales 2018-06-09 20:34:54 +02:00
wmayer 8f19b46d26 Some fixes for PropertyEnumeration:
+ when reading an enumeration ignore negative indexes and print a warning
+ raise an exception when trying to get the current value of an invalid enumeration
2018-06-09 20:00:28 +02:00
wmayer 5ea211489a add methods to set/get locales 2018-06-09 17:31:19 +02:00
wmayer cb13376746 properly handle failure of loading a module 2018-06-09 15:55:20 +02:00
wmayer b77b77c0de fix -Wmaybe-uninitialized 2018-06-09 12:05:19 +02:00
wmayer 833c2c601e add missing newlines 2018-06-09 11:47:12 +02:00
Markus Lampert f0e6b69690 Switched engrave to use path-geom tools 2018-06-09 11:14:08 +02:00
Abdullah Tahiri d6d26b6a89 Sketcher: Wrong DoF reported - Fixes #3503 2018-06-09 11:11:46 +02:00
wmayer a91d9c5d13 msvc2013 doesn't support default arguments in lambda expressions 2018-06-09 11:09:29 +02:00
Abdullah Tahiri a5e85fd297 Sketcher: Python interface to solveraid 2018-06-09 11:02:53 +02:00
Abdullah Tahiri 830932db4e Sketcher: Ability for SketchObject to create a list of dependent geometric elements 2018-06-09 11:02:43 +02:00
luz.paz 556f5dc8f7 FEM: source typo fixes 2018-06-09 10:53:00 +02:00
Bernd Hahnebach 7d7a02e00a FEM: add tool clipping plane tools 2018-06-09 10:53:00 +02:00
Bernd Hahnebach c3e64d2861 Material: editor, move poisson ration into mechanical properties 2018-06-09 10:53:00 +02:00
Bernd Hahnebach e143e3f290 Material: editor, move in ui hardcoded properties into the editor module in a tuple 2018-06-09 10:52:59 +02:00
Abdullah Tahiri 0b37a92596 GCS: Improved point symmetry constraint
=======================================

The original implementation won't work when the point is already on the line. See:
https://forum.freecadweb.org/viewtopic.php?f=3&t=29115#p237397

The new implementation works on the projections of the vectors linking the two first points with the symmetry point on the vector linking the two first points.

This assures that there is no stability problem when the point is already on the symmetry axis.
2018-06-09 10:50:05 +02:00
Abdullah Tahiri ed0c22cf56 GCS: Add convenience point constructor 2018-06-09 10:49:55 +02:00
looooo 83dd39b4ce small flatmesh fix 2018-06-08 16:08:31 +02:00
Yorik van Havre 08910e71e4 Arch: Added pref option to base new walls on Draft lines 2018-06-06 18:34:14 -03:00
Bernd Hahnebach 05bee3aa1f Materials: use material directory pref from FEM 2018-06-05 14:28:25 -03:00
Bernd Hahnebach 1a4b2cb73d FEM: pref general and material, change back the file chooser to dir chooser 2018-06-05 14:28:25 -03:00
Bernd Hahnebach 7c316ba01e FEM: prefs, move material prefs from general tab into an own tab in FEM 2018-06-05 14:28:25 -03:00
Bernd Hahnebach 71a27731b2 FEM: App Gui, sort headers and pref entries 2018-06-05 14:28:25 -03:00
Bernd Hahnebach 01ecf98596 FEM: cmake, sort files 2018-06-05 14:28:25 -03:00
Bernd Hahnebach d871555fef FEM: ccx binary, better error message if ccx binary exists but has problems to run, seen a lot on osx 2018-06-05 14:28:25 -03:00
Bernd Hahnebach 51ad2b023b FEM: command manager, use FEM wb icon as standard 2018-06-05 14:28:25 -03:00
Bernd Hahnebach 9c628b8700 FEM: calculix writer, do not write integration point results into dat file, because we do not have a reader for this ATM 2018-06-05 14:28:25 -03:00
Yorik van Havre 8700597c8c Merge pull request #1493 from WandererFan/update
Dxf Export Fix and Additional Features
2018-06-05 14:26:21 -03:00
WandererFan 334697fcd0 Merge branch 'master' into update 2018-06-04 17:03:54 -04:00
wandererfan 8cd1cab685 Fix wrong Pi literal on Win 2018-06-04 17:00:40 -04:00
looooo e80b5678cc Arch: Survey: fix py3 unicode problems 2018-06-04 19:23:42 +02:00
wandererfan 8b4a2895ab Control Dxf Point export by preference 2018-06-04 12:56:26 -04:00
wandererfan 5d65ad7994 Implement thumbnail blocks for Dimensions 2018-06-04 12:56:26 -04:00
wandererfan bf5589e2d6 Position DPGI Dimensions correctly in Dxf file 2018-06-04 12:56:26 -04:00
wmayer 9ec4d83682 missing call to clear error indicator 2018-06-04 17:48:10 +02:00
Markus Lampert 9f7ac42217 Support for individual edges and faces of an attached shape string - fixed depth settings. 2018-06-04 12:06:45 +02:00
Markus Lampert 1b78a99dd1 Fixed engrave gui updating Base and BaseShapes. 2018-06-04 12:06:44 +02:00
Markus Lampert 4641fafa02 Added support for rotated 2d shapes for engraving selection. 2018-06-04 12:06:44 +02:00
Markus Lampert a3d864e59d Added engraving support for attached ShapeStrings 2018-06-04 12:06:44 +02:00
Markus Lampert b3d11842f4 Fixed stock from base. 2018-06-04 12:06:43 +02:00
Markus Lampert 79c9e2d872 Fixed selection of vertexes and faces - and added support for faces as base objects. 2018-06-04 12:06:42 +02:00
Markus Lampert 32cb111721 Filter out duplicate selections 2018-06-04 12:06:42 +02:00
Markus Lampert 60a49ede57 Allow selection of edges for engraving. 2018-06-04 12:06:42 +02:00
Markus Lampert 13bce09608 Suppport for engrave as part of a general job 2018-06-04 12:06:42 +02:00
Markus Lampert aaa200f015 Add support for BaseGeometry to Engrave, if the Job's base object cannot be processed. 2018-06-04 12:06:41 +02:00
looooo 57a8fddba0 Fem: fenics: py3-fixes 2018-06-04 10:02:09 +02:00
Yorik van Havre 23f58f1afc Draft: Fixed Draft texts not appearing on file load 2018-06-02 14:31:12 -03:00
Yorik van Havre def225caa9 Arch: Fixed bug in windows presets 2018-06-02 14:20:44 -03:00
Yorik van Havre 15d2f9bb73 Arch: Added toggleSubs command to context menu of arch objects 2018-06-02 13:54:10 -03:00
Abdullah Tahiri d02d0da7de Sketcher: Do not update point height when highlighted i.e. (pre)selected 2018-06-02 16:44:57 +02:00
wmayer fc47266829 fix memory leak in SMDS_MeshNode::getCoord() 2018-06-02 15:33:07 +02:00
Yorik van Havre e49a5af3ae Arch: separate properties creation in own methods and check properties at file load 2018-06-01 19:36:35 -03:00
Yorik van Havre 27e80d0c69 Arch: Fixed Site properties 2018-06-01 13:36:34 -03:00
wmayer 211a24507c do not use deprecated class in OCCT 7.3 2018-06-01 17:02:27 +02:00
Yorik van Havre 37b9fedaf8 Arch: Fixed bug in preset doors 2018-06-01 11:40:09 -03:00
Yorik van Havre 93eb05b1b5 Draft: Support new-style Draft texts in TechDraw 2018-06-01 11:05:15 -03:00
Bernd Hahnebach 22b0fe9df7 Material: editor, some comments 2018-06-01 08:26:58 +02:00
Bernd Hahnebach 76cb5f033c Material: Editor, fix open the editor without mat 2018-06-01 08:21:36 +02:00
Bernd Hahnebach b643d03319 Material: Editor, fix folders to look for mat cards 2018-06-01 08:21:33 +02:00
Bernd Hahnebach 6ae0aa0659 Material: Editor and import, only use mat keys if they have a value 2018-06-01 08:21:31 +02:00
Bernd Hahnebach bf11a5f239 Material: Editor and import, fix openfile and savefile if no filename is given, make open and save work the same way 2018-06-01 08:21:28 +02:00
Bernd Hahnebach 428e9ea5ed Material: Editor and import, delete trailing white spaces 2018-06-01 08:21:26 +02:00
Bernd Hahnebach c3954c2e1d FEM: material task panel, remove matweb button and save mat card button as they are tools implemented in FreeCAD material editor 2018-06-01 08:21:23 +02:00
Bernd Hahnebach 2d8ebcf005 FEM: material task panel, quite some changes:
- add Material editor for editing material parameters as well as load and save mat cards
- distinguish between 'card name' and the 'material name'
- reorganising codeg
2018-06-01 08:21:19 +02:00
Bernd Hahnebach 0bafa26b26 FEM: elmer writer, fix heat source and add a comment about units 2018-06-01 08:21:17 +02:00
Bernd Hahnebach 5fd8bd0c21 FEM: pyhton commands, some comment 2018-06-01 08:21:14 +02:00
Bernd Hahnebach e1ae500e8d FEM: pyhton commands, do open the task panel on new object creation in Gui 2018-06-01 08:21:10 +02:00
Bernd Hahnebach 1035a032fc FEM: material editor, add command to open the editor ot icon toolbar, use copy of Arch material group icon 2018-06-01 08:20:59 +02:00
wandererfan f0964a9c05 Implement R12 version of Polyline 2018-05-31 20:57:01 +02:00
wandererfan 6b6a0569be Add 999 Application group code
- also remove variable $MAXACTVP - not valid in some
  appls.
2018-05-31 20:57:01 +02:00
wandererfan ea5617ee01 Initialize #pts for LWPolyLine 2018-05-31 20:57:01 +02:00
luz.paz 79a4aa3ef4 Misc. typos
Found via `codespell`
[skip ci]
2018-05-31 12:50:58 -04:00
Abdullah Tahiri bf03c7bcb1 Sketcher: Empty list means all geometry for Python addCopy addRectangularArray and addMove 2018-05-31 14:36:21 +02:00
Abdullah Tahiri 39e82c79f6 Sketcher: New tool bar icon under the copy command to move 2018-05-31 14:35:54 +02:00
Abdullah Tahiri 7c586b6c1a Sketcher: move icon art 2018-05-31 14:35:14 +02:00
Abdullah Tahiri cffa76b0cc Sketcher: Python support for moving Geometry 2018-05-31 14:34:58 +02:00
Abdullah Tahiri 7df7667774 Sketcher: Moving Geometry Support 2018-05-31 14:34:31 +02:00
Abdullah Tahiri ec6eaa509d Sketcher: Improved B-Spline creation 2018-05-31 14:33:58 +02:00
Abdullah Tahiri 4805927170 Sketcher: Extend existing rendering order for lines to points 2018-05-31 14:31:29 +02:00
Abdullah Tahiri dccb86a5db Sketcher: Optional extended naming for constraints widget giving first-second-third information 2018-05-31 14:29:00 +02:00
wmayer 78b7510ee1 fix inconsistent default parameters, fix warnings 2018-05-31 13:47:31 +02:00
wmayer 4a80564783 fix cmake warning due to inconsistent naming 2018-05-31 13:44:03 +02:00
wmayer 3cb6890bcc suppress warning C4996 2018-05-31 13:42:35 +02:00
wmayer 717abd0cf3 fix string 2018-05-31 13:27:38 +02:00
wmayer d4354af79b fix const correctness 2018-05-31 13:15:31 +02:00
wmayer 63cefaf4a6 fix const correctness 2018-05-31 12:49:23 +02:00
Abdullah Tahiri 8d7622b4a9 Sketcher: error message when trying to increase the degree of not-a-bspline fixes #3471 2018-05-31 11:42:24 +02:00
Abdullah Tahiri bfef80f9c0 Sketcher: bspline knot increase wrong string fixes #3470 2018-05-31 11:42:11 +02:00
Abdullah Tahiri 8a31a6c5b4 Tests: Update test to remove redundants that failed to be detected with the old solver 2018-05-31 11:41:59 +02:00
Abdullah Tahiri 60a57107cf Sketcher: fix failure to notify solver issues, like redundancies, when using setUpSketch in SketchObject 2018-05-31 11:41:48 +02:00
Abdullah Tahiri 61b1a15524 Fix MatrixIndexType 2018-05-31 11:41:37 +02:00
Abdullah Tahiri 03c3539dbf GCS: Improvement in redundant constraint detection
==================================================

The solver uses some heuristics to determine the "redundant to remove" and notify it to the user.

Basically it would pick the solver redundant constraint that affects most groups of redundants (popularity contest).

In the simple cases, all the redundants are equally popular and the popularity contest is untied by using the tagid (let say for simplicity it is the number at sketcher level Constraint3, the tagid=3).

This means that in simple cases, the solver systematically decides that the redundant constraint to handle from those showing a linear dependency is the one appearing the last.

This commits changes the way to untie the popularity contest, by giving more priority to those sketcher constraints that need a lower number of solver constraints (in other words,
those constraints that remove a lower amount of DoF). In case of tie, the tagid is then used to break the tie.

At least:
fixes #3434
fixes #1557
2018-05-31 11:41:26 +02:00
Abdullah Tahiri 9e901dbc59 GCS: Fix report view formating and duplicated endline 2018-05-31 11:41:16 +02:00
Abdullah Tahiri d75be15f64 Sketch: DoF finder icon/resource file 2018-05-31 11:41:04 +02:00
Abdullah Tahiri f7a7d2bade Sketcher Toolbar: Removing DoF finder from the toolbar, as it can be accessed from the solver messages now
- Renaming of command
2018-05-31 11:40:53 +02:00
Abdullah Tahiri 14c7349e2e Sketcher: DoF finder command while using the default SparseQR
=============================================================

- Modification to transparently switch from SparseQR to DenseQR and back to SparseQR when using the DoF finder command.
- Command Tools dof finder command name change
2018-05-31 11:40:40 +02:00
Abdullah Tahiri 1d63ed717a Sketcher: Support for clickable DoFs to launch DoF finder 2018-05-31 11:40:28 +02:00
Abdullah Tahiri 9926105643 Solver: solver sketch level support for driven constraints and parameters
- Support for addition of driving information to GCS constraints
- Support for keeping track of value parameters of driven constraints
- Support for getting which QR algoritm is being used at GCS level
2018-05-31 11:40:16 +02:00
Abdullah Tahiri 858f4cb85b GCS: Full detection of dependent parameters with Dense Full Household pivoting QR decomposition
- Improve Debug information.
- Support for addition of constraints with driving information for the solver constraints.
- Removal of the driven constraints from the Jacobian for QR decomposition
- Removal of the value freewheeling parameter from the Jacobian for QR decomposition
- Full detection of dependent parameters where DoF are present for Dense QR.
2018-05-31 11:40:05 +02:00
Abdullah Tahiri d531e98eac GCS: Support for solver constraints to store driven/driving status 2018-05-31 11:39:53 +02:00
Abdullah Tahiri ce4503ae40 Sketcher: New Command to select geometric elements with dependent parameters 2018-05-31 11:39:41 +02:00
Abdullah Tahiri 6f7e06fa49 GCS: Extension of solver geometric elements to store whether they have dependent parameters 2018-05-31 11:39:28 +02:00
Abdullah Tahiri ed25902e12 Solver: Solver Sketch level dependent parameters and solver geometric element management 2018-05-31 11:39:15 +02:00
Abdullah Tahiri 2e70d9c75f GCS: Solver dependent parameters retrieval 2018-05-31 11:39:02 +02:00
looooo 8e2c682a3d fix windows problem:
https://forum.freecadweb.org/viewtopic.php?f=4&t=29014
2018-05-31 11:02:33 +02:00
looooo d38fabf264 cmake:occt: add fallback 2018-05-31 11:02:33 +02:00
looooo baed57f01a conda: osx configuration 2018-05-31 11:02:33 +02:00
Mark Ganson TheMarkster 2c982e0c45 Remove extra definition of obj.IntervalZ
Remove extra definition of obj.IntervalZ in Draft array object.

Was:
obj.IntervalZ = Vector(0,0,1)
obj.IntervalZ = Vector(0,0,0)

Now:
obj.IntervalZ = Vector(0,0,1)
2018-05-31 10:58:58 +02:00
Yorik van Havre 262d7c0cd0 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2018-05-30 19:07:48 -03:00
wandererfan 2760dabb3c Format Dxf Group Codes as 3 chars 2018-05-30 19:06:58 -03:00
wmayer 009b18a553 expose function to Python to get optimal bounding box 2018-05-30 21:27:49 +02:00
wmayer b8fca77c5a respect settings of locatation navicube when creating a new view 2018-05-30 09:45:44 +02:00
wandererfan 3b02ff2a94 Fix typo in AddonManager 2018-05-29 09:57:10 +02:00
wmayer b54f0353b0 revert commit d1588052ff 2018-05-29 09:38:23 +02:00
wandererfan 73d597710f Write Dimension Blocks to Dxf file 2018-05-28 19:54:45 +02:00
wandererfan 064a261cc2 Add Header with version to dxf output file 2018-05-28 19:54:45 +02:00
wandererfan a6e9eec5ad Avoid Qt warning re mdi window not in workspace 2018-05-28 13:27:11 -04:00
wandererfan c96d72bd67 Ignore selection changes while closing Page 2018-05-28 13:26:26 -04:00
Janne Keränen 6781a8167f Correct small bug in CompoundFilter in command line
Without this, CompoundFilter does not work in Python script in non-GUI-mode.
See:
https://forum.freecadweb.org/viewtopic.php?f=10&t=27593&p=222303
and
https://www.freecadweb.org/tracker/view.php?id=3381
2018-05-28 16:55:15 +02:00
Przemo Firszt 1a71777f5f Fix base number of commits
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-05-28 16:51:53 +02:00
wandererfan 0ea75683f1 Fix #3477 Unintended Deletion
- original fix for #3477 presented message box for each
  inactive selected item.  Now it presents 1 message box
  per document, like the check for deletion of linked
  objects.
2018-05-28 16:46:31 +02:00
pekkaroi 8b0b3df76c PathSimulator, fix typo false->False 2018-05-28 10:27:53 -03:00
pekkaroi 1a3996783e Improve backwards compatibility 2018-05-28 10:12:07 -03:00
pekkaroi 0c90118cb3 Cleaning 2018-05-28 10:12:06 -03:00
pekkaroi 3895c9a492 Improved naming of the new parameters 2018-05-28 10:12:06 -03:00
pekkaroi 1aa8601e07 Add IgnoreAbove parameter to not generate ramp above certain heights 2018-05-28 10:12:03 -03:00
looooo 432daa95c5 simplify cmake-setup of netgen and occt
using default cmake-configs to access cmake-variables
2018-05-28 14:23:05 +02:00
Bernd Hahnebach 6476cf4c6b FEM: mesh netgen command, fix meshing while task panel is opened 2018-05-28 12:22:11 +02:00
Bernd Hahnebach fbf96728b8 FEM: material editor, add it to materials menue 2018-05-28 08:58:17 +02:00
Bernd Hahnebach 24a21ce83f FEM: menue entries, add submenue for materials 2018-05-28 08:58:17 +02:00
Bernd Hahnebach c7879c28fe FEM: selection widget module, fix console print message 2018-05-28 08:58:17 +02:00
Bernd Hahnebach be28744829 FEM: Python VP, add return variable to unSetEdit methods and improve reseting the edit mode 2018-05-28 08:58:17 +02:00
Bernd Hahnebach 7512fb5628 FEM: material widget, add button to fix material property editing 2018-05-28 08:58:10 +02:00
Abdullah Tahiri 468946bcde Sketcher: Fix crash on applying dimensional constraint to external element 2018-05-27 19:43:05 +02:00
wmayer d1588052ff (tmp.) switch off Web module when building with Qt5 2018-05-27 19:03:26 +02:00
Przemo Firszt db902b4622 Add fedora spec and support files
That will allow automatic fedora builds using COPR

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-05-27 18:46:58 +02:00
wmayer 0425c7f3c8 fixes #0003493: Python Shape.isClosed() returns false for any solid, including primitive Parts 2018-05-27 15:10:44 +02:00
wmayer 4b089f9667 fix inconsistency with default value of random shape color 2018-05-26 18:52:58 +02:00
wmayer 7c010ab9a4 implement option to change corner of navi cube 2018-05-26 18:51:53 +02:00
wmayer d15c7d0673 + option to disable navi cube
+ handle destruction of GL context in 3d viewer class
+ fix for OpenGL error message: 'Texture is not valid in the current context. Texture has not been destroyed'
2018-05-26 15:33:45 +02:00
wmayer 865f83b574 remove unrealiable implementation of ViewNormalToSketchPlaneCmd 2018-05-26 15:33:45 +02:00
wmayer ddf881a1db make NaviCube working for Qt4 and Qt5 2018-05-26 15:33:45 +02:00
wmayer ba99fff1d9 fix Qt5 build failure 2018-05-26 15:33:45 +02:00
Kustaa Nyholm 13a4f84145 First Qt5 compatible NaviCube attempt 2018-05-26 15:33:45 +02:00
Yorik van Havre 934603b604 Draft: Fixed draft2sketch not working with ellipses 2018-05-25 18:48:04 -03:00
Mark Ganson TheMarkster e0ef642d24 fix copy/paste error, add back 3 lines
Good catch, Yorik.  I never intended to remove those lines.  Must have happened when I was editing the documentation string.
2018-05-25 17:26:00 -03:00
Mark Ganson TheMarkster f9212edc6d Update Draft.py 2018-05-25 17:26:00 -03:00
Mark Ganson TheMarkster e74a18f09c Update Draft.py 2018-05-25 17:26:00 -03:00
DeepSOIC 0c4c04156c Part: fix imports of Show.TempoVis 2018-05-25 17:24:57 -03:00
DeepSOIC 78f054f09f Show: improve container support 2018-05-25 17:24:57 -03:00
DeepSOIC 0511284f08 Show: toggle support for sketch clipping plane 2018-05-25 17:24:57 -03:00
DeepSOIC 7edfe0f26e Show: fixes 2018-05-25 17:24:57 -03:00
Abdullah Tahiri ab478f947c Sketcher: Section Command enabling the clipping planes 2018-05-25 17:24:57 -03:00
Abdullah Tahiri c3f0513cca Sketcher: Section view artwork 2018-05-25 17:24:57 -03:00
DeepSOIC bd442192fb Show: fix forgotten cmakelists 2018-05-25 17:24:57 -03:00
DeepSOIC 75ba527311 Show: more fixes 2018-05-25 17:24:57 -03:00
DeepSOIC 1bf9da8a2a TempoVis: Clip Plane Support 2018-05-25 17:24:57 -03:00
wmayer e4cea7f3ca fix possible stack overflow when finishing edit mode 2018-05-24 19:37:16 +02:00
looooo 9fb122008b 2to3: port some missing print statements 2018-05-23 19:13:54 +02:00
looooo ab3ec6cc73 py2 fix: open doesn't accept encoding attribute 2018-05-23 19:13:54 +02:00
looooo 71dd8934a7 add python syntax checker 2018-05-23 19:13:54 +02:00
looooo c801808bed python syntax checker: remove some strange leading characters 2018-05-23 19:13:54 +02:00
looooo 8e8d0d0cba py3: Import: 2to3 2018-05-23 19:13:54 +02:00
looooo 25bd2d2ab1 py3: tools: 2to3 2018-05-23 19:13:54 +02:00
looooo ec22a90789 py3: fem: fix gmsh bytes problem 2018-05-23 19:13:54 +02:00
wmayer 4682b4fd25 fix -Wparentheses-equality 2018-05-23 18:40:47 +02:00
Bernd Hahnebach 2ef1d2f363 FEM: geometric selection widget, more errors as popups, better clear selection 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 253b3a5233 FEM: geometric selection widget, check to only allow to select one geometric shpape type for the list 2018-05-23 17:59:29 +02:00
Bernd Hahnebach fa484c65d3 FEM: default display mode, name it Default as it is done in all other FEM obj where a Default display mode is needed 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 5ac8431a17 FEM: selection observer, move class into selection widgets module 2018-05-23 17:59:29 +02:00
Bernd Hahnebach c574fb2760 FEM: Python obj VP, code formating 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 964ede3f4c FEM: Python geometry selection class, use it for material obj 2018-05-23 17:59:29 +02:00
Bernd Hahnebach eb88c9045c FEM: Python geometry selection class, use it for gmsh mesh boundary layer 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 6a2ac85d59 FEM: Python geometry selection class, use it for gmsh mesh group 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 5f66ca215a FEM: Python geometry selection class, adapt it to Solid selection and use it for gmsh mesh region 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 366af6d778 FEM: Python geometry selection class, use it for fluid 1D obj 2018-05-23 17:59:29 +02:00
Bernd Hahnebach faf6e52000 FEM: Python geometry selection class, use it for beamsection obj and rotation obj 2018-05-23 17:59:29 +02:00
Bernd Hahnebach c84077ba44 FEM: Python geometry selection class, make it useable for Vertex, Edge and Face 2018-05-23 17:59:29 +02:00
Bernd Hahnebach c20994358c FEM: implement a geometry reference selection class, use it for shell thickness obj 2018-05-23 17:59:29 +02:00
joha2 24452df93e FEM: fenics #0003038: this fixes the CellFunction type to get access to the measures correctly 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 50724bbe50 FEM: some Python constraint VP, add import of FemGui to get the icon in TreeView when there is no analysis and Fem is not loaded 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 103371f571 FEM: menue entries and tool bars, code formating 2018-05-23 17:59:29 +02:00
Bernd Hahnebach bf671db126 FEM: menu entries, add one for electrostatic potetial 2018-05-23 17:59:29 +02:00
Bernd Hahnebach f06132d3e8 FEM: result and gmsh mesh obj, do not load FEM wb on double click. Only the analysis container should have this 2018-05-23 17:59:29 +02:00
Bernd Hahnebach c997755ad1 FEM: Python object VP, add a pop up if a task panel is open while another one will be opened 2018-05-23 17:59:29 +02:00
Bernd Hahnebach ae4a97d3d2 FEM: Python constraints, do not open a new constraint if another task panel is open 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 243fd83d96 FEM: electrostatic potential objeckt, fix module title 2018-05-23 17:59:29 +02:00
Bernd Hahnebach c5a9fc5a0f FEM: constraint gear and pulley VP, remove unnecessary error logs 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 23089bea99 FEM: result object, better grouping in result properties, this does not break compatibility 2018-05-23 17:59:29 +02:00
Bernd Hahnebach eb1acda987 FEM: unit tests, add some comment 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 0c6ed4db13 Material: fix some units in various material cards 2018-05-23 17:59:29 +02:00
Bernd Hahnebach d47f298537 FEM: commands, add recomputes and replace App and Gui wie FreeCAD and FreeCADGui 2018-05-23 17:59:29 +02:00
Bernd Hahnebach a4bb93d559 FEM: Python VP objects without task panel, proper prevent edit mode 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 5f37a30230 FEM: Python reference selection task panel, fix initial selection and selection after delete an item 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 16e70d9719 FEM: Python constraints with ref shapes, add right click to delete all ref shape at once 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 545ec31adf FEM: gmsh mesh obj, implement drag and drop for its childs 2018-05-23 17:59:29 +02:00
Bernd Hahnebach fa6bb2183c FEM: gmsh mesh obj, fix initialization of mesh group list 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 59c67f4b7c FEM: C++ constraints, clear selection on unsetEdit, same system as it is on Python constraints 2018-05-23 17:59:29 +02:00
Bernd Hahnebach fab0b40614 FEM: Python constraints, hide meshes while constraint task panel is opened 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 830d521e93 FEM: python task panel with solid reference shapes, make solids better visible on click if they are in Compound or BooleanFragment 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 458a4be12f FEM: meshtools and dependent modules, add error message for retrieving solid elements if out of range 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 1e497ebd8e FEM: code formating, no space after ( 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 2e8a919627 FEM: material task panel, use same name system for all gemetrical elements 2018-05-23 17:59:29 +02:00
Bernd Hahnebach 4dea888fda FEM: python objects task panel, clear selection on task panel close 2018-05-23 17:59:29 +02:00
Bernd Hahnebach f5fe86a39b FEM: material task panel, add some TODO comment 2018-05-23 17:59:29 +02:00
Markus Lampert 48aa0ba3d2 Fixed TC modality in post processor driver. 2018-05-23 17:25:42 +02:00
wandererfan 2dd0f1f8f6 Export Diametric Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan b7f4fe9368 Export Radial Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan 4a1b6601da Export Angular Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan 490b7fc197 Export Linear Dim to Dxf 2018-05-21 19:36:16 -04:00
Yorik van Havre 4f5e304d64 Fixed wrong encoding in App.openTransaction 2018-05-21 12:11:46 -03:00
Abdullah Tahiri c039bfb011 Sketcher: Snap polyline arcs to 45 degrees pressing ctrl fixes #3472 2018-05-21 10:45:13 -03:00
luz.paz 7a09a5774e More misc. typos 2018-05-19 12:17:52 -04:00
luz.paz c4474f1879 Add source comment typo fix 2018-05-19 12:06:34 -04:00
luz.paz ed1470e3d2 whitespace cleanup 2018-05-19 12:06:34 -04:00
luz.paz 6e64b4f75d Misc. typos 2018-05-19 12:06:34 -04:00
Yorik van Havre ac6ae007b2 Remember background type in Tools->Save picture dialog 2018-05-18 10:46:21 -03:00
wandererfan afdd30b137 Fix delayed painting
- Annotation and Image were not being painted
  immediately, but had to wait for a page
  refresh.
2018-05-16 18:58:10 -04:00
wandererfan 09f607c5fc Remove debugging messages 2018-05-16 18:58:10 -04:00
wandererfan a2e1826a9a Fix DrawProjGroup Positioning
- DrawPage was not including DPG in list of all
  views, so DPG was not being positioned properly.
2018-05-16 18:58:10 -04:00
wandererfan 84c40aa69b export TD Annotation to Dxf 2018-05-16 18:58:10 -04:00
wandererfan fa28bf97ea Export Points to Dxf 2018-05-16 18:58:10 -04:00
Yorik van Havre 622cb9d2f7 Draft: added ConvertDraftSketches() convenience function to convert App::Annotations to the new Draft Text object 2018-05-16 16:27:12 -03:00
Yorik van Havre 8fd89533a8 Select items already present in PropertyLinkList edit dialog 2018-05-16 14:58:33 -03:00
sgrogan 46a91630b6 Fix Dice3DS nested directory for non-installed build 2018-05-16 11:15:26 -03:00
Yorik van Havre 39e3508b3f Arch: Added combobox with presets in multimaterial layer names 2018-05-15 22:28:12 -03:00
wandererfan 57b7f3389a Fix selection when multiple pages 2018-05-15 21:50:48 +02:00
wandererfan 2a0c65137f Fix message for empty detail area 2018-05-15 21:50:48 +02:00
wandererfan 89a7b2a92f Fix selection for radius Dims
- selection of ellipse curves was allowed
  but not supported for radius dims.
2018-05-15 21:50:48 +02:00
wandererfan ea87335842 Fix CCW ellipse arcs 2018-05-15 21:50:48 +02:00
Markus Lampert 7f965554b8 Fixed abs usage for doubles - thanks to clang warnings. 2018-05-15 21:45:58 +02:00
Yorik van Havre 4cb93bf669 Draft: More streamlined console output 2018-05-14 18:57:57 -03:00
Yorik van Havre a711474552 Draft: Show in-command shortcuts on buttons and in console 2018-05-14 18:57:28 -03:00
Yorik van Havre 891682a412 Draft: Added 'Flatten' context menu entry to Draft Wires 2018-05-14 16:49:25 -03:00
Yorik van Havre ea0df1e212 Arch: Added CutMargin property to section planes 2018-05-14 12:34:14 -03:00
wmayer 753f514d3b proper fix to keep nodes order intact when exporting to UNV format
For more detailed information have a look here:
https://forum.freecadweb.org/viewtopic.php?f=10&t=27744&sid=9a966f15219a156c83f12be7ac055791&start=70#p233460
2018-05-13 18:05:07 +02:00
Yorik van Havre 0b3f02ec5b Arch: Window placement now keeps orientation from last face hovered. Much, much easier to place windows in walls now 2018-05-13 12:45:40 -03:00
Yorik van Havre 9763696216 Arch: Added convenience function ArchComponent.convertOldComponents to convert the Role property to IfcRole 2018-05-11 23:14:41 -03:00
Yorik van Havre 30476e951d Arch: Renamed Role property to IfcRole 2018-05-11 12:01:55 -03:00
Yorik van Havre 89bee2c83c Draft: Catch deleted objects in DraftGui.todo 2018-05-11 12:01:22 -03:00
wandererfan 26d7d74725 Convert deprecated boost::signal to signals2 2018-05-11 10:32:24 -03:00
wandererfan eefaaa58db Eliminate some redundant executes
- excessive calls to DrawView::execute were
  slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -03:00
Gabriel Souza Franco 4594583613 Fix compilation with GCC 8 2018-05-11 10:20:35 -03:00
Markus Lampert 186df52382 Cleaned up translation. 2018-05-11 10:18:56 -03:00
Markus Lampert de9b157a94 Updated copyright 2018-05-11 10:18:56 -03:00
Markus Lampert 4adae91abe Setting rotation center for the job on change. 2018-05-11 10:18:56 -03:00
Markus Lampert 6fe32862ba Maintain center of rotation for compound objects. 2018-05-11 10:18:56 -03:00
sliptonic 5103b74bff Set Path Center. Depends on mlampert's rotation vis 2018-05-11 10:18:56 -03:00
sliptonic 454d86b20d fixed feed rate for angular moves 2018-05-11 10:18:56 -03:00
sliptonic bf51263a2b Path rename dressup
for name standard compliance
2018-05-11 10:18:56 -03:00
sliptonic f933570035 Initial Commit 2018-05-11 10:18:56 -03:00
Markus Lampert 1bdda1c472 Fixed rotation axis rendering for B and C. 2018-05-11 10:18:56 -03:00
Markus Lampert d720ef1d12 Add support for rotation center to ViewProviderPath. 2018-05-11 10:18:56 -03:00
Markus Lampert 49d016e2ae Fixed inch scaling 2018-05-11 10:18:56 -03:00
Markus Lampert e637bfda25 Added center property to Path to deal with rendering rotational axis. 2018-05-11 10:18:56 -03:00
Markus Lampert 7ec797757b Added support for G20/G21 to g-code import. 2018-05-11 10:18:56 -03:00
Markus Lampert 17cca2a1fd Added g-code A parameter support to drilling cycle. 2018-05-11 10:18:56 -03:00
Markus Lampert 2ff14529af A g-code parameter support for G2/G3 2018-05-11 10:18:56 -03:00
Markus Lampert f425a8a28e PathViewProvider support for A parameter in G0 and G1. 2018-05-11 10:18:56 -03:00
Shai Seger 15c2b9a28c fix FreeCad crash when no tool is assigned to an operation 2018-05-11 10:17:16 -03:00
luz.paz 9b907e3ac4 Added missing comma 2018-05-11 10:02:56 -03:00
luz.paz 6656d9c6de follow-up source typos 2018-05-11 10:02:56 -03:00
luz.paz 420c2d7c03 Source typos fixes 2018-05-11 10:02:56 -03:00
Yorik van Havre d9314b756e Draft: Draft Text now uses its own python object instead of App::Annotation 2018-05-10 17:43:16 -03:00
Yorik van Havre 32f089f284 Arch: optimizing block walls 2018-05-10 16:32:43 -03:00
Yorik van Havre b5ffabace2 Arch: All Arch objects can now have any IFC type(role) 2018-05-10 10:42:06 -03:00
Yorik van Havre b3fb790d54 Draft: Added reference mode to Draft Scale task panel 2018-05-09 22:38:51 -03:00
Yorik van Havre c360263582 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
Gaël Écorchard 176eb8c66e [AddonManager] Add github support
- Add support for installing macros from https://github.com/FreeCAD/FreeCAD-addons.git.
- Macros which have the same name on git and on the wiki are not
  repeated.
2018-05-08 15:47:16 -03:00
Gaël Écorchard 6597b446cb [AddonManager] Save macros without 'Macro_' prefix
- Save macros without 'Macro_' prefix.
- Installed macros are recognized with or without this prefix.
- Prepare the ground for integration of the code fetching macros from
  github.
2018-05-08 15:47:16 -03:00
Pablo Gil d25b8ed402 Stylesheets: updated and upgraded to full SVG design 2018-05-08 10:06:03 +02:00
Yorik van Havre 8e017399ab Arch: Added a new 'beam mode' to draw structure objects 2018-05-07 23:21:53 -03:00
Markus Lampert d9b8d61550 Expose task panel layout through preferences. 2018-05-07 12:20:10 -03:00
looooo a91a544c15 draft: fix snapping with images 2018-05-07 12:18:43 -03:00
Yorik van Havre 710692718c Arch: Optimized Arch panel waves generation 2018-05-07 10:41:17 -03:00
wmayer cb4a5ee180 set exception message when returning with 0 2018-05-05 22:44:29 +02:00
Shai Seger 8d4f31f021 fix bug tracker issue id:0003450 : Freecad crash when simulating without operations. 2018-05-04 00:59:16 +03:00
Yorik van Havre 7fa81fd2e6 Draft: Fixed syntax error 2018-05-03 10:46:00 -03:00
wandererfan 650fed9795 Point Draft importDXF to Mod/Import/ImpExpDxf
- also add "deprecated" message to DraftUtils.readDXF
2018-05-02 22:09:46 +02:00
Markus Lampert 78b72c6d4e Only setting Path.Area curve accuracy if it is not, and also set it when Preferences get saved. 2018-05-02 22:07:17 +02:00
luz.paz d4fa4ec21e removed newline altogether 2018-05-02 15:48:01 -04:00
luz.paz 6de9a32066 Used QChar::fromLatin1('\n') instead 2018-05-02 14:57:49 -04:00
luz.paz 5cd5c6ad8c Added QString::fromUtf8("\n") 2018-05-02 00:50:06 -04:00
luz.paz 86469bd5de revert some spacing changes 2018-05-02 00:50:06 -04:00
luz.paz a529ba1787 Crowdin: more fixes 2018-05-02 00:50:06 -04:00
luz.paz bc0a885518 Draft: move newlines out of translations 2018-05-02 00:50:06 -04:00
luz.paz fb224b0090 Crowdin: fix in different WBs 2018-05-02 00:50:06 -04:00
Yorik van Havre 4604bd9456 Merge pull request #1435 from WandererFan/newDxf2ModImport
Move Dxf functions to Mod/Import Ph2
2018-05-01 19:10:31 -03:00
wandererfan cb12b0eda0 Add Export Page as Dxf to TD Gui 2018-05-01 13:22:02 -04:00
wandererfan fe6c07b24f Add writeDXFObject to Import
- add a function to write DocumentObject(s) to Dxf file.
- all caller to specifiy parameter source to ImpExpDxf
  functions.
2018-05-01 13:22:02 -04:00
wmayer 717a4a50a2 increase memory memory on MSVC to fix internal compiler error 2018-05-01 12:15:57 +02:00
Yorik van Havre 52f4375625 Arch: Added setting to limit areas calculations for large objects 2018-04-30 17:39:11 -03:00
Yorik van Havre fff7c03287 Arch: Window presets now include windows and doors from Parts Library, if available 2018-04-30 14:34:36 -03:00
Markus Lampert 1a2868b534 Changed grbl feed rate output to mm/min. 2018-04-30 09:54:08 +02:00
luz.paz 0dead11c3e Spreadsheet: typo fixes 2018-04-30 08:30:20 +02:00
wmayer 271740d0aa fix version check for cmake < 3.7 2018-04-30 08:16:15 +02:00
Richard Shaw 9ec568ddfc Detect pycxx version and add source for version 7 and greater. 2018-04-29 20:56:49 +02:00
Bernd Hahnebach c9f6855fc4 FEM: typos, can't hardly belive there still are some ... 2018-04-29 20:40:15 +02:00
luz.paz d8eed1f922 FEM: Clarity fix of term 'dia' as 'diameter' 2018-04-29 20:40:15 +02:00
luz.paz ba9dba4b26 FEM: typo fixes 2018-04-29 20:40:15 +02:00
wmayer 983f2472a8 more fixes for flatmesh
+ fix gcc warning
+ add conversion function for boost.python
+ switch build off by default due to travis build failure for Py3
2018-04-29 14:50:41 +02:00
wmayer 7ceb9721e3 check for minimum Eigen3 version to build flatmesh module 2018-04-29 13:58:38 +02:00
wmayer 2fcc354461 fix several warnings:
-Winconsistent-missing-override
-Wsign-compare
-Wmaybe-uninitialized
-Wmissing-braces
2018-04-29 13:28:36 +02:00
wmayer c32ca39b3e suppress warning 4275 2018-04-29 12:55:28 +02:00
wmayer ae9305f498 fix warning -Winconsistent-missing-override 2018-04-29 11:50:04 +02:00
wmayer a83d0e6121 support occ version < 7.0 for mesh flattening 2018-04-29 11:38:15 +02:00
wmayer 620768b8a1 fix export of base class 2018-04-29 11:01:07 +02:00
wmayer 5a7bc3376d disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions 2018-04-29 11:00:28 +02:00
wandererfan 09e85f7ef1 Add include for TColgp_Array1OfPnt
- Travis/Appveyor use oce-0.15 vs devl
   environment occ7.2.
2018-04-29 10:12:31 +02:00
wandererfan 33c77a5462 Add View and Page Dxf export 2018-04-29 10:12:31 +02:00
wandererfan ddac40afbd Move Dxf function to Mod/Import Ph1
- move HeeksCAD dxf import/export code from Draft to
  Mod/Import. This first phase moves dxf.cpp and
  DraftDxf.cpp to Mod/Import and adds dxfWrite functionality
  to DraftDxf.cpp.
2018-04-29 10:12:31 +02:00
wmayer d1c0c431ba include missing headers due to updated occ version 2018-04-29 08:39:53 +02:00
wmayer 6aeab22842 add switch to toggle building of flat mesh module 2018-04-29 00:03:05 +02:00
wmayer 77a6470107 implement optional Python binding for flatmesh using boost 2018-04-28 22:27:09 +02:00
wmayer af4e530035 minor fixes 2018-04-28 15:55:37 +02:00
wmayer 3affc2da9d make sure MeshPart still builds without smesh 2018-04-28 15:33:41 +02:00
wmayer 31cee58df6 fix crash when entering quit() in Python console for Py3 2018-04-28 12:13:42 +02:00
wmayer 68cc427b00 Improve handling of external smesh
+ add SMESH_version.h.cmake to set full version number instead of using compiler define
+ do not set include path of smesh globally
+ do not set library path of smesh globally
+ do not set HAVE_NETGEN define globally
+ improve using debug and release libs of smesh for MSVC
2018-04-28 12:10:55 +02:00
looooo 2092afe07f make finding smesh optional 2018-04-28 12:05:30 +02:00
looooo 547cc9f36c external smesh: use version info
for precompiler conditionals
2018-04-28 12:05:30 +02:00
looooo 21cdc9ea4a port to smesh 8.3
using #ifdef EXTERNAL_SMESH for the diff
2018-04-28 12:05:30 +02:00
wmayer 5941a32f71 fix Linux build failure 2018-04-27 14:47:19 +02:00
wmayer d34847f755 improve icon theme handling 2018-04-27 13:27:45 +02:00
looooo 48f5be7328 flatmesh: missing include
+ do not show flatmesh-gui if flatmesh is not available
2018-04-27 09:12:41 +02:00
wmayer 900ec439d1 do not show F2 as short cuts for renaming on macOS as it doesn't work 2018-04-26 12:57:59 +02:00
Yorik van Havre 0599879e21 Arch: Further encoding bugfix in IFC exporter 2018-04-25 11:22:02 -03:00
Yorik van Havre 059e4e65dc Merge branch 'randomshapecolor' of https://github.com/dulouie/FreeCAD into dul 2018-04-25 09:45:12 -03:00
luz.paz 505488c4f9 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
looooo 8c0b574661 conda: update circle-ci build 2018-04-25 09:38:12 -03:00
looooo 01beecc7a0 draft: fix diameter-dimension 2018-04-25 09:38:12 -03:00
Yorik van Havre aa14ed6ba8 Arch: Added 4-pane window preset 2018-04-25 09:37:01 -03:00
wandererfan 5ccb7e7d37 Add some debug and util routines. 2018-04-25 11:09:39 +02:00
wandererfan 00f36d78e4 Update Page display when View removed.
- if a View is removed from a Page, but not from
  the document, its graphic remains on the display.
  This change checks if graphic has an associated
  View on this Page.
2018-04-25 11:09:39 +02:00
wandererfan 371c7e4588 Ensure Section face redrawn on update 2018-04-25 11:09:39 +02:00
wandererfan a40996016f Add #3337 Arbitrary Dimension 2018-04-25 11:09:39 +02:00
wandererfan c3d56ca36e Fix exterior angle arc and value 2018-04-25 11:09:39 +02:00
wandererfan 4cd563b5c2 Remove duplicate code/save Dim line geom 2018-04-25 11:09:39 +02:00
luz.paz d671478717 Doxygen: fix broken link in freecadweb.org/api page + update all links to https://
Fixes #3442 (https://freecadweb.org/tracker/view.php?id=3442)
2018-04-25 11:05:46 +02:00
luz.paz 5f7df347f8 Path: misc. source comment typos 2018-04-25 11:03:10 +02:00
luz.paz 13db1e5349 Crowdin: Path string fixes 2018-04-25 11:03:10 +02:00
DeepSOIC 2c78478b5c Part: fix compoundfilter's items property tooltip
reported by chrisb:
https://forum.freecadweb.org/viewtopic.php?f=3&t=28299#p229889
2018-04-25 10:58:30 +02:00
wmayer 61db1afe44 fix crash when using space mouse on Windows and built with Qt5 2018-04-25 10:58:14 +02:00
Yorik van Havre 1e2b9758cc Arch: Fixed encoding bug in ifc exporter 2018-04-23 19:08:51 -03:00
Yorik van Havre 786054fd22 Fixed ArchDetail example 2018-04-23 13:20:43 -03:00
wmayer a099eb3caf Improvements on mesh flattening commands:
comment out import of pivy because it's not used and pivy.graphics isn't available on all platforms
Add MeshPart_ prefix to command names for consistency reasons and to make Qt help working correctly
When adding commands to Mesh workbench make sure the commands could be created beforehand to avoid annoying warnings
2018-04-23 11:09:26 +02:00
looooo c518744e39 cmake stuff 2018-04-23 09:56:23 +02:00
looooo 37fb72e508 nullspace 2018-04-23 09:56:23 +02:00
lo 08b329c9b5 add area relaxing method:
not yet working
2018-04-23 09:56:23 +02:00
lo 8188705821 add edge relaxing method 2018-04-23 09:56:23 +02:00
looooo 18b6544883 win: pybind11: workaround for strdup 2018-04-23 09:56:23 +02:00
looooo 7df027c88b change pybind11/boost handlinG 2018-04-23 09:56:23 +02:00
looooo 8c448e370c openscad py3 fixes 2018-04-23 09:56:23 +02:00
looooo d8d79c908e win fixes + pybind11 improvementS 2018-04-23 09:56:23 +02:00
looooo 74cd8706a0 MeshFlattening: fixes for windows 2018-04-23 09:56:23 +02:00
looooo 76b66159b3 MeshFlattening: add function to unwrap face 2018-04-23 09:56:23 +02:00
looooo 2329ac38e8 MeshFlattening: add function to unwrap mesh 2018-04-23 09:56:23 +02:00
looooo e1247dcb48 MeshFlattener: boundary extractor 2018-04-23 09:56:23 +02:00
looooo ce33e2dbe2 MeshFlattening: initial commit 2018-04-23 09:56:23 +02:00
looooo 05b8004001 hide python code displayed @ startup 2018-04-23 09:44:48 +02:00
wandererfan 40919896e7 Add getAllViews() method to DrawPagePy 2018-04-23 07:55:38 +02:00
wandererfan f13689753c Fix #3367: view/data pane is unselected
- error in coordination of Tree & QGraphicsScene
  selection logic caused Feature to become
  unselected during update.
2018-04-23 07:55:38 +02:00
wandererfan 4f3f620720 Coverity fixes
CID 174671
CID 174670
CID 174669
CID 174668
CID 174667
CID 174664
2018-04-23 07:55:38 +02:00
wmayer a4ae54f65a remove unneeded cmake switch 2018-04-22 21:22:36 +02:00
wmayer 33b883acb2 fix broken layout in view color panel 2018-04-22 11:02:04 +02:00
looooo 1f121a17c4 py3: Spreadsheet use Unicode instead of bytes 2018-04-22 07:53:20 +02:00
looooo 7da2d6ebbc py3: rebar-fix 2018-04-22 07:53:20 +02:00
looooo 77895f959d py3: draft fixes (grid)
integer-division (please remember using // for integer division ;)
+ use same color for arrow and line
2018-04-22 07:53:20 +02:00
wandererfan 5d1fa67230 Fix add ArchSection w/ multiple Pages 2018-04-22 07:44:41 +02:00
Abdullah Tahiri dc79d4172d Sketcher: fix menu periodic bspline call 2018-04-22 07:39:15 +02:00
Eivind Kvedalen ae7bef9978 Expressions: Fixed issue #3432; aggregate functions sometimes ignore some of their arguments.
Also updated regression tests in Spreadsheet module.
2018-04-21 22:33:54 +02:00
wmayer b440dc830b behave like standard Python interpreter in console mode if no file name is passed 2018-04-21 16:42:54 +02:00
Arne 519d02dd00 ViewProviderGeometryObject: set default random shape color to false 2018-04-21 13:51:51 +02:00
Arne 8958aaae59 Merge branch 'randomshapecolor' of https://github.com/dulouie/FreeCAD into randomshapecolor 2018-04-21 13:41:13 +02:00
dulouie d8b5b6938d fix small layout issues 2018-04-21 13:33:40 +02:00
Arne Schmidt 492f5057e2 random shapecolor with toggle in settings dialog 2018-04-21 13:33:40 +02:00
Peter Lama 68f25713d3 Fix finding boost python >= 1.67
Boost >= 1.67 requires a version suffix (on macOS at least)
2018-04-21 11:24:36 +02:00
wmayer 3c9e6b038e fix requesting boost python component for version >= 1.67.0 2018-04-21 11:12:45 +02:00
wmayer 52443a1b1b fix minor uic warning 2018-04-20 17:00:29 +02:00
Yorik van Havre 10e33d03f8 Active container (light gray) and edit (yellow) colors in Tree view are now changeable in prefs->display->colors 2018-04-19 18:25:48 -03:00
Jan Beich 869b5c8918 Explicitly link against -lpthread on Unix
/usr/bin/ld.lld: error: undefined symbol: pthread_condattr_init
>>> referenced by src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp
>>>               src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o:(boost::condition_variable::condition_variable())

/usr/bin/ld.lld: error: undefined symbol: pthread_condattr_setclock
>>> referenced by src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp
>>>               src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o:(boost::condition_variable::condition_variable())

/usr/bin/ld.lld: error: undefined symbol: pthread_condattr_destroy
>>> referenced by src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp
>>>               src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o:(boost::condition_variable::condition_variable())
2018-04-19 15:38:37 +02:00
wmayer 6ac274b081 minor fixes in FindPyCXX check 2018-04-18 19:52:43 +02:00
wmayer 01a26172c2 disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions 2018-04-18 19:45:07 +02:00
wmayer 840c9e8b3c prepare for PyCXX 7.0 2018-04-18 19:20:50 +02:00
Yorik van Havre c4aaef4033 fixed missing py2 case 2018-04-18 10:05:49 -03:00
Adrian Schröter 04a8bf6a29 fix syntax error for python3 2018-04-18 10:05:49 -03:00
Adrian Schröter 5b744ae05b fix runtime error creating a wire from string with python3
Tested against version 0.17
2018-04-18 10:05:49 -03:00
wmayer 3297399542 fix possible crash when saving preferences 2018-04-17 19:44:26 +02:00
wmayer 5326d15ed2 improve handling if PySide(2) is not installed 2018-04-17 19:10:01 +02:00
Yorik van Havre c16813f4e8 Arch: Fixed wrong wall base wire orientation 2018-04-17 11:58:30 -03:00
Yorik van Havre 9551e2bf7d Part: Added icon to Simple Copy command 2018-04-17 11:39:07 -03:00
Yorik van Havre 514058a023 Arch: Fixed leftover encoding bug (backported to 0.17) 2018-04-17 11:18:23 -03:00
Yorik van Havre 4f1c3a9714 Draft: Fixed snapping to shapes inside a moved Part container - fixes #3392 2018-04-17 11:14:40 -03:00
Peter Lama 72d334d867 Fix #3426: Hierarchical step export not working with occt 7.2 2018-04-17 10:19:52 -03:00
looooo 18a7bad3bd py3: fem: some additional fixes 2018-04-17 10:18:32 -03:00
Yorik van Havre e6727e8062 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2018-04-17 10:17:10 -03:00
luz.paz 5293cede21 Revert changes per yorik 2018-04-17 10:16:28 -03:00
luz.paz 25b58a1a8c Arch: Residual trailing \n chars removed from translate() 2018-04-17 10:16:28 -03:00
luz.paz 90c6689722 Arch: translation fixes
Adding Arch WB translation string corrections/refinements
2018-04-17 10:16:28 -03:00
wmayer c582b069ba fix compiler warnings with py3 and msvc 2018-04-16 18:24:53 +02:00
wmayer a29e8725b4 fix compiler warnings with Py3 2018-04-16 13:51:04 +02:00
wmayer 6858146c8a don't make existence of PySide2 mandatory 2018-04-16 13:50:38 +02:00
wmayer 7ed84a6590 workaround for bug in VS 2013 that occurs at Python init time 2018-04-15 19:05:06 +02:00
wmayer 4adeb7702d extend API of smooth command to allow to run different algorithms 2018-04-14 18:44:03 +02:00
DeepSOIC 8a7525f620 PartDesign: fix #2758 Datum Point persistence, again 2018-04-14 15:48:56 +02:00
looooo cab320be4b py3: addon-manager 2018-04-14 10:40:31 +02:00
looooo d977014992 py3: fix dxf import 2018-04-14 10:40:31 +02:00
looooo be5ea8391c PySide2: qApp -> QApplication 2018-04-14 10:40:31 +02:00
looooo 0bd9f17baf py3: port ship to py3 imports 2018-04-14 10:40:31 +02:00
triplus f3a514b44b Deploy Travis builds to 0.18
https://forum.freecadweb.org/viewtopic.php?p=227147#p227242
2018-04-13 09:44:30 -03:00
DeepSOIC 646111495d App: fix py return of propertyLinkSubList
fixes #0002602

Now, it won't bunch up same object entries if they are not adjacent. I.e., same object  can appear twice and more, for example:
[(object1, ('Edge2', 'Edge3')), (object2, ('Edge1',)), (object1, ('Edge4', 'Edge5'))]

Complete bunching causes information loss, and it's impossible to fix the bug with keeping the bunching complete.
2018-04-13 09:42:26 -03:00
Yorik van Havre 04a7f566fe Merge pull request #1402 from luzpaz/drafttools-fix-newline
Follow-up fix for e0161f4652
2018-04-12 13:22:19 -03:00
luz.paz 1207b56814 Follow-up fix for e0161f4652
e0161f4652
ref: https://github.com/FreeCAD/FreeCAD/commit/e0161f46526d323be24c4ac99225bd1e888c2878#commitcomment-28542412
2018-04-12 09:37:40 -04:00
Yorik van Havre d96cc9dbd4 Arch: Fixed wall clone icon 2018-04-11 10:55:37 -03:00
Yorik van Havre 50ef6e1747 Arch: Added blocking system to walls 2018-04-11 10:55:37 -03:00
WandererFan f95117c706 Sync TechDraw what's this with Wiki page names 2018-04-11 10:53:42 -03:00
WandererFan 973e0e4bdd Align TechDraw menu and toolbars 2018-04-11 10:53:42 -03:00
luz.paz e0161f4652 [For v0.18]Draft: add translation() + move \n out of translation strings 2018-04-11 10:51:13 -03:00
luz.paz 0884b353a6 [For v0.18]PartDesign: translation fixes
ref: https://crowdin.com/translate/freecad/564/en-sv#6502053
[skip ci]
2018-04-11 10:49:56 -03:00
Yorik van Havre 7101d9a89d Arch: small bugfix in Rebar 2018-04-10 14:39:53 -03:00
Alexander Pravdin 2400fe64b4 Draft: dimension and extension lines overshoots 2018-04-10 19:28:40 +02:00
sliptonic 8aba6f1d5a Path: Reword menu items from 'partial' to 'supplemental'
fixes #3383
2018-04-10 19:22:44 +02:00
lorenz f0a91a89ee python3: ConfigParser -> RawConfigParser
"%"-symbol makes problems with python3
2018-04-10 15:12:24 +02:00
wmayer 130c44521f start v0.18 development 2018-04-10 13:03:26 +02:00
sL1pKn07 018b41032a [For v018] Fix build with Qt5 beta
Seems need add some headers for build with incoming Qt 5.11 (Tested with 5.11.0beta2)
2018-04-10 12:59:41 +02:00
wmayer aa0f6b54d4 fixes #0003424: 'basic_string::_M_construct null not valid' when opening a v0.16 project with v0.17 2018-04-10 10:51:34 +02:00
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
dulouie e48fbc8c82 Merge branch 'randomshapecolor' of https://github.com/dulouie/FreeCAD into randomshapecolor 2018-03-01 21:48:50 +01:00
dulouie 95e8071e55 fix small layout issues 2018-03-01 21:48:15 +01:00
dulouie 09852a1e86 Merge branch 'master' into randomshapecolor 2018-03-01 15:30:22 +01: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
Arne Schmidt 389a00e1aa random shapecolor with toggle in settings dialog 2018-03-01 01:26:51 +01: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
7726 changed files with 2251821 additions and 844742 deletions
+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.
---
+10 -2
View File
@@ -28,5 +28,13 @@ install_manifest.txt
/ZERO_CHECK.dir/
/build/
/src/Tools/offlinedoc/localwiki/
/src/Tools/offlinedoc/todolist.txt
/src/Tools/offlinedoc/wikifiles.txt
/src/Tools/offlinedoc/*.txt
OpenSCAD_rc.py
.subuser-dev
/\.idea/
.tags
tags
/\.vscode/
# crowdin file
src/Tools/freecad.zip
+1
View File
@@ -0,0 +1 @@
{"image-sources-dir": "./subuser"}
+173 -87
View File
@@ -13,22 +13,82 @@
# 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.16"
- DEPLOY_RELEASE=${DEPLOY_RELEASE:-$FREECAD_RELEASE}
- CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release}
- OSX_PORTS_CACHE=${OSX_PORTS_CACHE:-FreeCAD/FreeCAD-ports-cache}
os:
- linux
- osx
git:
depth: 800
- FREECAD_RELEASE="0.18"
- 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}
matrix:
# chunk.io key (if needed, obtain it with Yorik, PrzemoF, Kunda1)
secure: MJu0ZU/9Yqut6bUkHoSrXTV/c/WhCLR0KnHKCsnEU081PYoukzH6ngzgKk7/trAH2In080d/ra4B2OmTNl/LAgV6DXKFY9dO1aG8QwcrHgaMPf0pHYUy/OfwQSFYFByQDV2OEMAHcIWc/dtNkzK2QUi44Kn7d0GtSEiN4s816lriWtjg0vmEGAU8MjvcAGss4gKyn05Xm1NUCYPKgpgIHsywLbpE76lv0eOYoosEuKv5Q9Pb4FMQts02+JUlqE8eY4ZZ3nV8iQbgIDdseOSA7Ixn05zWjU/ZRZ74TrYxMnzfUAwQcJe9OcqoESq+pPWQt5HYG66VmeVxQim1gmsiDASH51U/nswKt0Q4bISj3tVk0YZMFV8Ax+SzPvLEmFZJQGfgO1mg7HdNcz9N9G5JHPawrV19DwYIEFbAw8MCSAoIXFOcPQZUWXCbtjm7NO9vCjMrqyVJMDD9L8omvQajHoajuHbOT8KB250gFokeLj3z8yu++Tz+IrZX5inUMrXsARVt/ALXpi8rJPXmoFMpMUjyWmDPqPWlnqUhLtTtEtKpuOWP8ZnWVwkg4QYOUhCy95C1okJSGkG+ylHWncWfY4mS+UBT525laoh+GOhH+sRW+p2xkI21xGFRqg1oHjjgY1yIYF6nnSHPzxMBRYmZwagyXsjkFG5FPMWR2oYk0Yg
cache:
ccache: true
language: cpp
python:
- 2.7
- 3.4
# Inject osx build into matrix - needed to specify image/dist
matrix:
allow_failures:
- python: 3.7
- os: osx
fast_finish: true # https://blog.travis-ci.com/2013-11-27-fast-finishing-builds
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
- language: python
python: 3.7
dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
before_install: true
install: python3 -m pip install flake8
# fail the build if there are Python syntax errors or undefined names
script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# macOS build is failing. See: https://forum.freecadweb.org/viewtopic.php?f=10&t=32272
- os: osx
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")"
@@ -37,91 +97,116 @@ before_install:
"linux")
sudo apt-get update -qq
sudo apt-get install -y doxygen \
libboost-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libboost-python-dev \
libboost-regex-dev \
libboost-signals-dev \
libboost-system-dev \
libboost-thread-dev \
libcoin60 \
libcoin60-dev \
libeigen3-dev \
liboce-foundation-dev \
liboce-foundation1 \
liboce-modeling-dev \
liboce-modeling1 \
liboce-ocaf-dev \
liboce-ocaf-lite-dev \
liboce-ocaf-lite1 \
liboce-ocaf1 \
liboce-visualization-dev \
liboce-visualization1 \
libopencascade-modeling-6.5.0 \
libpyside-dev \
libqtcore4 \
libshiboken-dev \
libxerces-c-dev \
libxmu-dev \
libxmu-headers \
libxmu6 \
libxmuu-dev \
libxmuu1 \
oce-draw \
pyside-tools \
python-dev \
python-pyside \
python-matplotlib \
qt4-dev-tools \
qt4-qmake \
shiboken \
swig
sudo apt-get install -y --no-install-recommends \
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
# Make sure dpkg is upgraded for Ubuntu 14.04 (required for eigen3)
sudo apt-get install -y dpkg
# Use latest Eigen3 package
curl -L http://security.ubuntu.com/ubuntu/pool/universe/e/eigen3/libeigen3-dev_3.3.4-4_all.deb -o libeigen3.deb \
&& sudo dpkg -i libeigen3.deb
# Install ccache to reduce successive build times (use newer version to minimize issues)
# XXX: ccache <=3.4.3 always builds manuals, requiring asciidoc/xsltproc
# XXX: 3.4.4 might have --disable-man (at least its present in their git)
sudo apt install -y xsltproc
curl -L "https://codeload.github.com/ccache/ccache/tar.gz/v3.4.3" | 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
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
CMAKE_ARGS=""
INSTALLED_APP_PATH="/usr/local/bin/FreeCAD"
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")
brew update >/dev/null
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})
prime_local_ports_cache $cacheContext
travis_wait prime_local_ports_cache $cacheContext
fi
brew install eigen \
freetype \
qt \
python \
boost-python \
pyside \
pyside-tools \
xerces-c \
orocos-kdl \
homebrew/science/oce \
homebrew/python/matplotlib
brew install --with-oce homebrew/science/nglib
brew install --without-framework --without-soqt sanelson/freecad/coin
brew install --HEAD pivy
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 [ ! -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-2-5_r2142.dmg'
hdiutil attach -readonly /tmp/3dFW.dmg
sudo installer -package /Volumes/3Dconnexion\ Software/Install\ 3Dconnexion\ software.pkg -target /
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
#Remove GDAL if installed because it results in non-existent dependent library exceptions
if [ -e /usr/local/lib/libgdal.1.dylib ]; then brew unlink gdal; fi
CMAKE_ARGS="-DFREECAD_USE_EXTERNAL_KDL=ON -DBUILD_FEM_NETGEN=ON -DFREECAD_CREATE_MAC_APP=ON"
INSTALLED_APP_PATH="/usr/local/FreeCAD.app/Contents/bin/FreeCAD"
export CMAKE_ARGS="${CMAKE_OPTS} -DFREECAD_USE_EXTERNAL_KDL=ON"
;;
*)
@@ -141,7 +226,7 @@ script:
# Install FreeCAD and run unit tests. Test failures will fail the build
##
- sudo make -j2 install
- ${INSTALLED_APP_PATH} --run-test 0
- ${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
@@ -155,12 +240,13 @@ after_success:
# GH_TOKEN must be set in order to deploy releases to GitHub
##
- |
if [ "${TRAVIS_OS_NAME}" == "osx" -a "${TRAVIS_PULL_REQUEST}" == "false" ]; then
brew install jq node && npm install -g appdmg
export VSN=$(python ${TRAVIS_BUILD_DIR}/src/Tools/ArchiveNameFromVersionHeader.py ${TRAVIS_BUILD_DIR}/build/src/Build/Version.h --git-SHA=$(git ls-remote origin master))
export DEPLOYMENT_ARCHIVE=${VSN}.dmg
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 "-OSX-" 3
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()
+540 -360
View File
File diff suppressed because it is too large Load Diff
+26 -27
View File
@@ -1,10 +1,9 @@
Changelog you find now here:
http://www.freecadweb.org/tracker/changelog_page.php
Note: Future changelog now located at: 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 +48,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
@@ -62,10 +61,10 @@ Version: 0.14
* Draft Dimensions due not observe Dimension Precision on FreeCAD Windows
* invalid DXF export
* Port wiki, phpbb and mantis to self-hosted
* Crash propably in MeshPart
* Crash probably 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 +310,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 +332,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 +429,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 +556,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 +607,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 +659,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 +678,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 +700,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
@@ -751,10 +750,10 @@ Version: V0.1B78 Date: Sun Nov 23 13:15:15 2003 +++++++++++++++++++++++++++++++
Version: V0.1B77 Date: Fri Nov 14 14:56:14 2003 +++++++++++++++++++++++++++++++
* Finished Setup stuff
* Removed all relativ paths
* Removed all relative 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 +833,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 +891,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
@@ -906,13 +905,13 @@ Version: V0.1B50 Date: Fri Apr 04 22:10:24 2003 +++++++++++++++++++++++++++++++
* some work on the Linux port
Version: V0.1B49 Date: Thu Apr 03 22:45:35 2003 +++++++++++++++++++++++++++++++
* Master redisign of the window system, not yet full working
* Master redesign of the window system, not yet full working
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
@@ -952,10 +951,10 @@ Version: V0.1B39 Date: Mon Mar 03 12:32:14 2003 +++++++++++++++++++++++++++++++
Version: V0.1B38 Date: Thu Feb 27 22:19:35 2003 +++++++++++++++++++++++++++++++
* fix of memory leack in CmdBar (werner)
* start rebulding FCCommand framework
* start rebuilding FCCommand framework
Version: V0.1B37 Date: Tue Feb 25 20:29:19 2003 +++++++++++++++++++++++++++++++
* massiv improved costomize dialog (werner)
* massively improved customize dialog (werner)
- sorting position of toolbars
Version: V0.1B36 Date: Sat Feb 22 18:12:19 2003 +++++++++++++++++++++++++++++++
@@ -1013,7 +1012,7 @@ Version: V0.1B26 Date: Tue Jan 21 05:59:01 2003 +++++++++++++++++++++++++++++++
Version: V0.1B25 Date: Sun Jan 19 18:20:51 2003 +++++++++++++++++++++++++++++++
* Big Linux port patch from Vaclav
- some fixes on implicite type conversion (Vaclav)
- some fixes on implicit type conversion (Vaclav)
- moving all .cxx to .cpp mainly in gui
- moving DlgCusomizeImpl to Imp
- and InitGui to GuiInit
+481
View File
@@ -0,0 +1,481 @@
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1991 Free Software Foundation, Inc.
51 Franklin Street - Fifth Floor
Boston, MA 02110-1301, USA.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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 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
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!
+32 -43
View File
@@ -10,41 +10,37 @@ 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
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
- [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 at https://github.com/FreeCAD/FreeCAD/releases
[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 http://www.freecadweb.org/wiki/index.php?title=Download
Other options are described at the [wiki Download page](http://www.freecadweb.org/wiki/Download).
Build Status <img src="https://cdn.travis-ci.org/images/travis-mascot-150-3791701416eeee8479e23fe4bb7edf4f.png" height="30"/>
Build Status <img src="https://blog.travis-ci.com/images/travis-mascot-200px.png" height="30"/>
------------
| Master | 0.16 |
|:------:|:----:|
|[![Master][freecad-master-status]][travis-branches]|[![0.16][freecad-0.16-status]][travis-branches]|
| Master | 0.17 | Translation |
|:------:|:----:|:-----------:|
|[![Master][freecad-master-status]][travis-branches]|[![0.17][freecad-0.17-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-0.17-status]: https://travis-ci.org/FreeCAD/FreeCAD.svg?branch=releases/FreeCAD-0-17
[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
@@ -53,44 +49,37 @@ Compiling
---------
Compiling FreeCAD requires installation of several libraries and their
development files such as OpenCasCADe, Coin and Qt, listed in the
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 convenience package, on Linux they are usually found
in your distribution's repositories and on Mac OSX and other platforms
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:
For Linux: http://www.freecadweb.org/wiki/?title=CompileOnUnix
For Windows: http://www.freecadweb.org/wiki/?title=CompileOnWindows
For Mac OSX: http://www.freecadweb.org/wiki/?title=CompileOnMac
For Cygwin: http://www.freecadweb.org/wiki/?title=CompileOnCygwin
For MinGW: http://www.freecadweb.org/wiki/?title=CompileOnMinGW
- [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
--------------------
The FreeCAD documentation wiki contains a lot of documentation on
general FreeCAD usage, python scripting, and development. The following
[![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/?title=Getting_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)
Features list: http://www.freecadweb.org/wiki/?title=Feature_list
Frequent questions: http://www.freecadweb.org/wiki/?title=FAQ
Workbenches: http://www.freecadweb.org/wiki/?title=Workbench_Concept
Scripting: http://www.freecadweb.org/wiki/?title=Power_users_hub
Development: http://www.freecadweb.org/wiki/?title=Developer_hub
The FreeCAD forum at http://forum.freecadweb.org is also a great place
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.
+12
View File
@@ -0,0 +1,12 @@
#ifndef SMESH_VERSION_H
#define SMESH_VERSION_H
/* SMESH_Version.h. Generated from SMESH_Version.h.cmake by cmake. */
// SMESH version
#define SMESH_VERSION_MAJOR ${SMESH_VERSION_MAJOR}
#define SMESH_VERSION_MINOR ${SMESH_VERSION_MINOR}
#define SMESH_VERSION_PATCH ${SMESH_VERSION_PATCH}
#define SMESH_VERSION_TWEAK ${SMESH_VERSION_TWEAK}
#endif // SMESH_VERSION_H
+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:
+11 -2
View File
@@ -12,12 +12,14 @@ IF (WIN32)
IF (CYGWIN)
FIND_PATH(COIN3D_INCLUDE_DIRS Inventor/So.h
${CMAKE_INCLUDE_PATH}
/usr/include
/usr/local/include
/usr/include/coin
)
FIND_LIBRARY(COIN3D_LIBRARIES Coin
${CMAKE_LIBRARY_PATH}
/usr/lib
/usr/local/lib
)
@@ -32,8 +34,13 @@ 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)
@@ -76,6 +83,7 @@ ELSE (WIN32)
# ... 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
@@ -83,6 +91,7 @@ ELSE (WIN32)
)
FIND_LIBRARY(COIN3D_LIBRARIES Coin
${CMAKE_LIBRARY_PATH}
/usr/lib
/usr/local/lib
PATH_SUFFIXES Coin2 Coin3
+3 -3
View File
@@ -21,19 +21,19 @@ 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})
message(STATUS "Coin3D doc is installed")
find_file(COIN3D_DOC_TAGFILE coin.tag
find_file(COIN3D_DOC_TAGFILE coin.tag Coin.tag
${COIN3D_DOC_PATH}
)
IF( EXISTS ${COIN3D_DOC_TAGFILE})
SET( COIN3D_DOC_FOUND "YES"
)
ELSE( EXISTS ${COIN3D_DOC_TAGFILE})
find_file(COIN3D_DOC_TAGFILE_GZ coin.tag.gz
find_file(COIN3D_DOC_TAGFILE_GZ coin.tag.gz Coin.tag.gz
${COIN3D_DOC_PATH}
)
IF( EXISTS ${COIN3D_DOC_TAGFILE_GZ})
+58
View File
@@ -0,0 +1,58 @@
# - 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 PATH_SUFFIXES med)
FIND_FILE(meddotH med.h PATHS ${MEDFILE_INCLUDE_DIRS} NO_DEFAULT_PATH)
IF(NOT meddotH)
MESSAGE(FATAL_ERROR "med.h not found, please install development header-files for libmedc")
ENDIF(NOT meddotH)
#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)
+147 -40
View File
@@ -1,5 +1,5 @@
# 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.
#
@@ -12,53 +12,160 @@
#
# See also: http://git.salome-platform.org/gitweb/?p=NETGENPLUGIN_SRC.git;a=summary
SET(NETGEN_DEFINITIONS -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).
LIST( APPEND NETGEN_DEFINITIONS -DNETGEN_V5 )
find_package(Netgen CONFIG)
if(Netgen_FOUND)
set(NGLIB_INCLUDE_DIR ${NETGEN_INCLUDE_DIRS})
set(NGLIB_LIBRARIES nglib)
set(NETGEN_DEFINITIONS -DNO_PARALLEL_THREADS -DOCCGEOMETRY)
# for external smesh only the following two variables are needed:
set(NETGEN_FOUND True)
set(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS})
IF(DEFINED HOMEBREW_PREFIX)
EXEC_PROGRAM(brew ARGS --prefix nglib OUTPUT_VARIABLE NGLIB_PREFIX)
ELSE(DEFINED HOMEBREW_PREFIX)
SET(NGLIB_PREFIX ${MACPORTS_PREFIX})
ENDIF(DEFINED HOMEBREW_PREFIX)
else(Netgen_FOUND)
FIND_PATH(NGLIB_INCLUDE_DIR nglib.h ${NGLIB_PREFIX}/include)
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})
SET(NETGEN_DEFINITIONS -DNO_PARALLEL_THREADS -DOCCGEOMETRY)
IF(NOT NETGENDATA)
SET(NETGENDATA ${NGLIB_PREFIX}/include/netgen)
ENDIF(NOT NETGENDATA)
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)
ELSE(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
FIND_PATH(NGLIB_INCLUDE_DIR nglib.h /usr/include)
FIND_LIBRARY(NGLIB_LIBRARIES nglib /usr/lib /usr/local/lib)
FIND_PATH(NGLIB_INCLUDE_DIR nglib.h ${NGLIB_PREFIX}/include)
IF(NOT NETGENDATA)
SET(NETGENDATA /usr/share/netgen/libsrc)
ENDIF(NOT NETGENDATA)
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})
ENDIF(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
IF(NOT NETGENDATA)
SET(NETGENDATA ${NGLIB_PREFIX}/include/netgen)
ENDIF(NOT NETGENDATA)
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)
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()
LIST( APPEND NETGEN_INCLUDE_DIRS
${NETGEN_DIR_csg} ${NETGEN_DIR_gen} ${NETGEN_DIR_geom2d}
${NETGEN_DIR_gprim} ${NETGEN_DIR_la} ${NETGEN_DIR_mesh}
${NETGEN_DIR_occ} ${NETGEN_DIR_stlgeom} )
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 /usr/include/netgen-mesher)
FIND_LIBRARY(NGLIB_LIBNGLIB nglib PATHS ${NETGEN_LIBDIR} /usr/lib /usr/lib64 /usr/local/lib)
SET(NGLIB_LIBRARIES ${NGLIB_LIBNGLIB})
FIND_LIBRARY(NGLIB_LIBMESH NAMES mesh ngmesh PATHS ${NETGEN_LIBDIR} /usr/lib /usr/lib64 /usr/local/lib)
IF(NGLIB_LIBMESH)
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBMESH})
ENDIF()
FIND_LIBRARY(NGLIB_LIBOCC NAMES occ ngocc PATHS ${NETGEN_LIBDIR} /usr/lib /usr/lib64 /usr/local/lib)
IF(NGLIB_LIBOCC)
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBOCC})
ENDIF()
FIND_LIBRARY(NGLIB_LIBINTERFACE NAMES interface nginterface PATHS ${NETGEN_LIBDIR} /usr/lib /usr/lib64 /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 NO_DEFAULT_PATH PATHS ${NGLIB_INCLUDE_DIR}/include ${NETGENDATA}/include ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR})
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.*"
)
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})
LIST(REMOVE_DUPLICATES NETGEN_INCLUDE_DIRS)
ELSE()
SET(Netgen_FOUND FALSE)
ENDIF()
endif(Netgen_FOUND)
# Package-provided cMake file is not enough
IF(Netgen_FOUND)
IF(NETGEN_VERSION)
string(REGEX MATCHALL "[0-9]+" NETGEN_VERSION_expr ${NETGEN_VERSION})
list(LENGTH NETGEN_VERSION_expr NETGEN_VERSION_COUNT)
list(GET NETGEN_VERSION_expr 0 NETGEN_VERSION_MAJOR)
IF(NETGEN_VERSION_COUNT GREATER 1)
list(GET NETGEN_VERSION_expr 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()
MATH(EXPR NETGEN_VERSION_C "(${NETGEN_VERSION_MAJOR} << 16) + (${NETGEN_VERSION_MINOR} << 8)")
MATH(EXPR NETGEN_VERSION_62 "(6 << 16) + (2 << 8)")
IF(NOT NETGEN_VERSION_C LESS NETGEN_VERSION_62) # Version >= 6.2
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_C}")
LIST(APPEND NETGEN_DEFINITIONS -DNETGEN_VERSION=${NETGEN_VERSION_C})
ENDIF()
+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.
+52 -35
View File
@@ -12,9 +12,9 @@ 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 HINTS ${MACPORTS_PREFIX}/Library/Frameworks)
find_package(OCE QUIET HINTS ${MACPORTS_PREFIX}/Library/Frameworks)
elseif(DEFINED HOMEBREW_PREFIX)
find_package(OCE HINTS ${HOMEBREW_PREFIX}/Cellar/oce/*)
find_package(OCE QUIET HINTS ${HOMEBREW_PREFIX}/Cellar/oce/*)
endif()
elseif(UNIX)
set(OCE_DIR "/usr/local/share/cmake/")
@@ -23,7 +23,10 @@ if(NOT DEFINED OCE_DIR)
endif()
endif()
find_package(OCE QUIET)
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
@@ -31,9 +34,41 @@ if(OCE_FOUND)
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
# we first try to find opencascade directly:
if(NOT OCCT_CMAKE_FALLBACK)
find_package(OpenCASCADE CONFIG QUIET)
endif(NOT OCCT_CMAKE_FALLBACK)
if(OpenCASCADE_FOUND)
set(OCC_FOUND ${OpenCASCADE_FOUND})
set(OCC_INCLUDE_DIR ${OpenCASCADE_INCLUDE_DIR})
set(OCC_LIBRARY_DIR ${OpenCASCADE_LIBRARY_DIR})
set(OCC_LIBRARIES ${OpenCASCADE_LIBRARIES})
set(OCC_OCAF_LIBRARIES TKCAF TKXCAF)
else(OpenCASCADE_FOUND)
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/occt
/usr/include/opencascade
/usr/local/include/opencascade
/opt/opencascade/include
@@ -44,35 +79,16 @@ else(OCE_FOUND) #look for OpenCASCADE
/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(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(OpenCASCADE_FOUND)
endif(OCE_FOUND)
if(OCC_INCLUDE_DIR)
@@ -112,6 +128,7 @@ if(OCC_FOUND)
TKBin
TKBool
TKBO
TKCDF
TKBRep
TKTopAlgo
TKGeomAlgo
+41 -22
View File
@@ -27,13 +27,13 @@ if(PYCXX_INCLUDE_DIR)
if(NOT EXISTS "${PYCXX_INCLUDE_DIR}/CXX/Config.hxx")
if(PyCXX_FIND_REQUIRED)
MESSAGE(FATAL_ERROR
"PyCXX: could not find CXX/Config.hxx in PYCXX_INCLUDE_DIR "
"${PYCXX_INCLUDE_DIR}")
"PyCXX: could not find CXX/Config.hxx in PYCXX_INCLUDE_DIR "
"${PYCXX_INCLUDE_DIR}")
else(PyCXX_FIND_REQUIRED)
MESSAGE(WARNING
"PyCXX: could not find CXX/Config.hxx in PYCXX_INCLUDE_DIR "
"${PYCXX_INCLUDE_DIR}")
unset(PYCXX_FOUND)
"PyCXX: could not find CXX/Config.hxx in PYCXX_INCLUDE_DIR "
"${PYCXX_INCLUDE_DIR}")
unset(PYCXX_FOUND)
endif(PyCXX_FIND_REQUIRED)
endif(NOT EXISTS "${PYCXX_INCLUDE_DIR}/CXX/Config.hxx")
else(PYCXX_INCLUDE_DIR)
@@ -44,11 +44,11 @@ else(PYCXX_INCLUDE_DIR)
if(NOT PYCXX_INCLUDE_DIR)
if(PyCXX_FIND_REQUIRED)
MESSAGE(FATAL_ERROR
"PyCXX not found; please set PYCXX_INCLUDE_DIR to "
"the location of CXX/Config.hxx")
"PyCXX not found; please set PYCXX_INCLUDE_DIR to "
"the location of CXX/Config.hxx")
else(PyCXX_FIND_REQUIRED)
MESSAGE(STATUS "PyCXX not found")
unset(PYCXX_FOUND)
unset(PYCXX_FOUND)
endif(PyCXX_FIND_REQUIRED)
endif(NOT PYCXX_INCLUDE_DIR)
endif(PYCXX_INCLUDE_DIR)
@@ -58,14 +58,14 @@ if(PYCXX_SOURCE_DIR)
# source directory specified, they'd better be there
if(NOT EXISTS "${PYCXX_SOURCE_DIR}/cxxextensions.c")
if(PyCXX_FIND_REQUIRED)
MESSAGE(FATAL_ERROR
"PyCXX: cxxextensions.c not found in PYCXX_INCLUDE_DIR "
"${PYCXX_INCLUDE_DIR}")
MESSAGE(FATAL_ERROR
"PyCXX: cxxextensions.c not found in PYCXX_SOURCE_DIR "
"${PYCXX_SOURCE_DIR}")
else(PyCXX_FIND_REQUIRED)
MESSAGE(WARNING
"PyCXX: cxxextensions.c not found in PYCXX_INCLUDE_DIR "
"${PYCXX_INCLUDE_DIR}")
unset(PYCXX_FOUND)
"PyCXX: cxxextensions.c not found in PYCXX_SOURCE_DIR "
"${PYCXX_SOURCE_DIR}")
unset(PYCXX_FOUND)
endif(PyCXX_FIND_REQUIRED)
endif(NOT EXISTS "${PYCXX_SOURCE_DIR}/cxxextensions.c")
else(PYCXX_SOURCE_DIR)
@@ -79,29 +79,48 @@ else(PYCXX_SOURCE_DIR)
"${CMAKE_CURRENT_LIST_DIR}/../CXX")
if(NOT PYCXX_SOURCE_DIR)
if(PyCXX_FIND_REQUIRED)
MESSAGE(FATAL_ERROR
"PyCXX not found; please set PYCXX_SOURCE_DIR to "
"the location of cxxextensions.c")
MESSAGE(FATAL_ERROR
"PyCXX not found; please set PYCXX_SOURCE_DIR to "
"the location of cxxextensions.c")
else(PyCXX_FIND_REQUIRED)
MESSAGE(STATUS "PyCXX not found")
unset(PYCXX_FOUND)
unset(PYCXX_FOUND)
endif(PyCXX_FIND_REQUIRED)
endif(NOT PYCXX_SOURCE_DIR)
endif(PYCXX_SOURCE_DIR)
# Find PyCXX Version
if(PYCXX_INCLUDE_DIR AND PYCXX_SOURCE_DIR)
file(READ ${PYCXX_INCLUDE_DIR}/CXX/Version.hxx PYCXX_VERSION_H)
foreach(item IN ITEMS MAJOR MINOR PATCH)
string(REGEX REPLACE
".*#define[ \t]+PYCXX_VERSION_${item}[ \t]+([0-9]+).*"
"\\1" PYCXX_VERSION_${item}
"${PYCXX_VERSION_H}"
)
endforeach()
set(PYCXX_VERSION ${PYCXX_VERSION_MAJOR}.${PYCXX_VERSION_MINOR}.${PYCXX_VERSION_PATCH})
endif()
# see what we've got
if(PYCXX_FOUND)
MESSAGE(STATUS "PyCXX found:")
MESSAGE(STATUS " Headers: ${PYCXX_INCLUDE_DIR}")
MESSAGE(STATUS " Sources: ${PYCXX_SOURCE_DIR}")
MESSAGE(STATUS " Version: ${PYCXX_VERSION}")
# Build the list of sources for convenience
set(PYCXX_SOURCES
${PYCXX_SOURCE_DIR}/cxxextensions.c
${PYCXX_SOURCE_DIR}/cxx_extensions.cxx
${PYCXX_SOURCE_DIR}/cxxsupport.cxx
${PYCXX_SOURCE_DIR}/IndirectPythonInterface.cxx
${PYCXX_SOURCE_DIR}/cxxextensions.c
${PYCXX_SOURCE_DIR}/cxx_extensions.cxx
${PYCXX_SOURCE_DIR}/cxxsupport.cxx
${PYCXX_SOURCE_DIR}/IndirectPythonInterface.cxx
)
if(NOT ${PYCXX_VERSION} VERSION_LESS 7.0.0)
list(APPEND PYCXX_SOURCES
${PYCXX_SOURCE_DIR}/cxx_exceptions.cxx)
add_definitions(-DPYCXX_6_2_COMPATIBILITY)
endif()
else(PYCXX_FOUND)
MESSAGE(STATUS "PyCXX not found")
endif(PYCXX_FOUND)
+96
View File
@@ -0,0 +1,96 @@
# 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 OR APPLE)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYSIDE2UICBINARY} ${infile} -o ${outfile}
MAIN_DEPENDENCY ${infile}
)
else()
# Especially on Open Build Service we don't want changing date like
# pyside2-uic generates in comments at beginning., which is why
# we follow the tool command with in-place sed.
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND "${PYSIDE2UICBINARY}" "${infile}" -o "${outfile}"
COMMAND sed -i "/^# /d" "${outfile}"
MAIN_DEPENDENCY "${infile}"
)
endif()
list(APPEND ${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 OR APPLE)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYSIDE2RCCBINARY} ${infile} -o ${outfile}
MAIN_DEPENDENCY ${infile}
)
else()
# Especially on Open Build Service we don't want changing date like
# pyside-rcc generates in comments at beginning, which is why
# we follow the tool command with in-place sed.
ADD_CUSTOM_COMMAND(OUTPUT "${outfile}"
COMMAND "${PYSIDE2RCCBINARY}" "${infile}" ${PY_ATTRIBUTE} -o "${outfile}"
COMMAND sed -i "/^# /d" "${outfile}"
MAIN_DEPENDENCY "${infile}"
)
endif()
list(APPEND ${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)
+22 -15
View File
@@ -38,14 +38,15 @@ MACRO(PYSIDE_WRAP_UI outfiles)
)
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}
# pyside-uic generates in comments at beginning, which is why
# we follow the tool command with in-place sed.
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND "${PYSIDEUIC4BINARY}" "${infile}" -o "${outfile}"
COMMAND sed -i "/^# /d" "${outfile}"
MAIN_DEPENDENCY "${infile}"
)
endif(WIN32)
SET(${outfiles} ${${outfiles}} ${outfile})
list(APPEND ${outfiles} ${outfile})
ENDFOREACH(it)
ENDMACRO (PYSIDE_WRAP_UI)
@@ -53,25 +54,31 @@ 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)
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} -o ${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}
COMMAND sed "/^# /d"
OUTPUT_FILE ${outfile}
)
# pyside-rcc generates in comments at beginning, which is why
# we follow the tool command with in-place sed.
ADD_CUSTOM_COMMAND(OUTPUT "${outfile}"
COMMAND "${PYSIDERCC4BINARY}" "${infile}" ${PY_ATTRIBUTE} -o "${outfile}"
COMMAND sed -i "/^# /d" "${outfile}"
MAIN_DEPENDENCY "${infile}"
)
endif(WIN32)
SET(${outfiles} ${${outfiles}} ${outfile})
list(APPEND ${outfiles} ${outfile})
ENDFOREACH(it)
ENDMACRO (PYSIDE_WRAP_RC)
+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:
+3
View File
@@ -9,6 +9,7 @@
# XercesC_FOUND, If false, don't try to use pwlib.
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/
@@ -19,7 +20,9 @@ FIND_PATH(XercesC_INCLUDE_DIRS xercesc/dom/DOM.hpp
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}
+131 -133
View File
@@ -3,164 +3,162 @@ include (CheckCXXSourceRuns)
# ================================================================================
# == Macros, mostly for special targets ==========================================
MACRO(COPY_IF_DIFFERENT FROM_DIR TO_DIR FILES TARGETS TAGS)
# Macro to implement copy_if_different for a list of files
# Arguments -
# FROM_DIR - this is the source directory
# TO_DIR - this is the destination directory
# FILES - names of the files to copy
# TODO: add globing.
# TARGETS - List of targets
# TAGS - Since only the file name is used
# to generate rules, pre-pend a user
# supplied tag to prevent duplicate rule errors.
SET(AddTargets "")
FOREACH(SRC ${FILES})
GET_FILENAME_COMPONENT(SRCFILE ${SRC} NAME)
# Command to copy the files to ${STEP1}/src, if changed.
SET(TARGET "${TAGS}/${SRCFILE}")
IF("${FROM_DIR}" STREQUAL "")
SET(FROM ${SRC})
ELSE("${FROM_DIR}" STREQUAL "")
SET(FROM ${FROM_DIR}/${SRC})
ENDIF("${FROM_DIR}" STREQUAL "")
IF("${TO_DIR}" STREQUAL "")
SET(TO ${SRCFILE})
ELSE("${TO_DIR}" STREQUAL "")
SET(TO ${TO_DIR}/${SRCFILE})
ENDIF("${TO_DIR}" STREQUAL "")
ADD_CUSTOM_COMMAND(
OUTPUT ${TARGET}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${FROM} ${TO}
COMMENT "Copying ${SRCFILE} ${TO_DIR}"
)
SET(AddTargets ${AddTargets} ${TARGET})
ENDFOREACH(SRC ${FILES})
SET(${TARGETS} ${AddTargets})
ENDMACRO(COPY_IF_DIFFERENT FROM_DIR TO_DIR FILES TARGETS TAGS)
MACRO (fc_copy_sources target_name outpath)
if(BUILD_VERBOSE_GENERATION)
set(fc_details " (fc_copy_sources called from ${CMAKE_CURRENT_SOURCE_DIR})")
else()
set(fc_details "")
endif()
foreach(it ${ARGN})
file(TO_NATIVE_PATH "${outpath}/${it}" outfile)
get_filename_component(infile ${it} ABSOLUTE)
get_filename_component(outfile ${outfile} ABSOLUTE)
add_file_dependencies(${infile} ${outfile})
get_filename_component(outfile "${outpath}/${it}" ABSOLUTE)
add_file_dependencies("${infile}" "${outfile}")
ADD_CUSTOM_COMMAND(
SOURCE ${infile}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy ${infile} ${outfile}
TARGET ${target_name}
OUTPUTS ${outfile}
COMMAND "${CMAKE_COMMAND}" -E copy "${infile}" "${outfile}"
OUTPUT "${outfile}"
COMMENT "Copying ${infile} to ${outfile}${fc_details}"
MAIN_DEPENDENCY "${infile}"
)
endforeach(it)
ADD_CUSTOM_COMMAND(
SOURCE ${target_name}
TARGET ${target_name}
DEPENDS ${ARGN}
)
ENDMACRO(fc_copy_sources)
MACRO (fc_copy_file_if_different inputfile outputfile)
if (EXISTS ${inputfile})
if (EXISTS ${outputfile})
execute_process(
COMMAND ${CMAKE_COMMAND} -E compare_files ${inputfile}
${outputfile}
RESULT_VARIABLE DIFFERENT_FILES
OUTPUT_QUIET
ERROR_QUIET
)
if (DIFFERENT_FILES)
execute_process(COMMAND "${CMAKE_COMMAND}" -E copy "${inputfile}"
"${outputfile}")
endif()
else()
execute_process(COMMAND "${CMAKE_COMMAND}" -E copy "${inputfile}"
"${outputfile}")
endif()
endif()
ENDMACRO(fc_copy_file_if_different)
MACRO (fc_target_copy_resource target_name inpath outpath)
# Macro to copy a list of files into a nested directory structure
# Arguments -
# target_name - name of the target the files will be added to
# inpath - name of the source directory
# outpath - name of the destination directory
# ARGN - a list of relative file names that will be copied
#
# If a relative file name is foo/bar.txt then the foo directory
# part will be kept so that the destination file name will be
# ${outpath}/foo/bar.txt
#
if(BUILD_VERBOSE_GENERATION)
set(fc_details " (fc_target_copy_resource called from ${CMAKE_CURRENT_SOURCE_DIR})")
else()
set(fc_details "")
endif()
foreach(it ${ARGN})
file(TO_NATIVE_PATH "${inpath}/${it}" infile)
file(TO_NATIVE_PATH "${outpath}/${it}" outfile)
get_filename_component(infile ${infile} ABSOLUTE)
get_filename_component(outfile ${outfile} ABSOLUTE)
add_file_dependencies(${infile} ${outfile})
get_filename_component(infile "${inpath}/${it}" ABSOLUTE)
get_filename_component(outfile "${outpath}/${it}" ABSOLUTE)
add_file_dependencies("${infile}" "${outfile}")
ADD_CUSTOM_COMMAND(
SOURCE ${infile}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy ${infile} ${outfile}
TARGET ${target_name}
OUTPUTS ${outfile}
COMMAND "${CMAKE_COMMAND}" -E copy "${infile}" "${outfile}"
OUTPUT "${outfile}"
COMMENT "Copying ${infile} to ${outfile}${fc_details}"
MAIN_DEPENDENCY "${infile}"
)
endforeach(it)
ADD_CUSTOM_COMMAND(
SOURCE ${target_name}
TARGET ${target_name}
DEPENDS ${ARGN}
)
ENDMACRO(fc_target_copy_resource)
macro(copy_to_local_output_paths SOURCE_PATHS)
if(CMAKE_CFG_INTDIR STREQUAL .)
# No Debug/Release output paths
set(DEBUG_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
set(RELEASE_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
else(CMAKE_CFG_INTDIR STREQUAL .)
#set(DEBUG_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/Debug)
#set(RELEASE_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/Release)
set(DEBUG_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
set(RELEASE_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
endif(CMAKE_CFG_INTDIR STREQUAL .)
file(TO_NATIVE_PATH ${SOURCE_PATHS} NATIVE_SOURCE)
file(TO_NATIVE_PATH ${DEBUG_LOCAL_OUTPUT_PATH}/ NATIVE_DEBUG_DESTINATION)
file(TO_NATIVE_PATH ${RELEASE_LOCAL_OUTPUT_PATH}/ NATIVE_RELESE_DESTINATION)
message(STATUS "${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_DEBUG_DESTINATION}")
execute_process(
COMMAND ${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_DEBUG_DESTINATION}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
if(NOT ${DEBUG_LOCAL_OUTPUT_PATH} STREQUAL ${RELEASE_LOCAL_OUTPUT_PATH})
message(STATUS "${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_RELESE_DESTINATION}")
execute_process(
COMMAND ${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_RELESE_DESTINATION}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
endif(NOT ${DEBUG_LOCAL_OUTPUT_PATH} STREQUAL ${RELEASE_LOCAL_OUTPUT_PATH})
endmacro(copy_to_local_output_paths)
macro(copy_to_main_output_paths SOURCE_PATHS)
file(TO_NATIVE_PATH ${SOURCE_PATHS} NATIVE_SOURCE)
file(TO_NATIVE_PATH ${DEBUG_MAIN_OUTPUT_PATH}/ NATIVE_DEBUG_DESTINATION)
file(TO_NATIVE_PATH ${RELEASE_MAIN_OUTPUT_PATH}/ NATIVE_RELESE_DESTINATION)
message(STATUS "${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_DEBUG_DESTINATION}")
execute_process(
COMMAND ${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_DEBUG_DESTINATION}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
if(NOT ${DEBUG_MAIN_OUTPUT_PATH} STREQUAL ${RELEASE_MAIN_OUTPUT_PATH})
message(STATUS "${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_RELESE_DESTINATION}")
execute_process(
COMMAND ${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_RELESE_DESTINATION}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
endif(NOT ${DEBUG_MAIN_OUTPUT_PATH} STREQUAL ${RELEASE_MAIN_OUTPUT_PATH})
endmacro(copy_to_main_output_paths)
MACRO (fc_target_copy_resource_flat target_name inpath outpath)
# Macro to copy a list of files into a flat directory structure
# Arguments -
# target_name - name of the target the files will be added to
# inpath - name of the source directory
# outpath - name of the destination directory
# ARGN - a list of relative file names that will be copied
#
# If a relative file name is foo/bar.txt then the foo directory
# part will be removed so that the destination file name will be
# ${outpath}/bar.txt
#
if(BUILD_VERBOSE_GENERATION)
set(fc_details " (fc_target_copy_resource_flat called from ${CMAKE_CURRENT_SOURCE_DIR})")
else()
set(fc_details "")
endif()
foreach(it ${ARGN})
get_filename_component(infile "${inpath}/${it}" ABSOLUTE)
get_filename_component(outfile "${it}" NAME)
get_filename_component(outfile "${outpath}/${outfile}" ABSOLUTE)
add_file_dependencies("${infile}" "${outfile}")
ADD_CUSTOM_COMMAND(
COMMAND "${CMAKE_COMMAND}" -E copy "${infile}" "${outfile}"
OUTPUT "${outfile}"
COMMENT "Copying ${infile} to ${outfile}${fc_details}"
MAIN_DEPENDENCY "${infile}"
)
endforeach(it)
ADD_CUSTOM_COMMAND(
TARGET ${target_name}
DEPENDS ${ARGN}
)
ENDMACRO(fc_target_copy_resource_flat)
# It would be a bit cleaner to generate these files in ${CMAKE_CURRENT_BINARY_DIR}
macro(generate_from_xml BASE_NAME)
file(TO_NATIVE_PATH ${CMAKE_SOURCE_DIR}/src/Tools/generate.py TOOL_PATH)
file(TO_NATIVE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.xml SOURCE_PATH)
set(TOOL_PATH "${CMAKE_SOURCE_DIR}/src/Tools/generate.py")
file(TO_NATIVE_PATH "${TOOL_PATH}" TOOL_NATIVE_PATH)
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.xml" SOURCE_NATIVE_PATH)
file(TO_NATIVE_PATH ${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.cpp SOURCE_CPP_PATH)
set(SOURCE_CPP_PATH "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.cpp" )
# BASE_NAME may include also a path name
GET_FILENAME_COMPONENT(OUTPUT_PATH ${SOURCE_CPP_PATH} PATH)
if (NOT EXISTS ${SOURCE_CPP_PATH})
GET_FILENAME_COMPONENT(OUTPUT_PATH "${SOURCE_CPP_PATH}" PATH)
file(TO_NATIVE_PATH "${OUTPUT_PATH}" OUTPUT_NATIVE_PATH)
if(NOT EXISTS "${SOURCE_CPP_PATH}")
# assures the source files are generated at least once
message(STATUS "${SOURCE_CPP_PATH}")
execute_process(COMMAND ${PYTHON_EXECUTABLE} ${TOOL_PATH} --outputPath ${OUTPUT_PATH} ${SOURCE_PATH}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
execute_process(COMMAND "${PYTHON_EXECUTABLE}" "${TOOL_NATIVE_PATH}" --outputPath "${OUTPUT_NATIVE_PATH}" "${SOURCE_NATIVE_PATH}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
)
endif (NOT EXISTS ${SOURCE_CPP_PATH})
endif()
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.h ${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.cpp
COMMAND ${PYTHON_EXECUTABLE} ${TOOL_PATH} --outputPath ${OUTPUT_PATH} ${BASE_NAME}.xml
MAIN_DEPENDENCY ${BASE_NAME}.xml
DEPENDS ${CMAKE_SOURCE_DIR}/src/Tools/generateTemplates/templateClassPyExport.py
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT Building ${BASE_NAME}.h/.cpp out of ${BASE_NAME}.xml
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.h" "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.cpp"
COMMAND ${PYTHON_EXECUTABLE} "${TOOL_NATIVE_PATH}" --outputPath "${OUTPUT_NATIVE_PATH}" ${BASE_NAME}.xml
MAIN_DEPENDENCY "${BASE_NAME}.xml"
DEPENDS
"${CMAKE_SOURCE_DIR}/src/Tools/generateTemplates/templateClassPyExport.py"
"${TOOL_PATH}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
COMMENT "Building ${BASE_NAME}.h/.cpp out of ${BASE_NAME}.xml"
)
endmacro(generate_from_xml)
macro(generate_from_py BASE_NAME OUTPUT_FILE)
file(TO_NATIVE_PATH ${CMAKE_SOURCE_DIR}/src/Tools/PythonToCPP.py TOOL_PATH)
file(TO_NATIVE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.py SOURCE_PATH)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${OUTPUT_FILE}
COMMAND ${PYTHON_EXECUTABLE} ${TOOL_PATH} ${SOURCE_PATH} ${OUTPUT_FILE}
MAIN_DEPENDENCY ${BASE_NAME}.py
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT Building files out of ${BASE_NAME}.py)
set(TOOL_PATH "${CMAKE_SOURCE_DIR}/src/Tools/PythonToCPP.py")
file(TO_NATIVE_PATH "${TOOL_PATH}" TOOL_NATIVE_PATH)
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.py" SOURCE_NATIVE_PATH)
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${OUTPUT_FILE}"
COMMAND "${PYTHON_EXECUTABLE}" "${TOOL_NATIVE_PATH}" "${SOURCE_NATIVE_PATH}" "${OUTPUT_FILE}"
MAIN_DEPENDENCY "${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.py"
DEPENDS "${TOOL_PATH}"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "Building files out of ${BASE_NAME}.py")
endmacro(generate_from_py)
@@ -236,15 +234,15 @@ MACRO(SET_BIN_DIR ProjectName OutputName)
if(WIN32)
set_target_properties(${ProjectName} PROPERTIES DEBUG_OUTPUT_NAME ${OutputName}_d)
else(WIN32)
# FreeCADBase, SMDS, Driver, MEFISTO2 and area libs don't depend on parts from CMAKE_INSTALL_LIBDIR
if(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2|area)$")
if(${ARGC} STREQUAL 4)
set_target_properties(${ProjectName} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}${ARGV3})
else(${ARGC} STREQUAL 4)
set_target_properties(${ProjectName} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_LIBDIR})
endif()
endif()
endif(WIN32)
# 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_property(TARGET ${ProjectName} APPEND PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}${ARGV3})
else(${ARGC} STREQUAL 4)
set_property(TARGET ${ProjectName} APPEND PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_LIBDIR})
endif()
endif()
endif(WIN32)
ENDMACRO(SET_BIN_DIR)
# Set python prefix & suffix together
@@ -255,8 +253,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)
# 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)
+42 -4
View File
@@ -7,10 +7,48 @@ 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)
#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)
if (BUILD_QT5)
# default Qt5 stuff
# Set paths to cmake config files for each Qt module
set(Qt5_ROOT_DIR ${FREECAD_LIBPACK_DIR} CACHE PATH "")
set (Qt5_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5 CACHE PATH "")
set (Qt5AxBase_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5AxBase CACHE PATH "")
set (Qt5AxContainer_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5AxContainer CACHE PATH "")
set (Qt5AxServer_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5AxServer CACHE PATH "")
set (Qt5Concurrent_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Concurrent CACHE PATH "")
set (Qt5Core_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Core CACHE PATH "")
set (Qt5DBus_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5DBus CACHE PATH "")
set (Qt5Designer_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Designer CACHE PATH "")
set (Qt5Gui_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Gui CACHE PATH "")
set (Qt5Help_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Help CACHE PATH "")
set (Qt5LinguistTools_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5LinguistTools CACHE PATH "")
set (Qt5Multimedia_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Multimedia CACHE PATH "")
set (Qt5MultimediaWidgets_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5MultimediaWidgets CACHE PATH "")
set (Qt5Network_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Network CACHE PATH "")
set (Qt5OpenGL_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5OpenGL CACHE PATH "")
set (Qt5OpenGLExtensions_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5OpenGLExtensions CACHE PATH "")
set (Qt5PrintSupport_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5PrintSupport CACHE PATH "")
set (Qt5Qml_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Qml CACHE PATH "")
set (Qt5Quick_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Quick CACHE PATH "")
set (Qt5QuickTest_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5QuickTest CACHE PATH "")
set (Qt5QuickWidgets_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5QuickWidgets CACHE PATH "")
set (Qt5Sql_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Sql CACHE PATH "")
set (Qt5Svg_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Svg CACHE PATH "")
set (Qt5Test_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Test CACHE PATH "")
set (Qt5UiPlugin_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5UiPlugin CACHE PATH "")
set (Qt5UiTools_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5UiTools CACHE PATH "")
set (Qt5Widgets_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Widgets CACHE PATH "")
set (Qt5Xml_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Xml CACHE PATH "")
set (Qt5XmlPatterns_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5XmlPatterns CACHE PATH "")
endif (BUILD_QT5)
find_library(XercesC_LIBRARIES xerces-c_3 "${FREECAD_LIBPACK_DIR}/lib")
find_library(XercesC_DEBUG_LIBRARIES xerces-c_3D "${FREECAD_LIBPACK_DIR}/lib")
-486
View File
@@ -1,486 +0,0 @@
NOTE! The LGPL below is copyrighted by the Free Software Foundation, but
the instance of code that it refers to (the FreeCAD libraries) are copyrighted
by the authors who actually wrote it.
---------------------------------------------------------------------------
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1991 Free Software Foundation, Inc.
51 Franklin Street - Fifth Floor
Boston, MA 02110-1301, USA.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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 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
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!
Binary file not shown.
+2
View File
@@ -6,7 +6,9 @@ SET(Examples_Files
PartDesignExample.FCStd
RobotExample.FCStd
ArchDetail.FCStd
FemCalculixCantilever2D.FCStd
FemCalculixCantilever3D.FCStd
FemCalculixCantilever3D_newSolver.FCStd
)
ADD_CUSTOM_TARGET(Example_data ALL
Binary file not shown.
Binary file not shown.
Binary file not shown.
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>
+1 -1
View File
@@ -28,7 +28,7 @@ ZMoterMountscripted pass
* I thought this was because of the float to double bug, but it's not....Float to double might have been a factor, but there is another problem. I rebuilt this condition from scratch and refine works with no corruption. If I save this file and re-open it, refine works, but corrupts the model. shell is open. This is true in either fcstd or brep format. weird! This is the second version of this file as to rule out any chance of the float to double bug. This is real flaky and it won't be the last time we deal with this. I keep thinking about romans comment "don't abuse shapefix". http://opencascade.blogspot.com/2009/03/topology-and-geometry-in-open-cascade.html?showComment=1236718620000#c8850560473418361068
Here are some tolerance numbers for cylinder7_V2. new is from the new construction code that uses shapefix to build missing seem edges. The old code does't consider the formation of complete cylnder and failed several tests.
Here are some tolerance numbers for cylinder7_V2. new is from the new construction code that uses shapefix to build missing seem edges. The old code doesn't consider the formation of complete cylinder and failed several tests.
Draw[11]> tolerance old
Tolerance MAX=2.0000099999999999e-07 AVG=1.2882835847679566e-07 MIN=9.9999999999999995e-08
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
+31
View File
@@ -0,0 +1,31 @@
mkdir -p build
cd build
cmake -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=$PREFIX \
-D CMAKE_PREFIX_PATH=$PREFIX \
-D CMAKE_LIBRARY_PATH=$PREFIX/lib \
-D BUILD_QT5=ON \
-D NETGENDATA=$PREFIX/include/netgen \
-D NETGEN_INCLUDEDIR=$PREFIX/include/netgen \
-D NGLIB_INCLUDE_DIR=$PREFIX/include/nglib \
-D OCC_INCLUDE_DIR=$PREFIX/include/opencascade \
-D OCC_LIBRARY_DIR=$PREFIX/lib \
-D OCC_LIBRARIES=$PREFIX/lib CACHE PATH \
-D FREECAD_USE_OCC_VARIANT="Official Version" \
-D OCC_OCAF_LIBRARIES=$PREFIX/lib CACHE PATH \
-D SWIG_DIR=$PREFIX/share/swig/3.0.8 \
-D SWIG_EXECUTABLE=$PREFIX/bin/swig \
-D PYTHON_EXECUTABLE=$PYTHON \
-D BUILD_FEM_NETGEN=YES \
-D USE_BOOST_PYTHON=NO \
-D FREECAD_USE_PYBIND11=YES \
-D BUILD_ENABLE_CXX11=ON \
-D SMESH_INCLUDE_DIR=$PREFIX/include/smesh \
-D FREECAD_USE_EXTERNAL_SMESH=ON \
/source
make -j${CPU_COUNT} 2>&1 | tee output.txt
make -j${CPU_COUNT} install
rm ${PREFIX}/doc -r # smaller size of package!
+60
View File
@@ -0,0 +1,60 @@
package:
name: freecad_daily
version: 0.18
build:
number: 0
requirements:
build:
- toolchain
- gcc # [unix]
- vc 14 # [win and py>=35]
- ninja
- cmake
- nomkl # [unix]
- swig
- eigen
- boost-cpp 1.66.0
- boost 1.66.0 # [win]
- pybind11 # [unix]
- python
- matplotlib
- coin3d
- pivy
- qt 5.6.*
- pyside2 5.6.*
- occt 7.2.0
- smesh
- netgen # [not win32]
- vtk 8.1.*
- hdf5
- xerces-c 3.2.*
- zlib 1.2.*
- doxygen
- git
- libglu # [linux]
run:
- libgcc # [unix]
- vc 14 # [win and py>=35]
- boost-cpp 1.66.0
- boost 1.66.0 # [win]
- python
- numpy
- matplotlib
- coin3d
- pivy
- qt 5.6.*
- pyside2 5.6.*
- occt 7.2.0
- vtk 8.1.*
- smesh
- netgen # [not win32]
- xerces-c 3.2.*
- zlib 1.2*
- git
- calculix # [unix]
- libglu # [linux]
about:
summary: freecad
+48
View File
@@ -0,0 +1,48 @@
#!/usr/bin/env bash
FEEDSTOCK_ROOT=$(cd "$(dirname "$0")"; pwd;)
SOURCE_DIR=${FEEDSTOCK_ROOT}/../..
echo ${SOURCE_DIR}
docker info
config=$(cat <<CONDARC
channels:
- freecad
- conda-forge
- defaults
show_channel_urls: true
CONDARC
)
HOST_USER_ID=$(id -u)
if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then
HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u)
fi
rm -f "$FEEDSTOCK_ROOT/build_artefacts/conda-forge-build-done"
cat << EOF | docker run -i \
-v "${SOURCE_DIR}":/source \
-e HOST_USER_ID="${HOST_USER_ID}" \
-a stdin -a stdout -a stderr \
condaforge/linux-anvil \
bash || exit 1
set -x
export PYTHONUNBUFFERED=1
echo "$config" > ~/.condarc
conda clean --lock
conda install --yes --quiet conda-build
/usr/bin/sudo -n yum install -y libXt-devel libXmu-devel libXi-devel mesa-libGLU-devel
conda build /source/package/conda
EOF
-305
View File
@@ -1,305 +0,0 @@
freecad (0.15-1precise3) precise; urgency=low
* control: added netgen-headers to Build Depends.
-- Normand Chamberland <gemnoc@gmail.com> Sat, 04 Apr 2015 11:14:23 -0400
freecad (0.15-1precise2) precise; urgency=low
* control: added pyside-tools to build deps, broke down python-pyside depends
-- Normand Chamberland <gemnoc@gmail.com> Thu, 06 Nov 2014 22:10:44 -0500
freecad (0.15-1precise1) precise; urgency=low
* Bumped version number as per upstream version
-- Normand Chamberland <gemnoc@gmail.com> Thu, 07 Aug 2014 11:34:39 -0400
freecad (0.14-1precise2) precise; urgency=low
* Set new version number.
-- Werner Mayer <wmayer@users.sourceforge.net> Sat, 13 Jul 2013 12:53:55 +0200
freecad (0.13-1precise2) precise; urgency=low
* Fix hard dependency on libgl1-mesa-glx preventing installation on
Ubuntu 12.04.2 with LTSEnablementStack. Removal of shlibs.local file
and libgl1-mesa-dev deleted from BuildDeps.
* Removed version number from libsoqt4-dev BD.
-- Normand Chamberland <gemnoc@gmail.com> Sun, 05 May 2013 18:31:47 -0400
freecad (0.13-1precise1) precise; urgency=low
* New release for Ubuntu 12.04 (precise)
-- Normand Chamberland <gemnoc@gmail.com> Sun, 06 May 2012 14:38:12 -0400
freecad (0.11.3729.dfsg-2) unstable; urgency=low
* Add gfortran and libopencascade-visualization-dev to BD
to fix FTBFS (closes: #622694)
* Add libqtwebkit-dev to BD (closes: #618241)
* Delete quilt from BD and corresponding changes in rules.
* Add description to freecad-occ650.patch
* Delete encoding string from .desktop
* Fix some spelling errors, pointed out by lintian.
-- Anton Gladky <gladky.anton@gmail.com> Thu, 14 Apr 2011 10:23:25 +0100
freecad (0.11.3729.dfsg-1) unstable; urgency=low
[ Denis Barbier ]
* Merge OpenCASCADE 6.5.0 compatibility patch (closes: #617545).
[ Adam C. Powell, IV ]
* New upstream (closes: #622213, #618241).
* Changed to source format 3.0 (quilt).
* Added patch target which forces autotools to run, and automake and autoconf
are now in Build-Depends (closes: #607181).
* Set aside src/Build/Version.h to prevent build problems.
* Does not install .la files (closes: #621298).
* Boost 1.46 compatibility patch (closes: #621877).
* Set aside files which autotools modifies so clean works.
* Added libtool to Build-Depends (thanks: PICCA Frédéric-Emmanuel).
* Bumped Standards-Version, no changes needed.
-- "Adam C. Powell, IV" <hazelsct@debian.org> Tue, 12 Apr 2011 23:40:30 -0400
freecad (0.10.3247.dfsg-2ubuntu3) natty; urgency=low
* Fix build failure with ld --as-needed.
-- Matthias Klose <doko@ubuntu.com> Wed, 15 Dec 2010 01:12:39 +0100
freecad (0.10.3247.dfsg-2ubuntu2) natty; urgency=low
* Rebuild with python 2.7 as the python default.
-- Matthias Klose <doko@ubuntu.com> Thu, 09 Dec 2010 16:46:45 +0000
freecad (0.10.3247.dfsg-2ubuntu1) natty; urgency=low
* Merge from debian unstable. Remaining changes:
- build on libqtwebkit-dev for qtwebkit transition
-- Bhavani Shankar <bhavi@ubuntu.com> Wed, 20 Oct 2010 08:40:53 +0530
freecad (0.10.3247.dfsg-2) unstable; urgency=low
* control:
- Update to standars-version 3.9.0.
- Remove libblas-dev, libatlas-dev from build-deps.
* Add debian/shlibs.local file containing the the correct binary dep
to libsoqt4-20 (closes: #575239).
* copyright: Add a verbatim copy of Tiddlywiki BSD license. Fixes
the lintian warning copyright-refers-to-deprecated-bsd-license-file.
* Add kFreeBSD portability fixes. Thanks to Petr Salinger
<Petr.Salinger@seznam.cz> for the patch (closes: #592461).
-- Teemu Ikonen <tpikonen@gmail.com> Wed, 18 Aug 2010 19:34:36 +0200
freecad (0.10.3247.dfsg-1ubuntu2) maverick; urgency=low
* Rebuild on libqtwebkit-dev for qtwebkit transition
-- Jonathan Riddell <jriddell@ubuntu.com> Wed, 21 Jul 2010 10:06:31 +0100
freecad (0.10.3247.dfsg-1ubuntu1) maverick; urgency=low
* Merge from Debian unstable, remaining changes:
- debian/control: Build-Depends on libqt4-webkit-dev due to
QtWebKit is no longer part of libqt4-dev (LP: #604078)
-- Artur Rona <ari-tczew@tlen.pl> Sat, 10 Jul 2010 21:06:47 +0200
freecad (0.10.3247.dfsg-1) unstable; urgency=low
* New upstream version (closes: #582627)
* Add debian/source/format file with contents "1.0".
* Use freecad.xpm as icon in menu and desktop files.
* copyright: Add licensing information for new files in this release.
* src/Base/Makefile.in, src/Gui/Makefile.in: Do not remove *.tab.c files
in make distclean target.
* control:
- Add build-dep to libeigen2-dev.
- Update to standards-version 3.8.4.
-- Teemu Ikonen <tpikonen@gmail.com> Mon, 05 Jul 2010 15:07:49 +0200
freecad (0.9.2646.5.dfsg-1ubuntu1) maverick; urgency=low
* Add build-dep on libqt4-webkit-dev to fix FTBFS with Qt 4.7
-- Scott Kitterman <scott@kitterman.com> Sat, 19 Jun 2010 00:37:12 -0400
freecad (0.9.2646.5.dfsg-1) unstable; urgency=low
* Add 'dfsg' extension to upstream version, upstream sources are unchanged.
* Remove libgl1-mesa-dev build-dep, rely on libcoin to pull in GL libraries.
* Change build-dep libatlas-headers to libatlas-dev (closes: #577309).
-- Teemu Ikonen <tpikonen@gmail.com> Fri, 14 May 2010 17:20:35 +0200
freecad (0.9.2646.5-1) unstable; urgency=low
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).
-- Adam C. Powell, IV <hazelsct@debian.org> Mon, 11 Jan 2010 08:48:33 -0500
freecad (0.9.2646.4-1) unstable; urgency=low
* New upstream version (closes: #559849, #559846).
-- Adam C. Powell, IV <hazelsct@debian.org> Fri, 11 Dec 2009 20:21:32 -0500
freecad (0.9.2646.3-1) unstable; urgency=low
* New upstream version. Removes TiddlySaver.jar, fixes help problems.
-- Teemu Ikonen <tpikonen@gmail.com> Thu, 03 Dec 2009 19:39:27 +0100
freecad (0.9.2646-1) unstable; urgency=low
[ Werner Mayer ]
* New upstream release
* In-source copy of PyCXX has been dropped (closes: #547936)
* In-source copy of zipios++ has been dropped (closes: #547941)
* Change build-dependency on python2.5-dev to python-dev
* Add freecad-doc binary package
* Remove Suggestion of a chm viewer, suggest freecad-doc instead
[ Teemu Ikonen ]
* Add override to dh_compress
* Add versioned build-deb to debhelper (>= 7.0.50)
* Add build-deps to libzipios++-dev and python-cxx-dev.
-- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
freecad (0.8.2237-2) unstable; urgency=low
* Added libboost-python-dev to Build-Depends (closes: #549738).
* Added myself to uploaders list.
* Bumped Standards-Version.
-- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
freecad (0.8.2237-1) unstable; urgency=low
* New Upstream release
-- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
freecad (0.7.1658-1) UNRELEASED; urgency=low
* New upstream release
-- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
freecad (0.7.1514-1) UNRELEASED; urgency=low
* New upstream version
* Add more stuff to the copyright file
* control: add build-dep to python-central
-- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
* Package for Ubuntu 8.04 (Hardy Heron)
-- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
* Backport to Ubuntu 7.10 (Gutsy Gibbon)
-- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
* Backport to Ubuntu 7.04 (Feisty Fawn)
-- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
freecad (0.7.1350-1) UNRELEASED; urgency=low
* New upstream release from sf.net
* Import to debian-science repository at git.debian.org
* control:
- Update to standards-version 3.7.3
- Add Vcs-* fields pointing to git.debian.org
- Improve descriptions
* Convert copyright to (pseudo) machine readable format, audit source
* Fix categories in .desktop file
* Change Section to Science/Engineering in .doc-base and menu files
* rules: do not ignore errors on clean target, add dh_desktop call
-- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
* New package with fixed self-dependency problem
-- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
* New debian package for Feisty
-- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
freecad (0.7.1344-1) UNRELEASED; urgency=low
* Write patch file to make builds with OpenCASCADE libs inside but with no
dependency to libopencascade6.2
-- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
freecad (0.7.1343-1) UNRELEASED; urgency=low
* Embed required OpenCASCADE libs into this package as long as no official
Debian package is available
-- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
freecad (0.7.1342-1) UNRELEASED; urgency=low
* Switch to new versioning scheme of OpenCASCADE packages
-- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
freecad (0.7.1316-1) UNRELEASED; urgency=low
* Support of pivy (Python binding for Coin/SoQt)
* Support of PyQt4
* General support of SWIG modules
-- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
freecad (0.7.1031-1) UNRELEASED; urgency=low
* Qt4 port finished
* Support of Python binding for Qt4
* Support of Python binding for Coin
* Support of entirely in Python written modules
* Added support of model driven architecture for Python binding
* Use boost's signal/slot mechanism to update data
-- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
freecad (0.7.645-1) UNRELEASED; urgency=low
* Qt4 port started
-- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
freecad (0.6.472-1) UNRELEASED; urgency=low
* Initial Release
-- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
-1
View File
@@ -1 +0,0 @@
7
-69
View File
@@ -1,69 +0,0 @@
Source: freecad
Section: science
Priority: extra
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>, Anton Gladky <gladky.anton@gmail.com>
Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
Homepage: http://www.freecadweb.org/
Build-Depends: debhelper (>= 7.0.50~), cmake,
libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
libboost-thread-dev, libboost-python-dev, python-dev, python-support,
libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
libcoin60-dev, libsoqt4-dev, libeigen3-dev,
zlib1g-dev, libxerces-c2-dev, liboce-foundation-dev,
liboce-modeling-dev, liboce-ocaf-dev, liboce-visualization-dev,
python-cxx-dev, libswscale-dev, libzipios++-dev, swig, gfortran,
f2c, libqtwebkit-dev, libspnav-dev, libfreetype6-dev, libfreeimage-dev,
libpyside-dev, libshiboken-dev, pyside-tools, netgen-headers
Standards-Version: 3.9.3
Package: freecad
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-pyside.qtcore,
python-pyside.qtsvg, python-pyside.qtuitools
Recommends: python-pivy, python
Suggests: freecad-doc
Description: Extensible Open Source CAx program (beta)
FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
It features some key concepts like macro recording, workbenches, ability
to run as a server and dynamically loadable application extensions and
it is designed to be platform independent.
.
Currently, FreeCAD can import and display CAD models in IGES, STEP, and
BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
Editing and modeling features are currently somewhat limited.
Package: freecad-dev
Architecture: any
Section: libdevel
Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
Description: FreeCAD development files
FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
It features some key concepts like macro recording, workbenches, ability
to run as a server and dynamically loadable application extensions and
it is designed to be platform independent.
For more details see http://sourceforge.net/projects/free-cad
.
This package contains headers and symlinks necessary to
develop modules for FreeCAD.
Package: freecad-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}, qt4-dev-tools
Description: FreeCAD documentation
FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
It features some key concepts like macro recording, workbenches, ability
to run as a server and dynamically loadable application extensions and
it is designed to be platform independent.
For more details see http://sourceforge.net/projects/free-cad
.
This package contains the FreeCAD documentation.
.
The documentation is provided in Qt's new help format;
the new help format version can be viewed in conjunction with the Qt Assistant
found in the qt4-dev-tools package.
-275
View File
@@ -1,275 +0,0 @@
Format: http://dep.debian.net/deps/dep5/
Upstream-Contact: Werner Mayer <wmayer@users.sourceforge.net>
X-Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
X-Packaged-Date: 2006-09-26_16:55:15+02:00
Source: http://sourceforge.net/projects/free-cad
Files: *
Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
Werner Mayer <wmayer@users.sourceforge.net>
License: LGPL-2+
This package 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 package 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 package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
.
On Debian systems, the complete text of the GNU Lesser General Public
License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
Files: src/3rdParty/boost/numeric/bindings/*
Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
License: other-boost-1.0
Boost Software License - Version 1.0 - August 17th, 2003
.
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
.
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
License: other
* Permission to copy, modify, use and distribute this software
* for any non-commercial or commercial purpose is granted provided
* that this license appear on all copies of the software source code.
*
* Authors assume no responsibility whatsoever for its use and makes
* no guarantees about its quality, correctness or reliability.
*
* KF acknowledges the support of the Faculty of Civil Engineering,
* University of Zagreb, Croatia.
Files: src/Base/Base64.*
Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
License: other
This source code is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages
arising from the use of this software.
.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
.
1. The origin of this source code must not be misrepresented; you must not
claim that you wrote the original source code. If you use this source code
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original source code.
.
3. This notice may not be removed or altered from any source distribution.
Files: src/Base/fdstream.hpp
Copyright: 2001 Nicolai M. Josuttis
License: other
Permission to copy, use, modify, sell and distribute this software
is granted provided this copyright notice appears in all copies.
This software is provided "as is" without express or implied
warranty, and with no claim as to its suitability for any purpose.
Files: src/Base/gzstream.*
Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
License: LGPL-2.1+
Files: src/Base/PyTools.*
Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
License: other
Permission to use, copy, modify, and distribute this software
for any purpose and without fee is hereby granted. This software
is provided on an as is basis, without warranties of any kind.
Files: src/Doc/Start_Page.html
Copyright: 2004-2009 UnaMesa Association
License: BSD
Copyright (c) UnaMesa Association 2004-2009
.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
.
Neither the name of the UnaMesa Association nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS
IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Files: src/Doc/Start_Page.html
Copyright: 2009 John Resig
License: GPL-2 or MIT
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in '/usr/share/common-licenses/GPL-2'.
License: MIT
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Files: src/Doc/Start_Page.html
Copyright: 2009 The Dojo Foundation, http://sizzlejs.com/
License: GPL-2 or MIT or BSD
Files: src/Gui/iisTaskPanel/src/*
Copyright: http://www.ii-system.com
License: LGPL
Files: src/Mod/Draft/*
Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
License: GPL-2+
Files: src/Mod/Draft/draftlibs/dxf*
Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
License: GPL-2+
Files: src/Mod/Draft/WorkingPlane.py
Copyright: 2009-2010 Ken Cline <cline@frii.com>
License: GPL-2+
Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
src/Mod/Mesh/App/Core/*
Copyright: 2005 Imetric 3D GmbH
License: LGPL-2+
Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
License: LGPL-2+
Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
Copyright: 2005 Berthold Grupp
License: LGPL-2+
Files: src/Mod/Mesh/BuildRegularGeoms.py
Copyright: 2005 Berthold Grupp
License: LGPL
Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
Copyright: 2004 Imetric 3D GmbH
License: LGPL-2+
Files: src/Mod/Mesh/App/Core/tritritest.h
Copyright: 1997 Tomas Moller <tam@cs.lth.se>
License: other
tritritest.h has no licensing information, but Tomas Moller replied
the following, when asked about it:
.
The code is is free to use for anyone and any projects, but I give no
warranties.
Files: src/Mod/Mesh/App/WildMagic4/*
Copyright: 1998-2007 David Eberly http://www.geometrictools.com
License: LGPL-2.1+
Files: src/Mod/Part/App/edgecluster.*
Copyright: 2010 Joachim Zettler <Joachim.Zettler@gmx.de>
License: LGPL-2+
Files: src/Mod/Raytracing/App/resources/*
Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
Juergen Riegel <juergen.riegel@web.de>
License: LGPL-2+
Files: src/Mod/Sketcher/App/sketchflat/*
Copyright: 2008 Jonathan Westhues
License: GPL-3+
On Debian systems, the complete text of the GNU General Public License
version 3 can be found in '/usr/share/common-licenses/GPL-3'.
Files: src/Mod/Sketcher/App/sketchsolve_cp/*
Copyright: 2009 Jonathan George
License: BSD
Files: src/Mod/Test/unittestgui.py
Copyright: 1999-2001 Steve Purcell
License: PSF
This module is free software, and you may redistribute it and/or modify
it under the same terms as Python itself, so long as this copyright message
and disclaimer are retained in their original form.
.
IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
.
THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Files: src/Mod/Part/MakeBottle.py, src/Tools/*
Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
Werner Mayer <wmayer@users.sourceforge.net>
License: GPL-2+
Files: src/Tools/generateBase/generateDS.py
Copyright: 2003 Dave Kuhlman
License: MIT
Files: debian/*
Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
Teemu Ikonen <tpikonen@gmail.com>
License: LGPL-2+
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-997
View File
@@ -1,997 +0,0 @@
--- freecad-0.8.2237.orig/debian/changelog
+++ freecad-0.8.2237/debian/changelog
@@ -0,0 +1,155 @@
+freecad (0.8.2237-1intrepid1) intrepid; urgency=low
+
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Jul 2009 20:36:40 +0200
+
+freecad (0.7.2008-1intrepid1) intrepid; urgency=low
+
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 21 Mar 2009 19:23:57 +0100
+
+freecad (0.7.1779-1intrepid1) intrepid; urgency=low
+
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 14 Dec 2008 15:20:54 +0200
+
+freecad (0.7.1658-1intrepid1) intrepid; urgency=low
+
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 12 Oct 2008 16:20:54 +0200
+
+freecad (0.7.1658-1hardy1) hardy; urgency=low
+
+ * New release for Ubuntu 8.04 (Hardy Heron)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Oct 2008 18:45:20 +0200
+
+freecad (0.7.1658-1gutsy1) gutsy; urgency=low
+
+ * New release for Ubuntu 7.10 (Gutsy Gibbon)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Oct 2008 15:56:27 +0200
+
+freecad (0.7.1525-1feisty1) feisty; urgency=low
+
+ * Activate MIME support in rules file
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 5 Aug 2008 21:27:46 +0200
+
+freecad (0.7.1522-1feisty1) feisty; urgency=low
+
+ * Package for Ubuntu 7.04 (Feisty Fawn)
+ * Abstract interface for geometric data types
+ * Avoid flickering of cursor when cutting several meshes at once
+ * Update to the latest debian policy version 3.7.3
+ * Several bugs fixed with Python GIL
+ * Providing a dev package for freecad
+ * Make TopoDS_Shape and Geom_Geometry classes accessible from Python
+ * Make Python interface for algorithms on shapes and geometries
+ * Support of mesh segments
+ * Add test/annotation object
+ * Add simple measurement facility
+ * Remove OpenCascade dependency in Mesh module
+ * Thumbnail facility added
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 04 Aug 2008 20:11:20 +0200
+
+freecad (0.7.1514-1) unstable; urgency=low
+
+ * New upstream version
+ * Add more stuff to the copyright file
+ * control: add build-dep to python-central
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
+
+freecad (0.7.1350-1hardy1) hardy; urgency=low
+
+ * Package for Ubuntu 8.04 (Hardy Heron)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
+
+freecad (0.7.1350-1gutsy1) gutsy; urgency=low
+
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
+
+freecad (0.7.1350-1feisty1) feisty; urgency=low
+
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
+
+freecad (0.7.1350-1) unstable; urgency=low
+
+ * Official release for version 0.7
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Fri, 23 May 2008 23:39:47 +0200
+
+freecad (0.7.1344-1ubuntu2) feisty; urgency=low
+
+ * New package with fixed self-dependency problem
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
+
+freecad (0.7.1344-1ubuntu1) feisty; urgency=low
+
+ * New debian package for Feisty
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
+
+freecad (0.7.1344-1) unstable; urgency=low
+
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
+ dependency to libopencascade6.2
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
+
+freecad (0.7.1343-1) unstable; urgency=low
+
+ * Embed required OpenCASCADE libs into this package as long as no official
+ Debian package is available
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
+
+freecad (0.7.1342-1) unstable; urgency=low
+
+ * Switch to new versioning scheme of OpenCASCADE packages
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
+
+freecad (0.7.1316-1) unstable; urgency=low
+
+ * Support of pivy (Python binding for Coin/SoQt)
+ * Support of PyQt4
+ * General support of SWIG modules
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
+
+freecad (0.7.1031-1) unstable; urgency=low
+
+ * Qt4 port finished
+ * Support of Python binding for Qt4
+ * Support of Python binding for Coin
+ * Support of entirely in Python written modules
+ * Added support of model driven architecture for Python binding
+ * Use boost's signal/slot mechanism to update data
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
+
+freecad (0.7.645-1) unstable; urgency=low
+
+ * Qt4 port started
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
+
+freecad (0.6.472-1) unstable; urgency=low
+
+ * Initial Release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
+
--- freecad-0.8.2237.orig/debian/menu
+++ freecad-0.8.2237/debian/menu
@@ -0,0 +1,6 @@
+?package(freecad):needs="X11"\
+ section="Applications/Science/Engineering"\
+ title="FreeCAD"\
+ command="/usr/bin/freecad"\
+ icon="/usr/share/freecad/FCIcon.xpm"
+
--- freecad-0.8.2237.orig/debian/freecad.doc-base
+++ freecad-0.8.2237/debian/freecad.doc-base
@@ -0,0 +1,14 @@
+Document: freecad
+Title: FreeCAD Manual
+Author: Werner Mayer
+Abstract: An extensible Open Source CAx program for Unix/X11
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+Section: Science/Engineering
+
+Format: text
+Files: /usr/share/doc/freecad/README.Linux.gz
+
--- freecad-0.8.2237.orig/debian/compat
+++ freecad-0.8.2237/debian/compat
@@ -0,0 +1 @@
+5
--- freecad-0.8.2237.orig/debian/freecad.links
+++ freecad-0.8.2237/debian/freecad.links
@@ -0,0 +1,3 @@
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
--- freecad-0.8.2237.orig/debian/copyright
+++ freecad-0.8.2237/debian/copyright
@@ -0,0 +1,393 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
+Packaged-Date: 2006-09-26_16:55:15+02:00
+Original-Source-Location: http://sourceforge.net/projects/free-cad
+
+Files: *
+Copyright: 2001-2008 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: LGPL-2+
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: src/3rdParty/ANN/*
+Copyright: 1997-2005 University of Maryland and Sunil Arya and David Mount
+License: LGPL-2.1+
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+Files: src/3rdParty/atlas/clapack.h
+Copyright: 1999 R. Clint Whaley
+License: BSD-3
+ On Debian systems, the complete text of the Three-clause BSD license
+ can be found in `/usr/share/common-licenses/BSD'.
+
+Files: src/3rdParty/boost/numeric/bindings/*
+Copyright: 2002-2004 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
+ Andreas Kloeckner, Matthias Troyer
+License: other
+ Permission to copy, modify, use and distribute this software
+ for any non-commercial or commercial purpose is granted provided
+ that this license appear on all copies of the software source code.
+ .
+ Author assumes no responsibility whatsoever for its use and makes
+ no guarantees about its quality, correctness or reliability.
+ .
+ Kresimir Fresl acknowledges the support of the Faculty of Civil Engineering,
+ University of Zagreb, Croatia.
+
+Files: src/3rdParty/boost/numeric/bindings/amos/*,
+ src/3rdParty/boost/numeric/bindings/blas/*,
+ src/3rdParty/boost/numeric/bindings/traits/config.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/fortran.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/matrix_raw.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/symm_herm_raw.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/vector_raw.hpp,
+Copyright: 2002-2003 Toon Knapen, Kresimir Fresl, Si-Lab b.v.b.a, Joerg Walter
+License: other
+ Permission to use, copy, modify, distribute and sell this software
+ and its documentation for any purpose is hereby granted without fee,
+ provided that the above copyright notice appear in all copies and
+ that both that copyright notice and this permission notice appear
+ in supporting documentation. The authors make no representations
+ about the suitability of this software for any purpose.
+ It is provided "as is" without express or implied warranty.
+
+Files: src/3rdParty/boost/numeric/bindings/traits/type.h
+Copyright: 2000,2001,2002,2003 Si-Lab b.v.b.a. and Toon Knapen
+License: other-non-free
+ * License is hereby granted to use and modify this software
+ * as long as this copyright notice is retained and modifications
+ * are clearly marked.
+ * This License does not permit you to redistribute this software.
+
+Files: src/3rdParty/boost/numeric/bindings/lapack/steqr.hpp,
+ src/3rdParty/boost/numeric/bindings/lapack/sytrd.hpp
+Copyright: 2007 Karl Meerbergen
+License: other
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: src/3rdParty/OCCAdaptMesh/*
+Copyright: 1991-2000 Matra Datavision SA, 2001-2004 Open CASCADE SA
+License: other
+ This file is part of the Open CASCADE Technology software.
+ .
+ This software may be distributed and/or modified under the terms and
+ conditions of the Open CASCADE Public License as defined by Open CASCADE SA
+ and appearing in the file LICENSE included in the packaging of this file.
+ .
+ This software is distributed on an "AS IS" basis, without warranty of any
+ kind, and Open CASCADE SA hereby disclaims all such warranties,
+ including without limitation, any warranties of merchantability, fitness
+ for a particular purpose or non-infringement. Please see the License for
+ the specific terms and conditions governing rights and limitations under the
+ License.
+
+Files: src/3rdParty/Pivy/*
+Copyright: 2002-2007 Systems in Motion
+License: other
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Files: src/Base/gzstream.*
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
+License: LGPL-2.1+
+
+Files: src/Base/PyCXX/*
+Copyright: ???
+License: ???
+
+Files: src/Base/PyTools.h
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
+License: other
+ Permission to use, copy, modify, and distribute this software
+ for any purpose and without fee is hereby granted. This software
+ is provided on an as is basis, without warranties of any kind.
+
+Files: src/Base/zipios/*
+Copyright: 2000 Thomas Søndergaard
+License: LGPL-2+
+
+Files: src/Base/zipios/directory.*
+Copyright: 1998 Dietmar Kuehl, Claas Solutions GmbH
+License: other
+ Permission to use, copy, modify, distribute and sell this
+ software for any purpose is hereby granted without fee, provided
+ that the above copyright notice appears in all copies and that
+ both that copyright notice and this permission notice appear in
+ supporting documentation. Dietmar Kuehl and Claas Solutions make no
+ representations about the suitability of this software for any
+ purpose. It is provided "as is" without express or implied warranty.
+
+Files: src/Gui/SoFCOffscreenRenderer.cpp
+Copyright: ???
+License: ???
+/*
+ * wrjpgcom.c
+ *
+ * Copyright (C) 1994, Thomas G. Lane.
+ * This file is part of the Independent JPEG Group's software.
+ * For conditions of distribution and use, see the accompanying README file.
+ *
+ * This file contains a very simple stand-alone application that inserts
+ * user-supplied text as a COM (comment) marker in a JFIF file.
+ * This may be useful as an example of the minimum logic needed to parse
+ * JPEG markers.
+ */
+
+Files: src/Mod/Cam/App/*
+Copyright: 2007 Joachim Zettler <Joachim.Zettler@gmx.de>,
+ Human Rezai <human@mytum.de>,
+ Mohamad Najib Muhammad Noor <najib_bean@yahoo.co.uk>,
+ Stephane Routelous <stephane.routelous@exotk.org>,
+ Jürgen Riegel <juergen.riegel@web.de>
+License: LGPL-2+
+
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
+ src/Mod/Mesh/App/Core/*
+Copyright: 2005 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*,
+Copyright: 2005 Berthold Grupp
+License: LGPL-2+
+
+Files: src/Mod/Mesh/BuildRegularGeoms.py
+Copyright: 2005 Berthold Grupp
+License: ???
+
+Files: src/Mod/Drawing/Gui/DrawingView.*, src/Mod/Image/App/ImageBase.*,
+ src/Mod/Image/Gui/GLImageBox.*, src/Mod/Image/Gui/ImageView.*,
+ src/Mod/Image/Gui/XpmImages.h
+Copyright: ??? Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/triangle.cpp, src/Mod/Mesh/App/Core/triangle.h,
+ src/3rdParty/OCCAdaptMesh/src/TriangleAdapt/triangleAdapt.c,
+ src/3rdParty/OCCAdaptMesh/Include/triangleAdapt.h
+Copyright: 1993, 1995, 1997, 1998, 2002, 2005 Jonathan Richard Shewchuk
+License: other-non-free
+ /* This program may be freely redistributed under the condition that the *
+ /* copyright notices (including this entire header and the copyright *
+ /* notice printed when the `-h' switch is selected) are not removed, and *
+ /* no compensation is received. Private, research, and institutional *
+ /* use is free. You may distribute modified versions of this code UNDER *
+ /* THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE *
+ /* SAME FILE REMAIN UNDER COPYRIGHT OF THE ORIGINAL AUTHOR, BOTH SOURCE *
+ /* AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR *
+ /* NOTICE IS GIVEN OF THE MODIFICATIONS. Distribution of this code as *
+ /* part of a commercial system is permissible ONLY BY DIRECT ARRANGEMENT *
+ /* WITH THE AUTHOR. (If you are not directly supplying this code to a *
+ /* customer, and you are instead telling them how they can obtain it for *
+ /* free, then you are not required to make any arrangement with me.) *
+
+Files: src/Mod/Mesh/App/Core/tritritest.h
+Copyright: 1997 Tomas Moller
+License: ???
+
+Files: src/Mod/Mesh/App/WildMagic4/*
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
+License: LGPL-2.1+
+
+Files: src/Mod/Raytracing/App/resources/*
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
+ Juergen Riegel <juergen.riegel@web.de>
+License: LGPL-2+
+
+Files: src/Mod/Test/unittestgui.py
+Copyright: 1999-2001 Steve Purcell
+License: PSF
+ This module is free software, and you may redistribute it and/or modify
+ it under the same terms as Python itself, so long as this copyright message
+ and disclaimer are retained in their original form.
+ .
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+ .
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+Files: src/Tools/ImageTools/ImageConv/CmdLine.*,
+ src/Tools/ImageTools/ImageConv/cmdline.htm
+Copyright: 1999 Chris Losinger, Smaller Animals Software
+ http://www.smalleranimals.com
+License: ZLIB
+ This software is provided 'as-is', without any express
+ or implied warranty. In no event will the authors be
+ held liable for any damages arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software
+ for any purpose, including commercial applications, and
+ to alter it and redistribute it freely, subject to the
+ following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented;
+ you must not claim that you wrote the original software.
+ If you use this software in a product, an acknowledgment
+ in the product documentation would be appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such,
+ and must not be misrepresented as being the original software.
+ .
+ 3. This notice may not be removed or altered from any source
+ distribution.
+
+Files: src/Tools/generateBase/generateDS.py
+Copyright: 2003 Dave Kuhlman
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: src/3rdParty/atlas/cblas.h,
+ src/3rdParty/boost/numeric/bindings/traits/algorithm.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/transpose.hpp
+ src/3rdParty/boost/numeric/bindings/traits/type.hpp
+ src/App/ComplexGeoDataPyImp.cpp,
+ src/App/DocumentObjectPyImp.cpp
+ src/App/DocumentPyImp.cpp
+ src/App/Doxygen.cpp
+ src/App/FeaturePyImp.cpp
+ src/App/PreCompiled.cpp
+ src/App/PreCompiled.h
+ src/App/PropertyContainerPyImp.cpp
+ src/Base/BaseClassPyImp.cpp
+ src/Base/BoundBoxPyImp.cpp
+ src/Base/Doxygen.cpp
+ src/Base/PersistancePyImp.cpp
+ src/Base/PreCompiled.cpp
+ src/Base/PreCompiled.h
+ src/Base/PyExport.h
+ src/Base/PyTools.c
+ src/Base/VectorPyImp.cpp
+ src/Base/zipios/meta-iostreams.h
+ src/Gui/InventorAll.h
+ src/Gui/PreCompiled.cpp
+ src/Gui/PreCompiled.h
+ src/Gui/Qt4All.h
+ src/Gui/SoFCBoundingBox.cpp
+ src/Gui/SoFCBoundingBox.h
+ src/Mod/Cam/App/PreCompiled.h
+ src/Mod/Cam/App/PreCompiled.cpp
+ src/Mod/Cam/Gui/PreCompiled.h
+ src/Mod/Cam/Gui/PreCompiled.cpp
+ src/Mod/Drawing/App/PreCompiled.h
+ src/Mod/Drawing/App/PreCompiled.cpp
+ src/Mod/Drawing/Gui/PreCompiled.h
+ src/Mod/Drawing/Gui/PreCompiled.cpp
+ src/Mod/Drawing/Gui/AppDrawingGui.cpp
+ src/Mod/Image/App/CaptureClass.h
+ src/Mod/Image/App/PreCompiled.h
+ src/Mod/Image/App/CaptureClass.cpp
+ src/Mod/Image/App/PreCompiled.cpp
+ src/Mod/Image/Gui/PreCompiled.h
+ src/Mod/Image/Gui/PreCompiled.cpp
+ src/Mod/Import/App/PreCompiled.h
+ src/Mod/Import/App/PreCompiled.cpp
+ src/Mod/Import/Gui/PreCompiled.h
+ src/Mod/Import/Gui/PreCompiled.cpp
+ src/Mod/JtReader/App/PreCompiled.h
+ src/Mod/JtReader/App/JtReader.h
+ src/Mod/JtReader/App/PreCompiled.cpp
+ src/Mod/Mesh/App/Doxygen.cpp
+ src/Mod/Mesh/App/PreCompiled.h
+ src/Mod/Mesh/App/MeshPointPyImp.cpp
+ src/Mod/Mesh/App/PreCompiled.cpp
+ src/Mod/Mesh/Gui/Doxygen.cpp
+ src/Mod/Mesh/Gui/PreCompiled.h
+ src/Mod/Mesh/Gui/PreCompiled.cpp
+ src/Mod/Part/App/TopoShapeFacePyImp.cpp
+ src/Mod/Part/App/OpenCascadeAll.h
+ src/Mod/Part/App/PreCompiled.h
+ src/Mod/Part/App/TopoShapePyImp.cpp
+ src/Mod/Part/App/PreCompiled.cpp
+ src/Mod/Part/App/PartFeaturePyImp.cpp
+ src/Mod/Part/Gui/PreCompiled.h
+ src/Mod/Part/Gui/PreCompiled.cpp
+ src/Mod/Points/App/PreCompiled.h
+ src/Mod/Points/App/PreCompiled.cpp
+ src/Mod/Points/Gui/AppPointsGui.cpp
+ src/Mod/Points/Gui/PreCompiled.h
+ src/Mod/Points/Gui/PreCompiled.cpp
+ src/Mod/Raytracing/App/PreCompiled.h
+ src/Mod/Raytracing/App/PreCompiled.cpp
+ src/Mod/Raytracing/Gui/AppRaytracingGui.cpp
+ src/Mod/Raytracing/Gui/Command.cpp src
+ src/Mod/Raytracing/Gui/PreCompiled.h
+ src/Mod/Raytracing/Gui/PreCompiled.cpp
+ src/Mod/Test/Gui/PreCompiled.h
+ src/Mod/Test/Gui/PreCompiled.cpp
+Copyright: Not marked
+License: ???
--- freecad-0.8.2237.orig/debian/freecad.desktop
+++ freecad-0.8.2237/debian/freecad.desktop
@@ -0,0 +1,19 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=FreeCAD
+Name[de]=FreeCAD
+Comment=Feature based Parametric Modeler
+Comment[de]=Feature-basierter parametrischer Modellierer
+GenericName=CAD Application
+GenericName[de]=CAD-Anwendung
+Exec=/usr/bin/freecad %F
+Path=/usr/lib/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/FCIcon.xpm
+Categories=Graphics;Science;Engineering
+StartupNotify=true
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
+MimeType=application/x-extension-fcstd
--- freecad-0.8.2237.orig/debian/control
+++ freecad-0.8.2237/debian/control
@@ -0,0 +1,50 @@
+Source: freecad
+Section: x11
+Priority: optional
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Homepage: http://sourceforge.net/projects/free-cad
+Build-Depends: debhelper (>= 5), autotools-dev, libc6-dev (>= 2.1.3),
+ libstdc++6, libboost1.35-dev, libboost-date-time1.35-dev, libboost-filesystem1.35-dev,
+ libboost-graph1.35-dev, libboost-iostreams1.35-dev, libboost-program-options1.35-dev,
+ libboost-regex1.35-dev, libboost-serialization1.35-dev, libboost-signals1.35-dev, libboost-system1.35-dev,
+ zlib1g-dev, libxerces27-dev | libxerces-c2-dev,
+ libxt-dev, libxmu-dev, libxi-dev, libx11-dev, libxext-dev,
+ libqt4-dev, libsoqt4-dev, libcoin40-dev, libgl1-mesa-dev,
+ python2.5-dev, python, python-central (>= 0.5.6),
+ libgts-dev, libcv-dev, libopencascade-dev
+Standards-Version: 3.7.3
+XS-Python-Version: current
+
+Package: freecad
+Architecture: any
+Section: science
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Conflicts: freecad (<= 0.6.472-1)
+Suggests: gnochm | kchmviewer | kchmviewer-nokde | xchm, python-opencv
+Description: An extensible Open Source CAx program (alpha)
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ .
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
+ Editing and modeling features are currently somewhat limited.
+
+Package: freecad-dev
+Architecture: any
+Section: libdevel
+Depends: freecad (>= ${source:Version})
+XB-Python-Version: ${python:Versions}
+Description: FreeCAD development files
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the libtool .la files, headers and symlinks necessary to
+ develop modules for FreeCAD.
+
+
--- freecad-0.8.2237.orig/debian/freecad.sharedmimeinfo
+++ freecad-0.8.2237/debian/freecad.sharedmimeinfo
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-extension-fcstd">
+ <sub-class-of type="application/zip"/>
+ <comment>FreeCAD document files</comment>
+ <glob pattern="*.fcstd"/>
+ </mime-type>
+</mime-info>
--- freecad-0.8.2237.orig/debian/docs
+++ freecad-0.8.2237/debian/docs
@@ -0,0 +1,2 @@
+ChangeLog.txt
+README.Linux
--- freecad-0.8.2237.orig/debian/README.Debian
+++ freecad-0.8.2237/debian/README.Debian
@@ -0,0 +1,6 @@
+freecad for Debian
+------------------
+
+- First Debian package for FreeCAD.
+
+ -- Werner Mayer <wmayer@users.sourceforge.net>, Tue, 26 Sep 2006 16:55:15 +0200
--- freecad-0.8.2237.orig/debian/freecad.1
+++ freecad-0.8.2237/debian/freecad.1
@@ -0,0 +1,73 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+freecad \- An extensible Open Source CAx program for Unix/X11
+.SH SYNOPSIS
+.B freecad
+.RI [ options ] " files"
+.br
+.B freecadcmd
+.RI [ options ] " files"
+.SH DESCRIPTION
+.B FreeCAD
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
+some key concepts like macro recording, workbenches, ability to run as a
+server and dynamically loadable application extensions and it is designed
+to be platform independent.
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+.SH USAGE
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of the options supported by \fBfreecad\fR is included below.
+.SS "Generic options"
+.TP
+\fB\-h, \-\-help\fR
+Show summary of options.
+.TP
+\fB\-v, \-\-version\fR
+Show version of program.
+.TP
+\fB\-c, \-\-console\fR
+Start in console mode.
+.TP
+\fB\-\-response\-file\fR \fIarg\fR
+Can be specified with '@name', too.
+
+.SS "Configuration"
+.TP
+\fB\-l, \-\-write\-log\fR
+Write a log file.
+.TP
+\fB\-t, \-\-run\-test\fR \fIarg\fR
+Test level.
+.TP
+\fB\-M, \-\-module\-path\fR \fIarg\fR
+Additional module path.
+.TP
+\fB\-P, \-\-python\-path\fR \fIarg\fR
+Additional Python path.
+.SH SEE ALSO
+To get more information about \fBFreeCAD\fR, please visit \fIhttp://juergen\-riegel.net/FreeCAD/Docu/index.php/Main_Page\fR
+.SH BUGS
+To report a bug, please visit \fIhttp://free-cad.sf.net/\fR
+.SH AUTHOR
+This manual page was written by Werner Mayer.
--- freecad-0.8.2237.orig/debian/rules
+++ freecad-0.8.2237/debian/rules
@@ -0,0 +1,143 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure: autogen.sh
+ chmod u+x autogen.sh
+ ./autogen.sh
+
+config.status: configure
+ dh_testdir
+# Add here commands to configure the package.
+ ./configure --with-occ-include=/usr/include/opencascade --with-occ-lib=/usr/lib \
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
+--includedir=/usr/include/freecad \
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+# Add here commands to compile the package.
+ $(MAKE)
+ #docbook-to-man debian/freecad.sgml > freecad.1
+
+ touch $@
+
+# Add here commands to clean up after the build process.
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f Makefile ] || $(MAKE) distclean
+ rm -f configure
+ dh_clean
+ find -name 'Makefile.in' | xargs rm -f
+ find -name '*.pyc' | xargs rm -f
+ find -name 'moc_*.cpp' | xargs rm -f
+ find -name '*.lo' | xargs rm -f
+ find -name '*.deps' | xargs rm -rf
+ find -name '*.libs' | xargs rm -rf
+ rm -f stamp-h1 aclocal.m4 config.guess config.sub depcomp install-sh
+ rm -f ltmain.sh missing config.log libtool
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# Add here commands to install the package into debian/tmp/freecad.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
+
+# install the core system
+ dh_install -pfreecad debian/tmp/freecad/usr/share/* usr/share/
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
+
+# install the modules
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
+
+# special treating of Draft module
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
+
+# special treating of Test module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
+
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog.txt
+ dh_installdocs
+ dh_installexamples
+ dh_install debian/freecad.desktop usr/share/applications
+ dh_install debian/mime/freecad-thumbnailer usr/bin
+ dh_install debian/mime/freecad.schemas etc/gconf/schemas
+ dh_gconf -pfreecad
+ dh_desktop
+ dh_installmenu
+ dh_installmime
+ dh_pycentral
+# dh_installinfo
+# dh_installman debian/freecad.1
+ dh_installman debian/freecad.1 debian/mime/freecad-thumbnailer.1
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- freecad-0.8.2237.orig/debian/mime/freecad-thumbnailer.1
+++ freecad-0.8.2237/debian/mime/freecad-thumbnailer.1
@@ -0,0 +1,20 @@
+.TH FREECAD 1 "August 04, 2008" freecad "Linux User's Manual"
+.SH NAME
+freecad-thumbnailer \- A thumbnailer for FreeCAD project files
+.SH SYNOPSIS
+\fBfreecad-thumbnailer\fP [ -s \fIsize\fP ] \fIinput file\fP \fIoutput file\fP
+.SH DESCRIPTION
+\fBfreecad-thumbnailer\fP
+is a Python script that extracts an embedded thumbnail from a FreeCAD project file.
+If no thumbnail is embedded then nothing happens. According to the specification of
+freedesktop.org the thumbnail image is a PNG file. The required \fBinput file\fP argument
+specifies the project file where the thumbnail should be extracted from and the
+\fBoutput file\fP specifies the file where the thumbnail should be written to.
+.SH OPTIONS
+.TP
+\fB-s \fIsize\fR
+Specify the size of the image in pixel.
+.SH "SEE ALSO"
+freecad(1), freecadcmd(1)
+.SH AUTHOR
+This manual page was written by Werner Mayer.
--- freecad-0.8.2237.orig/debian/mime/freecad.schemas
+++ freecad-0.8.2237/debian/mime/freecad.schemas
@@ -0,0 +1,30 @@
+<gconfschemafile>
+ <schemalist>
+
+ <schema>
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</key>
+ <applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</applyto>
+ <owner>freecad</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short>Enable thumbnailing of FreeCAD documents.</short>
+ <long>Enable thumbnailing of FreeCAD documents.</long>
+ </locale>
+ </schema>
+
+
+ <schema>
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</key>
+ <applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</applyto>
+ <owner>freecad</owner>
+ <type>string</type>
+ <default>/usr/bin/freecad-thumbnailer -s %s %u %o</default>
+ <locale name="C">
+ <short>Thumbnail command for documents from FreeCAD.</short>
+ <long>Valid command plus arguments for freecad-thumbnailer.</long>
+ </locale>
+ </schema>
+
+ </schemalist>
+</gconfschemafile>
--- freecad-0.8.2237.orig/debian/mime/freecad-thumbnailer
+++ freecad-0.8.2237/debian/mime/freecad-thumbnailer
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+
+import sys, zipfile, md5
+import getopt
+import gnomevfs
+
+opt,par = getopt.getopt(sys.argv[1:],'-s:')
+inpfile = gnomevfs.get_local_path_from_uri(par[0])
+outfile = par[1]
+
+try:
+ zfile=zipfile.ZipFile(inpfile)
+ files=zfile.namelist()
+ # check for meta-file if it's really a FreeCAD document
+ if files[0] != "Document.xml":
+ sys.exit(1)
+
+ image="thumbnails/Thumbnail.png"
+ if image in files:
+ image=zfile.read(image)
+ thumb=open(outfile,"wb")
+ thumb.write(image)
+ thumb.close()
+except:
+ sys.exit(1)
+
-997
View File
@@ -1,997 +0,0 @@
--- freecad-0.8.2237.orig/debian/control
+++ freecad-0.8.2237/debian/control
@@ -0,0 +1,50 @@
+Source: freecad
+Section: x11
+Priority: optional
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Homepage: http://sourceforge.net/projects/free-cad
+Build-Depends: debhelper (>= 5), autotools-dev, libc6-dev (>= 2.1.3),
+ libstdc++6, libboost1.37-dev, libboost-date-time1.37-dev, libboost-filesystem1.37-dev,
+ libboost-graph1.37-dev, libboost-iostreams1.37-dev, libboost-program-options1.37-dev,
+ libboost-regex1.37-dev, libboost-serialization1.37-dev, libboost-signals1.37-dev, libboost-system1.37-dev,
+ zlib1g-dev, libxerces27-dev | libxerces-c2-dev,
+ libxt-dev, libxmu-dev, libxi-dev, libx11-dev, libxext-dev,
+ libqt4-dev, libsoqt4-dev, libcoin40-dev, libgl1-mesa-dev,
+ python2.5-dev, python, python-central (>= 0.5.6),
+ libgts-dev, libcv-dev, libopencascade-dev
+Standards-Version: 3.8.0
+XS-Python-Version: current
+
+Package: freecad
+Architecture: any
+Section: science
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Conflicts: freecad (<= 0.6.472-1)
+Suggests: gnochm | kchmviewer | kchmviewer-nokde | xchm, python-opencv
+Description: An extensible Open Source CAx program (alpha)
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ .
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
+ Editing and modeling features are currently somewhat limited.
+
+Package: freecad-dev
+Architecture: any
+Section: libdevel
+Depends: freecad (>= ${source:Version}), ${misc:Depends}
+XB-Python-Version: ${python:Versions}
+Description: FreeCAD development files
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the libtool .la files, headers and symlinks necessary to
+ develop modules for FreeCAD.
+
+
--- freecad-0.8.2237.orig/debian/freecad.sharedmimeinfo
+++ freecad-0.8.2237/debian/freecad.sharedmimeinfo
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-extension-fcstd">
+ <sub-class-of type="application/zip"/>
+ <comment>FreeCAD document files</comment>
+ <glob pattern="*.fcstd"/>
+ </mime-type>
+</mime-info>
--- freecad-0.8.2237.orig/debian/freecad.links
+++ freecad-0.8.2237/debian/freecad.links
@@ -0,0 +1,3 @@
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
--- freecad-0.8.2237.orig/debian/copyright
+++ freecad-0.8.2237/debian/copyright
@@ -0,0 +1,393 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
+Packaged-Date: 2006-09-26_16:55:15+02:00
+Original-Source-Location: http://sourceforge.net/projects/free-cad
+
+Files: *
+Copyright: 2001-2008 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: LGPL-2+
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: src/3rdParty/ANN/*
+Copyright: 1997-2005 University of Maryland and Sunil Arya and David Mount
+License: LGPL-2.1+
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+Files: src/3rdParty/atlas/clapack.h
+Copyright: 1999 R. Clint Whaley
+License: BSD-3
+ On Debian systems, the complete text of the Three-clause BSD license
+ can be found in `/usr/share/common-licenses/BSD'.
+
+Files: src/3rdParty/boost/numeric/bindings/*
+Copyright: 2002-2004 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
+ Andreas Kloeckner, Matthias Troyer
+License: other
+ Permission to copy, modify, use and distribute this software
+ for any non-commercial or commercial purpose is granted provided
+ that this license appear on all copies of the software source code.
+ .
+ Author assumes no responsibility whatsoever for its use and makes
+ no guarantees about its quality, correctness or reliability.
+ .
+ Kresimir Fresl acknowledges the support of the Faculty of Civil Engineering,
+ University of Zagreb, Croatia.
+
+Files: src/3rdParty/boost/numeric/bindings/amos/*,
+ src/3rdParty/boost/numeric/bindings/blas/*,
+ src/3rdParty/boost/numeric/bindings/traits/config.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/fortran.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/matrix_raw.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/symm_herm_raw.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/vector_raw.hpp,
+Copyright: 2002-2003 Toon Knapen, Kresimir Fresl, Si-Lab b.v.b.a, Joerg Walter
+License: other
+ Permission to use, copy, modify, distribute and sell this software
+ and its documentation for any purpose is hereby granted without fee,
+ provided that the above copyright notice appear in all copies and
+ that both that copyright notice and this permission notice appear
+ in supporting documentation. The authors make no representations
+ about the suitability of this software for any purpose.
+ It is provided "as is" without express or implied warranty.
+
+Files: src/3rdParty/boost/numeric/bindings/traits/type.h
+Copyright: 2000,2001,2002,2003 Si-Lab b.v.b.a. and Toon Knapen
+License: other-non-free
+ * License is hereby granted to use and modify this software
+ * as long as this copyright notice is retained and modifications
+ * are clearly marked.
+ * This License does not permit you to redistribute this software.
+
+Files: src/3rdParty/boost/numeric/bindings/lapack/steqr.hpp,
+ src/3rdParty/boost/numeric/bindings/lapack/sytrd.hpp
+Copyright: 2007 Karl Meerbergen
+License: other
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: src/3rdParty/OCCAdaptMesh/*
+Copyright: 1991-2000 Matra Datavision SA, 2001-2004 Open CASCADE SA
+License: other
+ This file is part of the Open CASCADE Technology software.
+ .
+ This software may be distributed and/or modified under the terms and
+ conditions of the Open CASCADE Public License as defined by Open CASCADE SA
+ and appearing in the file LICENSE included in the packaging of this file.
+ .
+ This software is distributed on an "AS IS" basis, without warranty of any
+ kind, and Open CASCADE SA hereby disclaims all such warranties,
+ including without limitation, any warranties of merchantability, fitness
+ for a particular purpose or non-infringement. Please see the License for
+ the specific terms and conditions governing rights and limitations under the
+ License.
+
+Files: src/3rdParty/Pivy/*
+Copyright: 2002-2007 Systems in Motion
+License: other
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Files: src/Base/gzstream.*
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
+License: LGPL-2.1+
+
+Files: src/Base/PyCXX/*
+Copyright: ???
+License: ???
+
+Files: src/Base/PyTools.h
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
+License: other
+ Permission to use, copy, modify, and distribute this software
+ for any purpose and without fee is hereby granted. This software
+ is provided on an as is basis, without warranties of any kind.
+
+Files: src/Base/zipios/*
+Copyright: 2000 Thomas Søndergaard
+License: LGPL-2+
+
+Files: src/Base/zipios/directory.*
+Copyright: 1998 Dietmar Kuehl, Claas Solutions GmbH
+License: other
+ Permission to use, copy, modify, distribute and sell this
+ software for any purpose is hereby granted without fee, provided
+ that the above copyright notice appears in all copies and that
+ both that copyright notice and this permission notice appear in
+ supporting documentation. Dietmar Kuehl and Claas Solutions make no
+ representations about the suitability of this software for any
+ purpose. It is provided "as is" without express or implied warranty.
+
+Files: src/Gui/SoFCOffscreenRenderer.cpp
+Copyright: ???
+License: ???
+/*
+ * wrjpgcom.c
+ *
+ * Copyright (C) 1994, Thomas G. Lane.
+ * This file is part of the Independent JPEG Group's software.
+ * For conditions of distribution and use, see the accompanying README file.
+ *
+ * This file contains a very simple stand-alone application that inserts
+ * user-supplied text as a COM (comment) marker in a JFIF file.
+ * This may be useful as an example of the minimum logic needed to parse
+ * JPEG markers.
+ */
+
+Files: src/Mod/Cam/App/*
+Copyright: 2007 Joachim Zettler <Joachim.Zettler@gmx.de>,
+ Human Rezai <human@mytum.de>,
+ Mohamad Najib Muhammad Noor <najib_bean@yahoo.co.uk>,
+ Stephane Routelous <stephane.routelous@exotk.org>,
+ Jürgen Riegel <juergen.riegel@web.de>
+License: LGPL-2+
+
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
+ src/Mod/Mesh/App/Core/*
+Copyright: 2005 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*,
+Copyright: 2005 Berthold Grupp
+License: LGPL-2+
+
+Files: src/Mod/Mesh/BuildRegularGeoms.py
+Copyright: 2005 Berthold Grupp
+License: ???
+
+Files: src/Mod/Drawing/Gui/DrawingView.*, src/Mod/Image/App/ImageBase.*,
+ src/Mod/Image/Gui/GLImageBox.*, src/Mod/Image/Gui/ImageView.*,
+ src/Mod/Image/Gui/XpmImages.h
+Copyright: ??? Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/triangle.cpp, src/Mod/Mesh/App/Core/triangle.h,
+ src/3rdParty/OCCAdaptMesh/src/TriangleAdapt/triangleAdapt.c,
+ src/3rdParty/OCCAdaptMesh/Include/triangleAdapt.h
+Copyright: 1993, 1995, 1997, 1998, 2002, 2005 Jonathan Richard Shewchuk
+License: other-non-free
+ /* This program may be freely redistributed under the condition that the *
+ /* copyright notices (including this entire header and the copyright *
+ /* notice printed when the `-h' switch is selected) are not removed, and *
+ /* no compensation is received. Private, research, and institutional *
+ /* use is free. You may distribute modified versions of this code UNDER *
+ /* THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE *
+ /* SAME FILE REMAIN UNDER COPYRIGHT OF THE ORIGINAL AUTHOR, BOTH SOURCE *
+ /* AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR *
+ /* NOTICE IS GIVEN OF THE MODIFICATIONS. Distribution of this code as *
+ /* part of a commercial system is permissible ONLY BY DIRECT ARRANGEMENT *
+ /* WITH THE AUTHOR. (If you are not directly supplying this code to a *
+ /* customer, and you are instead telling them how they can obtain it for *
+ /* free, then you are not required to make any arrangement with me.) *
+
+Files: src/Mod/Mesh/App/Core/tritritest.h
+Copyright: 1997 Tomas Moller
+License: ???
+
+Files: src/Mod/Mesh/App/WildMagic4/*
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
+License: LGPL-2.1+
+
+Files: src/Mod/Raytracing/App/resources/*
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
+ Juergen Riegel <juergen.riegel@web.de>
+License: LGPL-2+
+
+Files: src/Mod/Test/unittestgui.py
+Copyright: 1999-2001 Steve Purcell
+License: PSF
+ This module is free software, and you may redistribute it and/or modify
+ it under the same terms as Python itself, so long as this copyright message
+ and disclaimer are retained in their original form.
+ .
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+ .
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+Files: src/Tools/ImageTools/ImageConv/CmdLine.*,
+ src/Tools/ImageTools/ImageConv/cmdline.htm
+Copyright: 1999 Chris Losinger, Smaller Animals Software
+ http://www.smalleranimals.com
+License: ZLIB
+ This software is provided 'as-is', without any express
+ or implied warranty. In no event will the authors be
+ held liable for any damages arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software
+ for any purpose, including commercial applications, and
+ to alter it and redistribute it freely, subject to the
+ following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented;
+ you must not claim that you wrote the original software.
+ If you use this software in a product, an acknowledgment
+ in the product documentation would be appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such,
+ and must not be misrepresented as being the original software.
+ .
+ 3. This notice may not be removed or altered from any source
+ distribution.
+
+Files: src/Tools/generateBase/generateDS.py
+Copyright: 2003 Dave Kuhlman
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: src/3rdParty/atlas/cblas.h,
+ src/3rdParty/boost/numeric/bindings/traits/algorithm.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/transpose.hpp
+ src/3rdParty/boost/numeric/bindings/traits/type.hpp
+ src/App/ComplexGeoDataPyImp.cpp,
+ src/App/DocumentObjectPyImp.cpp
+ src/App/DocumentPyImp.cpp
+ src/App/Doxygen.cpp
+ src/App/FeaturePyImp.cpp
+ src/App/PreCompiled.cpp
+ src/App/PreCompiled.h
+ src/App/PropertyContainerPyImp.cpp
+ src/Base/BaseClassPyImp.cpp
+ src/Base/BoundBoxPyImp.cpp
+ src/Base/Doxygen.cpp
+ src/Base/PersistancePyImp.cpp
+ src/Base/PreCompiled.cpp
+ src/Base/PreCompiled.h
+ src/Base/PyExport.h
+ src/Base/PyTools.c
+ src/Base/VectorPyImp.cpp
+ src/Base/zipios/meta-iostreams.h
+ src/Gui/InventorAll.h
+ src/Gui/PreCompiled.cpp
+ src/Gui/PreCompiled.h
+ src/Gui/Qt4All.h
+ src/Gui/SoFCBoundingBox.cpp
+ src/Gui/SoFCBoundingBox.h
+ src/Mod/Cam/App/PreCompiled.h
+ src/Mod/Cam/App/PreCompiled.cpp
+ src/Mod/Cam/Gui/PreCompiled.h
+ src/Mod/Cam/Gui/PreCompiled.cpp
+ src/Mod/Drawing/App/PreCompiled.h
+ src/Mod/Drawing/App/PreCompiled.cpp
+ src/Mod/Drawing/Gui/PreCompiled.h
+ src/Mod/Drawing/Gui/PreCompiled.cpp
+ src/Mod/Drawing/Gui/AppDrawingGui.cpp
+ src/Mod/Image/App/CaptureClass.h
+ src/Mod/Image/App/PreCompiled.h
+ src/Mod/Image/App/CaptureClass.cpp
+ src/Mod/Image/App/PreCompiled.cpp
+ src/Mod/Image/Gui/PreCompiled.h
+ src/Mod/Image/Gui/PreCompiled.cpp
+ src/Mod/Import/App/PreCompiled.h
+ src/Mod/Import/App/PreCompiled.cpp
+ src/Mod/Import/Gui/PreCompiled.h
+ src/Mod/Import/Gui/PreCompiled.cpp
+ src/Mod/JtReader/App/PreCompiled.h
+ src/Mod/JtReader/App/JtReader.h
+ src/Mod/JtReader/App/PreCompiled.cpp
+ src/Mod/Mesh/App/Doxygen.cpp
+ src/Mod/Mesh/App/PreCompiled.h
+ src/Mod/Mesh/App/MeshPointPyImp.cpp
+ src/Mod/Mesh/App/PreCompiled.cpp
+ src/Mod/Mesh/Gui/Doxygen.cpp
+ src/Mod/Mesh/Gui/PreCompiled.h
+ src/Mod/Mesh/Gui/PreCompiled.cpp
+ src/Mod/Part/App/TopoShapeFacePyImp.cpp
+ src/Mod/Part/App/OpenCascadeAll.h
+ src/Mod/Part/App/PreCompiled.h
+ src/Mod/Part/App/TopoShapePyImp.cpp
+ src/Mod/Part/App/PreCompiled.cpp
+ src/Mod/Part/App/PartFeaturePyImp.cpp
+ src/Mod/Part/Gui/PreCompiled.h
+ src/Mod/Part/Gui/PreCompiled.cpp
+ src/Mod/Points/App/PreCompiled.h
+ src/Mod/Points/App/PreCompiled.cpp
+ src/Mod/Points/Gui/AppPointsGui.cpp
+ src/Mod/Points/Gui/PreCompiled.h
+ src/Mod/Points/Gui/PreCompiled.cpp
+ src/Mod/Raytracing/App/PreCompiled.h
+ src/Mod/Raytracing/App/PreCompiled.cpp
+ src/Mod/Raytracing/Gui/AppRaytracingGui.cpp
+ src/Mod/Raytracing/Gui/Command.cpp src
+ src/Mod/Raytracing/Gui/PreCompiled.h
+ src/Mod/Raytracing/Gui/PreCompiled.cpp
+ src/Mod/Test/Gui/PreCompiled.h
+ src/Mod/Test/Gui/PreCompiled.cpp
+Copyright: Not marked
+License: ???
--- freecad-0.8.2237.orig/debian/freecad.desktop
+++ freecad-0.8.2237/debian/freecad.desktop
@@ -0,0 +1,19 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=FreeCAD
+Name[de]=FreeCAD
+Comment=Feature based Parametric Modeler
+Comment[de]=Feature-basierter parametrischer Modellierer
+GenericName=CAD Application
+GenericName[de]=CAD-Anwendung
+Exec=/usr/bin/freecad %F
+Path=/usr/lib/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/FCIcon.xpm
+Categories=Graphics;Science;Engineering
+StartupNotify=true
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
+MimeType=application/x-extension-fcstd
--- freecad-0.8.2237.orig/debian/compat
+++ freecad-0.8.2237/debian/compat
@@ -0,0 +1 @@
+5
--- freecad-0.8.2237.orig/debian/freecad.doc-base
+++ freecad-0.8.2237/debian/freecad.doc-base
@@ -0,0 +1,14 @@
+Document: freecad
+Title: FreeCAD Manual
+Author: Werner Mayer
+Abstract: An extensible Open Source CAx program for Unix/X11
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+Section: Science/Engineering
+
+Format: text
+Files: /usr/share/doc/freecad/README.Linux.gz
+
--- freecad-0.8.2237.orig/debian/changelog
+++ freecad-0.8.2237/debian/changelog
@@ -0,0 +1,155 @@
+freecad (0.8.2237-1jaunty1) jaunty; urgency=low
+
+ * New release for Ubuntu 9.04 (Jackalope Jaunty)
+
+ -- Werner Mayer <werner@users.sourceforge.net> Sat, 11 Jul 2009 21:59:53 +0200
+
+freecad (0.7.2008-1jaunty1) intrepid; urgency=low
+
+ * New release for Ubuntu 9.04 (Jackalope Jaunty)
+
+ -- Werner Mayer <werner@users.sourceforge.net> Sat, 21 Mar 2009 19:23:57 +0100
+
+freecad (0.7.1779-1intrepid1) intrepid; urgency=low
+
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 14 Dec 2008 15:20:54 +0200
+
+freecad (0.7.1658-1intrepid1) intrepid; urgency=low
+
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 12 Oct 2008 16:20:54 +0200
+
+freecad (0.7.1658-1hardy1) hardy; urgency=low
+
+ * New release for Ubuntu 8.04 (Hardy Heron)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Oct 2008 18:45:20 +0200
+
+freecad (0.7.1658-1gutsy1) gutsy; urgency=low
+
+ * New release for Ubuntu 7.10 (Gutsy Gibbon)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Oct 2008 15:56:27 +0200
+
+freecad (0.7.1525-1feisty1) feisty; urgency=low
+
+ * Activate MIME support in rules file
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 5 Aug 2008 21:27:46 +0200
+
+freecad (0.7.1522-1feisty1) feisty; urgency=low
+
+ * Package for Ubuntu 7.04 (Feisty Fawn)
+ * Abstract interface for geometric data types
+ * Avoid flickering of cursor when cutting several meshes at once
+ * Update to the latest debian policy version 3.7.3
+ * Several bugs fixed with Python GIL
+ * Providing a dev package for freecad
+ * Make TopoDS_Shape and Geom_Geometry classes accessible from Python
+ * Make Python interface for algorithms on shapes and geometries
+ * Support of mesh segments
+ * Add test/annotation object
+ * Add simple measurement facility
+ * Remove OpenCascade dependency in Mesh module
+ * Thumbnail facility added
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 04 Aug 2008 20:11:20 +0200
+
+freecad (0.7.1514-1) unstable; urgency=low
+
+ * New upstream version
+ * Add more stuff to the copyright file
+ * control: add build-dep to python-central
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
+
+freecad (0.7.1350-1hardy1) hardy; urgency=low
+
+ * Package for Ubuntu 8.04 (Hardy Heron)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
+
+freecad (0.7.1350-1gutsy1) gutsy; urgency=low
+
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
+
+freecad (0.7.1350-1feisty1) feisty; urgency=low
+
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
+
+freecad (0.7.1350-1) unstable; urgency=low
+
+ * Official release for version 0.7
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Fri, 23 May 2008 23:39:47 +0200
+
+freecad (0.7.1344-1ubuntu2) feisty; urgency=low
+
+ * New package with fixed self-dependency problem
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
+
+freecad (0.7.1344-1ubuntu1) feisty; urgency=low
+
+ * New debian package for Feisty
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
+
+freecad (0.7.1344-1) unstable; urgency=low
+
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
+ dependency to libopencascade6.2
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
+
+freecad (0.7.1343-1) unstable; urgency=low
+
+ * Embed required OpenCASCADE libs into this package as long as no official
+ Debian package is available
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
+
+freecad (0.7.1342-1) unstable; urgency=low
+
+ * Switch to new versioning scheme of OpenCASCADE packages
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
+
+freecad (0.7.1316-1) unstable; urgency=low
+
+ * Support of pivy (Python binding for Coin/SoQt)
+ * Support of PyQt4
+ * General support of SWIG modules
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
+
+freecad (0.7.1031-1) unstable; urgency=low
+
+ * Qt4 port finished
+ * Support of Python binding for Qt4
+ * Support of Python binding for Coin
+ * Support of entirely in Python written modules
+ * Added support of model driven architecture for Python binding
+ * Use boost's signal/slot mechanism to update data
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
+
+freecad (0.7.645-1) unstable; urgency=low
+
+ * Qt4 port started
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
+
+freecad (0.6.472-1) unstable; urgency=low
+
+ * Initial Release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
+
--- freecad-0.8.2237.orig/debian/freecad.1
+++ freecad-0.8.2237/debian/freecad.1
@@ -0,0 +1,73 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+freecad \- An extensible Open Source CAx program for Unix/X11
+.SH SYNOPSIS
+.B freecad
+.RI [ options ] " files"
+.br
+.B freecadcmd
+.RI [ options ] " files"
+.SH DESCRIPTION
+.B FreeCAD
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
+some key concepts like macro recording, workbenches, ability to run as a
+server and dynamically loadable application extensions and it is designed
+to be platform independent.
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+.SH USAGE
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of the options supported by \fBfreecad\fR is included below.
+.SS "Generic options"
+.TP
+\fB\-h, \-\-help\fR
+Show summary of options.
+.TP
+\fB\-v, \-\-version\fR
+Show version of program.
+.TP
+\fB\-c, \-\-console\fR
+Start in console mode.
+.TP
+\fB\-\-response\-file\fR \fIarg\fR
+Can be specified with '@name', too.
+
+.SS "Configuration"
+.TP
+\fB\-l, \-\-write\-log\fR
+Write a log file.
+.TP
+\fB\-t, \-\-run\-test\fR \fIarg\fR
+Test level.
+.TP
+\fB\-M, \-\-module\-path\fR \fIarg\fR
+Additional module path.
+.TP
+\fB\-P, \-\-python\-path\fR \fIarg\fR
+Additional Python path.
+.SH SEE ALSO
+To get more information about \fBFreeCAD\fR, please visit \fIhttp://juergen\-riegel.net/FreeCAD/Docu/index.php/Main_Page\fR
+.SH BUGS
+To report a bug, please visit \fIhttp://free-cad.sf.net/\fR
+.SH AUTHOR
+This manual page was written by Werner Mayer.
--- freecad-0.8.2237.orig/debian/rules
+++ freecad-0.8.2237/debian/rules
@@ -0,0 +1,143 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure: autogen.sh
+ chmod u+x autogen.sh
+ ./autogen.sh
+
+config.status: configure
+ dh_testdir
+# Add here commands to configure the package.
+ ./configure --with-occ-include=/usr/include/opencascade --with-occ-lib=/usr/lib \
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
+--includedir=/usr/include/freecad \
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+# Add here commands to compile the package.
+ $(MAKE)
+ #docbook-to-man debian/freecad.sgml > freecad.1
+
+ touch $@
+
+# Add here commands to clean up after the build process.
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f Makefile ] || $(MAKE) distclean
+ rm -f configure
+ dh_clean
+ find -name 'Makefile.in' | xargs rm -f
+ find -name '*.pyc' | xargs rm -f
+ find -name 'moc_*.cpp' | xargs rm -f
+ find -name '*.lo' | xargs rm -f
+ find -name '*.deps' | xargs rm -rf
+ find -name '*.libs' | xargs rm -rf
+ rm -f stamp-h1 aclocal.m4 config.guess config.sub depcomp install-sh
+ rm -f ltmain.sh missing config.log libtool
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# Add here commands to install the package into debian/tmp/freecad.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
+
+# install the core system
+ dh_install -pfreecad debian/tmp/freecad/usr/share/* usr/share/
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
+
+# install the modules
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
+
+# special treating of Draft module
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
+
+# special treating of Test module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
+
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog.txt
+ dh_installdocs
+ dh_installexamples
+ dh_install debian/freecad.desktop usr/share/applications
+ dh_install debian/mime/freecad-thumbnailer usr/bin
+ dh_install debian/mime/freecad.schemas etc/gconf/schemas
+ dh_gconf -pfreecad
+ dh_desktop
+ dh_installmenu
+ dh_installmime
+ dh_pycentral
+# dh_installinfo
+# dh_installman debian/freecad.1
+ dh_installman debian/freecad.1 debian/mime/freecad-thumbnailer.1
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- freecad-0.8.2237.orig/debian/menu
+++ freecad-0.8.2237/debian/menu
@@ -0,0 +1,6 @@
+?package(freecad):needs="X11"\
+ section="Applications/Science/Engineering"\
+ title="FreeCAD"\
+ command="/usr/bin/freecad"\
+ icon="/usr/share/freecad/FCIcon.xpm"
+
--- freecad-0.8.2237.orig/debian/README.Debian
+++ freecad-0.8.2237/debian/README.Debian
@@ -0,0 +1,6 @@
+freecad for Debian
+------------------
+
+- First Debian package for FreeCAD.
+
+ -- Werner Mayer <wmayer@users.sourceforge.net>, Tue, 26 Sep 2006 16:55:15 +0200
--- freecad-0.8.2237.orig/debian/docs
+++ freecad-0.8.2237/debian/docs
@@ -0,0 +1,2 @@
+ChangeLog.txt
+README.Linux
--- freecad-0.8.2237.orig/debian/mime/freecad.schemas
+++ freecad-0.8.2237/debian/mime/freecad.schemas
@@ -0,0 +1,30 @@
+<gconfschemafile>
+ <schemalist>
+
+ <schema>
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</key>
+ <applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</applyto>
+ <owner>freecad</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short>Enable thumbnailing of FreeCAD documents.</short>
+ <long>Enable thumbnailing of FreeCAD documents.</long>
+ </locale>
+ </schema>
+
+
+ <schema>
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</key>
+ <applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</applyto>
+ <owner>freecad</owner>
+ <type>string</type>
+ <default>/usr/bin/freecad-thumbnailer -s %s %u %o</default>
+ <locale name="C">
+ <short>Thumbnail command for documents from FreeCAD.</short>
+ <long>Valid command plus arguments for freecad-thumbnailer.</long>
+ </locale>
+ </schema>
+
+ </schemalist>
+</gconfschemafile>
--- freecad-0.8.2237.orig/debian/mime/freecad-thumbnailer
+++ freecad-0.8.2237/debian/mime/freecad-thumbnailer
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+
+import sys, zipfile, md5
+import getopt
+import gnomevfs
+
+opt,par = getopt.getopt(sys.argv[1:],'-s:')
+inpfile = gnomevfs.get_local_path_from_uri(par[0])
+outfile = par[1]
+
+try:
+ zfile=zipfile.ZipFile(inpfile)
+ files=zfile.namelist()
+ # check for meta-file if it's really a FreeCAD document
+ if files[0] != "Document.xml":
+ sys.exit(1)
+
+ image="thumbnails/Thumbnail.png"
+ if image in files:
+ image=zfile.read(image)
+ thumb=open(outfile,"wb")
+ thumb.write(image)
+ thumb.close()
+except:
+ sys.exit(1)
+
--- freecad-0.8.2237.orig/debian/mime/freecad-thumbnailer.1
+++ freecad-0.8.2237/debian/mime/freecad-thumbnailer.1
@@ -0,0 +1,20 @@
+.TH FREECAD 1 "August 04, 2008" freecad "Linux User's Manual"
+.SH NAME
+freecad-thumbnailer \- A thumbnailer for FreeCAD project files
+.SH SYNOPSIS
+\fBfreecad-thumbnailer\fP [ -s \fIsize\fP ] \fIinput file\fP \fIoutput file\fP
+.SH DESCRIPTION
+\fBfreecad-thumbnailer\fP
+is a Python script that extracts an embedded thumbnail from a FreeCAD project file.
+If no thumbnail is embedded then nothing happens. According to the specification of
+freedesktop.org the thumbnail image is a PNG file. The required \fBinput file\fP argument
+specifies the project file where the thumbnail should be extracted from and the
+\fBoutput file\fP specifies the file where the thumbnail should be written to.
+.SH OPTIONS
+.TP
+\fB-s \fIsize\fR
+Specify the size of the image in pixel.
+.SH "SEE ALSO"
+freecad(1), freecadcmd(1)
+.SH AUTHOR
+This manual page was written by Werner Mayer.
-736
View File
@@ -1,736 +0,0 @@
--- freecad-0.9.2646.orig/debian/compat
+++ freecad-0.9.2646/debian/compat
@@ -0,0 +1 @@
+7
--- freecad-0.9.2646.orig/debian/rules
+++ freecad-0.9.2646/debian/rules
@@ -0,0 +1,106 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure: autogen.sh
+ dh_testdir
+ chmod u+x autogen.sh
+ ./autogen.sh
+
+config.status: configure
+ dh_testdir
+ ./configure --with-occ-include=/usr/include/opencascade \
+--with-occ-lib=/usr/lib \
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+ $(MAKE)
+ touch $@
+
+clean:
+ dh clean
+ rm -f build-stamp
+ find -name '*.pyc' | xargs rm -f
+ find -name 'moc_*.cpp' | xargs rm -f
+ find -name '*.lo' | xargs rm -f
+ find -name '*.deps' | xargs rm -rf
+ find -name '*.libs' | xargs rm -rf
+ rm -f stamp-h1 config.log libtool
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
+ # Remove testing modules we don't want to have in the deb
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
+ # install the core system
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
+ dh_install debian/freecad.desktop usr/share/applications
+ dh_installman debian/freecad.1
+ dh_installchangelogs ChangeLog.txt
+ # install the modules
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
+ # special treating of Draft module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
+ # special treating of Test module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
+
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
+
+ # install the help system
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
+ touch install-stamp
+
+binary-indep: build install
+ # We have nothing to do by default.
+
+binary-arch: build install
+ dh binary-arch
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- freecad-0.9.2646.orig/debian/copyright
+++ freecad-0.9.2646/debian/copyright
@@ -0,0 +1,294 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
+Packaged-Date: 2006-09-26_16:55:15+02:00
+Original-Source-Location: http://sourceforge.net/projects/free-cad
+
+Files: *
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: LGPL-2+
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: src/3rdParty/boost/numeric/bindings/*
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
+License: other-boost-1.0
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
+License: other
+ * Permission to copy, modify, use and distribute this software
+ * for any non-commercial or commercial purpose is granted provided
+ * that this license appear on all copies of the software source code.
+ *
+ * Authors assume no responsibility whatsoever for its use and makes
+ * no guarantees about its quality, correctness or reliability.
+ *
+ * KF acknowledges the support of the Faculty of Civil Engineering,
+ * University of Zagreb, Croatia.
+
+Files: src/Base/Base64.*
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
+License: other
+ This source code is provided 'as-is', without any express or implied
+ warranty. In no event will the author be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this source code must not be misrepresented; you must not
+ claim that you wrote the original source code. If you use this source code
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original source code.
+ .
+ 3. This notice may not be removed or altered from any source distribution.
+
+Files: src/Base/fdstream.hpp
+Copyright: 2001 Nicolai M. Josuttis
+License: other
+ Permission to copy, use, modify, sell and distribute this software
+ is granted provided this copyright notice appears in all copies.
+ This software is provided "as is" without express or implied
+ warranty, and with no claim as to its suitability for any purpose.
+
+Files: src/Base/gzstream.*
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
+License: LGPL-2.1+
+
+Files: src/Base/PyTools.*
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
+License: other
+ Permission to use, copy, modify, and distribute this software
+ for any purpose and without fee is hereby granted. This software
+ is provided on an as is basis, without warranties of any kind.
+
+Files: src/Base/zipios/*
+Copyright: 2000 Thomas Søndergaard
+License: LGPL-2+
+
+Files: src/Base/zipios/directory.*
+Copyright: 1998 Dietmar Kuehl, Claas Solutions GmbH
+License: other
+ Permission to use, copy, modify, distribute and sell this
+ software for any purpose is hereby granted without fee, provided
+ that the above copyright notice appears in all copies and that
+ both that copyright notice and this permission notice appear in
+ supporting documentation. Dietmar Kuehl and Claas Solutions make no
+ representations about the suitability of this software for any
+ purpose. It is provided "as is" without express or implied warranty.
+
+Files: src/CXX/*
+Copyright: 1998-2007 The Regents of the University of California
+License: BSD-3
+ Copyright (c) 1998 - 2007
+ The Regents of the University of California
+ Produced at the Lawrence Livermore National Laboratory
+ Written by Geoff Furnish, Paul F. Dubois, Barry A. Scott
+ UCRL-CODE-227018
+ All rights reserved.
+ .
+ This file is part of PyCXX. For details, see http://cxx.sourceforge.net.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ - Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the disclaimer below.
+ - Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the disclaimer (as noted below) in the
+ documentation and/or materials provided with the distribution.
+ - Neither the name of the UC/LLNL nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OF THE UNIVERSITY OF CALIFORNIA,
+ THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ .
+ Additional BSD Notice
+ .
+ 1. This notice is required to be provided under our contract with the U.S.
+ Department of Energy (DOE). This work was produced at the University of
+ California, Lawrence Livermore National Laboratory under Contract No.
+ W-7405-ENG-48 with the DOE.
+ .
+ 2. Neither the United States Government nor the University of California
+ nor any of their employees, makes any warranty, express or implied, or
+ assumes any liability or responsibility for the accuracy, completeness,
+ or usefulness of any information, apparatus, product, or process disclosed,
+ or represents that its use would not infringe privately-owned rights.
+ .
+ 3. Also, reference herein to any specific commercial products, process, or
+ services by trade name, trademark, manufacturer or otherwise does not
+ necessarily constitute or imply its endorsement, recommendation, or
+ favoring by the United States Government or the University of California.
+ The views and opinions of authors expressed herein do not necessarily
+ state or reflect those of the United States Government or the University
+ of California, and shall not be used for advertising or product endorsement
+ purposes.
+
+Files: src/Gui/iisTaskPanel/src/*
+Copyright: http://www.ii-system.com
+License: LGPL
+
+Files: src/Mod/Draft/*
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
+License: GPL-2+
+
+Files: src/Mod/Draft/draftlibs/dxf*
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
+License: GPL-2+
+
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
+ src/Mod/Mesh/App/Core/*
+Copyright: 2005 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
+Copyright: 2005 Berthold Grupp
+License: LGPL-2+
+
+Files: src/Mod/Mesh/BuildRegularGeoms.py
+Copyright: 2005 Berthold Grupp
+License: LGPL
+
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
+Copyright: 2004 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/tritritest.h
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
+License: other
+ tritritest.h has no licensing information, but Tomas Moller replied
+ the following, when asked about it:
+ .
+ The code is is free to use for anyone and any projects, but I give no
+ warranties.
+
+Files: src/Mod/Mesh/App/WildMagic4/*
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
+License: LGPL-2.1+
+
+Files: src/Mod/Raytracing/App/resources/*
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
+ Juergen Riegel <juergen.riegel@web.de>
+License: LGPL-2+
+
+Files: src/Mod/Sketcher/App/sketchflat/*
+Copyright: 2008 Jonathan Westhues
+License: GPL-3+
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
+
+Files: src/Mod/Test/unittestgui.py
+Copyright: 1999-2001 Steve Purcell
+License: PSF
+ This module is free software, and you may redistribute it and/or modify
+ it under the same terms as Python itself, so long as this copyright message
+ and disclaimer are retained in their original form.
+ .
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+ .
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: GPL-2+
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
+
+Files: src/Tools/generateBase/generateDS.py
+Copyright: 2003 Dave Kuhlman
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: debian/*
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
+ Teemu Ikonen <tpikonen@gmail.com>
+License: LGPL-2+
--- freecad-0.9.2646.orig/debian/freecad.links
+++ freecad-0.9.2646/debian/freecad.links
@@ -0,0 +1,3 @@
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
--- freecad-0.9.2646.orig/debian/freecad.1
+++ freecad-0.9.2646/debian/freecad.1
@@ -0,0 +1,73 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+freecad \- An extensible Open Source CAx program for Unix/X11
+.SH SYNOPSIS
+.B freecad
+.RI [ options ] " files"
+.br
+.B freecadcmd
+.RI [ options ] " files"
+.SH DESCRIPTION
+.B FreeCAD
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
+some key concepts like macro recording, workbenches, ability to run as a
+server and dynamically loadable application extensions and it is designed
+to be platform independent.
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+.SH USAGE
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of the options supported by \fBfreecad\fR is included below.
+.SS "Generic options"
+.TP
+\fB\-h, \-\-help\fR
+Show summary of options.
+.TP
+\fB\-v, \-\-version\fR
+Show version of program.
+.TP
+\fB\-c, \-\-console\fR
+Start in console mode.
+.TP
+\fB\-\-response\-file\fR \fIarg\fR
+Can be specified with '@name', too.
+
+.SS "Configuration"
+.TP
+\fB\-l, \-\-write\-log\fR
+Write a log file.
+.TP
+\fB\-t, \-\-run\-test\fR \fIarg\fR
+Test level.
+.TP
+\fB\-M, \-\-module\-path\fR \fIarg\fR
+Additional module path.
+.TP
+\fB\-P, \-\-python\-path\fR \fIarg\fR
+Additional Python path.
+.SH SEE ALSO
+To get more information about \fBFreeCAD\fR, please visit \fIhttp://juergen\-riegel.net/FreeCAD/Docu/index.php/Main_Page\fR
+.SH BUGS
+To report a bug, please visit \fIhttp://free-cad.sf.net/\fR
+.SH AUTHOR
+This manual page was written by Werner Mayer.
--- freecad-0.9.2646.orig/debian/changelog
+++ freecad-0.9.2646/debian/changelog
@@ -0,0 +1,130 @@
+freecad (0.9.2646-1karmic) karmic; urgency=low
+
+
+ * New upstream release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 14 Nov 2009 22:00:00 +0200
+
+freecad (0.8.2237-2) unstable; urgency=low
+
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
+ * Added myself to uploaders list.
+ * Bumped Standards-Version.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
+
+freecad (0.8.2237-1) unstable; urgency=low
+
+ * New Upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
+
+freecad (0.7.1658-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
+
+freecad (0.7.1514-1) UNRELEASED; urgency=low
+
+ * New upstream version
+ * Add more stuff to the copyright file
+ * control: add build-dep to python-central
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
+
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
+
+ * Package for Ubuntu 8.04 (Hardy Heron)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
+
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
+
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
+
+freecad (0.7.1350-1) UNRELEASED; urgency=low
+
+ * New upstream release from sf.net
+ * Import to debian-science repository at git.debian.org
+ * control:
+ - Update to standards-version 3.7.3
+ - Add Vcs-* fields pointing to git.debian.org
+ - Improve descriptions
+ * Convert copyright to (pseudo) machine readable format, audit source
+ * Fix categories in .desktop file
+ * Change Section to Science/Engineering in .doc-base and menu files
+ * rules: do not ignore errors on clean target, add dh_desktop call
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
+
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
+
+ * New package with fixed self-dependency problem
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
+
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
+
+ * New debian package for Feisty
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
+
+freecad (0.7.1344-1) UNRELEASED; urgency=low
+
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
+ dependency to libopencascade6.2
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
+
+freecad (0.7.1343-1) UNRELEASED; urgency=low
+
+ * Embed required OpenCASCADE libs into this package as long as no official
+ Debian package is available
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
+
+freecad (0.7.1342-1) UNRELEASED; urgency=low
+
+ * Switch to new versioning scheme of OpenCASCADE packages
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
+
+freecad (0.7.1316-1) UNRELEASED; urgency=low
+
+ * Support of pivy (Python binding for Coin/SoQt)
+ * Support of PyQt4
+ * General support of SWIG modules
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
+
+freecad (0.7.1031-1) UNRELEASED; urgency=low
+
+ * Qt4 port finished
+ * Support of Python binding for Qt4
+ * Support of Python binding for Coin
+ * Support of entirely in Python written modules
+ * Added support of model driven architecture for Python binding
+ * Use boost's signal/slot mechanism to update data
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
+
+freecad (0.7.645-1) UNRELEASED; urgency=low
+
+ * Qt4 port started
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
+
+freecad (0.6.472-1) UNRELEASED; urgency=low
+
+ * Initial Release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
+
--- freecad-0.9.2646.orig/debian/control
+++ freecad-0.9.2646/debian/control
@@ -0,0 +1,66 @@
+Source: freecad
+Section: science
+Priority: extra
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
+Build-Depends: debhelper (>= 7), autotools-dev,
+ libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
+ libboost-python-dev, python-dev, python-opencv, python-support,
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libgl1-mesa-dev,
+ libgts-bin, libgts-dev, libcv-dev, zlib1g-dev, libxerces-c2-dev,
+ libopencascade-foundation-dev, libopencascade-modeling-dev,
+ libswscale-dev, libblas-dev, libatlas-headers, python-cxx-dev, libzipios++-dev
+Standards-Version: 3.8.3
+
+Package: freecad
+Architecture: any
+Section: science
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-pivy, python-qt4
+Suggests: freecad-doc, python-opencv
+Description: An extensible Open Source CAx program (alpha)
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ .
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
+ Editing and modeling features are currently somewhat limited.
+
+Package: freecad-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
+Description: FreeCAD development files
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the libtool .la files, headers and symlinks necessary to
+ develop modules for FreeCAD.
+
+Package: freecad-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, qt4-dev-tools
+Description: FreeCAD documentation
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the FreeCAD documentation.
+ .
+ The documentation is provided in Qt's new help format;
+ the new help format version can be viewed in conjunction with the Qt Assistant
+ found in the qt4-dev-tools package.
+
--- freecad-0.9.2646.orig/debian/freecad.desktop
+++ freecad-0.9.2646/debian/freecad.desktop
@@ -0,0 +1,19 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=FreeCAD
+Name[de]=FreeCAD
+Comment=Feature based Parametric Modeler
+Comment[de]=Feature-basierter parametrischer Modellierer
+GenericName=CAD Application
+GenericName[de]=CAD-Anwendung
+Exec=/usr/bin/freecad %F
+Path=/usr/lib/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/FCIcon.xpm
+Categories=Graphics;Science;Engineering
+StartupNotify=true
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
+MimeType=application/x-extension-fcstd
--- freecad-0.9.2646.orig/debian/menu
+++ freecad-0.9.2646/debian/menu
@@ -0,0 +1,6 @@
+?package(freecad):needs="X11"\
+ section="Applications/Science/Engineering"\
+ title="FreeCAD"\
+ command="/usr/bin/freecad"\
+ icon="/usr/share/freecad/FCIcon.xpm"
+
--- freecad-0.9.2646.orig/debian/freecad.sharedmimeinfo
+++ freecad-0.9.2646/debian/freecad.sharedmimeinfo
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-extension-fcstd">
+ <sub-class-of type="application/zip"/>
+ <comment>FreeCAD document files</comment>
+ <glob pattern="*.fcstd"/>
+ </mime-type>
+</mime-info>
-892
View File
@@ -1,892 +0,0 @@
--- freecad-0.11.4446.orig/debian/changelog
+++ freecad-0.11.4446/debian/changelog
@@ -0,0 +1,239 @@
+freecad (0.11.4446-1lucid1) lucid; urgency=low
+
+ * New release for Ubuntu 10.04.2 LTS (lucid)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 27 Apr 2011 10:59:21 +0200
+
+freecad (0.11.4446-1lucid1) lucid; urgency=low
+
+ * New release for Ubuntu 10.04.2 LTS (lucid)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 27 Apr 2011 10:47:15 +0200
+
+freecad (0.11.3729.dfsg-2) unstable; urgency=low
+
+ * Add gfortran and libopencascade-visualization-dev to BD
+ to fix FTBFS (closes: #622694)
+ * Add libqtwebkit-dev to BD (closes: #618241)
+ * Delete quilt from BD and corresponding changes in rules.
+ * Add description to freecad-occ650.patch
+ * Delete encoding string from .desktop
+ * Fix some spelling errors, pointed out by lintian.
+
+ -- Anton Gladky <gladky.anton@gmail.com> Thu, 14 Apr 2011 10:23:25 +0100
+
+freecad (0.11.3729.dfsg-1) unstable; urgency=low
+
+ [ Denis Barbier ]
+ * Merge OpenCASCADE 6.5.0 compatibility patch (closes: #617545).
+
+ [ Adam C. Powell, IV ]
+ * New upstream (closes: #622213, #618241).
+ * Changed to source format 3.0 (quilt).
+ * Added patch target which forces autotools to run, and automake and autoconf
+ are now in Build-Depends (closes: #607181).
+ * Set aside src/Build/Version.h to prevent build problems.
+ * Does not install .la files (closes: #621298).
+ * Boost 1.46 compatibility patch (closes: #621877).
+ * Set aside files which autotools modifies so clean works.
+ * Added libtool to Build-Depends (thanks: PICCA Frédéric-Emmanuel).
+ * Bumped Standards-Version, no changes needed.
+
+ -- "Adam C. Powell, IV" <hazelsct@debian.org> Tue, 12 Apr 2011 23:40:30 -0400
+
+freecad (0.10.3247.dfsg-2) unstable; urgency=low
+
+ * control:
+ - Update to standars-version 3.9.0.
+ - Remove libblas-dev, libatlas-dev from build-deps.
+ * Add debian/shlibs.local file containing the the correct binary dep
+ to libsoqt4-20 (closes: #575239).
+ * copyright: Add a verbatim copy of Tiddlywiki BSD license. Fixes
+ the lintian warning copyright-refers-to-deprecated-bsd-license-file.
+ * Add kFreeBSD portability fixes. Thanks to Petr Salinger
+ <Petr.Salinger@seznam.cz> for the patch (closes: #592461).
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 18 Aug 2010 19:34:36 +0200
+
+freecad (0.10.3247.dfsg-1) unstable; urgency=low
+
+ * New upstream version (closes: #582627)
+ * Add debian/source/format file with contents "1.0".
+ * Use freecad.xpm as icon in menu and desktop files.
+ * copyright: Add licensing information for new files in this release.
+ * src/Base/Makefile.in, src/Gui/Makefile.in: Do not remove *.tab.c files
+ in make distclean target.
+ * control:
+ - Add build-dep to libeigen2-dev.
+ - Update to standards-version 3.8.4.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 05 Jul 2010 15:07:49 +0200
+
+freecad (0.9.2646.5.dfsg-1) unstable; urgency=low
+
+ * Add 'dfsg' extension to upstream version, upstream sources are unchanged.
+ * Remove libgl1-mesa-dev build-dep, rely on libcoin to pull in GL libraries.
+ * Change build-dep libatlas-headers to libatlas-dev (closes: #577309).
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Fri, 14 May 2010 17:20:35 +0200
+
+freecad (0.9.2646.5-1) unstable; urgency=low
+
+ * New upstream version (closes: #561696).
+ * Added swig to Build-Depends (closes: #563523, #563772).
+ * Removed python-opencv from Build-Depends and Recommends (closes: #560768).
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Mon, 11 Jan 2010 08:48:33 -0500
+
+freecad (0.9.2646.4-1) unstable; urgency=low
+
+ * New upstream version (closes: #559849, #559846).
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Fri, 11 Dec 2009 20:21:32 -0500
+
+freecad (0.9.2646.3-1) unstable; urgency=low
+
+ * New upstream version. Removes TiddlySaver.jar, fixes help problems.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 03 Dec 2009 19:39:27 +0100
+
+freecad (0.9.2646-1) unstable; urgency=low
+
+ [ Werner Mayer ]
+ * New upstream release
+ * In-source copy of PyCXX has been dropped (closes: #547936)
+ * In-source copy of zipios++ has been dropped (closes: #547941)
+ * Change build-dependency on python2.5-dev to python-dev
+ * Add freecad-doc binary package
+ * Remove Suggestion of a chm viewer, suggest freecad-doc instead
+
+ [ Teemu Ikonen ]
+ * Add override to dh_compress
+ * Add versioned build-deb to debhelper (>= 7.0.50)
+ * Add build-deps to libzipios++-dev and python-cxx-dev.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
+
+freecad (0.8.2237-2) unstable; urgency=low
+
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
+ * Added myself to uploaders list.
+ * Bumped Standards-Version.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
+
+freecad (0.8.2237-1) unstable; urgency=low
+
+ * New Upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
+
+freecad (0.7.1658-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
+
+freecad (0.7.1514-1) UNRELEASED; urgency=low
+
+ * New upstream version
+ * Add more stuff to the copyright file
+ * control: add build-dep to python-central
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
+
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
+
+ * Package for Ubuntu 8.04 (Hardy Heron)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
+
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
+
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
+
+freecad (0.7.1350-1) UNRELEASED; urgency=low
+
+ * New upstream release from sf.net
+ * Import to debian-science repository at git.debian.org
+ * control:
+ - Update to standards-version 3.7.3
+ - Add Vcs-* fields pointing to git.debian.org
+ - Improve descriptions
+ * Convert copyright to (pseudo) machine readable format, audit source
+ * Fix categories in .desktop file
+ * Change Section to Science/Engineering in .doc-base and menu files
+ * rules: do not ignore errors on clean target, add dh_desktop call
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
+
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
+
+ * New package with fixed self-dependency problem
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
+
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
+
+ * New debian package for Feisty
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
+
+freecad (0.7.1344-1) UNRELEASED; urgency=low
+
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
+ dependency to libopencascade6.2
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
+
+freecad (0.7.1343-1) UNRELEASED; urgency=low
+
+ * Embed required OpenCASCADE libs into this package as long as no official
+ Debian package is available
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
+
+freecad (0.7.1342-1) UNRELEASED; urgency=low
+
+ * Switch to new versioning scheme of OpenCASCADE packages
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
+
+freecad (0.7.1316-1) UNRELEASED; urgency=low
+
+ * Support of pivy (Python binding for Coin/SoQt)
+ * Support of PyQt4
+ * General support of SWIG modules
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
+
+freecad (0.7.1031-1) UNRELEASED; urgency=low
+
+ * Qt4 port finished
+ * Support of Python binding for Qt4
+ * Support of Python binding for Coin
+ * Support of entirely in Python written modules
+ * Added support of model driven architecture for Python binding
+ * Use boost's signal/slot mechanism to update data
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
+
+freecad (0.7.645-1) UNRELEASED; urgency=low
+
+ * Qt4 port started
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
+
+freecad (0.6.472-1) UNRELEASED; urgency=low
+
+ * Initial Release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
+
--- freecad-0.11.4446.orig/debian/shlibs.local
+++ freecad-0.11.4446/debian/shlibs.local
@@ -0,0 +1,2 @@
+libGL 1 libgl1-mesa-glx (>= 7.7.1-1)
+libSoQt4 20 libsoqt4-20 (>= 1.4.2~svn20090224)
--- freecad-0.11.4446.orig/debian/freecad.1
+++ freecad-0.11.4446/debian/freecad.1
@@ -0,0 +1,73 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+freecad \- An extensible Open Source CAx program for Unix/X11
+.SH SYNOPSIS
+.B freecad
+.RI [ options ] " files"
+.br
+.B freecadcmd
+.RI [ options ] " files"
+.SH DESCRIPTION
+.B FreeCAD
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
+some key concepts like macro recording, workbenches, ability to run as a
+server and dynamically loadable application extensions and it is designed
+to be platform independent.
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+.SH USAGE
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of the options supported by \fBfreecad\fR is included below.
+.SS "Generic options"
+.TP
+\fB\-h, \-\-help\fR
+Show summary of options.
+.TP
+\fB\-v, \-\-version\fR
+Show version of program.
+.TP
+\fB\-c, \-\-console\fR
+Start in console mode.
+.TP
+\fB\-\-response\-file\fR \fIarg\fR
+Can be specified with '@name', too.
+
+.SS "Configuration"
+.TP
+\fB\-l, \-\-write\-log\fR
+Write a log file.
+.TP
+\fB\-t, \-\-run\-test\fR \fIarg\fR
+Test level.
+.TP
+\fB\-M, \-\-module\-path\fR \fIarg\fR
+Additional module path.
+.TP
+\fB\-P, \-\-python\-path\fR \fIarg\fR
+Additional Python path.
+.SH SEE ALSO
+To get more information about \fBFreeCAD\fR, please visit \fIhttp://juergen\-riegel.net/FreeCAD/Docu/index.php/Main_Page\fR
+.SH BUGS
+To report a bug, please visit \fIhttp://free-cad.sf.net/\fR
+.SH AUTHOR
+This manual page was written by Werner Mayer.
--- freecad-0.11.4446.orig/debian/rules
+++ freecad-0.11.4446/debian/rules
@@ -0,0 +1,132 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete Fem Robot Import Inspection
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+patch-stamp:
+ touch $@
+
+configure: autogen.sh patch-stamp
+ dh_testdir
+ #for autotools_mod_file in `find . -name Makefile.in` aclocal.m4 \
+ # configure m4/libtool.m4 m4/ltmain.sh m4/ltoptions.m4 \
+ # m4/ltversion.m4 m4/lt~obsolete.m4; do \
+ # cp -a $$autotools_mod_file $$autotools_mod_file.setaside; \
+ #done
+ chmod u+x autogen.sh
+ ./autogen.sh
+
+config.status: configure
+ dh_testdir
+ ./configure --with-occ-include=/usr/include/opencascade \
+--with-occ-lib=/usr/lib \
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+ touch src/Build/Version.h
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+ $(MAKE)
+ touch $@
+
+clean:
+ mv src/Build/Version.h src/Build/Version.h.old
+ dh clean
+ mv src/Build/Version.h.old src/Build/Version.h
+ rm -f build-stamp
+ find -name '*.pyc' | xargs rm -f
+ find -name 'moc_*.cpp' | xargs rm -f
+ find -name '*.lo' | xargs rm -f
+ find -name '*.deps' | xargs rm -rf
+ find -name '*.libs' | xargs rm -rf
+ rm -f stamp-h1 config.log libtool 71
+ #if [ -e Makefile.in.setaside ]; then \
+ #for autotools_mod_file in `find . -name Makefile.in` aclocal.m4 \
+ # configure m4/libtool.m4 m4/ltmain.sh m4/ltoptions.m4 \
+ # m4/ltversion.m4 m4/lt~obsolete.m4; do \
+ # mv -f $$autotools_mod_file.setaside $$autotools_mod_file; \
+ #done; fi
+ dh clean
+ rm -f patch-stamp
+ #quilt pop -a
+ #rm -rf .pc/
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
+ # Remove testing modules we don't want to have in the deb
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
+ # install the core system
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
+ dh_install debian/freecad.desktop usr/share/applications
+ dh_installman debian/freecad.1
+ dh_installchangelogs ChangeLog.txt
+ # install the modules
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
+ # special treating of PartDesign module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/PartDesign/Scripts/*.py usr/lib/freecad/Mod/PartDesign/Scripts;)
+ # special treating of Draft module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
+ # special treating of Test module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
+
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
+
+ # install the help system
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
+ touch install-stamp
+
+override_dh_compress:
+ dh_compress -X.qch -X.qhc
+
+override_dh_makeshlibs:
+
+
+binary-indep: build install
+ dh binary-indep
+
+binary-arch: build install
+ dh binary-arch
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- freecad-0.11.4446.orig/debian/menu
+++ freecad-0.11.4446/debian/menu
@@ -0,0 +1,6 @@
+?package(freecad):needs="X11"\
+ section="Applications/Science/Engineering"\
+ title="FreeCAD"\
+ command="/usr/bin/freecad"\
+ icon="/usr/share/freecad/freecad.xpm"
+
--- freecad-0.11.4446.orig/debian/control
+++ freecad-0.11.4446/debian/control
@@ -0,0 +1,66 @@
+Source: freecad
+Section: science
+Priority: extra
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>, Anton Gladky <gladky.anton@gmail.com>
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libtool, automake,
+ autoconf, libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
+ libboost-python-dev, python-dev, python-support,
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libeigen2-dev, libeigen3-dev, libgl1-mesa-dev,
+ zlib1g-dev, libxerces-c2-dev, libopencascade-foundation-dev, libopencascade-modeling-dev,
+ libopencascade-visualization-dev, python-cxx-dev, libswscale-dev,
+ libzipios++-dev, swig, gfortran
+Standards-Version: 3.8.4
+
+Package: freecad
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Recommends: python-pivy
+Suggests: freecad-doc
+Description: Extensible Open Source CAx program (alpha)
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ .
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
+ Editing and modeling features are currently somewhat limited.
+
+Package: freecad-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
+Description: FreeCAD development files
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains headers and symlinks necessary to
+ develop modules for FreeCAD.
+
+Package: freecad-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, qt4-dev-tools
+Description: FreeCAD documentation
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the FreeCAD documentation.
+ .
+ The documentation is provided in Qt's new help format;
+ the new help format version can be viewed in conjunction with the Qt Assistant
+ found in the qt4-dev-tools package.
+
--- freecad-0.11.4446.orig/debian/freecad.sharedmimeinfo
+++ freecad-0.11.4446/debian/freecad.sharedmimeinfo
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-extension-fcstd">
+ <sub-class-of type="application/zip"/>
+ <comment>FreeCAD document files</comment>
+ <glob pattern="*.fcstd"/>
+ </mime-type>
+</mime-info>
--- freecad-0.11.4446.orig/debian/compat
+++ freecad-0.11.4446/debian/compat
@@ -0,0 +1 @@
+7
--- freecad-0.11.4446.orig/debian/freecad.links
+++ freecad-0.11.4446/debian/freecad.links
@@ -0,0 +1,3 @@
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
--- freecad-0.11.4446.orig/debian/freecad.desktop
+++ freecad-0.11.4446/debian/freecad.desktop
@@ -0,0 +1,18 @@
+[Desktop Entry]
+Version=1.0
+Name=FreeCAD
+Name[de]=FreeCAD
+Comment=Feature based Parametric Modeler
+Comment[de]=Feature-basierter parametrischer Modellierer
+GenericName=CAD Application
+GenericName[de]=CAD-Anwendung
+Exec=/usr/bin/freecad %F
+Path=/usr/lib/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/freecad.xpm
+Categories=Graphics;Science;Engineering
+StartupNotify=true
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
+MimeType=application/x-extension-fcstd
--- freecad-0.11.4446.orig/debian/watch
+++ freecad-0.11.4446/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/free-cad/freecad_(.+)\.orig\.tar\.gz
--- freecad-0.11.4446.orig/debian/freecad-doc.doc-base
+++ freecad-0.11.4446/debian/freecad-doc.doc-base
@@ -0,0 +1,18 @@
+Document: freecad-development-documentation
+Title: FreeCAD development documentation
+Author: FreeCAD developers
+Abstract: FreeCAD is a general purpose Open Source 3D
+ CAD/MCAD/CAx/CAE/PLM modeler, aimed directly at mechanical engineering
+ and product design but also fits in a wider range of uses around
+ engineering, such as architecture or other engineering specialties.
+ It is a feature-based parametric modeler with a modular software
+ architecture which makes it easy to provide additional functionality
+ without modifying the core system.
+Section: Science/Engineering
+
+Format: HTML
+Index: /usr/share/doc/freecad/Start_Page.html
+Files: /usr/share/doc/freecad/*.q*
+
+Format: PDF
+Files: /usr/share/doc/freecad/kr_16.pdf.gz /usr/share/doc/freecad/kr_210_2.pdf.gz /usr/share/doc/freecad/kr_500_2.pdf.gz
--- freecad-0.11.4446.orig/debian/copyright
+++ freecad-0.11.4446/debian/copyright
@@ -0,0 +1,275 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+X-Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
+X-Packaged-Date: 2006-09-26_16:55:15+02:00
+Source: http://sourceforge.net/projects/free-cad
+
+Files: *
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: LGPL-2+
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: src/3rdParty/boost/numeric/bindings/*
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
+License: other-boost-1.0
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
+License: other
+ * Permission to copy, modify, use and distribute this software
+ * for any non-commercial or commercial purpose is granted provided
+ * that this license appear on all copies of the software source code.
+ *
+ * Authors assume no responsibility whatsoever for its use and makes
+ * no guarantees about its quality, correctness or reliability.
+ *
+ * KF acknowledges the support of the Faculty of Civil Engineering,
+ * University of Zagreb, Croatia.
+
+Files: src/Base/Base64.*
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
+License: other
+ This source code is provided 'as-is', without any express or implied
+ warranty. In no event will the author be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this source code must not be misrepresented; you must not
+ claim that you wrote the original source code. If you use this source code
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original source code.
+ .
+ 3. This notice may not be removed or altered from any source distribution.
+
+Files: src/Base/fdstream.hpp
+Copyright: 2001 Nicolai M. Josuttis
+License: other
+ Permission to copy, use, modify, sell and distribute this software
+ is granted provided this copyright notice appears in all copies.
+ This software is provided "as is" without express or implied
+ warranty, and with no claim as to its suitability for any purpose.
+
+Files: src/Base/gzstream.*
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
+License: LGPL-2.1+
+
+Files: src/Base/PyTools.*
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
+License: other
+ Permission to use, copy, modify, and distribute this software
+ for any purpose and without fee is hereby granted. This software
+ is provided on an as is basis, without warranties of any kind.
+
+Files: src/Doc/Start_Page.html
+Copyright: 2004-2009 UnaMesa Association
+License: BSD
+ Copyright (c) UnaMesa Association 2004-2009
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ .
+ Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ Neither the name of the UnaMesa Association nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS
+ IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: src/Doc/Start_Page.html
+Copyright: 2009 John Resig
+License: GPL-2 or MIT
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: src/Doc/Start_Page.html
+Copyright: 2009 The Dojo Foundation, http://sizzlejs.com/
+License: GPL-2 or MIT or BSD
+
+Files: src/Gui/iisTaskPanel/src/*
+Copyright: http://www.ii-system.com
+License: LGPL
+
+Files: src/Mod/Draft/*
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
+License: GPL-2+
+
+Files: src/Mod/Draft/draftlibs/dxf*
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
+License: GPL-2+
+
+Files: src/Mod/Draft/WorkingPlane.py
+Copyright: 2009-2010 Ken Cline <cline@frii.com>
+License: GPL-2+
+
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
+ src/Mod/Mesh/App/Core/*
+Copyright: 2005 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
+Copyright: 2005 Berthold Grupp
+License: LGPL-2+
+
+Files: src/Mod/Mesh/BuildRegularGeoms.py
+Copyright: 2005 Berthold Grupp
+License: LGPL
+
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
+Copyright: 2004 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/tritritest.h
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
+License: other
+ tritritest.h has no licensing information, but Tomas Moller replied
+ the following, when asked about it:
+ .
+ The code is is free to use for anyone and any projects, but I give no
+ warranties.
+
+Files: src/Mod/Mesh/App/WildMagic4/*
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
+License: LGPL-2.1+
+
+Files: src/Mod/Part/App/edgecluster.*
+Copyright: 2010 Joachim Zettler <Joachim.Zettler@gmx.de>
+License: LGPL-2+
+
+Files: src/Mod/Raytracing/App/resources/*
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
+ Juergen Riegel <juergen.riegel@web.de>
+License: LGPL-2+
+
+Files: src/Mod/Sketcher/App/sketchflat/*
+Copyright: 2008 Jonathan Westhues
+License: GPL-3+
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
+
+Files: src/Mod/Sketcher/App/sketchsolve_cp/*
+Copyright: 2009 Jonathan George
+License: BSD
+
+Files: src/Mod/Test/unittestgui.py
+Copyright: 1999-2001 Steve Purcell
+License: PSF
+ This module is free software, and you may redistribute it and/or modify
+ it under the same terms as Python itself, so long as this copyright message
+ and disclaimer are retained in their original form.
+ .
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+ .
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: GPL-2+
+
+Files: src/Tools/generateBase/generateDS.py
+Copyright: 2003 Dave Kuhlman
+License: MIT
+
+Files: debian/*
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
+ Teemu Ikonen <tpikonen@gmail.com>
+License: LGPL-2+
--- freecad-0.11.4446.orig/debian/source/format
+++ freecad-0.11.4446/debian/source/format
@@ -0,0 +1 @@
+1.0
--- freecad-0.11.4446.orig/debian/source/lintian-overrides
+++ freecad-0.11.4446/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# Lintian thinks uploader Adam Powell's name violates policy
+freecad source: uploader-address-missing "Adam C. Powell
+freecad source: uploader-not-full-name IV"
-740
View File
@@ -1,740 +0,0 @@
--- freecad-0.11.3729.orig/debian/changelog
+++ freecad-0.11.3729/debian/changelog
@@ -0,0 +1,172 @@
+freecad (0.11.3729-1lucid1) lucid; urgency=low
+
+ * New release for Ubuntu 10.04.1 LTS (lucid)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 14 Nov 2010 18:09:17 +0100
+
+freecad (0.10.3139-1lucid1) lucid; urgency=low
+
+ * New release for Ubuntu 10.04 LTS (lucid)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 Apr 2010 23:43:06 +0200
+
+freecad (0.10.3139-1) unstable; urgency=low
+
+ * New upstream version (closes: #561696).
+ * Added swig to Build-Depends (closes: #563523, #563772).
+ * Removed python-opencv from Build-Depends and Recommends (closes: #560768).
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Mon, 11 Jan 2010 08:48:33 -0500
+
+freecad (0.9.2646.4-1) unstable; urgency=low
+
+ * New upstream version (closes: #559849, #559846).
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Fri, 11 Dec 2009 20:21:32 -0500
+
+freecad (0.9.2646.3-1) unstable; urgency=low
+
+ * New upstream version. Removes TiddlySaver.jar, fixes help problems.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 03 Dec 2009 19:39:27 +0100
+
+freecad (0.9.2646-1) unstable; urgency=low
+
+ [ Werner Mayer ]
+ * New upstream release
+ * In-source copy of PyCXX has been dropped (closes: #547936)
+ * In-source copy of zipios++ has been dropped (closes: #547941)
+ * Change build-dependency on python2.5-dev to python-dev
+ * Add freecad-doc binary package
+ * Remove Suggestion of a chm viewer, suggest freecad-doc instead
+
+ [ Teemu Ikonen ]
+ * Add override to dh_compress
+ * Add versioned build-deb to debhelper (>= 7.0.50)
+ * Add build-deps to libzipios++-dev and python-cxx-dev.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
+
+freecad (0.8.2237-2) unstable; urgency=low
+
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
+ * Added myself to uploaders list.
+ * Bumped Standards-Version.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
+
+freecad (0.8.2237-1) unstable; urgency=low
+
+ * New Upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
+
+freecad (0.7.1658-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
+
+freecad (0.7.1514-1) UNRELEASED; urgency=low
+
+ * New upstream version
+ * Add more stuff to the copyright file
+ * control: add build-dep to python-central
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
+
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
+
+ * Package for Ubuntu 8.04 (Hardy Heron)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
+
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
+
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
+
+freecad (0.7.1350-1) UNRELEASED; urgency=low
+
+ * New upstream release from sf.net
+ * Import to debian-science repository at git.debian.org
+ * control:
+ - Update to standards-version 3.7.3
+ - Add Vcs-* fields pointing to git.debian.org
+ - Improve descriptions
+ * Convert copyright to (pseudo) machine readable format, audit source
+ * Fix categories in .desktop file
+ * Change Section to Science/Engineering in .doc-base and menu files
+ * rules: do not ignore errors on clean target, add dh_desktop call
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
+
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
+
+ * New package with fixed self-dependency problem
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
+
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
+
+ * New debian package for Feisty
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
+
+freecad (0.7.1344-1) UNRELEASED; urgency=low
+
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
+ dependency to libopencascade6.2
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
+
+freecad (0.7.1343-1) UNRELEASED; urgency=low
+
+ * Embed required OpenCASCADE libs into this package as long as no official
+ Debian package is available
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
+
+freecad (0.7.1342-1) UNRELEASED; urgency=low
+
+ * Switch to new versioning scheme of OpenCASCADE packages
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
+
+freecad (0.7.1316-1) UNRELEASED; urgency=low
+
+ * Support of pivy (Python binding for Coin/SoQt)
+ * Support of PyQt4
+ * General support of SWIG modules
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
+
+freecad (0.7.1031-1) UNRELEASED; urgency=low
+
+ * Qt4 port finished
+ * Support of Python binding for Qt4
+ * Support of Python binding for Coin
+ * Support of entirely in Python written modules
+ * Added support of model driven architecture for Python binding
+ * Use boost's signal/slot mechanism to update data
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
+
+freecad (0.7.645-1) UNRELEASED; urgency=low
+
+ * Qt4 port started
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
+
+freecad (0.6.472-1) UNRELEASED; urgency=low
+
+ * Initial Release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
+
--- freecad-0.11.3729.orig/debian/shlibs.local
+++ freecad-0.11.3729/debian/shlibs.local
@@ -0,0 +1 @@
+libGL 1 libgl1-mesa-glx (>= 7.7.1-1)
--- freecad-0.11.3729.orig/debian/freecad.1
+++ freecad-0.11.3729/debian/freecad.1
@@ -0,0 +1,73 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+freecad \- An extensible Open Source CAx program for Unix/X11
+.SH SYNOPSIS
+.B freecad
+.RI [ options ] " files"
+.br
+.B freecadcmd
+.RI [ options ] " files"
+.SH DESCRIPTION
+.B FreeCAD
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
+some key concepts like macro recording, workbenches, ability to run as a
+server and dynamically loadable application extensions and it is designed
+to be platform independent.
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+.SH USAGE
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of the options supported by \fBfreecad\fR is included below.
+.SS "Generic options"
+.TP
+\fB\-h, \-\-help\fR
+Show summary of options.
+.TP
+\fB\-v, \-\-version\fR
+Show version of program.
+.TP
+\fB\-c, \-\-console\fR
+Start in console mode.
+.TP
+\fB\-\-response\-file\fR \fIarg\fR
+Can be specified with '@name', too.
+
+.SS "Configuration"
+.TP
+\fB\-l, \-\-write\-log\fR
+Write a log file.
+.TP
+\fB\-t, \-\-run\-test\fR \fIarg\fR
+Test level.
+.TP
+\fB\-M, \-\-module\-path\fR \fIarg\fR
+Additional module path.
+.TP
+\fB\-P, \-\-python\-path\fR \fIarg\fR
+Additional Python path.
+.SH SEE ALSO
+To get more information about \fBFreeCAD\fR, please visit \fIhttp://juergen\-riegel.net/FreeCAD/Docu/index.php/Main_Page\fR
+.SH BUGS
+To report a bug, please visit \fIhttp://free-cad.sf.net/\fR
+.SH AUTHOR
+This manual page was written by Werner Mayer.
--- freecad-0.11.3729.orig/debian/rules
+++ freecad-0.11.3729/debian/rules
@@ -0,0 +1,109 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete Fem Robot
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure: autogen.sh
+ dh_testdir
+ chmod u+x autogen.sh
+ ./autogen.sh
+
+config.status: configure
+ dh_testdir
+ ./configure --with-occ-include=/usr/include/opencascade \
+--with-occ-lib=/usr/lib \
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+ $(MAKE)
+ touch $@
+
+clean:
+ dh clean
+ rm -f build-stamp
+ find -name '*.pyc' | xargs rm -f
+ find -name 'moc_*.cpp' | xargs rm -f
+ find -name '*.lo' | xargs rm -f
+ find -name '*.deps' | xargs rm -rf
+ find -name '*.libs' | xargs rm -rf
+ rm -f stamp-h1 config.log libtool
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
+ # Remove testing modules we don't want to have in the deb
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
+ # install the core system
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
+ dh_install debian/freecad.desktop usr/share/applications
+ dh_installman debian/freecad.1
+ dh_installchangelogs ChangeLog.txt
+ # install the modules
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
+ # special treating of PartDesign module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/PartDesign/Scripts/*.py usr/lib/freecad/Mod/PartDesign/Scripts;)
+ # special treating of Draft module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
+ # special treating of Test module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
+
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
+
+ # install the help system
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
+ touch install-stamp
+
+override_dh_compress:
+ dh_compress -X.qch -X.qhc
+
+binary-indep: build install
+ dh binary-indep
+
+binary-arch: build install
+ dh binary-arch
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- freecad-0.11.3729.orig/debian/menu
+++ freecad-0.11.3729/debian/menu
@@ -0,0 +1,6 @@
+?package(freecad):needs="X11"\
+ section="Applications/Science/Engineering"\
+ title="FreeCAD"\
+ command="/usr/bin/freecad"\
+ icon="/usr/share/freecad/freecad.xpm"
+
--- freecad-0.11.3729.orig/debian/control
+++ freecad-0.11.3729/debian/control
@@ -0,0 +1,67 @@
+Source: freecad
+Section: science
+Priority: extra
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev,
+ libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
+ libboost-python-dev, python-dev, python-support,
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libgl1-mesa-dev,
+ zlib1g-dev, libxerces-c2-dev, libopencascade-visualization-dev,
+ libopencascade-foundation-dev, libopencascade-modeling-dev, python-cxx-dev,
+ libswscale-dev, libzipios++-dev, swig, libeigen2-dev, libeigen3-dev
+Standards-Version: 3.8.4
+
+Package: freecad
+Architecture: any
+Section: science
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Recommends: python-pivy
+Suggests: freecad-doc
+Description: An extensible Open Source CAx program (alpha)
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ .
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
+ Editing and modeling features are currently somewhat limited.
+
+Package: freecad-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
+Description: FreeCAD development files
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the libtool .la files, headers and symlinks necessary to
+ develop modules for FreeCAD.
+
+Package: freecad-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, qt4-dev-tools
+Description: FreeCAD documentation
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the FreeCAD documentation.
+ .
+ The documentation is provided in Qt's new help format;
+ the new help format version can be viewed in conjunction with the Qt Assistant
+ found in the qt4-dev-tools package.
+
--- freecad-0.11.3729.orig/debian/freecad.sharedmimeinfo
+++ freecad-0.11.3729/debian/freecad.sharedmimeinfo
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-extension-fcstd">
+ <sub-class-of type="application/zip"/>
+ <comment>FreeCAD document files</comment>
+ <glob pattern="*.fcstd"/>
+ </mime-type>
+</mime-info>
--- freecad-0.11.3729.orig/debian/compat
+++ freecad-0.11.3729/debian/compat
@@ -0,0 +1 @@
+7
--- freecad-0.11.3729.orig/debian/freecad.links
+++ freecad-0.11.3729/debian/freecad.links
@@ -0,0 +1,3 @@
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
--- freecad-0.11.3729.orig/debian/freecad.desktop
+++ freecad-0.11.3729/debian/freecad.desktop
@@ -0,0 +1,19 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=FreeCAD
+Name[de]=FreeCAD
+Comment=Feature based Parametric Modeler
+Comment[de]=Feature-basierter parametrischer Modellierer
+GenericName=CAD Application
+GenericName[de]=CAD-Anwendung
+Exec=/usr/bin/freecad %F
+Path=/usr/lib/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/freecad.xpm
+Categories=Graphics;Science;Engineering
+StartupNotify=true
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
+MimeType=application/x-extension-fcstd
--- freecad-0.11.3729.orig/debian/watch
+++ freecad-0.11.3729/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/free-cad/freecad_(.+)\.orig\.tar\.gz
--- freecad-0.11.3729.orig/debian/copyright
+++ freecad-0.11.3729/debian/copyright
@@ -0,0 +1,237 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+X-Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
+X-Packaged-Date: 2006-09-26_16:55:15+02:00
+Source: http://sourceforge.net/projects/free-cad
+
+Files: *
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: LGPL-2+
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: src/3rdParty/boost/numeric/bindings/*
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
+License: other-boost-1.0
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
+License: other
+ * Permission to copy, modify, use and distribute this software
+ * for any non-commercial or commercial purpose is granted provided
+ * that this license appear on all copies of the software source code.
+ *
+ * Authors assume no responsibility whatsoever for its use and makes
+ * no guarantees about its quality, correctness or reliability.
+ *
+ * KF acknowledges the support of the Faculty of Civil Engineering,
+ * University of Zagreb, Croatia.
+
+Files: src/Base/Base64.*
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
+License: other
+ This source code is provided 'as-is', without any express or implied
+ warranty. In no event will the author be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this source code must not be misrepresented; you must not
+ claim that you wrote the original source code. If you use this source code
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original source code.
+ .
+ 3. This notice may not be removed or altered from any source distribution.
+
+Files: src/Base/fdstream.hpp
+Copyright: 2001 Nicolai M. Josuttis
+License: other
+ Permission to copy, use, modify, sell and distribute this software
+ is granted provided this copyright notice appears in all copies.
+ This software is provided "as is" without express or implied
+ warranty, and with no claim as to its suitability for any purpose.
+
+Files: src/Base/gzstream.*
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
+License: LGPL-2.1+
+
+Files: src/Base/PyTools.*
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
+License: other
+ Permission to use, copy, modify, and distribute this software
+ for any purpose and without fee is hereby granted. This software
+ is provided on an as is basis, without warranties of any kind.
+
+Files: src/Doc/Start_Page.html
+Copyright: 2004-2009 UnaMesa Association
+License: BSD
+ On Debian systems, the complete text of the BSD license
+ can be found in `/usr/share/common-licenses/BSD'.
+
+Files: src/Doc/Start_Page.html
+Copyright: 2009 John Resig
+License: GPL-2 or MIT
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: src/Doc/Start_Page.html
+Copyright: 2009 The Dojo Foundation, http://sizzlejs.com/
+License: GPL-2 or MIT or BSD
+
+Files: src/Gui/iisTaskPanel/src/*
+Copyright: http://www.ii-system.com
+License: LGPL
+
+Files: src/Mod/Draft/*
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
+License: GPL-2+
+
+Files: src/Mod/Draft/draftlibs/dxf*
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
+License: GPL-2+
+
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
+ src/Mod/Mesh/App/Core/*
+Copyright: 2005 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
+Copyright: 2005 Berthold Grupp
+License: LGPL-2+
+
+Files: src/Mod/Mesh/BuildRegularGeoms.py
+Copyright: 2005 Berthold Grupp
+License: LGPL
+
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
+Copyright: 2004 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/tritritest.h
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
+License: other
+ tritritest.h has no licensing information, but Tomas Moller replied
+ the following, when asked about it:
+ .
+ The code is is free to use for anyone and any projects, but I give no
+ warranties.
+
+Files: src/Mod/Mesh/App/WildMagic4/*
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
+License: LGPL-2.1+
+
+Files: src/Mod/Raytracing/App/resources/*
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
+ Juergen Riegel <juergen.riegel@web.de>
+License: LGPL-2+
+
+Files: src/Mod/Sketcher/App/sketchflat/*
+Copyright: 2008 Jonathan Westhues
+License: GPL-3+
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
+
+Files: src/Mod/Test/unittestgui.py
+Copyright: 1999-2001 Steve Purcell
+License: PSF
+ This module is free software, and you may redistribute it and/or modify
+ it under the same terms as Python itself, so long as this copyright message
+ and disclaimer are retained in their original form.
+ .
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+ .
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: GPL-2+
+
+Files: src/Tools/generateBase/generateDS.py
+Copyright: 2003 Dave Kuhlman
+License: MIT
+
+Files: debian/*
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
+ Teemu Ikonen <tpikonen@gmail.com>
+License: LGPL-2+
--- freecad-0.11.3729.orig/debian/source/format
+++ freecad-0.11.3729/debian/source/format
@@ -0,0 +1 @@
+1.0
-886
View File
@@ -1,886 +0,0 @@
--- freecad-0.12.4484.orig/debian/changelog
+++ freecad-0.12.4484/debian/changelog
@@ -0,0 +1,272 @@
+freecad (0.12.4484-1natty1) natty; urgency=low
+
+ * New release for Ubuntu 11.04 (natty)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 11 May 2011 22:55:03 +0200
+
+freecad (0.11.3729.dfsg-2) unstable; urgency=low
+
+ * Add gfortran and libopencascade-visualization-dev to BD
+ to fix FTBFS (closes: #622694)
+ * Add libqtwebkit-dev to BD (closes: #618241)
+ * Delete quilt from BD and corresponding changes in rules.
+ * Add description to freecad-occ650.patch
+ * Delete encoding string from .desktop
+ * Fix some spelling errors, pointed out by lintian.
+
+ -- Anton Gladky <gladky.anton@gmail.com> Thu, 14 Apr 2011 10:23:25 +0100
+
+freecad (0.11.3729.dfsg-1) unstable; urgency=low
+
+ [ Denis Barbier ]
+ * Merge OpenCASCADE 6.5.0 compatibility patch (closes: #617545).
+
+ [ Adam C. Powell, IV ]
+ * New upstream (closes: #622213, #618241).
+ * Changed to source format 3.0 (quilt).
+ * Added patch target which forces autotools to run, and automake and autoconf
+ are now in Build-Depends (closes: #607181).
+ * Set aside src/Build/Version.h to prevent build problems.
+ * Does not install .la files (closes: #621298).
+ * Boost 1.46 compatibility patch (closes: #621877).
+ * Set aside files which autotools modifies so clean works.
+ * Added libtool to Build-Depends (thanks: PICCA Frédéric-Emmanuel).
+ * Bumped Standards-Version, no changes needed.
+
+ -- "Adam C. Powell, IV" <hazelsct@debian.org> Tue, 12 Apr 2011 23:40:30 -0400
+
+freecad (0.10.3247.dfsg-2ubuntu3) natty; urgency=low
+
+ * Fix build failure with ld --as-needed.
+
+ -- Matthias Klose <doko@ubuntu.com> Wed, 15 Dec 2010 01:12:39 +0100
+
+freecad (0.10.3247.dfsg-2ubuntu2) natty; urgency=low
+
+ * Rebuild with python 2.7 as the python default.
+
+ -- Matthias Klose <doko@ubuntu.com> Thu, 09 Dec 2010 16:46:45 +0000
+
+freecad (0.10.3247.dfsg-2ubuntu1) natty; urgency=low
+
+ * Merge from debian unstable. Remaining changes:
+ - build on libqtwebkit-dev for qtwebkit transition
+
+ -- Bhavani Shankar <bhavi@ubuntu.com> Wed, 20 Oct 2010 08:40:53 +0530
+
+freecad (0.10.3247.dfsg-2) unstable; urgency=low
+
+ * control:
+ - Update to standars-version 3.9.0.
+ - Remove libblas-dev, libatlas-dev from build-deps.
+ * Add debian/shlibs.local file containing the the correct binary dep
+ to libsoqt4-20 (closes: #575239).
+ * copyright: Add a verbatim copy of Tiddlywiki BSD license. Fixes
+ the lintian warning copyright-refers-to-deprecated-bsd-license-file.
+ * Add kFreeBSD portability fixes. Thanks to Petr Salinger
+ <Petr.Salinger@seznam.cz> for the patch (closes: #592461).
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 18 Aug 2010 19:34:36 +0200
+
+freecad (0.10.3247.dfsg-1ubuntu2) maverick; urgency=low
+
+ * Rebuild on libqtwebkit-dev for qtwebkit transition
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Wed, 21 Jul 2010 10:06:31 +0100
+
+freecad (0.10.3247.dfsg-1ubuntu1) maverick; urgency=low
+
+ * Merge from Debian unstable, remaining changes:
+ - debian/control: Build-Depends on libqt4-webkit-dev due to
+ QtWebKit is no longer part of libqt4-dev (LP: #604078)
+
+ -- Artur Rona <ari-tczew@tlen.pl> Sat, 10 Jul 2010 21:06:47 +0200
+
+freecad (0.10.3247.dfsg-1) unstable; urgency=low
+
+ * New upstream version (closes: #582627)
+ * Add debian/source/format file with contents "1.0".
+ * Use freecad.xpm as icon in menu and desktop files.
+ * copyright: Add licensing information for new files in this release.
+ * src/Base/Makefile.in, src/Gui/Makefile.in: Do not remove *.tab.c files
+ in make distclean target.
+ * control:
+ - Add build-dep to libeigen2-dev.
+ - Update to standards-version 3.8.4.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 05 Jul 2010 15:07:49 +0200
+
+freecad (0.9.2646.5.dfsg-1ubuntu1) maverick; urgency=low
+
+ * Add build-dep on libqt4-webkit-dev to fix FTBFS with Qt 4.7
+
+ -- Scott Kitterman <scott@kitterman.com> Sat, 19 Jun 2010 00:37:12 -0400
+
+freecad (0.9.2646.5.dfsg-1) unstable; urgency=low
+
+ * Add 'dfsg' extension to upstream version, upstream sources are unchanged.
+ * Remove libgl1-mesa-dev build-dep, rely on libcoin to pull in GL libraries.
+ * Change build-dep libatlas-headers to libatlas-dev (closes: #577309).
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Fri, 14 May 2010 17:20:35 +0200
+
+freecad (0.9.2646.5-1) unstable; urgency=low
+
+ * New upstream version (closes: #561696).
+ * Added swig to Build-Depends (closes: #563523, #563772).
+ * Removed python-opencv from Build-Depends and Recommends (closes: #560768).
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Mon, 11 Jan 2010 08:48:33 -0500
+
+freecad (0.9.2646.4-1) unstable; urgency=low
+
+ * New upstream version (closes: #559849, #559846).
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Fri, 11 Dec 2009 20:21:32 -0500
+
+freecad (0.9.2646.3-1) unstable; urgency=low
+
+ * New upstream version. Removes TiddlySaver.jar, fixes help problems.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 03 Dec 2009 19:39:27 +0100
+
+freecad (0.9.2646-1) unstable; urgency=low
+
+ [ Werner Mayer ]
+ * New upstream release
+ * In-source copy of PyCXX has been dropped (closes: #547936)
+ * In-source copy of zipios++ has been dropped (closes: #547941)
+ * Change build-dependency on python2.5-dev to python-dev
+ * Add freecad-doc binary package
+ * Remove Suggestion of a chm viewer, suggest freecad-doc instead
+
+ [ Teemu Ikonen ]
+ * Add override to dh_compress
+ * Add versioned build-deb to debhelper (>= 7.0.50)
+ * Add build-deps to libzipios++-dev and python-cxx-dev.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
+
+freecad (0.8.2237-2) unstable; urgency=low
+
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
+ * Added myself to uploaders list.
+ * Bumped Standards-Version.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
+
+freecad (0.8.2237-1) unstable; urgency=low
+
+ * New Upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
+
+freecad (0.7.1658-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
+
+freecad (0.7.1514-1) UNRELEASED; urgency=low
+
+ * New upstream version
+ * Add more stuff to the copyright file
+ * control: add build-dep to python-central
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
+
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
+
+ * Package for Ubuntu 8.04 (Hardy Heron)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
+
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
+
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
+
+freecad (0.7.1350-1) UNRELEASED; urgency=low
+
+ * New upstream release from sf.net
+ * Import to debian-science repository at git.debian.org
+ * control:
+ - Update to standards-version 3.7.3
+ - Add Vcs-* fields pointing to git.debian.org
+ - Improve descriptions
+ * Convert copyright to (pseudo) machine readable format, audit source
+ * Fix categories in .desktop file
+ * Change Section to Science/Engineering in .doc-base and menu files
+ * rules: do not ignore errors on clean target, add dh_desktop call
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
+
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
+
+ * New package with fixed self-dependency problem
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
+
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
+
+ * New debian package for Feisty
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
+
+freecad (0.7.1344-1) UNRELEASED; urgency=low
+
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
+ dependency to libopencascade6.2
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
+
+freecad (0.7.1343-1) UNRELEASED; urgency=low
+
+ * Embed required OpenCASCADE libs into this package as long as no official
+ Debian package is available
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
+
+freecad (0.7.1342-1) UNRELEASED; urgency=low
+
+ * Switch to new versioning scheme of OpenCASCADE packages
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
+
+freecad (0.7.1316-1) UNRELEASED; urgency=low
+
+ * Support of pivy (Python binding for Coin/SoQt)
+ * Support of PyQt4
+ * General support of SWIG modules
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
+
+freecad (0.7.1031-1) UNRELEASED; urgency=low
+
+ * Qt4 port finished
+ * Support of Python binding for Qt4
+ * Support of Python binding for Coin
+ * Support of entirely in Python written modules
+ * Added support of model driven architecture for Python binding
+ * Use boost's signal/slot mechanism to update data
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
+
+freecad (0.7.645-1) UNRELEASED; urgency=low
+
+ * Qt4 port started
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
+
+freecad (0.6.472-1) UNRELEASED; urgency=low
+
+ * Initial Release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
+
--- freecad-0.12.4484.orig/debian/freecad.links
+++ freecad-0.12.4484/debian/freecad.links
@@ -0,0 +1,3 @@
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
--- freecad-0.12.4484.orig/debian/freecad.sharedmimeinfo
+++ freecad-0.12.4484/debian/freecad.sharedmimeinfo
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-extension-fcstd">
+ <sub-class-of type="application/zip"/>
+ <comment>FreeCAD document files</comment>
+ <glob pattern="*.fcstd"/>
+ </mime-type>
+</mime-info>
--- freecad-0.12.4484.orig/debian/watch
+++ freecad-0.12.4484/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/free-cad/freecad_(.+)\.orig\.tar\.gz
--- freecad-0.12.4484.orig/debian/shlibs.local
+++ freecad-0.12.4484/debian/shlibs.local
@@ -0,0 +1,2 @@
+libGL 1 libgl1-mesa-glx (>= 7.7.1-1)
+libSoQt4 20 libsoqt4-20 (>= 1.4.2~svn20090224)
--- freecad-0.12.4484.orig/debian/freecad.1
+++ freecad-0.12.4484/debian/freecad.1
@@ -0,0 +1,73 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+freecad \- An extensible Open Source CAx program for Unix/X11
+.SH SYNOPSIS
+.B freecad
+.RI [ options ] " files"
+.br
+.B freecadcmd
+.RI [ options ] " files"
+.SH DESCRIPTION
+.B FreeCAD
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
+some key concepts like macro recording, workbenches, ability to run as a
+server and dynamically loadable application extensions and it is designed
+to be platform independent.
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+.SH USAGE
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of the options supported by \fBfreecad\fR is included below.
+.SS "Generic options"
+.TP
+\fB\-h, \-\-help\fR
+Show summary of options.
+.TP
+\fB\-v, \-\-version\fR
+Show version of program.
+.TP
+\fB\-c, \-\-console\fR
+Start in console mode.
+.TP
+\fB\-\-response\-file\fR \fIarg\fR
+Can be specified with '@name', too.
+
+.SS "Configuration"
+.TP
+\fB\-l, \-\-write\-log\fR
+Write a log file.
+.TP
+\fB\-t, \-\-run\-test\fR \fIarg\fR
+Test level.
+.TP
+\fB\-M, \-\-module\-path\fR \fIarg\fR
+Additional module path.
+.TP
+\fB\-P, \-\-python\-path\fR \fIarg\fR
+Additional Python path.
+.SH SEE ALSO
+To get more information about \fBFreeCAD\fR, please visit \fIhttp://juergen\-riegel.net/FreeCAD/Docu/index.php/Main_Page\fR
+.SH BUGS
+To report a bug, please visit \fIhttp://free-cad.sf.net/\fR
+.SH AUTHOR
+This manual page was written by Werner Mayer.
--- freecad-0.12.4484.orig/debian/rules
+++ freecad-0.12.4484/debian/rules
@@ -0,0 +1,113 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete Fem Robot Import Inspection Arch
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure: autogen.sh
+ dh_testdir
+ chmod u+x autogen.sh
+ ./autogen.sh
+
+config.status: configure
+ dh_testdir
+ ./configure --with-occ-include=/usr/include/opencascade \
+--with-occ-lib=/usr/lib \
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+ $(MAKE)
+ touch $@
+
+clean:
+ dh clean
+ rm -f build-stamp
+ find -name '*.pyc' | xargs rm -f
+ find -name 'moc_*.cpp' | xargs rm -f
+ find -name '*.lo' | xargs rm -f
+ find -name '*.deps' | xargs rm -rf
+ find -name '*.libs' | xargs rm -rf
+ rm -f stamp-h1 config.log libtool
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
+ # Remove testing modules we don't want to have in the deb
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
+ # install the core system
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
+ dh_install debian/freecad.desktop usr/share/applications
+ dh_installman debian/freecad.1
+ dh_installchangelogs ChangeLog.txt
+ # install the modules
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
+ # special treating of PartDesign module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/PartDesign/Scripts/*.py usr/lib/freecad/Mod/PartDesign/Scripts;)
+ # special treating of Draft module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
+ # special treating of Test module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
+
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
+
+ # special treating of Arch module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Arch/*.py usr/lib/freecad/Mod/Arch
+
+ # install the help system
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
+ touch install-stamp
+
+override_dh_compress:
+ dh_compress -X.qch -X.qhc
+
+override_dh_makeshlibs:
+
+
+binary-indep: build install
+ dh binary-indep
+
+binary-arch: build install
+ dh binary-arch
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- freecad-0.12.4484.orig/debian/freecad.desktop
+++ freecad-0.12.4484/debian/freecad.desktop
@@ -0,0 +1,18 @@
+[Desktop Entry]
+Version=1.0
+Name=FreeCAD
+Name[de]=FreeCAD
+Comment=Feature based Parametric Modeler
+Comment[de]=Feature-basierter parametrischer Modellierer
+GenericName=CAD Application
+GenericName[de]=CAD-Anwendung
+Exec=/usr/bin/freecad %F
+Path=/usr/lib/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/freecad.xpm
+Categories=Graphics;Science;Engineering
+StartupNotify=true
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
+MimeType=application/x-extension-fcstd
--- freecad-0.12.4484.orig/debian/menu
+++ freecad-0.12.4484/debian/menu
@@ -0,0 +1,6 @@
+?package(freecad):needs="X11"\
+ section="Applications/Science/Engineering"\
+ title="FreeCAD"\
+ command="/usr/bin/freecad"\
+ icon="/usr/share/freecad/freecad.xpm"
+
--- freecad-0.12.4484.orig/debian/copyright
+++ freecad-0.12.4484/debian/copyright
@@ -0,0 +1,275 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+X-Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
+X-Packaged-Date: 2006-09-26_16:55:15+02:00
+Source: http://sourceforge.net/projects/free-cad
+
+Files: *
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: LGPL-2+
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: src/3rdParty/boost/numeric/bindings/*
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
+License: other-boost-1.0
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
+License: other
+ * Permission to copy, modify, use and distribute this software
+ * for any non-commercial or commercial purpose is granted provided
+ * that this license appear on all copies of the software source code.
+ *
+ * Authors assume no responsibility whatsoever for its use and makes
+ * no guarantees about its quality, correctness or reliability.
+ *
+ * KF acknowledges the support of the Faculty of Civil Engineering,
+ * University of Zagreb, Croatia.
+
+Files: src/Base/Base64.*
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
+License: other
+ This source code is provided 'as-is', without any express or implied
+ warranty. In no event will the author be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this source code must not be misrepresented; you must not
+ claim that you wrote the original source code. If you use this source code
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original source code.
+ .
+ 3. This notice may not be removed or altered from any source distribution.
+
+Files: src/Base/fdstream.hpp
+Copyright: 2001 Nicolai M. Josuttis
+License: other
+ Permission to copy, use, modify, sell and distribute this software
+ is granted provided this copyright notice appears in all copies.
+ This software is provided "as is" without express or implied
+ warranty, and with no claim as to its suitability for any purpose.
+
+Files: src/Base/gzstream.*
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
+License: LGPL-2.1+
+
+Files: src/Base/PyTools.*
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
+License: other
+ Permission to use, copy, modify, and distribute this software
+ for any purpose and without fee is hereby granted. This software
+ is provided on an as is basis, without warranties of any kind.
+
+Files: src/Doc/Start_Page.html
+Copyright: 2004-2009 UnaMesa Association
+License: BSD
+ Copyright (c) UnaMesa Association 2004-2009
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ .
+ Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ Neither the name of the UnaMesa Association nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS
+ IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: src/Doc/Start_Page.html
+Copyright: 2009 John Resig
+License: GPL-2 or MIT
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: src/Doc/Start_Page.html
+Copyright: 2009 The Dojo Foundation, http://sizzlejs.com/
+License: GPL-2 or MIT or BSD
+
+Files: src/Gui/iisTaskPanel/src/*
+Copyright: http://www.ii-system.com
+License: LGPL
+
+Files: src/Mod/Draft/*
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
+License: GPL-2+
+
+Files: src/Mod/Draft/draftlibs/dxf*
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
+License: GPL-2+
+
+Files: src/Mod/Draft/WorkingPlane.py
+Copyright: 2009-2010 Ken Cline <cline@frii.com>
+License: GPL-2+
+
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
+ src/Mod/Mesh/App/Core/*
+Copyright: 2005 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
+Copyright: 2005 Berthold Grupp
+License: LGPL-2+
+
+Files: src/Mod/Mesh/BuildRegularGeoms.py
+Copyright: 2005 Berthold Grupp
+License: LGPL
+
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
+Copyright: 2004 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/tritritest.h
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
+License: other
+ tritritest.h has no licensing information, but Tomas Moller replied
+ the following, when asked about it:
+ .
+ The code is is free to use for anyone and any projects, but I give no
+ warranties.
+
+Files: src/Mod/Mesh/App/WildMagic4/*
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
+License: LGPL-2.1+
+
+Files: src/Mod/Part/App/edgecluster.*
+Copyright: 2010 Joachim Zettler <Joachim.Zettler@gmx.de>
+License: LGPL-2+
+
+Files: src/Mod/Raytracing/App/resources/*
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
+ Juergen Riegel <juergen.riegel@web.de>
+License: LGPL-2+
+
+Files: src/Mod/Sketcher/App/sketchflat/*
+Copyright: 2008 Jonathan Westhues
+License: GPL-3+
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
+
+Files: src/Mod/Sketcher/App/sketchsolve_cp/*
+Copyright: 2009 Jonathan George
+License: BSD
+
+Files: src/Mod/Test/unittestgui.py
+Copyright: 1999-2001 Steve Purcell
+License: PSF
+ This module is free software, and you may redistribute it and/or modify
+ it under the same terms as Python itself, so long as this copyright message
+ and disclaimer are retained in their original form.
+ .
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+ .
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: GPL-2+
+
+Files: src/Tools/generateBase/generateDS.py
+Copyright: 2003 Dave Kuhlman
+License: MIT
+
+Files: debian/*
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
+ Teemu Ikonen <tpikonen@gmail.com>
+License: LGPL-2+
--- freecad-0.12.4484.orig/debian/compat
+++ freecad-0.12.4484/debian/compat
@@ -0,0 +1 @@
+7
--- freecad-0.12.4484.orig/debian/control
+++ freecad-0.12.4484/debian/control
@@ -0,0 +1,67 @@
+Source: freecad
+Section: science
+Priority: extra
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>, Anton Gladky <gladky.anton@gmail.com>
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libtool, automake,
+ autoconf, libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
+ libboost-python-dev, python-dev, python-support,
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libeigen2-dev, libeigen3-dev, libgl1-mesa-dev,
+ zlib1g-dev, libxerces-c2-dev, libopencascade-foundation-dev,
+ libopencascade-modeling-dev, libopencascade-ocaf-dev,
+ libopencascade-visualization-dev, python-cxx-dev, libswscale-dev,
+ libzipios++-dev, swig, gfortran, libqtwebkit-dev
+Standards-Version: 3.9.1
+
+Package: freecad
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Recommends: python-pivy
+Suggests: freecad-doc
+Description: Extensible Open Source CAx program (alpha)
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ .
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
+ Editing and modeling features are currently somewhat limited.
+
+Package: freecad-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
+Description: FreeCAD development files
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains headers and symlinks necessary to
+ develop modules for FreeCAD.
+
+Package: freecad-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, qt4-dev-tools
+Description: FreeCAD documentation
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the FreeCAD documentation.
+ .
+ The documentation is provided in Qt's new help format;
+ the new help format version can be viewed in conjunction with the Qt Assistant
+ found in the qt4-dev-tools package.
+
--- freecad-0.12.4484.orig/debian/source/lintian-overrides
+++ freecad-0.12.4484/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# Lintian thinks uploader Adam Powell's name violates policy
+freecad source: uploader-address-missing "Adam C. Powell
+freecad source: uploader-not-full-name IV"
--- freecad-0.12.4484.orig/debian/source/format
+++ freecad-0.12.4484/debian/source/format
@@ -0,0 +1 @@
+1.0
File diff suppressed because it is too large Load Diff
-682
View File
@@ -1,682 +0,0 @@
--- freecad-0.9.2646.orig/debian/compat
+++ freecad-0.9.2646/debian/compat
@@ -0,0 +1 @@
+7
--- freecad-0.9.2646.orig/debian/control
+++ freecad-0.9.2646/debian/control
@@ -0,0 +1,67 @@
+Source: freecad
+Section: science
+Priority: extra
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev,
+ libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
+ libboost-python-dev, python-dev, python-opencv, python-support,
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libgl1-mesa-dev,
+ libgts-bin, libgts-dev, libcv-dev, zlib1g-dev, libxerces-c2-dev,
+ libopencascade-foundation-dev, libopencascade-modeling-dev, python-cxx-dev,
+ libswscale-dev, libblas-dev, libatlas-headers, libzipios++-dev
+Standards-Version: 3.8.3
+
+Package: freecad
+Architecture: any
+Section: science
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Recommends: python-pivy
+Suggests: freecad-doc, python-opencv
+Description: An extensible Open Source CAx program (alpha)
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ .
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
+ Editing and modeling features are currently somewhat limited.
+
+Package: freecad-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
+Description: FreeCAD development files
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the libtool .la files, headers and symlinks necessary to
+ develop modules for FreeCAD.
+
+Package: freecad-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, qt4-dev-tools
+Description: FreeCAD documentation
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
+ It features some key concepts like macro recording, workbenches, ability
+ to run as a server and dynamically loadable application extensions and
+ it is designed to be platform independent.
+ For more details see http://sourceforge.net/projects/free-cad
+ .
+ This package contains the FreeCAD documentation.
+ .
+ The documentation is provided in Qt's new help format;
+ the new help format version can be viewed in conjunction with the Qt Assistant
+ found in the qt4-dev-tools package.
+
--- freecad-0.9.2646.orig/debian/rules
+++ freecad-0.9.2646/debian/rules
@@ -0,0 +1,109 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure: autogen.sh
+ dh_testdir
+ chmod u+x autogen.sh
+ ./autogen.sh
+
+config.status: configure
+ dh_testdir
+ ./configure --with-occ-include=/usr/include/opencascade \
+--with-occ-lib=/usr/lib \
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+ $(MAKE)
+ touch $@
+
+clean:
+ dh clean
+ rm -f build-stamp
+ find -name '*.pyc' | xargs rm -f
+ find -name 'moc_*.cpp' | xargs rm -f
+ find -name '*.lo' | xargs rm -f
+ find -name '*.deps' | xargs rm -rf
+ find -name '*.libs' | xargs rm -rf
+ rm -f stamp-h1 config.log libtool
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
+ # Remove testing modules we don't want to have in the deb
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
+ # install the core system
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
+ dh_install debian/freecad.desktop usr/share/applications
+ dh_installman debian/freecad.1
+ dh_installchangelogs ChangeLog.txt
+ # install the modules
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
+ # special treating of Draft module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
+ # special treating of Test module
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
+
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
+ $(foreach MODULE,$(MODULES), \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
+
+ # install the help system
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
+ touch install-stamp
+
+override_dh_compress:
+ dh_compress -X.qch -X.qhc
+
+binary-indep: build install
+ dh binary-indep
+
+binary-arch: build install
+ dh binary-arch
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- freecad-0.9.2646.orig/debian/copyright
+++ freecad-0.9.2646/debian/copyright
@@ -0,0 +1,221 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
+Packaged-Date: 2006-09-26_16:55:15+02:00
+Original-Source-Location: http://sourceforge.net/projects/free-cad
+
+Files: *
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: LGPL-2+
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: src/3rdParty/boost/numeric/bindings/*
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
+License: other-boost-1.0
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
+License: other
+ * Permission to copy, modify, use and distribute this software
+ * for any non-commercial or commercial purpose is granted provided
+ * that this license appear on all copies of the software source code.
+ *
+ * Authors assume no responsibility whatsoever for its use and makes
+ * no guarantees about its quality, correctness or reliability.
+ *
+ * KF acknowledges the support of the Faculty of Civil Engineering,
+ * University of Zagreb, Croatia.
+
+Files: src/Base/Base64.*
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
+License: other
+ This source code is provided 'as-is', without any express or implied
+ warranty. In no event will the author be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this source code must not be misrepresented; you must not
+ claim that you wrote the original source code. If you use this source code
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original source code.
+ .
+ 3. This notice may not be removed or altered from any source distribution.
+
+Files: src/Base/fdstream.hpp
+Copyright: 2001 Nicolai M. Josuttis
+License: other
+ Permission to copy, use, modify, sell and distribute this software
+ is granted provided this copyright notice appears in all copies.
+ This software is provided "as is" without express or implied
+ warranty, and with no claim as to its suitability for any purpose.
+
+Files: src/Base/gzstream.*
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
+License: LGPL-2.1+
+
+Files: src/Base/PyTools.*
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
+License: other
+ Permission to use, copy, modify, and distribute this software
+ for any purpose and without fee is hereby granted. This software
+ is provided on an as is basis, without warranties of any kind.
+
+Files: src/Gui/iisTaskPanel/src/*
+Copyright: http://www.ii-system.com
+License: LGPL
+
+Files: src/Mod/Draft/*
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
+License: GPL-2+
+
+Files: src/Mod/Draft/draftlibs/dxf*
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
+License: GPL-2+
+
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
+ src/Mod/Mesh/App/Core/*
+Copyright: 2005 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
+Copyright: 2005 Berthold Grupp
+License: LGPL-2+
+
+Files: src/Mod/Mesh/BuildRegularGeoms.py
+Copyright: 2005 Berthold Grupp
+License: LGPL
+
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
+Copyright: 2004 Imetric 3D GmbH
+License: LGPL-2+
+
+Files: src/Mod/Mesh/App/Core/tritritest.h
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
+License: other
+ tritritest.h has no licensing information, but Tomas Moller replied
+ the following, when asked about it:
+ .
+ The code is is free to use for anyone and any projects, but I give no
+ warranties.
+
+Files: src/Mod/Mesh/App/WildMagic4/*
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
+License: LGPL-2.1+
+
+Files: src/Mod/Raytracing/App/resources/*
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
+ Juergen Riegel <juergen.riegel@web.de>
+License: LGPL-2+
+
+Files: src/Mod/Sketcher/App/sketchflat/*
+Copyright: 2008 Jonathan Westhues
+License: GPL-3+
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
+
+Files: src/Mod/Test/unittestgui.py
+Copyright: 1999-2001 Steve Purcell
+License: PSF
+ This module is free software, and you may redistribute it and/or modify
+ it under the same terms as Python itself, so long as this copyright message
+ and disclaimer are retained in their original form.
+ .
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+ .
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
+ Werner Mayer <wmayer@users.sourceforge.net>
+License: GPL-2+
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
+
+Files: src/Tools/generateBase/generateDS.py
+Copyright: 2003 Dave Kuhlman
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: debian/*
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
+ Teemu Ikonen <tpikonen@gmail.com>
+License: LGPL-2+
--- freecad-0.9.2646.orig/debian/freecad.sharedmimeinfo
+++ freecad-0.9.2646/debian/freecad.sharedmimeinfo
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-extension-fcstd">
+ <sub-class-of type="application/zip"/>
+ <comment>FreeCAD document files</comment>
+ <glob pattern="*.fcstd"/>
+ </mime-type>
+</mime-info>
--- freecad-0.9.2646.orig/debian/freecad.desktop
+++ freecad-0.9.2646/debian/freecad.desktop
@@ -0,0 +1,19 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=FreeCAD
+Name[de]=FreeCAD
+Comment=Feature based Parametric Modeler
+Comment[de]=Feature-basierter parametrischer Modellierer
+GenericName=CAD Application
+GenericName[de]=CAD-Anwendung
+Exec=/usr/bin/freecad %F
+Path=/usr/lib/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/FCIcon.xpm
+Categories=Graphics;Science;Engineering
+StartupNotify=true
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
+MimeType=application/x-extension-fcstd
--- freecad-0.9.2646.orig/debian/freecad.1
+++ freecad-0.9.2646/debian/freecad.1
@@ -0,0 +1,73 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+freecad \- An extensible Open Source CAx program for Unix/X11
+.SH SYNOPSIS
+.B freecad
+.RI [ options ] " files"
+.br
+.B freecadcmd
+.RI [ options ] " files"
+.SH DESCRIPTION
+.B FreeCAD
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
+some key concepts like macro recording, workbenches, ability to run as a
+server and dynamically loadable application extensions and it is designed
+to be platform independent.
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+.SH USAGE
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of the options supported by \fBfreecad\fR is included below.
+.SS "Generic options"
+.TP
+\fB\-h, \-\-help\fR
+Show summary of options.
+.TP
+\fB\-v, \-\-version\fR
+Show version of program.
+.TP
+\fB\-c, \-\-console\fR
+Start in console mode.
+.TP
+\fB\-\-response\-file\fR \fIarg\fR
+Can be specified with '@name', too.
+
+.SS "Configuration"
+.TP
+\fB\-l, \-\-write\-log\fR
+Write a log file.
+.TP
+\fB\-t, \-\-run\-test\fR \fIarg\fR
+Test level.
+.TP
+\fB\-M, \-\-module\-path\fR \fIarg\fR
+Additional module path.
+.TP
+\fB\-P, \-\-python\-path\fR \fIarg\fR
+Additional Python path.
+.SH SEE ALSO
+To get more information about \fBFreeCAD\fR, please visit \fIhttp://juergen\-riegel.net/FreeCAD/Docu/index.php/Main_Page\fR
+.SH BUGS
+To report a bug, please visit \fIhttp://free-cad.sf.net/\fR
+.SH AUTHOR
+This manual page was written by Werner Mayer.
--- freecad-0.9.2646.orig/debian/watch
+++ freecad-0.9.2646/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/free-cad/freecad_(.+)\.orig\.tar\.gz
--- freecad-0.9.2646.orig/debian/menu
+++ freecad-0.9.2646/debian/menu
@@ -0,0 +1,6 @@
+?package(freecad):needs="X11"\
+ section="Applications/Science/Engineering"\
+ title="FreeCAD"\
+ command="/usr/bin/freecad"\
+ icon="/usr/share/freecad/FCIcon.xpm"
+
--- freecad-0.9.2646.orig/debian/freecad.links
+++ freecad-0.9.2646/debian/freecad.links
@@ -0,0 +1,3 @@
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
--- freecad-0.9.2646.orig/debian/changelog
+++ freecad-0.9.2646/debian/changelog
@@ -0,0 +1,140 @@
+freecad (0.9.2646-1) unstable; urgency=low
+
+ [ Werner Mayer ]
+ * New upstream release
+ * In-source copy of PyCXX has been dropped (closes: #547936)
+ * In-source copy of zipios++ has been dropped (closes: #547941)
+ * Change build-dependency on python2.5-dev to python-dev
+ * Add freecad-doc binary package
+ * Remove Suggestion of a chm viewer, suggest freecad-doc instead
+
+ [ Teemu Ikonen ]
+ * Add override to dh_compress
+ * Add versioned build-deb to debhelper (>= 7.0.50)
+ * Add build-deps to libzipios++-dev and python-cxx-dev.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
+
+freecad (0.8.2237-2) unstable; urgency=low
+
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
+ * Added myself to uploaders list.
+ * Bumped Standards-Version.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
+
+freecad (0.8.2237-1) unstable; urgency=low
+
+ * New Upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
+
+freecad (0.7.1658-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
+
+freecad (0.7.1514-1) UNRELEASED; urgency=low
+
+ * New upstream version
+ * Add more stuff to the copyright file
+ * control: add build-dep to python-central
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
+
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
+
+ * Package for Ubuntu 8.04 (Hardy Heron)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
+
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
+
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
+
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
+
+freecad (0.7.1350-1) UNRELEASED; urgency=low
+
+ * New upstream release from sf.net
+ * Import to debian-science repository at git.debian.org
+ * control:
+ - Update to standards-version 3.7.3
+ - Add Vcs-* fields pointing to git.debian.org
+ - Improve descriptions
+ * Convert copyright to (pseudo) machine readable format, audit source
+ * Fix categories in .desktop file
+ * Change Section to Science/Engineering in .doc-base and menu files
+ * rules: do not ignore errors on clean target, add dh_desktop call
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
+
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
+
+ * New package with fixed self-dependency problem
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
+
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
+
+ * New debian package for Feisty
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
+
+freecad (0.7.1344-1) UNRELEASED; urgency=low
+
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
+ dependency to libopencascade6.2
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
+
+freecad (0.7.1343-1) UNRELEASED; urgency=low
+
+ * Embed required OpenCASCADE libs into this package as long as no official
+ Debian package is available
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
+
+freecad (0.7.1342-1) UNRELEASED; urgency=low
+
+ * Switch to new versioning scheme of OpenCASCADE packages
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
+
+freecad (0.7.1316-1) UNRELEASED; urgency=low
+
+ * Support of pivy (Python binding for Coin/SoQt)
+ * Support of PyQt4
+ * General support of SWIG modules
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
+
+freecad (0.7.1031-1) UNRELEASED; urgency=low
+
+ * Qt4 port finished
+ * Support of Python binding for Qt4
+ * Support of Python binding for Coin
+ * Support of entirely in Python written modules
+ * Added support of model driven architecture for Python binding
+ * Use boost's signal/slot mechanism to update data
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
+
+freecad (0.7.645-1) UNRELEASED; urgency=low
+
+ * Qt4 port started
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
+
+freecad (0.6.472-1) UNRELEASED; urgency=low
+
+ * Initial Release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
+
-207
View File
@@ -1,207 +0,0 @@
--- pivy-0.3.0.orig/interfaces/soqt.i
+++ pivy-0.3.0/interfaces/soqt.i
@@ -78,7 +78,7 @@
%include pivy_common_typemaps.i
/* import the pivy main interface file */
-%import coin.i
+%import(module="pivy") coin.i
/* typemaps to bridge against PyQt */
%typemap(out) QEvent * {
--- pivy-0.3.0.orig/debian/changelog
+++ pivy-0.3.0/debian/changelog
@@ -0,0 +1,5 @@
+pivy (0.3.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #504617)
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 13 Nov 2008 15:31:51 +0100
--- pivy-0.3.0.orig/debian/rules
+++ pivy-0.3.0/debian/rules
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+
+CFLAGS = -Wall -g
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ python setup.py build
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp install-stamp
+ python setup.py clean
+ dh_clean
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ python setup.py install --no-compile --root debian/python-pivy
+ #dh install --after dh_installdirs
+ touch install-stamp
+
+binary-indep: build install
+ #dh binary-indep
+
+binary-arch: build install
+ #dh binary-arch
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_desktop
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_pycentral
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- pivy-0.3.0.orig/debian/control
+++ pivy-0.3.0/debian/control
@@ -0,0 +1,25 @@
+Source: pivy
+Section: python
+Priority: extra
+Maintainer: Teemu Ikonen <tpikonen@gmail.com>
+Build-Depends: debhelper (>= 6), python-support, python-all-dev,
+ libsoqt4-dev, libcoin40-dev, libsimage-dev, swig
+Standards-Version: 3.8.0
+Homepage: http://pivy.coin3d.org/
+
+Package: python-pivy
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+Description: Coin binding for Python
+ Pivy is a Coin binding for Python. Coin is a high-level 3D graphics library
+ with a C++ Application Programming Interface. Coin uses scene-graph data
+ structures to render real-time graphics suitable for mostly all kinds of
+ scientific and engineering visualization applications.
+ Pivy allows:
+ .
+ * Development of Coin applications and extensions in Python
+ * Interactive modification of Coin programs from within the
+ Python interpreter at runtime
+ * Incorporation of Scripting Nodes into the scene graph which
+ are capable of executing Python code and callbacks
--- pivy-0.3.0.orig/debian/compat
+++ pivy-0.3.0/debian/compat
@@ -0,0 +1 @@
+6
--- pivy-0.3.0.orig/debian/pyversions
+++ pivy-0.3.0/debian/pyversions
@@ -0,0 +1 @@
+2.4-
--- pivy-0.3.0.orig/debian/pycompat
+++ pivy-0.3.0/debian/pycompat
@@ -0,0 +1 @@
+2
--- pivy-0.3.0.orig/debian/docs
+++ pivy-0.3.0/debian/docs
@@ -0,0 +1,6 @@
+NEWS
+README
+HACKING
+THANKS
+docs/ruby-inventor.txt
+
--- pivy-0.3.0.orig/debian/watch
+++ pivy-0.3.0/debian/watch
@@ -0,0 +1,10 @@
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# <Webpage URL> <string match>
+http://pivy.coin3d.org/download/pivy Pivy-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/pivy-(.*)\.tar\.gz
--- pivy-0.3.0.orig/debian/copyright
+++ pivy-0.3.0/debian/copyright
@@ -0,0 +1,58 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Author: Tamer Fahmy <tamer@tammura.at>
+Packaged-By: Teemu Ikonen <tpikonen@gmail.com>
+Original-Source-Location: http://pivy.coin3d.org/download/pivy/releases/0.3.0/Pivy-0.3.0.tar.gz
+
+Files: *
+Copyright: 2002-2005 Tamer Fahmy <tamer@tammura.at>
+License: BSD-3
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+ * Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: scons/*
+Copyright: 2001, 2002, 2003, 2004 The SCons Foundation
+License: other
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: debian/*
+Copyright: 2008 Teemu Ikonen <tpikonen@gmail.com>
+License: BSD-3
-181
View File
@@ -1,181 +0,0 @@
--- pythonocc-0.2.0.orig/src/environment.py
+++ pythonocc-0.2.0/src/environment.py
@@ -68,8 +68,8 @@
SWIG_FILES_PATH_MODULAR = os.path.join(os.getcwd(),'SWIG_src_modular_linux_darwin')
os.environ['CC'] = 'g++'
os.environ['CPP'] = 'g++'
- OCC_INC = '/usr/local/inc' # Ubuntu 8.04 Hardy default installation path for headers
- OCC_LIB = '/usr/local/lib' # Ubuntu 8.04 Hardy default installation path for libraries
+ OCC_INC = '/usr/include/opencascade' # Ubuntu 8.04 Hardy default installation path for headers
+ OCC_LIB = '/usr/lib' # Ubuntu 8.04 Hardy default installation path for libraries
SALOME_GEOM_INC = os.path.join(os.getcwd(),'..','ThirdPart','SalomeGeometry','inc')
SALOME_GEOM_LIB = os.path.join(os.getcwd(),'..','ThirdPart','SalomeGeometry','win32','lib')
GCC_XML_PATH = '/usr/bin' # Ubuntu 8.04 Hardy installation path for gccxml
--- pythonocc-0.2.0.orig/src/setup.py
+++ pythonocc-0.2.0/src/setup.py
@@ -167,19 +167,19 @@
#
# OpenCascade libs
#
-libraries = ['BinLPlugin', 'BinPlugin', 'BinXCAFPlugin', 'FWOSPlugin', 'mscmd', 'PTKernel',\
+libraries = ['BinLPlugin', 'BinPlugin', 'BinXCAFPlugin', 'FWOSPlugin', 'PTKernel',\
'StdLPlugin', 'StdPlugin', 'TKAdvTools', 'TKBin', 'TKBinL', 'TKBinTObj', 'TKBinXCAF',\
- 'TKBO', 'TKBool', 'TKBRep', 'TKCAF', 'TKCDF', 'TKCDLFront', 'TKCPPClient', 'TKCPPExt',\
- 'TKCPPIntExt', 'TKCPPJini', 'TKCSFDBSchema', 'TKDCAF', 'TKDraw', 'TKernel',\
- 'TKFeat', 'TKFillet', 'TKG2d', 'TKG3d', 'TKGeomAlgo', 'TKGeomBase', 'TKHLR', 'TKIDLFront',\
+ 'TKBO', 'TKBool', 'TKBRep', 'TKCAF', 'TKCDF', \
+ 'TKernel',\
+ 'TKFeat', 'TKFillet', 'TKG2d', 'TKG3d', 'TKGeomAlgo', 'TKGeomBase', 'TKHLR',\
'TKIGES', 'TKjcas','TKLCAF', 'TKMath', 'TKMesh', 'TKMeshVS', 'TKNIS', 'TKOffset',\
'TKOpenGl', 'TKPCAF', 'TKPLCAF', 'TKPrim', 'TKPShape', 'TKService', 'TKShapeSchema',\
'TKShHealing', 'TKStdLSchema', 'TKStdSchema', 'TKSTEP', 'TKSTEP209', 'TKSTEPAttr',\
- 'TKSTEPBase', 'TKSTL', 'TKTCPPExt', 'TKTObj', 'TKTObjDRAW', 'TKTopAlgo', 'TKTopTest',\
- 'TKV2d', 'TKV3d', 'TKViewerTest', 'TKVRML', 'TKWOK', 'TKWOKTcl', 'TKXCAF', 'TKXCAFSchema',\
- 'TKXDEDRAW', 'TKXDEIGES', 'TKXDESTEP', 'TKXMesh', 'TKXml', 'TKXmlL', 'TKXmlTObj',\
- 'TKXmlXCAF', 'TKXSBase', 'TKXSDRAW', 'wokcmd', 'wokdeliverysteps', 'wokdfltsteps',\
- 'wokobjssteps', 'wokorbixsteps', 'woksteps', 'woktoolscmd', 'wokutilscmd', 'XCAFPlugin',\
+ 'TKSTEPBase', 'TKSTL', 'TKTObj', 'TKTObjDRAW', 'TKTopAlgo',\
+ 'TKV2d', 'TKV3d', 'TKVRML', 'TKXCAF', 'TKXCAFSchema',\
+ 'TKXDEIGES', 'TKXDESTEP', 'TKXMesh', 'TKXml', 'TKXmlL', 'TKXmlTObj',\
+ 'TKXmlXCAF', 'TKXSBase',\
+ 'XCAFPlugin',\
'XmlLPlugin', 'XmlPlugin', 'XmlXCAFPlugin']
# Find the lib in OCC_LIB path and add it to the LIBS list
LIBS = []
@@ -298,4 +298,4 @@
if GENERATE_SWIG:
print "%i exported classes"%SWIG_generator.nb_exported_classes
final_time = time.time()
-print final_time-init_time
\ No newline at end of file
+print final_time-init_time
--- pythonocc-0.2.0.orig/debian/changelog
+++ pythonocc-0.2.0/debian/changelog
@@ -0,0 +1,6 @@
+pythonocc (0.2.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 12 Apr 2009 14:20:27 +0100
+
--- pythonocc-0.2.0.orig/debian/rules
+++ pythonocc-0.2.0/debian/rules
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+
+CFLAGS = -Wall -g
+
+configure:
+ chmod 755 src/Display/OCCViewer.py
+ chmod 755 src/Display/wxDisplay.py
+ chmod 755 src/Display/wxSamplesGui.py
+ chmod 755 Utils/Image.py
+ chmod 644 gpl.txt
+ chmod 644 src/AUTHORS
+
+build: build-stamp
+build-stamp: configure
+ dh_testdir
+ cd src && python setup.py build
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp install-stamp
+ cd src && python setup.py clean
+ dh_clean
+ rm -rf src/build
+ rm -rf src/OCC
+ find -name '*.pyc' | xargs rm -rf
+ cd src/SWIG_src_modular_linux_darwin && find -name '*_wrap.cpp' | xargs rm -rf
+ cd src/Misc && find -name '*_wrap.cpp' | xargs rm -rf
+ cd src/Visualization && find -name '*_wrap.cpp' | xargs rm -rf
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cd src && python setup.py install --no-compile --root ../debian/python-occ
+ #dh install --after dh_installdirs
+ touch install-stamp
+
+binary-indep: build install
+ #dh binary-indep
+
+binary-arch: build install
+ #dh binary-arch
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_desktop
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_pycentral
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- pythonocc-0.2.0.orig/debian/control
+++ pythonocc-0.2.0/debian/control
@@ -0,0 +1,17 @@
+Source: pythonocc
+Section: python
+Priority: extra
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Build-Depends: debhelper (>= 6), python, python-central, python-support, swig, libopencascade-dev
+Standards-Version: 3.7.3
+XS-Python-Version: current
+Homepage: http://pythonocc.org/
+
+Package: python-occ
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Description: Python binding for OpenCASCADE
+ pythonOCC is Python binding for OpenCASCADE.
+
--- pythonocc-0.2.0.orig/debian/compat
+++ pythonocc-0.2.0/debian/compat
@@ -0,0 +1 @@
+6
--- pythonocc-0.2.0.orig/debian/pyversions
+++ pythonocc-0.2.0/debian/pyversions
@@ -0,0 +1 @@
+2.4-
--- pythonocc-0.2.0.orig/debian/pycompat
+++ pythonocc-0.2.0/debian/pycompat
@@ -0,0 +1 @@
+2
--- pythonocc-0.2.0.orig/debian/copyright
+++ pythonocc-0.2.0/debian/copyright
@@ -0,0 +1,7 @@
+Files: *
+Copyright: 2008 Thomas Paviot <thomas.paviot@free.fr>
+License: GPL-3
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
-179
View File
@@ -1,179 +0,0 @@
--- pythonocc-0.3.0.orig/src/wrapper/environment.py
+++ pythonocc-0.3.0/src/wrapper/environment.py
@@ -126,8 +126,8 @@
OCC_INC = os.path.join(OCC_ROOT,'inc')
OCC_LIB = os.path.join(OCC_ROOT,'lib')
else:
- OCC_INC = '/usr/local/inc' # Ubuntu 8.04 Hardy default installation path for headers
- OCC_LIB = '/usr/local/lib' # Ubuntu 8.04 Hardy default installation path for libraries
+ OCC_INC = '/usr/include/opencascade' # Ubuntu 8.04 Hardy default installation path for headers
+ OCC_LIB = '/usr/lib' # Ubuntu 8.04 Hardy default installation path for libraries
SALOME_GEOM_LIB = '/opt/SalomeGeometry/lib'
GCC_XML_PATH = '/usr/bin' # Ubuntu 8.04 Hardy installation path for gccxml
PYGCCXML_DEFINES = ['HAVE_CONFIG_H','HAVE_LIMITS_H','CSFDB','OCC_CONVERT_SIGNALS','LIN','LININTEL','_GNU_SOURCE=1']
--- pythonocc-0.3.0.orig/src/setup.py
+++ pythonocc-0.3.0/src/setup.py
@@ -172,18 +172,18 @@
#
# OpenCascade libs
#
-libraries = ['BinLPlugin', 'BinPlugin', 'BinXCAFPlugin', 'FWOSPlugin', 'mscmd', 'PTKernel',\
+libraries = ['BinLPlugin', 'BinPlugin', 'BinXCAFPlugin', 'FWOSPlugin', 'PTKernel',\
'StdLPlugin', 'StdPlugin', 'TKAdvTools', 'TKBin', 'TKBinL', 'TKBinTObj', 'TKBinXCAF',\
- 'TKBO', 'TKBool', 'TKBRep', 'TKCAF', 'TKCDF', 'TKCDLFront', 'TKCPPClient', 'TKCPPExt',\
- 'TKCPPIntExt', 'TKCPPJini', 'TKCSFDBSchema', 'TKDCAF', 'TKDraw', 'TKernel',\
- 'TKFeat', 'TKFillet', 'TKG2d', 'TKG3d', 'TKGeomAlgo', 'TKGeomBase', 'TKHLR', 'TKIDLFront',\
+ 'TKBO', 'TKBool', 'TKBRep', 'TKCAF', 'TKCDF',\
+ 'TKernel',\
+ 'TKFeat', 'TKFillet', 'TKG2d', 'TKG3d', 'TKGeomAlgo', 'TKGeomBase', 'TKHLR',\
'TKIGES', 'TKjcas','TKLCAF', 'TKMath', 'TKMesh', 'TKMeshVS', 'TKNIS', 'TKOffset',\
'TKOpenGl', 'TKPCAF', 'TKPLCAF', 'TKPrim', 'TKPShape', 'TKService', 'TKShapeSchema',\
'TKShHealing', 'TKStdLSchema', 'TKStdSchema', 'TKSTEP', 'TKSTEP209', 'TKSTEPAttr',\
- 'TKSTEPBase', 'TKSTL', 'TKTCPPExt', 'TKTObj', 'TKTObjDRAW', 'TKTopAlgo', 'TKTopTest',\
- 'TKV2d', 'TKV3d', 'TKViewerTest', 'TKVRML', 'TKWOK', 'TKWOKTcl', 'TKXCAF', 'TKXCAFSchema',\
- 'TKXDEDRAW', 'TKXDEIGES', 'TKXDESTEP', 'TKXMesh', 'TKXml', 'TKXmlL', 'TKXmlTObj',\
- 'TKXmlXCAF', 'TKXSBase', 'TKXSDRAW', 'XCAFPlugin',\
+ 'TKSTEPBase', 'TKSTL', 'TKTObj', 'TKTObjDRAW', 'TKTopAlgo',\
+ 'TKV2d', 'TKV3d', 'TKVRML', 'TKXCAF', 'TKXCAFSchema',\
+ 'TKXDEIGES', 'TKXDESTEP', 'TKXMesh', 'TKXml', 'TKXmlL', 'TKXmlTObj',\
+ 'TKXmlXCAF', 'TKXSBase',\
'XmlLPlugin', 'XmlPlugin', 'XmlXCAFPlugin']
# Find the lib in OCC_LIB path and add it to the LIBS list
LIBS = []
--- pythonocc-0.3.0.orig/debian/changelog
+++ pythonocc-0.3.0/debian/changelog
@@ -0,0 +1,6 @@
+pythonocc (0.3.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 24 Aug 2009 12:41:48 +0200
+
--- pythonocc-0.3.0.orig/debian/rules
+++ pythonocc-0.3.0/debian/rules
@@ -0,0 +1,80 @@
+#!/usr/bin/make -f
+
+CFLAGS = -Wall -g
+
+configure:
+ chmod 755 src/addons/Display/OCCViewer.py
+ chmod 755 src/addons/Display/wxDisplay.py
+ chmod 755 src/addons/Display/wxSamplesGui.py
+ chmod 755 src/addons/Display/wxSamplesGui2d.py
+ chmod 755 src/addons/Utils/DataExchange/STL.py
+ chmod 755 src/addons/Utils/DataExchange/STEP.py
+ chmod 755 src/addons/Utils/Common.py
+ chmod 755 src/addons/Utils/Image.py
+ #chmod 644 src/AUTHORS
+
+build: build-stamp
+build-stamp: configure
+ dh_testdir
+ cd src && python setup.py build
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp install-stamp
+ cd src && python setup.py clean
+ dh_clean
+ rm -rf src/build
+ rm -rf src/OCC
+ find -name '*.pyc' | xargs rm -rf
+ cd src/wrapper && find -name '*.pyc' | xargs rm -rf
+ cd src/wrapper/Misc && find -name '*_wrap.cpp' | xargs rm -rf
+ cd src/wrapper/SWIG/linux_darwin && find -name '*_wrap.cpp' | xargs rm -rf
+ cd src/wrapper/Visualization && find -name '*_wrap.cpp' | xargs rm -rf
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cd src && python setup.py install --no-compile --root ../debian/python-occ
+ #dh install --after dh_installdirs
+ touch install-stamp
+
+binary-indep: build install
+ #dh binary-indep
+
+binary-arch: build install
+ #dh binary-arch
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_desktop
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_pycentral
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- pythonocc-0.3.0.orig/debian/control
+++ pythonocc-0.3.0/debian/control
@@ -0,0 +1,20 @@
+Source: pythonocc
+Section: python
+Priority: extra
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Build-Depends: debhelper (>= 6), python, python-central, python-support, swig, libopencascade-dev, salomegeom-dev
+Standards-Version: 3.7.3
+XS-Python-Version: current
+Homepage: http://pythonocc.org/
+
+Package: python-occ
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Description: A framework for agile CAD development
+ PythonOCC is a Python wrapper module for the
+ OpenCascade library. It contains python functions and classes
+ that will allow you to fully utilitize the OpenCascade library.
+ This version is built against OpenCascade 6.3.0.
+
--- pythonocc-0.3.0.orig/debian/compat
+++ pythonocc-0.3.0/debian/compat
@@ -0,0 +1 @@
+6
--- pythonocc-0.3.0.orig/debian/pyversions
+++ pythonocc-0.3.0/debian/pyversions
@@ -0,0 +1 @@
+2.4-
--- pythonocc-0.3.0.orig/debian/pycompat
+++ pythonocc-0.3.0/debian/pycompat
@@ -0,0 +1 @@
+2
--- pythonocc-0.3.0.orig/debian/copyright
+++ pythonocc-0.3.0/debian/copyright
@@ -0,0 +1,7 @@
+Files: *
+Copyright: 2008 Thomas Paviot <thomas.paviot@free.fr>
+License: GPL-3
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
-299
View File
@@ -1,299 +0,0 @@
--- salomegeom-4.1.4.orig/adm/lin/Makefile.am
+++ salomegeom-4.1.4/adm/lin/Makefile.am
@@ -2,10 +2,10 @@
# geomdir = ./
# copy some files
-targetdir = $(prefix)
-dist_target_DATA = LICENCE.lgpl
+#targetdir = $(datadir)
+#dist_target_DATA = LICENCE.lgpl
-resourcedir = $(prefix)/resources
+resourcedir = $(datadir)/resources
dist_resource_DATA = $(srcdir)/resources/GUID.txt $(srcdir)/resources/ImportExport $(srcdir)/resources/Resources $(srcdir)/resources/ShHealing
@@ -16,7 +16,7 @@
AM_CPPFLAGS = -I$(CASROOT)/inc -I$(srcdir)/$(geomdir)inc/ -I$(srcdir)/$(geomdir)src/GEOMAlgo -I$(srcdir)/$(geomdir)src/BlockFix -I$(srcdir)/$(geomdir)src/GEOM -I$(srcdir)/$(geomdir)src/NMTTools -I$(srcdir)/$(geomdir)src/NMTDS
# set library names
-lib_LTLIBRARIES = libExchangeCSFDB.la libArchimede.la libNMTDS.la libNMTTools.la libGEOMAlgo.la libGEOMImpl.la libGEOM.la libExchangeBREP.la libExchangeIGES.la libExchangeSTEP.la libExchangeSTL.la libExchangeVRML.la libPartition.la libShHealOper.la libSketcher.la
+lib_LTLIBRARIES = libExchangeCSFDB.la libArchimede.la libNMTDS.la libNMTTools.la libGEOMAlgo.la libGEOM.la libShHealOper.la libExchangeBREP.la libExchangeIGES.la libExchangeSTEP.la libExchangeSTL.la libExchangeVRML.la libPartition.la libSketcher.la libGEOMImpl.la
# set global linker flags
AM_LDFLAGS = -version-info 1:0:0
@@ -24,24 +24,24 @@
uninstall-local:
-rm -rf $(DESTDIR)$(libdir)
-rm -rf $(DESTDIR)$(includedir)
- -rm -rf $(DESTDIR)$(prefix)/resources
- -rm $(DESTDIR)$(prefix)/env_geom.sh
+ -rm -rf $(DESTDIR)$(datadir)/resources
+ -rm $(DESTDIR)$(datadir)/env_geom.sh
install-exec-local:
- test -z "$(DESTDIR)$(prefix)" || $(mkdir_p) "$(DESTDIR)$(prefix)"
- @echo "#!/bin/bash" > $(DESTDIR)$(prefix)/env_geom.sh
- @echo "export GEOMROOT="$(prefix) >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "export CSF_ResourcesDefaults="$(prefix)/resources >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "if [ -z "LD_LIBRARY_PATH" ];" >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "then LD_LIBRARY_PATH="$(libdir)";" >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "else LD_LIBRARY_PATH="$(libdir)":\$$LD_LIBRARY_PATH;" >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "fi" >> $(DESTDIR)$(prefix)/env_geom.sh
- chmod a+x $(DESTDIR)$(prefix)/env_geom.sh
- test -z "$(DESTDIR)$(prefix)/resources" || $(mkdir_p) "$(DESTDIR)$(prefix)/resources"
- cp $(srcdir)/resources/GUID.txt "$(DESTDIR)$(prefix)/resources"
- cp $(srcdir)/resources/ImportExport "$(DESTDIR)$(prefix)/resources"
- cp $(srcdir)/resources/Resources "$(DESTDIR)$(prefix)/resources"
- cp $(srcdir)/resources/ShHealing "$(DESTDIR)$(prefix)/resources"
+ test -z "$(DESTDIR)$(datadir)" || $(mkdir_p) "$(DESTDIR)$(datadir)"
+ @echo "#!/bin/bash" > $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "export GEOMROOT="$(prefix) >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "export CSF_ResourcesDefaults="$(datadir)/resources >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "if [ -z "LD_LIBRARY_PATH" ];" >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "then LD_LIBRARY_PATH="$(libdir)";" >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "else LD_LIBRARY_PATH="$(libdir)":\$$LD_LIBRARY_PATH;" >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "fi" >> $(DESTDIR)$(datadir)/env_geom.sh
+ chmod a+x $(DESTDIR)$(datadir)/env_geom.sh
+ test -z "$(DESTDIR)$(datadir)/resources" || $(mkdir_p) "$(DESTDIR)$(datadir)/resources"
+ cp $(srcdir)/resources/GUID.txt "$(DESTDIR)$(datadir)/resources"
+ cp $(srcdir)/resources/ImportExport "$(DESTDIR)$(datadir)/resources"
+ cp $(srcdir)/resources/Resources "$(DESTDIR)$(datadir)/resources"
+ cp $(srcdir)/resources/ShHealing "$(DESTDIR)$(datadir)/resources"
# set ARCHIMDE sources
libArchimede_la_SOURCES = $(srcdir)/$(geomdir)src/Archimede/Archimede_VolumeSection.cpp
@@ -581,6 +581,26 @@
# libShHealOper_la_LDFLAGS = -version-info 0:0:0
# libSketcher_la_LDFLAGS = -version-info 0:0:0
+libArchimede_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKGeomAlgo -lTKGeomBase -lTKG3d -lTKMesh
+libExchangeBREP_la_LIBADD = -lTKMath -lTKernel -lTKBRep
+libExchangeCSFDB_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKPShape -lTKShapeSchema -lPTKernel
+libExchangeIGES_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKIGES
+libExchangeSTEP_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKSTEP
+libExchangeSTL_la_LIBADD = -lTKernel -lTKSTL
+libExchangeVRML_la_LIBADD = -lTKernel -lTKVRML
+libNMTDS_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBO
+libNMTTools_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBO -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKTopAlgo -lNMTDS
+libGEOMAlgo_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKBO -lTKG2d -lTKG3d -lTKGeomAlgo \
+ -lTKGeomBase -lTKTopAlgo -lTKMesh -lTKShHealing -lNMTDS -lNMTTools
+libGEOM_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKCAF -lTKCDF -lTKLCAF -lTKXSBase \
+ -lTKAdvTools -lTKG2d
+libGEOMImpl_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKTopAlgo -lTKCAF -lTKOffset -lTKPrim -lTKShHealing \
+ -lTKBool -lTKBO -lTKMesh -lTKG2d -lTKG3d -lTKFillet -lTKGeomAlgo -lTKGeomBase -lTKLCAF \
+ -lGEOMAlgo -lGEOM -lArchimede -lShHealOper -lSketcher -ldl
+libPartition_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKG2d -lTKG3d -lTKTopAlgo -lTKGeomAlgo -lTKGeomBase -lTKOffset
+libShHealOper_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKShHealing -lTKTopAlgo -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKLCAF
+libSketcher_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKTopAlgo -lTKG2d -lTKGeomAlgo
+
# include files to be copied to installdir/inc
include_HEADERS = $(srcdir)/$(geomdir)inc/Archimede_VolumeSection.hxx \
$(srcdir)/$(geomdir)inc/BlockFix_BlockFixAPI.hxx \
--- salomegeom-4.1.4.orig/debian/changelog
+++ salomegeom-4.1.4/debian/changelog
@@ -0,0 +1,6 @@
+salomegeom (4.1.4-5) unstable; urgency=low
+
+ * Initial release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 23 Aug 2009 17:12:19 +0200
+
--- salomegeom-4.1.4.orig/debian/rules
+++ salomegeom-4.1.4/debian/rules
@@ -0,0 +1,129 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+BUILD_DIR = adm/lin
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure:
+ chmod u-x resources/GUID.txt
+ chmod u-x resources/ImportExport
+ chmod u-x resources/Resources
+ chmod u-x resources/ShHealing
+ chmod u-x resources/ShHealingFullSet
+ cd $(BUILD_DIR) && \
+ autoreconf --install
+
+config.status: configure
+ dh_testdir
+# Add here commands to configure the package.
+ cd $(BUILD_DIR) && \
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr --includedir=/usr/include/salomegeom \
+ --libdir=/usr/lib --datadir=/usr/share/salomegeom \
+ LDFLAGS="-Wl,-z,defs -L/usr/lib" \
+ CXXFLAGS="$(CXXFLAGS) -I/usr/include/opencascade"
+
+build: build-links build-stamp
+
+build-links:
+ dh_testdir
+ cd $(BUILD_DIR) && \
+ ln -s ../../inc inc && \
+ ln -s ../../resources resources && \
+ ln -s ../../src src
+
+build-stamp: config.status
+ dh_testdir
+
+# Add here commands to compile the package.
+ cd $(BUILD_DIR) && $(MAKE)
+ touch $@
+
+# Add here commands to clean up after the build process.
+clean:
+ dh_testdir
+ dh_testroot
+ dh_clean
+# We always get some strange symlinks in these directories which we must remove first
+ rm -f inc/inc
+ rm -f src/src
+ rm -f resources/resources
+ rm -f build-stamp
+ cd $(BUILD_DIR) && \
+ rm -f configure && \
+ rm -f inc resources src && \
+ find -name 'Makefile.in' | xargs rm -f && \
+ find -name 'Makefile' | xargs rm -f && \
+ find -name '*.o' | xargs rm -f && \
+ find -name '*.la' | xargs rm -f && \
+ find -name '*.lo' | xargs rm -f && \
+ find -name '*.deps' | xargs rm -rf && \
+ find -name '*.libs' | xargs rm -rf && \
+ rm -f stamp-h1 aclocal.m4 config.guess config.sub depcomp install-sh && \
+ rm -f ltmain.sh missing config.log libtool && \
+ rm -f config.h config.h.in config.status && \
+ rm -rf build-aux autom4te.cache
+
+install: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# Add here commands to install the package into debian/salomegeom.
+ cd $(BUILD_DIR) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/salomegeom
+
+# install the core system
+ dh_install -psalomegeom debian/tmp/salomegeom/usr/share/* usr/share/
+ dh_install -psalomegeom debian/tmp/salomegeom/usr/lib/lib*.so.* usr/lib
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.so usr/lib
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.la usr/lib
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.a usr/lib
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/include/* usr/include
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_desktop
+# dh_installinfo
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+
--- salomegeom-4.1.4.orig/debian/control
+++ salomegeom-4.1.4/debian/control
@@ -0,0 +1,26 @@
+Source: salomegeom
+Section: libs
+Priority: extra
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Build-Depends: cdbs, debhelper (>= 5), libopencascade-dev
+Standards-Version: 3.7.3
+
+Package: salomegeom
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: SALOME Geometry Module
+ A complete OpenCascade - OCAF based CAD framework.Note that this is not
+ the original SALOME GEOM project but an effort to create a standalone
+ framework based on the existing one from SALOME project, with the
+ addition of extra functionality.
+
+Package: salomegeom-dev
+Architecture: any
+Section: libdevel
+Depends: salomegeom (>= ${source:Version})
+Description: SALOME Geometry Module development files
+ A complete OpenCascade - OCAF based CAD framework.Note that this is not
+ the original SALOME GEOM project but an effort to create a standalone
+ framework based on the existing one from SALOME project, with the
+ addition of extra functionality.
+
--- salomegeom-4.1.4.orig/debian/compat
+++ salomegeom-4.1.4/debian/compat
@@ -0,0 +1 @@
+5
--- salomegeom-4.1.4.orig/debian/README.Debian
+++ salomegeom-4.1.4/debian/README.Debian
@@ -0,0 +1,6 @@
+salomegeom for Debian
+---------------------
+
+- First Debian package for SalomeGeom.
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 23 Aug 2009 17:12:19 +0200
--- salomegeom-4.1.4.orig/debian/docs
+++ salomegeom-4.1.4/debian/docs
@@ -0,0 +1 @@
+README.LINUX
--- salomegeom-4.1.4.orig/debian/copyright
+++ salomegeom-4.1.4/debian/copyright
@@ -0,0 +1,16 @@
+This package was debianized by Werner Mayer <wmayer@users.sourceforge.net> on
+Sun, 23 Aug 2009 17:12:19 +0200.
+
+It was downloaded from http://surfnet.dl.sourceforge.net/project/salomegeometry/salomegeometry/4.1.4_v5/geom-4.1.4.5.tar.gz
+
+Upstream Author:
+ Fotis Sioutis <sfotis@users.sourceforge.net>
+
+Copyright:
+ Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+ CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+
+License: LGPL-2.1
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
-307
View File
@@ -1,307 +0,0 @@
--- salomegeom-5.1.1.orig/adm/lin/Makefile.am
+++ salomegeom-5.1.1/adm/lin/Makefile.am
@@ -2,10 +2,10 @@
# geomdir = ./
# copy some files
-targetdir = $(prefix)
-dist_target_DATA = LICENCE.lgpl
+#targetdir = $(datadir)
+#dist_target_DATA = LICENCE.lgpl
-resourcedir = $(prefix)/resources
+resourcedir = $(datadir)/resources
dist_resource_DATA = $(srcdir)/resources/GUID.txt $(srcdir)/resources/ImportExport $(srcdir)/resources/Resources $(srcdir)/resources/ShHealing
@@ -16,7 +16,7 @@
AM_CPPFLAGS = -I$(CASROOT)/inc -I$(srcdir)/$(geomdir)inc/ -I$(srcdir)/$(geomdir)src/GEOMAlgo -I$(srcdir)/$(geomdir)src/BlockFix -I$(srcdir)/$(geomdir)src/GEOM -I$(srcdir)/$(geomdir)src/NMTTools -I$(srcdir)/$(geomdir)src/NMTDS
# set library names
-lib_LTLIBRARIES = libExchangeCSFDB.la libArchimede.la libNMTDS.la libNMTTools.la libGEOMAlgo.la libGEOMImpl.la libGEOM.la libExchangeBREP.la libExchangeIGES.la libExchangeSTEP.la libExchangeSTL.la libExchangeVRML.la libPartition.la libShHealOper.la libSketcher.la
+lib_LTLIBRARIES = libExchangeCSFDB.la libArchimede.la libNMTDS.la libNMTTools.la libGEOMAlgo.la libGEOM.la libShHealOper.la libExchangeBREP.la libExchangeIGES.la libExchangeSTEP.la libExchangeSTL.la libExchangeVRML.la libPartition.la libSketcher.la libGEOMImpl.la
# set global linker flags
AM_LDFLAGS = -version-info 1:0:0
@@ -24,24 +24,24 @@
uninstall-local:
-rm -rf $(DESTDIR)$(libdir)
-rm -rf $(DESTDIR)$(includedir)
- -rm -rf $(DESTDIR)$(prefix)/resources
- -rm $(DESTDIR)$(prefix)/env_geom.sh
+ -rm -rf $(DESTDIR)$(datadir)/resources
+ -rm $(DESTDIR)$(datadir)/env_geom.sh
install-exec-local:
- test -z "$(DESTDIR)$(prefix)" || $(mkdir_p) "$(DESTDIR)$(prefix)"
- @echo "#!/bin/bash" > $(DESTDIR)$(prefix)/env_geom.sh
- @echo "export GEOMROOT="$(prefix) >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "export CSF_ResourcesDefaults="$(prefix)/resources >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "if [ -z "LD_LIBRARY_PATH" ];" >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "then LD_LIBRARY_PATH="$(libdir)";" >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "else LD_LIBRARY_PATH="$(libdir)":\$$LD_LIBRARY_PATH;" >> $(DESTDIR)$(prefix)/env_geom.sh
- @echo "fi" >> $(DESTDIR)$(prefix)/env_geom.sh
- chmod a+x $(DESTDIR)$(prefix)/env_geom.sh
- test -z "$(DESTDIR)$(prefix)/resources" || $(mkdir_p) "$(DESTDIR)$(prefix)/resources"
- cp $(srcdir)/resources/GUID.txt "$(DESTDIR)$(prefix)/resources"
- cp $(srcdir)/resources/ImportExport "$(DESTDIR)$(prefix)/resources"
- cp $(srcdir)/resources/Resources "$(DESTDIR)$(prefix)/resources"
- cp $(srcdir)/resources/ShHealing "$(DESTDIR)$(prefix)/resources"
+ test -z "$(DESTDIR)$(datadir)" || $(mkdir_p) "$(DESTDIR)$(datadir)"
+ @echo "#!/bin/bash" > $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "export GEOMROOT="$(prefix) >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "export CSF_ResourcesDefaults="$(datadir)/resources >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "if [ -z "LD_LIBRARY_PATH" ];" >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "then LD_LIBRARY_PATH="$(libdir)";" >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "else LD_LIBRARY_PATH="$(libdir)":\$$LD_LIBRARY_PATH;" >> $(DESTDIR)$(datadir)/env_geom.sh
+ @echo "fi" >> $(DESTDIR)$(datadir)/env_geom.sh
+ chmod a+x $(DESTDIR)$(datadir)/env_geom.sh
+ test -z "$(DESTDIR)$(datadir)/resources" || $(mkdir_p) "$(DESTDIR)$(datadir)/resources"
+ cp $(srcdir)/resources/GUID.txt "$(DESTDIR)$(datadir)/resources"
+ cp $(srcdir)/resources/ImportExport "$(DESTDIR)$(datadir)/resources"
+ cp $(srcdir)/resources/Resources "$(DESTDIR)$(datadir)/resources"
+ cp $(srcdir)/resources/ShHealing "$(DESTDIR)$(datadir)/resources"
# set ARCHIMDE sources
libArchimede_la_SOURCES = $(srcdir)/$(geomdir)src/Archimede/Archimede_VolumeSection.cpp
@@ -582,6 +582,26 @@
# libShHealOper_la_LDFLAGS = -version-info 0:0:0
# libSketcher_la_LDFLAGS = -version-info 0:0:0
+libArchimede_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKGeomAlgo -lTKGeomBase -lTKG3d -lTKMesh
+libExchangeBREP_la_LIBADD = -lTKMath -lTKernel -lTKBRep
+libExchangeCSFDB_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKPShape -lTKShapeSchema -lPTKernel
+libExchangeIGES_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKIGES
+libExchangeSTEP_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKSTEP
+libExchangeSTL_la_LIBADD = -lTKernel -lTKSTL
+libExchangeVRML_la_LIBADD = -lTKernel -lTKVRML
+libNMTDS_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBO
+libNMTTools_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBO -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKTopAlgo -lNMTDS
+libGEOMAlgo_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKBO -lTKG2d -lTKG3d -lTKGeomAlgo \
+ -lTKGeomBase -lTKTopAlgo -lTKMesh -lTKShHealing -lNMTDS -lNMTTools
+libGEOM_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKCAF -lTKCDF -lTKLCAF -lTKXSBase \
+ -lTKAdvTools -lTKG2d
+libGEOMImpl_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKTopAlgo -lTKCAF -lTKOffset -lTKPrim -lTKShHealing \
+ -lTKBool -lTKBO -lTKMesh -lTKG2d -lTKG3d -lTKFillet -lTKGeomAlgo -lTKGeomBase -lTKLCAF \
+ -lGEOMAlgo -lGEOM -lArchimede -lShHealOper -lSketcher -ldl
+libPartition_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKG2d -lTKG3d -lTKTopAlgo -lTKGeomAlgo -lTKGeomBase -lTKOffset
+libShHealOper_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKShHealing -lTKTopAlgo -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKLCAF
+libSketcher_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKTopAlgo -lTKG2d -lTKGeomAlgo
+
# include files to be copied to installdir/inc
include_HEADERS = $(srcdir)/$(geomdir)inc/Archimede_VolumeSection.hxx \
$(srcdir)/$(geomdir)inc/BlockFix_BlockFixAPI.hxx \
@@ -921,7 +941,6 @@
$(srcdir)/$(geomdir)inc/ShHealOper_RemoveInternalWires.hxx \
$(srcdir)/$(geomdir)inc/ShHealOper_Sewing.hxx \
$(srcdir)/$(geomdir)inc/ShHealOper_ShapeProcess.hxx \
-$(srcdir)/$(geomdir)inc/ShHealOper_SpiltCurve2d.hxx \
$(srcdir)/$(geomdir)inc/ShHealOper_SplitCurve2d.hxx \
$(srcdir)/$(geomdir)inc/ShHealOper_SplitCurve3d.hxx \
$(srcdir)/$(geomdir)inc/ShHealOper_Tool.hxx \
--- salomegeom-5.1.1.orig/debian/changelog
+++ salomegeom-5.1.1/debian/changelog
@@ -0,0 +1,6 @@
+salomegeom (5.1.1-6) unstable; urgency=low
+
+ * Initial release
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 23 Aug 2009 17:12:19 +0200
+
--- salomegeom-5.1.1.orig/debian/rules
+++ salomegeom-5.1.1/debian/rules
@@ -0,0 +1,129 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+BUILD_DIR = adm/lin
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure:
+ chmod u-x resources/GUID.txt
+ chmod u-x resources/ImportExport
+ chmod u-x resources/Resources
+ chmod u-x resources/ShHealing
+ chmod u-x resources/ShHealingFullSet
+ cd $(BUILD_DIR) && \
+ autoreconf --install
+
+config.status: configure
+ dh_testdir
+# Add here commands to configure the package.
+ cd $(BUILD_DIR) && \
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr --includedir=/usr/include/salomegeom \
+ --libdir=/usr/lib --datadir=/usr/share/salomegeom \
+ LDFLAGS="-Wl,-z,defs -L/usr/lib" \
+ CXXFLAGS="$(CXXFLAGS) -I/usr/include/opencascade"
+
+build: build-links build-stamp
+
+build-links:
+ dh_testdir
+ cd $(BUILD_DIR) && \
+ ln -s ../../inc inc && \
+ ln -s ../../resources resources && \
+ ln -s ../../src src
+
+build-stamp: config.status
+ dh_testdir
+
+# Add here commands to compile the package.
+ cd $(BUILD_DIR) && $(MAKE)
+ touch $@
+
+# Add here commands to clean up after the build process.
+clean:
+ dh_testdir
+ dh_testroot
+ dh_clean
+# We always get some strange symlinks in these directories which we must remove first
+ rm -f inc/inc
+ rm -f src/src
+ rm -f resources/resources
+ rm -f build-stamp
+ cd $(BUILD_DIR) && \
+ rm -f configure && \
+ rm -f inc resources src && \
+ find -name 'Makefile.in' | xargs rm -f && \
+ find -name 'Makefile' | xargs rm -f && \
+ find -name '*.o' | xargs rm -f && \
+ find -name '*.la' | xargs rm -f && \
+ find -name '*.lo' | xargs rm -f && \
+ find -name '*.deps' | xargs rm -rf && \
+ find -name '*.libs' | xargs rm -rf && \
+ rm -f stamp-h1 aclocal.m4 config.guess config.sub depcomp install-sh && \
+ rm -f ltmain.sh missing config.log libtool && \
+ rm -f config.h config.h.in config.status && \
+ rm -rf build-aux autom4te.cache
+
+install: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# Add here commands to install the package into debian/salomegeom.
+ cd $(BUILD_DIR) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/salomegeom
+
+# install the core system
+ dh_install -psalomegeom debian/tmp/salomegeom/usr/share/* usr/share/
+ dh_install -psalomegeom debian/tmp/salomegeom/usr/lib/lib*.so.* usr/lib
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.so usr/lib
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.la usr/lib
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.a usr/lib
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/include/* usr/include
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_desktop
+# dh_installinfo
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+
--- salomegeom-5.1.1.orig/debian/control
+++ salomegeom-5.1.1/debian/control
@@ -0,0 +1,26 @@
+Source: salomegeom
+Section: libs
+Priority: extra
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
+Build-Depends: cdbs, debhelper (>= 5), libopencascade-dev
+Standards-Version: 3.7.3
+
+Package: salomegeom
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: SALOME Geometry Module
+ A complete OpenCascade - OCAF based CAD framework.Note that this is not
+ the original SALOME GEOM project but an effort to create a standalone
+ framework based on the existing one from SALOME project, with the
+ addition of extra functionality.
+
+Package: salomegeom-dev
+Architecture: any
+Section: libdevel
+Depends: salomegeom (>= ${source:Version})
+Description: SALOME Geometry Module development files
+ A complete OpenCascade - OCAF based CAD framework.Note that this is not
+ the original SALOME GEOM project but an effort to create a standalone
+ framework based on the existing one from SALOME project, with the
+ addition of extra functionality.
+
--- salomegeom-5.1.1.orig/debian/compat
+++ salomegeom-5.1.1/debian/compat
@@ -0,0 +1 @@
+5
--- salomegeom-5.1.1.orig/debian/README.Debian
+++ salomegeom-5.1.1/debian/README.Debian
@@ -0,0 +1,6 @@
+salomegeom for Debian
+---------------------
+
+- First Debian package for SalomeGeom.
+
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 23 Aug 2009 17:12:19 +0200
--- salomegeom-5.1.1.orig/debian/docs
+++ salomegeom-5.1.1/debian/docs
@@ -0,0 +1 @@
+README.LINUX
--- salomegeom-5.1.1.orig/debian/copyright
+++ salomegeom-5.1.1/debian/copyright
@@ -0,0 +1,16 @@
+This package was debianized by Werner Mayer <wmayer@users.sourceforge.net> on
+Sun, 23 Aug 2009 17:12:19 +0200.
+
+It was downloaded from https://salomegeometry.svn.sourceforge.net/svnroot/salomegeometry/tags/5.1.1_v6
+
+Upstream Author:
+ Fotis Sioutis <sfotis@users.sourceforge.net>
+
+Copyright:
+ Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+ CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+
+License: LGPL-2.1
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
-7
View File
@@ -1,7 +0,0 @@
usr/share/icons/hicolor/16x16/apps
usr/share/icons/hicolor/32x32/apps
usr/share/icons/hicolor/48x48/apps
usr/share/icons/hicolor/64x64/apps
usr/share/icons/hicolor/scalable/apps
usr/share/icons/hicolor/64x64/mimetypes
-15
View File
@@ -1,15 +0,0 @@
Document: freecad-development-documentation
Title: FreeCAD development documentation
Author: FreeCAD developers
Abstract: FreeCAD is a general purpose Open Source 3D
CAD/MCAD/CAx/CAE/PLM modeler, aimed directly at mechanical engineering
and product design but also fits in a wider range of uses around
engineering, such as architecture or other engineering specialties.
It is a feature-based parametric modeler with a modular software
architecture which makes it easy to provide additional functionality
without modifying the core system.
Section: Science/Engineering
Format: HTML
Index: /usr/share/doc/freecad-doc/Start_Page.html
Files: /usr/share/doc/freecad-doc/*.q*
-1
View File
@@ -1 +0,0 @@
debian/tmp/usr/lib/freecad/doc/*

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