Compare commits

...

1899 Commits

Author SHA1 Message Date
wmayer f25e6e4716 0001714: FreeCAD 0.14 Stable crashes when importing a step model 2014-09-02 11:43:51 +02:00
wmayer 3ecaf8778d - fix focus issue with InputField
- on document load set camera setting of the MDI views
- do not try to use framebuffer objects when it's not supported on the system
0001690: sketch.getPoint crashes FreeCAD if the point does not exist
0001630: IGES-Export in [mm] turns to [Inches]
0001684: Sweep ignores the list of subshapes
0001667: 'Save file' disabled when viewing a drawing
0001682: Crash after updating editable texts in drawing
0001659: 3dconnexion space navigator moves view even when FreeCAD is not the active application
0001696: Quantity.getValueAs('rad') touches the Property
0001638: Not possible to draw anything
2014-08-28 15:27:35 +02:00
Yorik van Havre c6edd47334 Updated version number in makedist.py script 2014-07-14 12:42:02 -03:00
Yorik van Havre b3368125c6 Draft: Array tool now prints commands in the python console 2014-07-13 12:33:02 -03:00
wmayer 32f5aae0a6 + fix crash when trying to edit broken revolve object 2014-07-13 11:51:30 +02:00
wmayer 3dbcf24d71 + fix crash when trying to edit broken revolve object 2014-07-13 11:51:14 +02:00
Yorik van Havre a3a6ec2184 Draft: Further fix in text encodings 2014-07-11 18:05:33 -03:00
Yorik van Havre e46ec63540 Merge branch 'releases/FreeCAD-0-14' of ssh://git.code.sf.net/p/free-cad/code into releases/FreeCAD-0-14 2014-07-11 18:05:09 -03:00
Yorik van Havre df36b5d22d Draft: Fixed escape() bug in Draft GUI 2014-07-11 11:57:00 -03:00
Yorik van Havre 3d70df7745 Draft - fixed some text encodings in dimensions 2014-07-11 11:56:03 -03:00
wmayer 52561adbd8 + fix Part.makeTube 2014-07-08 12:30:05 +02:00
Yorik van Havre d802958860 Draft: Fixed escape() bug in Draft GUI 2014-07-08 12:28:50 +02:00
wmayer e517e3b634 + update NSIS installer 2014-07-05 15:46:20 +02:00
Yorik van Havre 5fe6e0c48f Draft: fix in angular dimension 2014-07-04 10:23:31 +02:00
Sebastian Hoogen 691fd11286 Raise exception if the OpenSCAD executeable is unavailable 2014-07-01 12:32:05 +02:00
Sebastian Hoogen 5374302e93 Add default for path to OpenSCAD on Mac OS X 2014-07-01 12:32:04 +02:00
wmayer b83f07fe2e + workaround for issue with group separator 2014-07-01 12:22:24 +02:00
wmayer e8724884d0 + add further log messages at startup for better troubleshooting, fix possible crash, fix typos 2014-07-01 11:03:55 +02:00
Yorik van Havre f40d4ac65b Arch: disabled buggy wall auto-corners function 2014-06-30 22:16:34 -03:00
wmayer 17c99eb6b0 + update ReadMe and ChangeLog 2014-06-30 13:51:10 +02:00
wmayer 63aed855ab + improve error handling when rendering a raytracing project 2014-06-27 11:58:56 +02:00
wmayer 2def3c03b8 + update x64 installer 2014-06-25 18:56:50 +02:00
Sebastian Hoogen 382e055e9b + fixes #0001579: exportCSG.shape2polyhedron supplies wrong parameters to mesher 2014-06-25 14:14:30 +02:00
Keith Sloan 4ce8a93ad7 Correction to use Value to convert units to mm from any 2014-06-25 14:14:29 +02:00
wmayer ef08a61a4d + fixes #0001354: Crash on using Enter-Key for confirmation of chamfer or fillet entries 2014-06-24 10:18:58 +02:00
wmayer e036460635 + fixes #0001565: Images in the 3D plane are not shown after opening a project 2014-06-23 14:02:26 +02:00
Yorik van Havre b08e5dec7c Arch: small fix in section planes 2014-06-21 18:57:14 -03:00
Yorik van Havre 13e006cf35 Arch: added an option to section planes to allow non-solids to be cut too 2014-06-21 11:59:33 -03:00
wmayer 07c64e206d + encode CR and LF for XML 2014-06-14 18:04:19 +02:00
wmayer bfae053eb4 + fix a couple of issues with InputField used in property editor 2014-06-14 16:22:56 +02:00
wmayer 00e041ffb3 + fixes #0001580: Adding transparency to povray output 2014-06-14 14:19:29 +02:00
wmayer 3523741e96 + make POV-Ray renderer working on Windows 2014-06-14 13:26:25 +02:00
wmayer d101c64635 + replace 'Platform' with 'Word size' 2014-06-13 18:37:15 +02:00
Yorik van Havre b0c157a5ea Draft: better method for DraftGeomUtils.isPtOnEdge 2014-06-11 10:37:48 -03:00
Yorik van Havre 57999cb78d Arch: More minor fixes 2014-06-10 23:13:23 -03:00
Yorik van Havre 7e20c0c01c Arch: Small cosmetic fix 2014-06-10 22:51:04 -03:00
Sebastian Hoogen 830ab19393 improvements to exportDRAWEXE
bugfix for mirroring
add support for Draft Wire
move sweep export to function
add support for Draft circle
2014-06-10 10:36:09 -03:00
Sebastian Hoogen 7ab2f4fe1f use compounds for unknown shape types
in OpenSCADUtils.applyPlacement
2014-06-10 10:36:09 -03:00
Sebastian Hoogen fc31b3179a remove unused tokens in importCSG 2014-06-10 10:36:08 -03:00
Yorik van Havre 4e595bd7bb Draft: Renamed Layer to VisGroup 2014-06-10 10:21:01 -03:00
wmayer 2320e994b3 + fix possible crash in InputField::selectNumber 2014-06-10 14:10:36 +02:00
wmayer 82b8df576d + select value in task pad panel 2014-06-10 12:33:56 +02:00
wmayer 30e8c12f54 + fixes #0001562: Add units to Fillet and Chamfer in PartDesign 2014-06-10 12:33:14 +02:00
wmayer 8923810e1d + fixes #0001562: Add units to Fillet and Chamfer in PartDesign 2014-06-10 12:32:57 +02:00
wmayer f867733499 + restore selected numbers in input field after showing it, select numbers if widget gets focus by Tab/Backtab/Shortcut 2014-06-10 11:34:23 +02:00
Yorik van Havre 39e412da56 Arch: Bugfixing and cleaning in IFC export, support of Spaces 2014-06-08 21:11:20 -03:00
Yorik van Havre 24f83252a6 Draft: Allow snapping to the center of ellipses 2014-06-08 19:36:59 -03:00
wmayer 32f509cba1 + do not close placement dialog if an error occured when pressing OK 2014-06-07 20:14:00 +02:00
Yorik van Havre 92a565f6ac Arch: Misc fixes
* Allow to export subtractions as separate elements in IFC
* Fixed Survey tool
* Removed unused Arch preferences
2014-06-07 12:09:58 -03:00
wmayer 39bda90514 + change comment 2014-06-07 10:56:45 +02:00
Abdullah Tahiri 63ab2d7f12 Fixed Datum Filter showing Named non-datum variables 2014-06-07 10:50:14 +02:00
wmayer f0bd78bee9 + fix issue with default value and unit in InputField 2014-06-06 16:17:47 +02:00
wmayer 2fcce866a7 + change order of tangent and coincident constraints of slot 2014-06-06 00:33:56 +02:00
wmayer dfda6704d7 + abort slot creation in error case 2014-06-06 00:08:26 +02:00
wmayer c07358073a + whitespace improvements 2014-06-05 23:24:59 +02:00
wmayer 8dbbdd3dd8 + fix path separator issue in widget factory 2014-06-04 13:28:33 +02:00
wmayer 409285d53f + optimize creation of hexagonal sketch profile, add icon 2014-06-04 12:05:41 +02:00
wmayer 5917d21395 + implement hexagon sketch 2014-06-03 14:54:27 +02:00
wmayer c05801d6ed + fixes for sketcher 2014-06-03 11:24:49 +02:00
Yorik van Havre 6a212b32f6 Draft: Clones are now 2D if made from a 2D object 2014-06-02 11:23:39 -03:00
Yorik van Havre f2cb5394e1 Draft: small fix in DXF importer 2014-06-02 11:08:49 -03:00
wmayer c31b661004 + fixes #0001569: Bounding Box of Mesh::Feature in the Gui does not respect the Placement 2014-06-02 13:06:14 +02:00
wmayer 3291233012 + Support .qss file extension for style sheets 2014-06-02 12:26:25 +02:00
Yorik van Havre 5424ad1d6a Arch: Support for extruded curves in IFC export 2014-06-01 21:45:48 -03:00
Sam Nelson 2724242f38 Moved Fortran compiler check to work with either gcc or clang compilation 2014-06-01 11:17:14 +02:00
wmayer 52c385003f + optimization for icon retrieval in InputField 2014-05-30 12:56:26 +02:00
Sebastian Hoogen 4c48bdf216 remove DRAWEXE exporter form release 2014-05-25 16:07:02 -03:00
Yorik van Havre 940f7e69ba Updated translations 2014-05-24 17:35:20 -03:00
wmayer 0acb77e8de + add missing header 2014-05-24 17:10:17 +02:00
wmayer 51b2af52fd + allow to select whole wire in sweep panel 2014-05-24 15:33:23 +02:00
Yorik van Havre ce3a503bd6 Small fix in offline doc tools 2014-05-23 19:45:56 -03:00
wmayer 91ad22e3ab + allow to select whole wire in sweep panel 2014-05-23 19:27:14 +02:00
Yorik van Havre 2313c5d757 Removed text 'Development version' from splashscreen 2014-05-22 15:27:17 -03:00
Yorik van Havre 887bf86ad7 Updated offline doc files 2014-05-22 15:22:46 -03:00
Yorik van Havre 42d9f1ecab Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-05-21 18:10:59 -03:00
Yorik van Havre 0a71f4a8a7 Arch: Added default pref settings for stairs 2014-05-21 18:10:33 -03:00
Johannes Reinhardt 4a6449d2bd deactivate commands in Arch if no document is open 2014-05-21 17:09:02 +02:00
Johannes Reinhardt 6f09d262d7 simplified IsActive method for commands 2014-05-21 17:08:47 +02:00
Yorik van Havre e587fe2dba Arch: Tesselation of curved brep faces in IFC export 2014-05-20 17:38:13 -03:00
corey625 c6d9c3789a + fixes #0000970: IDF import skips first hole 2014-05-20 17:27:35 +02:00
wmayer 17b7003ea7 + fixes #0001549: crash with Draft move tool while sketch is in edit mode 2014-05-20 15:25:03 +02:00
Yorik van Havre 581d88485d Arch: Better output messages if the shape of an arch object is invalid 2014-05-19 17:51:19 -03:00
wmayer a871364066 + replace degree symbol with 'deg' to make sure it works on all systems, force to use right codec to display floating numbers 2014-05-19 20:56:23 +02:00
WandererFan 5d2c285785 Add UNITS to Part Primitive Gui 2014-05-19 20:34:10 +02:00
Peter Lama d95068a6a2 fixes #0001556: About dialog font size is smaller on Mac 2014-05-19 18:44:59 +02:00
Sebastian Hoogen bff814b73a support Part::Compound in OpenSCADCommands.ExplodeGroup 2014-05-18 21:13:29 -03:00
Sebastian Hoogen 941fc5c992 + fixes #0001543: OpenSCAD.RefineShape Features breaks Placement for 'faces' 2014-05-18 21:13:29 -03:00
Sebastian Hoogen 27a2e52d66 + fixes #0001537: python function to apply a placement to a shape 2014-05-18 21:13:29 -03:00
Sebastian Hoogen bddb6f9099 added support for Part::Sweep in exportDRAWEXE 2014-05-18 21:13:29 -03:00
Yorik van Havre 2e24d5b122 Arch: Added ellipses support to IFC export 2014-05-18 15:16:03 -03:00
Yorik van Havre 19440ceae0 Arch: Small fix in windows 2014-05-18 14:38:00 -03:00
Yorik van Havre 7e898c0336 Draft: Fixed offset of wires containing arcs 2014-05-17 18:58:21 -03:00
wmayer 81bfcc8717 + fix issues with angle constraints 2014-05-17 18:27:56 +02:00
Yorik van Havre da4f1bda47 Draft: Used replace strategy in latin1 encodings - issue #853 2014-05-17 12:32:04 -03:00
Yorik van Havre 293930bdf8 Arch: Using 2D coordinates for polylines in IFC export 2014-05-17 11:56:09 -03:00
Yorik van Havre 44e354bfdd Arch: stronger handling of errors in IFC export 2014-05-16 21:30:00 -03:00
Yorik van Havre 4906d8965f Draft: Workaround ghost errors in move tool 2014-05-16 18:44:02 -03:00
Johannes Reinhardt 8c40c6d372 Changed povray, Povray and PovRay to POV-Ray 2014-05-16 19:46:11 +02:00
Johannes Reinhardt 641a2a75bf fix typos in Sketcher 2014-05-16 19:27:13 +02:00
Johannes Reinhardt c0d74422f4 fix typos in Robot module 2014-05-16 19:26:49 +02:00
Johannes Reinhardt 95dd0cc5a1 fix typos in PartDesign module 2014-05-16 19:26:29 +02:00
Johannes Reinhardt a1d04d82fb fixed typos in Part module 2014-05-16 19:26:06 +02:00
Johannes Reinhardt 7b41bdfe4f fix typos and links in StartPage module 2014-05-16 19:25:41 +02:00
Johannes Reinhardt af964f8509 fix typos in Mesh module 2014-05-16 19:25:11 +02:00
Johannes Reinhardt a4cc793c4c fix typos in OpenSCAD workbench 2014-05-16 19:24:49 +02:00
Johannes Reinhardt 604c556b85 Change "making" to "creating"
This avoids a double entendre in "making faces" and keeps consistency.
2014-05-16 19:24:21 +02:00
Johannes Reinhardt 8edff98505 fixed some obvious typos 2014-05-16 19:23:39 +02:00
wmayer 624537e5b6 + do not accept objects with no sub-elements selected if this is required 2014-05-16 19:09:15 +02:00
wmayer 0b7b0ecc21 + whitespace improvements 2014-05-16 17:17:10 +02:00
wmayer 007bcbdc7f + fix crash in CmdSketcherMapSketch 2014-05-16 15:34:26 +02:00
wmayer d85f442089 + add InputField to widget plugin 2014-05-15 18:10:26 +02:00
wmayer 037eb8eee3 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-05-15 12:38:09 +02:00
wmayer 318c4b6ce9 + fixes #0001547: add Part Spiral to the selectable list of profiles for a Part Loft 2014-05-15 12:37:39 +02:00
Stefan Tröger 8106f8437c fix sketcher arrow size and make them independend from window size 2014-05-14 22:43:31 +02:00
wmayer f9ff3b250e + fixes #0001544: Python function to retrive direct children of a shape using TopoDS_Iterator 2014-05-14 18:14:06 +02:00
wmayer 65071e1684 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-05-14 15:47:40 +02:00
wmayer 9e5ed987cc + fixes #0001542: 4 empty / blank buttons - Customize / Toolbars Tab / Move buttons (right,left,up,down) missing icons 2014-05-14 15:46:52 +02:00
Yorik van Havre 757c7ab33e Draft: Fixed task dialog error 2014-05-14 10:42:31 -03:00
wmayer f7a42f25b9 + extend makeFilledFace 2014-05-14 13:18:23 +02:00
jmaustpc 5c8ff0bf6c Part primitives dialogue minor typo and tab stops
change the u and v parameter’s label
from "parametric" to "parameter"
also
add tabstops in DlgPrimitives.ui
to correct the order of tab stops
for torus, Helix and spiral
input fields
2014-05-14 15:04:40 +10:00
Yorik van Havre 6ec53ed397 Arch: fix in IFC export or circles 2014-05-13 18:17:09 -03:00
wmayer 1fbfa1c17a + fix crash in SoBrepEdgeSet::renderSelection 2014-05-13 19:12:10 +02:00
Stefan Tröger e451efd9c4 fix inverted sketcher font-size issue and make font size undependend of window size 2014-05-13 18:20:38 +02:00
wmayer c212e75fcc + allow to always run macros, fix disappearing grid in sketcher 2014-05-13 16:20:51 +02:00
wmayer 0874bfac75 + path selection on sweep panel 2014-05-13 14:35:48 +02:00
Yorik van Havre a2243e9fb5 Draft: enabled double-click on dimensions 2014-05-12 21:54:51 -03:00
Yorik van Havre 8d16e0e0a3 Arch: Fixed some bugs in IFC export 2014-05-12 19:52:25 -03:00
wmayer 066fbfda0a + avoid unncessary calls of setSampleBuffer 2014-05-12 18:53:21 +02:00
Johannes Reinhardt 2b28d41134 fixed a few small typos 2014-05-12 14:32:27 +02:00
wmayer a96d5ba382 + fix broken connection of signal/slot in placement dialog 2014-05-12 14:27:47 +02:00
wmayer 30e5321e76 + fix whitespaces and a few minor things 2014-05-12 14:14:23 +02:00
wmayer f1762edd6c + workaround to avoid to create invalid code with moc 2014-05-12 13:39:57 +02:00
Stefan Tröger 21b019fd24 ensure that the placement values are used with every relevant decimal from the property editor 2014-05-12 09:40:16 +02:00
Stefan Tröger 8ff14c8fdb port the placement dialog to the inputfield 2014-05-12 09:40:16 +02:00
Stefan Tröger 9f7c784437 add inputfield to placement in property editor 2014-05-12 09:40:15 +02:00
Stefan Tröger 58a781e5c4 add inputfield to property editor for PropertyQuantity and PropertyQuantityConstraint 2014-05-12 09:40:14 +02:00
Yorik van Havre ec442507e1 Updated ts files 2014-05-11 14:49:24 -03:00
Yorik van Havre 2798de1afa Arch: Big cleanup - fixes #1524
* Removed redundant code in Arch objects
* Supports wandererfan's Units code in Draft module
* Cleanup of the IFC exporter
* Better support of extruded profiles in IFC export
2014-05-11 14:40:39 -03:00
wmayer 068452f0ac + add '_' as prefix for PartDesign module to fix name clash 2014-05-10 14:12:25 +02:00
wmayer 6b89c03181 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
WandererFan 33a4b6d7ba fixes #1319
allow Part.makeHelix to use 'vertical height' parm
correct lefthanded conical helixes in TopoShape::makeHelix
2014-05-10 11:05:52 +02:00
Yorik van Havre 392cf965af Draft: small improvements to units system in dimensions 2014-05-09 17:47:08 -03:00
wmayer a5efc53bfc + fix transparency issue, disable sample buffers when using front buffer 2014-05-09 19:20:30 +02:00
wmayer 320fabfc98 + whitespace improvements 2014-05-09 12:18:58 +02:00
wmayer c5299ed75c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-05-09 11:30:11 +02:00
Stefan Tröger 571b6391ee Add multisampling anti-aliasing 2014-05-09 11:24:38 +02:00
Yorik van Havre 1fffc978b4 Draft: small fix to units parsing - issue #1524 2014-05-08 16:15:52 -03:00
Jose Luis Cercos-Pita cea686b7d6 Updated the example ships 2014-05-08 19:00:27 +02:00
Jose Luis Cercos-Pita a8d9bde258 Removed drawing capabilities (which are covered by another module) 2014-05-08 19:00:27 +02:00
Jose Luis Cercos-Pita a212cab150 Fixed table point manual set 2014-05-08 19:00:26 +02:00
wmayer 9321f662a9 + fixes #0001536: Feature.Placement.Rotation.isNull() touches the Feature 2014-05-08 18:52:08 +02:00
wmayer d907d372a4 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-05-08 17:32:37 +02:00
wmayer 0467777d1b + remove unneeded semicolons 2014-05-08 17:32:23 +02:00
wmayer 6d17bbb7f6 + fixes #0001535: Remove conflict between min/max macros and std::min/max 2014-05-08 17:30:23 +02:00
Yorik van Havre 9cd2c750db Draft: Fixed inverted arcs in DXF output - fixes #1513 2014-05-08 12:29:15 -03:00
Yorik van Havre 8e1ebcd6fb Draft: issue #1524 - Added Wandererfan's fix to displayExternal 2014-05-08 10:49:10 -03:00
Yorik van Havre 96bba087eb Draft: Filling objects with faces is now optional - fixes #1395
Closable Draft objects now have a new MakeFace property, that specifies
if they must be turned into a face or stay a wire only. Older Draft
objects continue to behave the old way for compatibility. The default
behaviour can be set in Draft Preferences -> Fill objects with faces
2014-05-07 19:03:00 -03:00
Yorik van Havre 78a36e4e9a Draft: supported comma as decimals separator 2014-05-07 17:26:31 -03:00
WandererFan f37a15c1af issue #1524 UNITS for Draft Dimension 2014-05-07 11:13:34 -03:00
WandererFan dea3fa6c66 issue #1524 Add UNITS to Draft Shapestring 2014-05-07 11:13:34 -03:00
wmayer 3b5cdda879 + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +02:00
wmayer 94f10f5d95 + issue #0001419: FreeCAD crash on Windows 8.1. 2014-05-05 22:24:16 +02:00
wmayer ea5a4570fd + Fix DLL warning with MSVC 2014-05-05 18:59:21 +02:00
wmayer 2d4110b0f3 + Better support of clang, fix issues discovered by clang 2014-05-05 18:25:59 +02:00
wmayer 3b6d07833d + compile with clang 2014-05-05 16:24:01 +02:00
WandererFan 213a09c163 issue #1524 - Units in Draft Gui
- basic working version for points,radii entry
 - logic added to Trimex, Offset, Rotate
2014-05-05 07:49:01 -04:00
Yorik van Havre 5c01cf0a89 Arch: Fixed OBJ exporter to work with curves - fixes #1527 2014-05-04 13:04:52 -03:00
wmayer cb720fae50 + fixes #0001517: Problem with constraint menu not displaying properly if moved (overwrites the background) 2014-05-03 23:39:04 +02:00
blobfish adda1afc4c Part: Check Geometry: Config option for new, additional BOP check 2014-05-03 19:14:55 +02:00
Yorik van Havre 9238d8ff43 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-05-03 13:01:09 -03:00
Yorik van Havre 32d7839da4 Draft: use latin1 in texts if coin < 4 - issue #1404 2014-05-03 13:00:44 -03:00
wmayer fb8e794fc3 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-05-03 17:59:48 +02:00
wmayer c3b1c9ec56 + fixes #0001522: SIGSEGV, crashes on long script (500 Lines) 2014-05-03 17:58:57 +02:00
Yorik van Havre e0e6f9bf2e Draft: Fixed radius and offset numeric values - fixes #1530 2014-05-03 12:37:46 -03:00
Yorik van Havre e2650dc341 Draft: Turned the tray tools into a toolbar 2014-05-03 12:32:39 -03:00
Jose Luis Cercos-Pita 052999e94a Improved the icon 2014-05-03 16:10:17 +02:00
Jose Luis Cercos-Pita 8fff477f16 Removed tank unused instance 2014-05-03 16:10:16 +02:00
Jose Luis Cercos-Pita 6094db62f2 Cleared unused tools 2014-05-03 16:10:15 +02:00
Jose Luis Cercos-Pita 12198fcf52 Cleared unused OpenCL stuff 2014-05-03 16:10:14 +02:00
Jose Luis Cercos-Pita 97e1c00c58 Cleared old hydrostatics icons 2014-05-03 16:10:13 +02:00
Jose Luis Cercos-Pita f99b67f11c Fixed units usage 2014-05-03 16:10:13 +02:00
Jose Luis Cercos-Pita 2f22ac7816 Fixed bad equation close position 2014-05-03 16:10:12 +02:00
Jose Luis Cercos-Pita fa9f40e9b3 Cleared some debug info 2014-05-03 16:10:11 +02:00
Jose Luis Cercos-Pita 751f40c493 Fixed PySide pitfall 2014-05-03 16:10:11 +02:00
Jose Luis Cercos-Pita e7c3e264ff Updated the hydrostatics tool 2014-05-03 16:10:10 +02:00
Jose Luis Cercos-Pita 1801857108 Updated the resources 2014-05-03 16:10:09 +02:00
Jose Luis Cercos-Pita ec14ccb252 Created an hydrostatics tool icon (svg format) 2014-05-03 16:10:09 +02:00
Jose Luis Cercos-Pita 67d10aa23b Removed Simulation icons 2014-05-03 16:10:08 +02:00
wmayer 133ff86c67 + Fix Mingw specific warning 2014-05-03 16:00:31 +02:00
wmayer f614ede1a3 + Fix Mingw specific warning 2014-05-03 16:00:31 +02:00
mdinger 337f05d56e Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer 0eb6acdc1c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-05-03 14:06:48 +02:00
wmayer 05dac2eeb3 + Exception handling in _BSpline.execute 2014-05-03 14:06:14 +02:00
Yorik van Havre 90f2fc2034 Arch: Turned jreinhardt's fix to webGL into an option 2014-05-02 17:20:17 -03:00
wmayer 07f3f8257b + Remove external geometry when changing support face 2014-05-02 12:03:52 +02:00
wmayer ec7573da42 Reorient sketch loses constraints (fix from chrisf) 2014-05-01 18:04:33 +02:00
wmayer a17116f465 + Add action to modify current item in constraint view 2014-05-01 16:12:03 +02:00
wmayer 3f9640908b + Add context-menu to constraint view for renaming and deleting items, fix edit mode 2014-05-01 15:36:52 +02:00
wmayer 9622b98de9 + Fix name clash of PDB files 2014-05-01 14:14:59 +02:00
Sebastian Hoogen 8dca9210d8 use transformShape for uniform scaling in Draft._Clone Feature 2014-05-01 11:59:56 +02:00
Sebastian Hoogen 49de4f6760 add support for Draft.Clone in exportDRAWEXE
use pscale for uniform scaling of clone object
2014-05-01 11:59:41 +02:00
wmayer 66de74d14a + Remove redefinition of /EHa which causes warnings with QtCreator 2014-04-30 19:21:49 +02:00
wmayer 7be7310eb1 + fix PCH to work again with QtCreator 2014-04-30 19:04:32 +02:00
wmayer 1a7cea9b59 + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
wmayer 7d42748082 + Fix PCH issue with VS 2014-04-30 14:07:27 +02:00
mdinger f890d1d1cb Fix precompiled header build error 2014-04-30 13:41:19 +02:00
mdinger 8df9289d07 Add runtime location linux will use 2014-04-30 13:41:18 +02:00
mdinger 1f7743ad98 Disable null prefix on certain FreeCAD* targets 2014-04-30 13:41:18 +02:00
mdinger 5fbc308ce4 Comment to document why this module alone is installed differently 2014-04-30 13:41:17 +02:00
mdinger 88a3e5bf0e Add 4th optional parameter to set linux install path 2014-04-30 13:41:17 +02:00
mdinger a17cce3559 Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger 6accb6da54 Remove extra parameter. Fix FreeCAD* names. 2014-04-30 13:41:15 +02:00
mdinger cb849b7f16 Macro now takes 2 parameters with a optional 3rd. Fixes linux prefix and part design install path. 2014-04-30 13:41:14 +02:00
mdinger ed8ba118ea Send FreeCAD bins and libs to correct locations 2014-04-30 13:41:14 +02:00
mdinger 1942bb7906 Apply SET_BIN_DIR macro to Mod 2014-04-30 13:41:13 +02:00
mdinger 085736095e Insert SET_BIN_DIR macro everywhere except Mod 2014-04-30 13:41:12 +02:00
mdinger d137a9ef05 Make macro to set bin directory. Apply to ANN, Pivy, and solomesmesh. 2014-04-30 13:41:11 +02:00
Johannes Reinhardt 1479765154 fix export of circular edges 2014-04-29 16:00:42 -03:00
Johannes Reinhardt 30ef37715f added webGL export option for faceloop linewidth 2014-04-29 16:00:42 -03:00
Yorik van Havre 5229e5461a Draft: support for multiline dim texts in svg 2014-04-29 09:41:04 -03:00
Cercos-Pita J.L 7dc6f0ee2d Cleared the simulations stuff 2014-04-29 09:50:04 +02:00
Cercos-Pita J.L e0706a0a82 Fixed the Units usage 2014-04-28 16:48:41 +02:00
Cercos-Pita J.L fcfac342f2 Fixed the Units usage 2014-04-28 16:43:10 +02:00
Cercos-Pita J.L 493d1cc48b Set the ship values in meters 2014-04-28 16:20:51 +02:00
jriegel 93fc937bd1 Close window interface in Plot 2014-04-27 18:12:02 +02:00
Yorik van Havre c64b169164 Arch: fixed importWebGL to work from command line 2014-04-27 10:49:46 -03:00
Yorik van Havre ccde13acd9 Arch: allow to set a custom camera position in webgl export 2014-04-27 00:00:10 -03:00
Yorik van Havre 710882d2a4 Arch: Place polylines in the XY plane by default in IFC export 2014-04-26 13:37:31 -03:00
Yorik van Havre 8f469bfd03 Arch: made importWebGL easier to use in python scripts 2014-04-26 13:09:43 -03:00
wmayer 3ceb840f5d + put fillet, chamfer, array features into the same group 2014-04-25 19:42:35 +02:00
wmayer 8e6773d74d + use term 'word size' in About dialog 2014-04-25 18:48:43 +02:00
wmayer 5370e20ce8 + fixes #0001514: Padding a sketch inside a group fails with error message 2014-04-25 17:28:32 +02:00
wmayer 321063bb9c + Get program arguments as unicode string under Windows 2014-04-25 15:28:20 +02:00
wmayer b7ff37e53d + Update check states in fillet dialog 2014-04-25 11:45:39 +02:00
wmayer 3ab43ee426 + Replace 'Platform' with 'Program type' to avoid confusion with the OS platform type 2014-04-25 11:16:46 +02:00
WandererFan 62f00095cd Issue #1508 Solid tickBox for Part.Revolution
Creates Solid for closed Edges & Wires
2014-04-25 10:07:21 +02:00
Yorik van Havre 8ff9fb9db9 Arch: added pref setting to disable aggregation of windows into their host walls 2014-04-24 20:44:59 -03:00
Yorik van Havre 79efe68e25 Arch: changed download folder to use the macros folder pref setting 2014-04-24 18:53:06 -03:00
wmayer db72aa2a98 + Improve performance when selecting all edges of an edited fillet feature 2014-04-24 22:29:07 +02:00
wmayer 573c1abb29 + Improve performance when deselecting all edges of an edited fillet feature 2014-04-24 17:30:58 +02:00
wmayer d8dba90ab4 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-04-24 13:30:09 +02:00
wmayer 96f366671b + improve performance of editing fillet feature (patch from chrisf) 2014-04-24 13:29:25 +02:00
Yorik van Havre ac2963de4e Draft: small change in Dan's tesselation code 2014-04-23 19:43:00 -03:00
Daniel Falck 91ab4c340a adding tessellation to ellipses and adding a user parameter for line
segment length of ellipses and splines with a Shape2DView projection.
This will make it useful for DXF output.
2014-04-23 19:39:57 -03:00
Daniel Falck 4d2d7b65ae forgot to add include file for this 2014-04-23 19:39:57 -03:00
Daniel Falck 3abe4d460d had trouble rebasing so added tanderson's commits by copy paste method 2014-04-23 19:39:57 -03:00
Yorik van Havre 3387992358 Arch: Added alternative to export multi-solids objects to IFC 2014-04-23 17:20:57 -03:00
Yorik van Havre dcc81c513d Arch: Support of circle-based extrusions in IFC export 2014-04-23 15:51:59 -03:00
wmayer a31ce8e386 + fixes #0001512: After trying to set a bad value, the pad editor does not show 2014-04-23 17:10:28 +02:00
wmayer dd9f4dffe8 + Option to build release version with debug information 2014-04-22 12:47:14 +02:00
Yorik van Havre cd7c1f2307 Arch: Better sticking to standards in IFC import/export 2014-04-21 23:06:44 -03:00
wmayer 8609337d6f + remove word 'mesh' where not needed in build options 2014-04-21 19:30:37 +02:00
Yorik van Havre 321706c0d3 Arch: Allow to skip entities in IFC importer
import importIFC
importIFC.open("/path/to/myfile.ifc",skip=[14,577,5447])
2014-04-20 21:46:50 -03:00
Yorik van Havre cbb2add6a0 Arch: more exceptions catched in IFC importer 2014-04-20 19:55:53 -03:00
Yorik van Havre 96967a5162 Draft: further fix for utf8 texts - issue #1404 2014-04-19 13:26:24 -03:00
Yorik van Havre e2b24d8606 Draft: DXF in/out now supports Draft Layers - fixes #1504 2014-04-17 19:02:57 -03:00
Yorik van Havre 6f896d8f22 Draft: Added Layer tool - issue #1504 2014-04-17 18:18:51 -03:00
Yorik van Havre 70df8540a7 Arch: IFC importer now supports latest IfcOpenShell with separate openings and placements 2014-04-17 12:02:45 -03:00
WandererFan ef8bae9ab7 Correct handling of rotated base shape. 2014-04-17 10:03:33 +02:00
jriegel 55d0ad5c5c Some fixes for ProfileLib 2014-04-17 06:33:58 +02:00
jriegel 2a950d66ea Add some error reporting for python GuiCommands 2014-04-17 06:33:58 +02:00
jriegel 280448e01c Fix unit error checking in InputField 2014-04-17 06:33:57 +02:00
jriegel faf406fa2b fix wrong cursor icon in Slot 2014-04-17 06:33:57 +02:00
jriegel 39f7353663 Implement Constraint creation on Slot 2014-04-17 06:33:57 +02:00
Yorik van Havre 39d065717c Arch: Better IFC export of walls 2014-04-16 18:43:01 -03:00
Yorik van Havre 5d5ed949c6 Arch: Added pref options for window transparency and collada export scaling - fixes #1379 2014-04-16 17:21:21 -03:00
Yorik van Havre dfe1c84796 Arch: Fixed face normals in IFC export 2014-04-16 16:36:52 -03:00
Yorik van Havre 8fdd04928e Rebuilt the Qt documentation from the current wiki 2014-04-16 15:49:44 -03:00
Yorik van Havre f5627b33b2 Draft: Switching to Units system 2014-04-16 15:35:03 -03:00
Yorik van Havre 97663851ec Arch: Fixed in IFC import 2014-04-16 10:56:46 -03:00
wmayer 61919e89ab + implement input validator for range checking 2014-04-16 12:03:18 +02:00
jriegel 9c07f81240 Start profile lib in sketcher 2014-04-16 07:49:09 +02:00
jriegel 1f0d427ed3 further implementing slot 2014-04-16 07:49:09 +02:00
Yorik van Havre 2fa481379f Spreadsheet: removed automatic updating and added a compute button 2014-04-15 18:47:37 -03:00
jriegel aa5a2e1b3f New Unit-Schema ImperialDecimal 2014-04-15 18:25:00 +02:00
WandererFan 79b8e07338 Fix Mantis #1500 for Draft Ellipse,Shape2DView 2014-04-15 10:55:04 -03:00
Yorik van Havre c1978ec97c Draft: small fix in dimensions 2014-04-15 10:34:45 -03:00
jriegel 87bed7d5c4 start slot draw handler for Sketcher 2014-04-15 07:00:17 +02:00
jriegel ca642bb546 InputField for Grid-Size in Sketcher 2014-04-15 07:00:16 +02:00
Yorik van Havre 79181ad877 Arch: small fixes 2014-04-14 21:19:47 -03:00
Yorik van Havre 5b020cb374 Spreadsheet: Small fixes and enabled double-click 2014-04-14 21:18:30 -03:00
Yorik van Havre 07172e9aaf Used disable color instead of dark color for invisible tree items 2014-04-14 21:17:29 -03:00
Yorik van Havre 1a11636eb9 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-04-14 13:30:13 -03:00
Yorik van Havre 0d7d568600 Draft: refinements in Arch & Draft Drawing views 2014-04-14 13:29:55 -03:00
wmayer 384778e2db Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-04-14 18:15:27 +02:00
wmayer f3b150c3ea + improve whitespaces 2014-04-14 17:14:26 +02:00
Sebastian Hoogen 9b554cb910 add icon OpenSCAD_IncreaseToleranceFeature 2014-04-14 11:59:01 -03:00
Sebastian Hoogen cbc19a5197 Allow selection of two objects for OpenSCAD.replaceobject 2014-04-14 11:59:01 -03:00
Sebastian Hoogen c860ccaf05 Proof of Concept for an exporter to DRAWEXE commands
support for  MultiCommon and Part::MultiFuse
support Torus and Mirroring
added angle properties to sphere, cone and torus
reduce multi booleans starting from the beginning
save shapes without placement
save floats with higher precsion
shorten numbers
non-uniform scaling
support Part::Prism
2014-04-14 11:59:01 -03:00
Yorik van Havre 0a51595fe2 Arch: small bugfix in Add tool 2014-04-14 11:58:33 -03:00
WandererFan d13946da11 Add function to Close Part.Loft (Gui & scripting) 2014-04-14 16:30:56 +02:00
jriegel 9a52d06dd5 Merge branch 'origin/master' 2014-04-14 06:44:59 +02:00
jriegel 432b224e03 Make InputField obey Minimum/Maximum property 2014-04-14 03:29:44 +02:00
jriegel 2bf7083db4 fix FEM result dialog 2014-04-14 03:17:37 +02:00
Yorik van Havre fd993d2422 Draft: fixing a bug in Downgrade tool 2014-04-13 16:43:03 -03:00
Yorik van Havre 6113d15058 Draft: fixing bugs in opening older files 2014-04-13 16:36:53 -03:00
jriegel a988ead620 Fix in color calculation 2014-04-13 18:03:04 +02:00
jriegel eadc02d65d some fixes in Fem 2014-04-13 16:42:41 +02:00
wmayer e34c0f6734 + fixes #0001505: Fix multiple bugs in Idf.py 2014-04-13 16:34:14 +02:00
wmayer be8c5938de + fixes #0001505: Fix multiple bugs in Idf.py 2014-04-13 13:55:33 +02:00
Yorik van Havre 082aec2e6b Arch: Fixed IFC importer to work with latest IfcOpenShell version 2014-04-12 20:43:23 -03:00
Yorik van Havre 1b08c704ea Further adjustments in offline doc tools 2014-04-11 18:21:29 -03:00
Yorik van Havre 56935813e5 Arch: fixed bug when using the IFC importer twice 2014-04-11 15:35:57 -03:00
Yorik van Havre dc0bbee020 More cleaning in offline doc scripts 2014-04-08 16:09:37 -03:00
Yorik van Havre 162b82016d Housecleaning in offline docs scripts 2014-04-08 12:44:53 -03:00
wmayer 31ec4c8ffb + disable to set PYTHONPATH by default 2014-04-08 17:03:31 +02:00
wmayer 78b24c9ba7 + fixes# 0001502: crash when using 'move' tool in part workbench 2014-04-08 13:59:22 +02:00
wmayer 95bda08764 + fix crash when closing sketch while external geometry handler is still active 2014-04-08 12:07:03 +02:00
wmayer 6eee3c6146 + fix minor issues with graph export 2014-04-07 19:38:54 +02:00
Yorik van Havre 2845505c9f Draft: preparing for units support 2014-04-07 12:17:48 -03:00
wmayer f62ff52302 + fixes #0001501: Add Ability to Export Dependency Graph as SVG and PNG 2014-04-07 14:26:43 +02:00
wmayer 397ee6edde + avoid to build Material target all the time 2014-04-07 12:01:55 +02:00
Yorik van Havre 29b7ed3632 Arch: Switched structure and window to Units system 2014-04-06 18:47:46 -03:00
Yorik van Havre 4e656dd5d5 Draft: added getShapes() function to DXF import
You can now use importDXF.getShapes(filename) to get a list
of shapes from a DXF file
2014-04-06 13:04:47 -03:00
wmayer 00d3a5d619 + fix build failure, fix warning 2014-04-06 10:23:17 +02:00
wmayer b5b6d49d2e + restore arrow cursor when mouse moves into empty area in 3d view 2014-04-05 19:57:40 +02:00
wmayer a1e049bc8a + extend Python API of selection gate 2014-04-03 13:57:57 +02:00
wmayer 982a555dcb + code cleanup 2014-04-03 10:23:57 +02:00
wmayer c332b3294e + Re-enable Mefisto for MSVC 2014-04-03 10:23:30 +02:00
wmayer f2a922bdf2 + implement key up/down for input field, fix wheel event 2014-04-02 12:22:28 +02:00
wmayer 25d0242f97 + fixes #0001497: Implement getCameraOrientation similarly to getViewDirection 2014-04-02 11:40:36 +02:00
wmayer 8c91a78703 + fix bug in spiral creation 2014-04-02 10:46:13 +02:00
Yorik van Havre 8a14564883 Draft: Fixes from wandererfan 2014-04-01 19:23:31 -03:00
wmayer 7b07bdfe10 + Add CountEdges to Python interface of Mesh class 2014-04-01 17:27:33 +02:00
wmayer 37cc136310 + do meshing of shapes in parallel 2014-04-01 16:38:44 +02:00
wmayer a0c8dc7466 + use Quantity type as QVariant, add quantity property to InputField and implement a PySide converter 2014-04-01 15:43:40 +02:00
Yorik van Havre 2d724365cf Arch: cosmetic improvements in wall and prefs 2014-03-31 16:25:41 -03:00
Yorik van Havre 57a6b82d50 Arch: fixed a text in Arch preferences 2014-03-31 15:44:46 -03:00
Yorik van Havre 10a4fc090c Arch: Converted wall tool to units system 2014-03-31 15:40:52 -03:00
wmayer e47b85994c + fix possible crashes in mirror and polar pattern feature 2014-03-31 16:35:22 +02:00
wmayer aaeba38e78 + Fix crash when editing the linear pattern feature, suppress some warnings in release mode 2014-03-31 14:42:55 +02:00
Yorik van Havre fabe39b976 Draft: fixes in offset 2014-03-29 19:39:11 -03:00
Yorik van Havre 0087cfeccb Spreadsheet: Allow to control sketches datum values 2014-03-29 18:38:33 -03:00
Yorik van Havre cdc516a7da Spreadsheet: small fix 2014-03-29 16:49:06 -03:00
Yorik van Havre 924392346b Spreadsheet: property controller - fixes #926
Added a new object and tool called property controller, which
must be added to a spreadsheet and gives the value of a cell to
a property of an object.
2014-03-29 16:16:04 -03:00
Yorik van Havre 749a8fa1d6 Draft - enabled utf8 in coin3d and svg - relates to issue #1404 2014-03-29 14:31:45 -03:00
wmayer 8693bfab1a + remove plus sign 2014-03-29 13:19:48 +01:00
Barleyman e1b5f91378 Update Idf.py
Fixes from bug 1366 http://www.freecadweb.org/tracker/view.php?id=1366
2014-03-29 13:08:22 +01:00
wmayer 69044c6bcd Merge branch 'patch-1' of https://github.com/Barleyman/FreeCAD_sf_master 2014-03-29 13:00:41 +01:00
Marcus Brinkmann 08c36cf752 Find Coin3 header files on Fedora. 2014-03-29 12:42:28 +01:00
wmayer f255948f1e + fixes: #0001475: Implement a 3 point arc similar to solidworks in sketcher (mdinger) 2014-03-29 12:20:32 +01:00
wmayer ce7a3ecaa2 + fixes #0001490: Implement a perimeter circle (3 point circle) similar to solidworks in sketcher (mdinger) 2014-03-29 12:03:17 +01:00
wmayer 9c806a427c + minor change in Vector2D 2014-03-29 11:57:58 +01:00
wmayer 79c0e0bd2a + fix typos or documentation 2014-03-29 11:46:07 +01:00
wmayer 5a8770553f + Re-insert workbench box in Complete due to weird behaviour on some systems 2014-03-29 09:53:26 +01:00
WandererFan d68ea73879 Fixes to PathArray
- missing refresh() in DraftTools
- handle case where Base obj has non-trivial Placement
- copy Base obj format to PathArray object
2014-03-28 22:54:33 -03:00
Yorik van Havre 08d2121334 Arch: Axis-bbased structural systems are now a separate object - fixes #1486 2014-03-28 18:31:22 -03:00
Yorik van Havre 4f008b36f8 Arch: Added a pref option to export everything as Brep in IFC files 2014-03-27 18:55:55 -03:00
Yorik van Havre e429b31acb Arch: Fixed toolbar mode - fixes #1473 2014-03-27 17:18:14 -03:00
Yorik van Havre ebb921d60a Draft: Downgrade now splits multi-solid compounds into individual solids 2014-03-27 16:22:49 -03:00
Yorik van Havre f9e26ee53c Draft: Small fix in patterns 2014-03-27 11:52:07 -03:00
wmayer 6d53d9d50c + allow to set deflection of a mesh with exportStl 2014-03-27 10:41:25 +01:00
Barleyman d40d5a3ee3 Update Idf.py
Fixes for bugs 0001491, 0001492, 0001493
2014-03-25 17:07:20 +02:00
wmayer 9414c938c6 + Make extrude again working for shapes without wires but edges 2014-03-25 10:16:50 +01:00
wmayer 12277cccf2 + Fix reference leak in _getSupportIndex 2014-03-25 10:15:54 +01:00
jriegel dc6eeb10a6 fix load of BDF with element number bigger 1000000 2014-03-24 21:12:21 +01:00
Yorik van Havre 4bf2f92d70 Draft: small fix to Draft Clone
If scale is (1,1,1), matrix transform is no longer applied
2014-03-24 13:22:08 -03:00
Yorik van Havre e293d61d54 Draft: Added Ulrichs patch to fix Draft-Drawing projections - fixes #1376 2014-03-23 17:28:17 -03:00
Yorik van Havre 3e80fa3d88 Fixes Draft encoding bug - fixes #1487 2014-03-22 13:25:59 -03:00
wmayer 225184270a + set correct group information to pad and pocket properties 2014-03-21 15:18:26 +01:00
wmayer 2bfb120ff7 + fixes #0001484: Do not sort properties in alphabetical order 2014-03-21 15:04:35 +01:00
wmayer 1c9c0d2e20 + Apply patch on DocumentObject.py (http://forum.freecadweb.org/viewtopic.php?f=22&t=6128) 2014-03-21 09:53:22 +01:00
Peter Lama 72314b1b57 fixes #0001485: 'About FreeCAD' disappears on Mac OS X 2014-03-20 16:47:35 -07:00
wmayer ca6d372025 + fixes #0001479: 'Escape' key dismissing dialog cancels Sketch editing 2014-03-18 14:18:55 +01:00
wmayer 498032f958 + fixes #0001480: Crash when editing sketch with Pad hidden 2014-03-18 13:14:04 +01:00
wmayer 490f041717 + fixes #0001477: Spaceball becomes uncontrollable for large FreeCAD Documnets on X11 (spacenav) 2014-03-18 11:27:52 +01:00
wmayer 85bf3ab9f4 + make sure to keep the same order of lines inside a line set as the edge order 2014-03-18 11:11:08 +01:00
wmayer e1bba45f4c + use more speaking variable names 2014-03-18 10:59:20 +01:00
wmayer 6e4bac95ca + use more speaking variable names 2014-03-18 08:15:21 +01:00
WandererFan 13cdc443fa Improve geom creation, scaling and translation 2014-03-18 07:57:44 +01:00
wmayer c700d9d368 + fix displacement of bounding box 2014-03-17 10:56:38 +01:00
wmayer 13cdc1cd39 + issue #0001475: Implement a 3 point arc similar to solidworks in sketcher 2014-03-17 09:41:51 +01:00
wmayer a7aca65e77 + issue #0001475: Implement a 3 point arc similar to solidworks in sketcher 2014-03-17 09:37:56 +01:00
wmayer d1341f36f7 + issue #0001475: Implement a 3 point arc similar to solidworks in sketcher 2014-03-16 16:03:32 +01:00
wmayer 35b10d68aa + issue #0001475: Implement a 3 point arc similar to solidworks in sketcher 2014-03-16 13:29:44 +01:00
wmayer cb04827d94 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-16 11:23:16 +01:00
wmayer 4fe3348e46 + fixes #0001332: Allow copy-paste on elements in Project tree 2014-03-16 11:22:42 +01:00
wmayer 4c23af2695 + undo bad fix and add a comment 2014-03-16 00:25:56 +01:00
wmayer 3ea41ff0c9 + fixes #0000844: Cannot use edge hidden by sketch axis as external geometry 2014-03-15 19:53:14 +01:00
wmayer e6bd7e8de3 + fixes #0001188: Change the word 'datum' as the label for the entry field for arcs and circles. 2014-03-15 17:11:44 +01:00
wmayer 7bc6e74115 + ignore v/h axes and grid of sketcher on view fit 2014-03-15 16:08:24 +01:00
wmayer 01123ba30d + fixes #0001399: Only build Salome Mesh when necessary 2014-03-15 14:02:35 +01:00
wmayer 66819d9dfb + allow to use copy() method for a null shape 2014-03-15 13:05:06 +01:00
wmayer ea4abcb57a + issue #0001475: Implement a 3 point arc similar to solidworks in sketcher 2014-03-15 12:50:24 +01:00
wmayer 23462b70d1 + fix some issues 2014-03-15 12:36:07 +01:00
wmayer b7cb49c3e3 + issue #0001474: crash selecting constraint 2014-03-15 11:32:03 +01:00
wmayer 599331ef11 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-14 19:39:33 +01:00
wmayer 06239e9a57 + fixes #0001049: Sketcher preferences in preferences editor 2014-03-14 19:39:11 +01:00
Yorik van Havre f4bb393f0e Arch: Fixed null shape copy() bugs 2014-03-14 12:55:11 -03:00
wmayer f0b54d3ee5 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-14 15:29:26 +01:00
wmayer bea4c44240 + sketcher settings 2014-03-14 15:29:00 +01:00
Yorik van Havre 476b701396 Draft: Reorganized DXF preferences - fixes #1468 2014-03-13 14:09:16 -03:00
wmayer 2aa2cb3fa6 + fixes #0001063: Show a PropertyLink in Property view 2014-03-13 14:28:53 +01:00
wmayer ded5d43428 + polish x64 installer 2014-03-13 09:48:21 +01:00
wmayer 0fe987750b + polish x64 installer 2014-03-12 23:04:36 +01:00
wmayer cd03973a9b Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-12 18:38:20 +01:00
wmayer f96fbcacbe + fixes #0001412: Extruding sketch doesn't make a solid 2014-03-12 18:37:49 +01:00
Yorik van Havre 23c44905fe Draft: added a continue button to the Point tool - fixes #1386 2014-03-12 12:16:44 -03:00
Sebastian Hoogen 9d93ad760e issue 0001469: OpenSCAD import more than one dxf layer
with the same name

remove all imported dxf geometry
change dxf import object naming to avoid conflicts with group names
2014-03-12 15:03:45 +01:00
wmayer 8b901df068 + drag and drop on tree widget 2014-03-12 14:38:00 +01:00
wmayer 2db31c97ec + switch off mouse propagation of OpenGL widget 2014-03-12 14:01:35 +01:00
wmayer f70f74c26d + clarify documentation of class DockWindowManager 2014-03-12 12:33:25 +01:00
wmayer 289d06bf8e Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-11 19:28:18 +01:00
wmayer f80419ad3f + Avoid cyclic dependency of tree items 2014-03-11 19:27:46 +01:00
Yorik van Havre 798acd63d4 Fixed other typo 2014-03-11 14:44:37 -03:00
Yorik van Havre 1532ac44d3 Fixed typo 2014-03-11 13:41:53 -03:00
wmayer fb8b88773a + fixes #0001058: Add items to Fusion by dragging item onto it 2014-03-11 17:37:36 +01:00
wmayer 38d55b540e + Start drag and drop of view providers 2014-03-11 17:36:17 +01:00
wmayer 1818d375c6 + fixes #0001357: Freecad fails when sketch being deleted 2014-03-11 10:27:55 +01:00
Yorik van Havre 39a6b17036 Draft: bug in DXF export - fixes #1440 2014-03-10 22:36:37 -03:00
Yorik van Havre 3a8d83bed9 Updated ts files from source 2014-03-10 20:36:59 -03:00
Yorik van Havre 8fd3207765 Updated updatets.py script with Draft changes 2014-03-10 20:36:12 -03:00
wmayer 7e9e416c6c + polish x64 installer 2014-03-11 00:23:26 +01:00
wmayer e45dab501c + fix minor issues in NSIS script 2014-03-10 23:36:53 +01:00
wmayer 0528c2f8f3 + change copyright notice 2014-03-10 23:13:42 +01:00
wmayer 7176c0d9e2 + minor fixes on x86 installer, new x64 installer 2014-03-10 23:09:36 +01:00
wmayer 1dd0f5af35 + fix minor issues in NSIS script 2014-03-10 21:48:57 +01:00
wmayer b9f284cb42 + fixes #0001131: Crash when trying to edit sketch 2014-03-10 17:16:47 +01:00
wmayer ea9bc3a9f9 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-10 13:36:16 +01:00
wmayer e7b44d2866 + fixes #0001339: Crash when giving sketch with external geometry a new support (face) after the original support was deleted 2014-03-10 13:35:41 +01:00
Yorik van Havre 664c50b6b6 Spreadsheet: small bugfixes 2014-03-09 22:13:15 -03:00
Yorik van Havre eed8ec27df Arch: Don't create a drawing view on section plane creation
This was very heavy and often caused unnecessary computations. Adding
a new Drawing view is now done manually, with the Draft to Drawing tool
2014-03-09 19:44:36 -03:00
Yorik van Havre 6441ca3ef1 Start: minor text correction 2014-03-09 18:50:13 -03:00
Yorik van Havre 274dc09248 Draft: Small fix in hatch patterns 2014-03-09 18:49:35 -03:00
wmayer 0513cf06d3 + issue #0001049: Sketcher preferences in preferences editor 2014-03-09 21:44:37 +01:00
wmayer f0a49e27ae Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-09 20:10:12 +01:00
wmayer b68bb653c8 + fixes #0001393: Allow the user to set desired font size in pixels (used by sketcher constraints) in preferences 2014-03-09 18:29:26 +01:00
Yorik van Havre f0701e6c69 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-09 14:09:38 -03:00
Yorik van Havre bf98d138f2 Start: Fixes in css - issue #1017 2014-03-09 14:07:58 -03:00
wmayer 2aaa63c5eb + move sketcher related settings into own page 2014-03-09 18:07:46 +01:00
wmayer 0bcd95416a + fixes #0001039: Add the property PropertyBoolList 2014-03-09 17:10:11 +01:00
wmayer 7430d7d11b + fixes #0001309: Revise Mouse Dialog Edit->Preferences->Display->CAD Navigation->[Mouse] 2014-03-09 15:36:33 +01:00
wmayer 064b5f851c + issue #0000953: No scroll bar on preferences dialog window 2014-03-09 15:04:44 +01:00
wmayer cea0daa5e6 + issue #0000953: No scroll bar on preferences dialog window 2014-03-09 13:03:49 +01:00
wmayer 53816ba779 + fix typo, fixes #0001310: Amend tooltip for Sketcher symmetry constraint 2014-03-09 11:17:33 +01:00
wmayer 947a030e37 + fixes #0001112: Changing sketch size that contains arcs after padding will create an artifact on bottom side 2014-03-09 11:02:33 +01:00
wmayer c535b2d330 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-08 17:59:51 +01:00
wmayer f149de10e4 + fix gcc build 2014-03-08 17:59:22 +01:00
Yorik van Havre f9c0abc176 Start: better scrolling of the description box - issue #1017 2014-03-08 13:42:18 -03:00
Yorik van Havre 109a961e35 Draft: Fixed bug in Wire-to-Bspline conversion 2014-03-08 13:37:21 -03:00
Yorik van Havre 71bc500aab Start: more improvements to the start page 2014-03-08 12:37:24 -03:00
wmayer 1f478269af + use dialog button box where possible, replace old Python icon 2014-03-08 15:17:56 +01:00
jriegel 7dfa6208ea remove .DIR directories from install 2014-03-08 09:30:19 +01:00
Yorik van Havre b6c24cfc35 Arch: minor fixes around Arch & Draft 2014-03-07 20:44:22 -03:00
Yorik van Havre be33ef6f4c Draft: added workingplane snap mode - fixes #1461 2014-03-07 15:58:51 -03:00
Sebastian Hoogen b58d1caea7 OpenSCAD Module: bugfixes and improvements
if more than 14 digits are given don round in general,
but test for <eps only.
refine before extrusion
support polyhedron faces which replaces polyhedron faces
importCSG round rotations
don't call Draft.makecircle and makeprism as they trigger a recompute
use group placholder for objects with no children
move removesubtree to OpenSCADUtils
add resize and offset keywords
add OpenSCAD_ExplodeGroup command
add OpenSCAD_IncreaseToleranceFeature
change refine shape logo
2014-03-06 19:41:38 +01:00
wmayer 040c19b1c1 + relates to #0001421 2014-03-06 16:35:33 +01:00
wmayer 92253429c5 + fixes #0001463: setting Vertex.Tolerance modifies bound and shared shapes 2014-03-06 09:50:49 +01:00
wmayer 8e711fc391 + fixes #0001423: Crash on draw on face 2014-03-06 09:33:35 +01:00
Yorik van Havre e99daa4417 Start: Fixed utf8 bug 2014-03-05 11:53:09 -03:00
wmayer 4699856799 + Add method to get typeid of property via Python 2014-03-05 15:10:37 +01:00
wmayer 5fdb762236 + work on item 0000494 2014-03-05 13:53:08 +01:00
wmayer 480bf1bfa7 + fix scale in TopoShapePy 2014-03-05 11:10:55 +01:00
jriegel 246c895d44 Unstable name 2014-03-04 22:15:38 +01:00
jriegel c5193be08a more ignor for Windows platform 2014-03-04 21:49:47 +01:00
jriegel 1dc23a6c23 Delivering VisualStudio runtime with installer 2014-03-04 21:48:27 +01:00
jriegel 3ff9292a36 gitignore for insource builds 2014-03-04 19:49:01 +01:00
Yorik van Havre e398f3ee7e Arch: Fixed SectionPlane direction 2014-03-04 13:51:18 -03:00
Yorik van Havre 2a5c51971e Arch: temporary workaround to SoBrepFaceSet freeze 2014-03-04 12:51:44 -03:00
wmayer 9367488293 + fixes #0001312: Save sheet doesn't write the file in some directories 2014-03-04 10:38:40 +01:00
Yorik van Havre d632eb2843 Draft: Small fix in trimex 2014-03-03 17:32:48 -03:00
Yorik van Havre 66f6dc6282 Start: Improvements to the Start page - relates to #1017
* Removed the videos section
* Added descriptions for feed links
* New cleaner look
* Colors taken from the system
* Feed links open in an external browser
2014-03-03 17:01:18 -03:00
wmayer c50c30c320 + fixes #0001330: Cannot link edge to external geometry 2014-03-03 18:50:43 +01:00
wmayer 170265cd67 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-03 18:48:12 +01:00
Yorik van Havre 80f2a3a8a4 Draft: minor fix in Offset 2014-03-03 13:47:29 -03:00
wmayer 874f61e165 + fixes #0001356: Error message displays value in Radians (adding reduntant/conflicting angle constraint) 2014-03-03 17:19:33 +01:00
Yorik van Havre 92023533b5 Draft: small fix to clone object 2014-03-03 12:18:54 -03:00
wmayer afe0bcb727 + fixes #0001456: multi select of PartDesign treeview items with their creation sketch, can not then be dragged into a group object 2014-03-03 12:37:44 +01:00
blobfish 4f6b64f252 Part: ModelRefine: Skip conic edges.
Extension on Mantis #1450
2014-03-03 10:32:15 +01:00
wmayer 629d5cc1fe + fixes #0001318: Crash when exporting .step file 2014-03-02 18:16:16 +01:00
Sebastian Hoogen 3986c887c3 BrepTools::Dump to string 2014-03-02 14:42:41 +01:00
wmayer 5f7ed33c40 + improve doc string (for bug 1257) 2014-03-02 13:12:23 +01:00
Sebastian Hoogen fe0180d6b3 parse keyword arguments in Part::TopoShapePy::makeOffsetShape 2014-03-02 08:56:08 +01:00
wmayer c50b29004e + fixes #0001430: SegFault when FreeCAD imports textured PLY file 2014-03-01 16:32:29 +01:00
wmayer 7d853e30b0 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-01 13:15:52 +01:00
blobfish 7eab688032 Part: ModelRefine: Skip spherical edges for edge fuse.
Mantis #1450
2014-03-01 13:15:16 +01:00
jriegel 93f99206b4 remove /EHa from Windows DEBUG builds 2014-03-01 12:49:31 +01:00
blobfish f8b16e0bbb Part: CheckGeometry: Adding shape content widget to task 2014-03-01 12:45:54 +01:00
wmayer 7ebfa3632d + fixes #0001453: Use string representation for PropertyPlacement editor that presevers double precision 2014-03-01 12:41:29 +01:00
wmayer 1acba8881d Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-03-01 11:42:06 +01:00
wmayer de7276421b 0001453: Use string representation for PropertyPlacement editor that presevers double precision 2014-03-01 11:41:42 +01:00
Yorik van Havre 363b62a891 Draft: Fixed PropertyAngles - fixes #1451 2014-02-28 15:53:09 -03:00
Yorik van Havre 810555d2ab Draft: Small typo fix 2014-02-28 10:05:44 -03:00
wmayer 8f2604a694 + fixes #0001448: Newly created python macros don't have an asterisk in their window title. 2014-02-28 11:30:04 +01:00
wmayer 19619c03a0 0001441: entering Transform mode degrades the Placemens rotation to single precision 2014-02-28 11:22:09 +01:00
wmayer 849e39f576 + Disable debug prints in gear feature, fix JSON error on save and load 2014-02-28 10:21:49 +01:00
wmayer 6b578d13fc + Avoid to open two transactions when creating a pad 2014-02-28 10:02:59 +01:00
wmayer a84abfda39 + fixes #0001449: CalculixLib.py not included in ~/src/Mod/Fem/CMakeLists.txt 2014-02-27 23:50:23 +01:00
wmayer 1e2268e8b6 + PySide migration 2014-02-27 19:15:46 +01:00
WandererFan b3d1b7a2ea 1443: Fix ShapeString user font selection on Windows 2014-02-27 15:18:18 +01:00
wmayer a48ec3ce45 + fixes #0001441: entering Transform mode degrades the Placemens rotation to single precision 2014-02-27 14:43:07 +01:00
wmayer daf8b1d49e + fixes #0001447: Crash when opening task dialog for orthographic projection while another task dialog is open 2014-02-27 11:14:53 +01:00
Yorik van Havre 995b146659 Arch: Small fixes around Arch and Draft 2014-02-26 18:01:24 -03:00
wmayer eed06ccc1d + Replace floats with doubles 2014-02-26 16:27:28 +01:00
WandererFan 50883c44f7 Fix spurious "None" on cancel BSpline/BezCurve 2014-02-26 00:03:23 -03:00
wmayer 63f930cb53 + Added coin add/remove DraggerCallback python functions (guilhemdesq) 2014-02-25 17:43:48 +01:00
wmayer 75e5d5f3ac + Fix broken unit tests 2014-02-25 15:24:10 +01:00
Yorik van Havre 9fc0f0d76b Arch: Fixed test suite - fixes #1442 2014-02-25 10:22:01 -03:00
Yorik van Havre e2bb30bd47 Arch: small fix to Ifc Explorer 2014-02-24 22:00:13 -03:00
Yorik van Havre 3f99b6ec26 Part: Fixed python representation of Part2DObject - fixes #1387 2014-02-24 16:10:51 -03:00
Yorik van Havre bab0c366a7 Draft: used distToShape in DraftGeomUtils - fixes 1439 2014-02-24 12:19:36 -03:00
Yorik van Havre 7b92e8fa8e Draft: Turn Draft BezCurves into faces when closed 2014-02-24 10:56:00 -03:00
wmayer 83caf9d67b + detect from Python whether a document is modified, give option to suppress warning from SendMsgToActiveView 2014-02-24 11:30:27 +01:00
Yorik van Havre 49ba4de6b8 Arch: Added BezCurve to Arch WB 2014-02-23 12:04:37 -03:00
WandererFan 515449d324 Cosmetic change - remove "######" placemarkers 2014-02-23 11:54:59 -03:00
Sebastian Hoogen 2dfabfdcb5 Draft Bezier Curve: implemented Continuity Property
Draft: allow continuity on closed Bezier curves

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

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

Draft Bezier Curve: use circle trackers for control points

Draft: prepare functions to make bezier knots tangent or symmetric
2014-02-23 11:54:58 -03:00
WandererFan 2d43d61b92 Add Draft Bezier Curve draw & edit mockup using bSpline tools. 2014-02-23 11:54:58 -03:00
wmayer 7eb7591a58 + Implement alternative to load ui files without using PySide's QtUiTools module 2014-02-22 18:49:22 +01:00
Yorik van Havre 204c37aa59 Fixed a regression in wire.makePipeShell caused by commit d62ed23 2014-02-22 11:01:43 -03:00
Yorik van Havre 9b00c29a5d Arch: removed some debug output 2014-02-22 11:00:10 -03:00
Yorik van Havre 114ccd2119 Draft: Fixed IsActive methods - fixes #1431 2014-02-22 10:59:28 -03:00
wmayer e8cb83a48b + fixes #0001429: don't apply booleans on null shapes 2014-02-22 13:06:30 +01:00
blobfish 19f1d974c2 Part: CheckGeometry: Mantis #0001427
Store coin referenced pointer instead of viewprovider
2014-02-22 12:13:11 +01:00
wmayer 71253ca631 + Fix for clang 2014-02-22 11:37:03 +01:00
wmayer 7f307e5200 + Minor fix in test feature 2014-02-22 11:36:48 +01:00
wmayer fc8724f0e6 + Avoid to unnecessarily throw Py::Exception 2014-02-22 11:35:51 +01:00
Yorik van Havre 3bebf0dcea Fixed Draft utilities menu 2014-02-21 18:16:25 -03:00
Yorik van Havre ce13d2cbab Updated sphinx files 2014-02-21 17:53:06 -03:00
Yorik van Havre 3acd9719c5 Arch: fixed Continue mode 2014-02-21 17:52:14 -03:00
Yorik van Havre a63f4c1f2e Used new PropertyQuantity API in Draft & Arch - fixes #1414 2014-02-21 12:37:29 -03:00
wmayer c565cf0c78 + Handle empty system path in init script 2014-02-21 13:29:22 +01:00
jriegel 565fb8c003 higher level exception handling on Windows 2014-02-20 22:54:30 +01:00
jriegel 2a4e8baa28 fix and test handler for DIVZERO 2014-02-20 20:31:42 +01:00
jriegel 204bff802f fix commit 2014-02-20 20:08:47 +01:00
jriegel 56d5e193bb Test case for system exceptions in FeatureTest and try to catch more of them 2014-02-20 20:03:43 +01:00
blobfish 2915712842 Part: CheckGeometry: Mantis #0001426
Empty compound throwing exception for bounding box.
2014-02-20 17:46:04 +01:00
Yorik van Havre 7baf1e0971 Draft: small cleanup in draft menu 2014-02-20 11:25:34 -03:00
Sebastian Hoogen 7a7fd33672 OpenSCAD: import surfaces 2014-02-20 11:12:51 -03:00
Sebastian Hoogen 8b2134705a OpenSCAD: use PropertyQuantity 2014-02-20 11:12:51 -03:00
Sebastian Hoogen d702911523 OpenSCAD binary gives version info on stderr in never versions 2014-02-20 11:12:51 -03:00
Sebastian Hoogen 103321cff7 Use Part::Mirroing in importCSG 2014-02-20 11:12:51 -03:00
Sebastian Hoogen 0e6b7a629d OpenSCAD use PythonFeatures for hull and minkowski 2014-02-20 11:12:51 -03:00
Sebastian Hoogen de038b327f OpenSCAD: igonre cylinder with negative height
and bugfix in mesh import
2014-02-20 11:12:51 -03:00
wmayer e26735d354 + Fix for OCC 6.6 2014-02-20 10:33:09 +01:00
blobfish f51ffa62f3 Part: CheckGeometry:
adding build entry name for dialog
    add bounding box to all entries
    fixed the positioning of bounding box
    removal of object hierarchy. boost function dispatch
    add BOPAlgo_ArgumentAnalyzer
2014-02-19 18:16:08 -05:00
jriegel bb98b5afb0 Improve runing the Calculix process 2014-02-18 22:07:46 +01:00
wmayer e5eecc41dd + Update Material resource file 2014-02-18 14:00:11 +01:00
Cercos-Pita J.L 9040278c0d Modified the resources used tool 2014-02-18 10:47:50 +01:00
Cercos-Pita J.L e94a68c828 Cleared non-updated tools 2014-02-18 10:16:56 +01:00
Cercos-Pita J.L 6edfd09dcb Cleared unused icons 2014-02-18 10:13:13 +01:00
Cercos-Pita J.L 4169d4f788 Regenerated the branch 2014-02-18 10:08:12 +01:00
wmayer 28b5d77408 + Set const attribute to Python binding of TopoFace where needed 2014-02-17 17:19:14 +01:00
wmayer efdbe4659a + fixes #0001418: Base::Matrix4d can't invert rotoinversion 2014-02-17 16:42:28 +01:00
wmayer 81cbd2643f + draw additional dashed line in brush tool 2014-02-17 15:27:59 +01:00
wmayer d3760deeeb + fixes #0001388: SIGSEGV in Part::GeometryCurvePy::toBSpline 2014-02-17 11:40:09 +01:00
WandererFan 0f9001a3f5 Handle non-Ascii in ShapeString SStringValue 2014-02-17 10:48:56 +01:00
wmayer 8de258dded + Fix compiler warning 2014-02-17 10:45:23 +01:00
WandererFan ea0e7bed89 revise Part.distToShape return value format 2014-02-17 10:34:14 +01:00
WandererFan dcc4839968 Add Part.distToShape() 2014-02-17 10:34:13 +01:00
jriegel 6d1d55dc15 Implement the python gear feature 2014-02-16 22:19:59 +01:00
jriegel 1d5cfbc9cc PropertyUnits takes Unicode python strings 2014-02-16 22:19:58 +01:00
jriegel 5c3187da85 Fix not set optional python parameter 2014-02-16 22:19:57 +01:00
jriegel 0fbe570f9e switch the physical Properties to Quantity and add Pressure and Force 2014-02-16 22:19:56 +01:00
jriegel 587f6b220b add fcgear
http://forum.freecadweb.org/viewtopic.php?f=9&t=5703
2014-02-16 22:19:55 +01:00
jriegel c9c24cf0b6 small fix 2014-02-16 22:19:54 +01:00
wmayer bccd10a9ea Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-02-16 18:02:35 +01:00
wmayer fb994e204c + fixes #0000854: Ability to change number of digits to the right of decimal place in spinboxes 2014-02-16 18:02:09 +01:00
jriegel 89ea7ad268 using QProcess for starting Calculix 2014-02-16 14:33:55 +01:00
jriegel aa6bafa222 fix for reset the color information on changing the base mesh 2014-02-16 14:33:47 +01:00
wmayer 2d511524ac + Set number of deciamls with GUI 2014-02-16 12:39:03 +01:00
wmayer 1be3308c21 + fixes #0001413: Part.Shape.transformGeometry on Null Shape causes SIGSEGV 2014-02-15 19:54:15 +01:00
wmayer cc033f8d30 + allow to set constraints of properties via Python 2014-02-15 14:10:17 +01:00
wmayer 23d8820582 + Fix segmentation fault 2014-02-15 14:08:33 +01:00
Sebastian Hoogen d46fcf08b1 OpenSCAD Module: Adds support for Frustum and fixes minor bugs 2014-02-14 14:43:29 -02:00
wmayer 3ce05cd4ff + fixes #0001410: Base::Quantity::getValueAs does not properly check the dimension 2014-02-14 17:14:39 +01:00
wmayer e08635b1e8 + fixes #0001413: Part.Shape.transformGeometry on Null Shape causes SIGSEGV 2014-02-14 15:02:26 +01:00
wmayer a3056b9d32 + fixes #0001409: implement FreeCAD.Units.Quantity().__float__() 2014-02-14 14:50:01 +01:00
wmayer 89b5d7e6f1 + extend number protocol 2014-02-14 13:53:47 +01:00
wmayer e916d65a5c + extend number protocol 2014-02-14 13:45:56 +01:00
wmayer 98bab1ebbe + extend number protocol 2014-02-14 12:46:30 +01:00
wmayer 5b9f076c53 + remove unneeded methods from PropertyLength 2014-02-13 17:24:03 +01:00
wmayer 65d001f3d4 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-02-13 17:04:14 +01:00
wmayer 893a5d3a86 + PropertyLength inherits PropertyQuantity 2014-02-13 17:03:48 +01:00
Yorik van Havre 478772f067 Draft: small fix in point object 2014-02-13 12:19:59 -02:00
wmayer 37f283e7d7 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-02-13 14:08:34 +01:00
wmayer 989b6a06bd + Proper reimplmentation of PropertyUnitItem 2014-02-13 14:08:08 +01:00
Yorik van Havre e374ba9873 Draft: prevent other Draft objects from becoming Support 2014-02-13 10:04:06 -02:00
Yorik van Havre 5043125bb0 Arch: small bugfix in window 2014-02-13 10:03:45 -02:00
logari81 4d918d1f8f Sketcher: fix polyline closing when coincident points are involved 2014-02-12 22:23:43 +01:00
jriegel 9c8df98c9f Implementing Calculix binding 2014-02-12 19:39:49 +01:00
wmayer 6f2f417976 + Fix undo/redo issue with pad 2014-02-12 16:15:24 +01:00
wmayer e9b275c7e6 + support loading projects with old pad features, fix critical bug where the unit gets replaced 2014-02-12 15:14:02 +01:00
wmayer 22f3f85584 + emit valueChanged(double) signal from InputField 2014-02-12 14:03:42 +01:00
wmayer 37ffd4ac34 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-02-12 13:37:37 +01:00
wmayer 9c2dbc1498 + fix whitespace, typos, docs 2014-02-12 13:37:04 +01:00
Yorik van Havre 57d45928e4 Arch: improvements to survey tool 2014-02-12 09:39:07 -02:00
wmayer 02566f721b + fixes #0001400: Revert back to using native file dialog on Mac OS X 2014-02-12 10:50:02 +01:00
jriegel 29e6610ab8 Writing Calculix file 2014-02-12 00:15:57 +01:00
jriegel 82ff64477e FixBug #1402 2014-02-11 23:03:26 +01:00
jriegel 24b06ad3db Calculix Analysis output 2014-02-11 19:49:47 +01:00
Yorik van Havre f7d90bc789 Arch: Survey tool 2014-02-11 16:30:16 -02:00
wmayer 1cf7da2b6d + Add PropertyQuantity to type system 2014-02-11 19:20:31 +01:00
wmayer 9b0d24345f + Using locale delimiter 2014-02-11 17:36:04 +01:00
Yorik van Havre 43a665451d Arch: added a pref option to disable snapping to the base object (restores normal snapping for arch objects) 2014-02-11 11:17:39 -02:00
jriegel f8e49be141 Added new color types to Preferences 2014-02-10 21:25:54 +01:00
jriegel 9af9283d19 Using Locale delimiter 2014-02-10 21:25:53 +01:00
Yorik van Havre b99cfa0fbb Draft: small fix in DXF exporter 2014-02-10 17:09:46 -02:00
Yorik van Havre c260ede083 Arch: option to save a list of exported objects together with an ifc file - fixes #1371 2014-02-10 12:54:27 -02:00
wmayer d81803de05 + fixes #0001380: Allow to set user-defined names for constraints 2014-02-10 15:36:58 +01:00
wmayer 006083258e + undo changes of 8b610aff on issue 0001375 because this was done in c7e41c 2014-02-10 11:23:01 +01:00
wmayer 12dbea7b90 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-02-10 10:52:42 +01:00
wmayer 8b610aff18 + fixes #0001375: FreeCAD does not support of pivy and shiboken in Libpack8.x 2014-02-10 10:52:18 +01:00
jriegel ad0db9f4c5 Further implementing MechanicalAnalysis 2014-02-09 21:40:46 +01:00
jriegel d17fb3aa5d First tests of using InputField via Python 2014-02-09 20:50:07 +01:00
jriegel 58fda26298 Fix doulbe value entry in history of InpuField 2014-02-09 19:28:15 +01:00
jriegel 893f330043 Fix default bug in Pad dialog 2014-02-09 19:21:01 +01:00
jriegel c7e41c6150 PySide switch for LibPack >= 8.2 default on in the vanilla sourc
This means that you need 8.2 or higher or you have to switch of FREECAD_LIBPACK_USEPYSIDE!
2014-02-09 18:59:35 +01:00
jriegel cd69467ede Finish get nodes by surface 2014-02-09 17:55:35 +01:00
jriegel 1341c43e5f Get node of face implementation 2014-02-09 17:55:34 +01:00
Yorik van Havre 1ec10333f2 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-02-09 13:33:09 -02:00
WandererFan 9d235d7fb9 Avoid OCC error for closed Draft.BSpline with same first/last points 2014-02-09 13:30:49 -02:00
jriegel a97f53a5e7 Fully implement Units in PartDesign Pad 2014-02-09 16:23:06 +01:00
jriegel 3f9642136c Merge remote-tracking branch 'refs/remotes/s7726-repo/PadToolDatum' 2014-02-09 16:23:05 +01:00
Yorik van Havre 99902b22b7 Draft: made last commit more backward-compatible 2014-02-09 13:08:02 -02:00
Daniel Falck 9ede51b2f6 added way of breaking BSplines into line segments in Shape2DView 2014-02-09 13:02:38 -02:00
wmayer 4fb000f0c8 + expose zoomIn/zoomOut to Python 2014-02-09 15:28:43 +01:00
logari81 fa33bcae4a + fixes #0000928: Change selection numbering base in the Sketcher from 0 to 1 2014-02-08 23:51:15 +01:00
wmayer 49155648cb + Add pipette icon 2014-02-08 16:10:16 +01:00
Gavin Swanson a40a5dd12d Add fancy unit/math input to pad tool
Pad tool does not currently save the units, so the result is still in mm.
2014-02-07 22:10:31 -08:00
Yorik van Havre 4e722e2cda Arch: IFC browser - fixes #1384
Arch -> Utilities -> IFC Explorer
This opens a browser window that displays the contents of an IFC file
in a more readable manner than a text editor.
2014-02-07 10:57:34 -02:00
jriegel 70091e57c2 First version of new Windows installer 2014-02-06 23:10:28 +01:00
Yorik van Havre 8ebf4ebf45 Included freecad-doc icon in resource 2014-02-06 15:11:38 -02:00
Joshua Christopher 0af6f52369 Set enable-disable states for Reversed checkbox 2014-02-05 15:41:35 -02:00
Joshua Christopher 165a4e530a Added a reversed checkbox. 2014-02-05 15:41:35 -02:00
wmayer 75f7ebc346 + add default directories to check for translation files 2014-02-05 14:54:14 +01:00
Yorik van Havre 2ee101dee3 Draft: fixed draft scale again - fixes #1385 2014-02-04 16:08:09 -02:00
Sebastian Hoogen e1931f066f Draft SVG export: fix viewbox for raw output 2014-02-04 15:44:35 -02:00
wmayer ca00665421 + fixes #0001380: Allow to set user-defined names for constraints 2014-02-04 18:32:05 +01:00
Yorik van Havre bba8760b11 Draft: fixed a bug in Draft Scale 2014-02-04 09:44:50 -02:00
wmayer 1441021541 + fixes #0001380: Allow to set user-defined names for constraints 2014-02-03 14:45:41 +01:00
jriegel 9a2fab28d2 BugFix and error reporting
* Fix a bug if the macro path is invalid
* reporting exeptions if somethings fail in the Draft core modules init
2014-02-02 21:25:02 +01:00
wmayer 15406d1498 fixes #0001378: outdated url in man pages 2014-02-01 16:36:52 +01:00
wmayer d927d0bcb9 + improve handling of default colors of report view and Python console when using style sheets 2014-01-31 11:34:30 +01:00
Yorik van Havre a7d297c33d Draft: Fixed a bug in intersection snapping with arcs 2014-01-28 19:15:09 -02:00
wmayer 06e77239e6 + fix minor error 2014-01-28 17:19:01 +01:00
wmayer 5de7738709 + fixes: #0001369: Part::TopoShape::getMemSize fails for Bezier Curves 2014-01-28 11:29:21 +01:00
Yorik van Havre 36bcc580d6 Draft: fixed bug in dimensions direction 2014-01-27 13:51:10 -02:00
Yorik van Havre c3e8a1579b Draft: applied ulrich1a's fix to svg output - fixes #1365 2014-01-26 20:32:35 -02:00
Yorik van Havre 69cc7ec901 Arch now works in console mode - fixes #1362 2014-01-26 20:13:50 -02:00
wmayer ce8efb118c + Add new icons, fix German translation in Points module 2014-01-26 16:19:07 +01:00
wmayer 30768c9519 + proper encoding of custom toolbar names 2014-01-26 16:02:22 +01:00
wmayer d39afd36c2 + Add module name to Raytracing command 2014-01-26 16:01:37 +01:00
wmayer 4b49178920 + Fix usage of Pivy from old LibPacks 2014-01-26 14:19:15 +01:00
wmayer 28f260438e + Fix doc string 2014-01-26 14:18:30 +01:00
wmayer 0da6de629d + fixes #0001364: Issue 1256 is not actually fixed 2014-01-24 13:54:57 +01:00
wmayer 340d6da086 + Various improvements on units calculator 2014-01-23 09:50:16 +01:00
wmayer 7506e740e0 + Use application icon as default workbench name 2014-01-22 17:35:10 +01:00
wmayer 698899e6d7 + Fix limits in tessellation panel 2014-01-22 15:42:18 +01:00
wmayer cd5977b721 + fixes #0001289: Fit All option has not animation when Enable animation is active 2014-01-21 15:49:18 +01:00
wmayer 303614e57a + Copy shiboken files from LibPack 2014-01-21 11:28:58 +01:00
wmayer 88ff8076cd + fixes #0001360: [Arch] must be sip.simplewrapper, not PySide.QtGui.QWidget 2014-01-20 10:16:43 +01:00
wmayer 6c6340312c + Resort edit nodes of sketch view provider 2014-01-19 18:34:47 +01:00
wmayer 31a96aff9f + Show also name of Inventor nodes in Scene Inspector 2014-01-19 18:34:05 +01:00
Yorik van Havre 4a8b5cc60e Draft: fixed small bug in bezier-to-svg code 2014-01-19 09:49:17 -02:00
wmayer cf1e4ecd4f + fixes #0001325: PushButtons in TaskPanel too small 2014-01-18 13:37:34 +01:00
Sebastian Hoogen 9c5f1c216d Drawing: approximate rational splines and enforece only GeomAbs_C0 2014-01-18 11:50:57 +01:00
wmayer 20c739d5ee Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-18 00:08:41 +01:00
wmayer 0cbbfea23b + Shared library of Mefisto2F 2014-01-18 00:08:25 +01:00
Yorik van Havre 843838ec19 Draft: Added shoogen's fix to bspline to svg stuff 2014-01-17 09:40:48 -02:00
wmayer 98cef33d61 + Approximate curve to B-Spline 2014-01-17 10:53:13 +01:00
Yorik van Havre 47d5c615d9 Draft: Added direction vector to dimensions 2014-01-16 17:13:21 -02:00
Yorik van Havre 13bccea8a1 Arch: Added blondel ratio to stairs 2014-01-16 16:32:05 -02:00
Yorik van Havre 99e05a3236 Draft: Added a decimals property to Draft Dimensions 2014-01-16 16:18:46 -02:00
Sebastian Hoogen e99216189c importCSG: add empty compounds for elemets with size 0 2014-01-16 15:41:16 -02:00
Yorik van Havre 21d736d21f Arch: Added landings to arch stairs 2014-01-16 14:21:58 -02:00
wmayer 7813c5e5ed + Fix regressions by merge of draw style branch 2014-01-16 14:30:42 +01:00
wmayer 0575915815 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-16 14:04:52 +01:00
wmayer 08698154c8 + fixes #0001266: Part Common fails with two surface objects 2014-01-16 14:04:19 +01:00
Yorik van Havre 0972be8e72 Merge of tanderson-viewoverride4 branch 2014-01-16 10:27:21 -02:00
tanderson 46c1f7835c adding to menus and toolbars 2014-01-16 10:27:21 -02:00
tanderson 6f91426930 adding drawstyle icons 2014-01-16 10:27:21 -02:00
tanderson 3b8176535b implemented 2014-01-16 10:27:21 -02:00
wmayer 795bd01f31 + fixes #0001148: Incorrect STL from a mesh 2014-01-16 11:55:32 +01:00
Yorik van Havre 828c4618aa Draft: small bugfix 2014-01-15 19:49:43 -02:00
Yorik van Havre e8ab9bd2e0 Draft: added a debug message to bspline-to-svg conversion 2014-01-15 19:41:33 -02:00
Sebastian Hoogen e9201cc9d6 support curves in Draft.getSVG()
curves with a degree<=3 will be converted to bezier segments
curves with a higher degree are discretized
2014-01-15 22:22:40 +01:00
jriegel 5a4b4da59f Fix for Python binding in FEM result objects 2014-01-15 19:33:44 +01:00
Sebastian Hoogen 15089556cd Updated ISO7200 based drawing templates
added Working space and Title block tags
2014-01-15 12:03:55 -02:00
Yorik van Havre 5e7c5a2bfb Arch: removed degug messages in collada importer 2014-01-15 12:01:57 -02:00
Yorik van Havre 0b945388ea Added icon-based feedback for InputField 2014-01-15 11:48:16 -02:00
Yorik van Havre 5556d1506e Draft: small unicode bugfix 2014-01-15 10:44:05 -02:00
Yorik van Havre 9fdf3f64ad Arch: Add a pref option to disable auto wall-merge 2014-01-14 17:02:16 -02:00
Yorik van Havre e352e169da Arch: Automatic wall height - fixes #980
+ Walls can now be capped by roofs, by subtracting a roof from them
+ Walls and Structs with height = 0 take height from their parent floor
+ Changing the placement of a floor changes all the placements of its children
2014-01-14 16:16:04 -02:00
Yorik van Havre e14a9e49d9 Arch: Refactored Stairs code for easier extension 2014-01-14 15:12:08 -02:00
wmayer b1a1be6f4e + workaround for strange behaviour of Qt 4.8 regarding period/colon 2014-01-14 13:50:13 +01:00
wmayer 7eeebbed53 fixes #0001191: Cannot manipulate length if moved away from between the 'red lines' 2014-01-14 11:48:34 +01:00
Yorik van Havre 6245957478 Draft: Fixed utf8 bug in shapestring 2014-01-14 00:36:59 -02:00
Yorik van Havre 96ff9e37c2 Draft: Fixed Draft edit again! (better this time...) 2014-01-13 17:54:45 -02:00
Yorik van Havre c1aea6337c Draft: Fixes in Draft edit 2014-01-13 14:12:28 -02:00
wmayer fee2bc4169 + Copy pysideuic from LibPack 2014-01-13 14:54:32 +01:00
wmayer ca3b87a719 + Rename methods 2014-01-12 21:42:46 +01:00
wmayer 99d10a6e49 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-12 18:49:24 +01:00
wmayer 0f6ccf11bf + Projection of edges and wires 2014-01-12 18:48:55 +01:00
jriegel 3cbc877f6b fix some warnings 2014-01-12 16:25:47 +01:00
jriegel 33248f756f Merge branch 'refs/heads/j-downsett-orthos_finished'
Conflicts:
	src/Mod/Drawing/Gui/TaskOrthoViews.cpp
2014-01-12 16:23:03 +01:00
jriegel 3f52b88c5b Fix for Windows 2014-01-12 16:21:07 +01:00
Jose Luis Cercos-Pita 11278f34f3 rebased (regenerated) branch from master 2014-01-12 15:07:19 +01:00
wmayer 1e135aa367 + python suffix for shiboken 2014-01-11 22:08:07 +01:00
wmayer d97feb01cd Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-11 15:00:14 +01:00
wmayer 1b9f4e7b7a + fixes #0001350: error on line 1507 at column 1: Encoding error - Not possible to create a drawing in french language 2014-01-11 14:59:51 +01:00
Yorik van Havre 88c5045368 Arch:workaround for horizontal extrusions in IFC export 2014-01-11 11:55:42 -02:00
jriegel 6078846fa2 Increase Performance Postprocessing 2014-01-11 14:50:22 +01:00
jriegel c71c1b8679 Improving Post-Processeing performance 2014-01-11 14:50:08 +01:00
Sebastian Hoogen a7b16c5748 0001349 recognize remote branches for Version.h in detached head state 2014-01-11 13:37:36 +01:00
wmayer 70e6d3839b + Fix for Saucy build on Launchpad 2014-01-11 12:52:37 +01:00
Yorik van Havre cc9c9dfcf4 Draft: fixed message containing PyQt 2014-01-10 17:55:03 -02:00
wmayer ffbca2bdff + Fix in ui loader 2014-01-10 14:22:30 +01:00
j-dowsett 83c9017eff Rewrite of OrthoViews. Detect page size and titleblock from tags in SVG template. Separation of logic from GUI. Much improved logic. No longer uses python to manipulate views - calls C++ methods directly. Can now support more views, and axonometric views in any position. 2014-01-10 11:33:34 +00:00
j-dowsett c1a2348e33 Applying tanderson's patch to replace invertY with (1,-1) scaling of SVG itself. Commented out invertY as no longer used. 2014-01-10 11:31:14 +00:00
wmayer 270d25658d + Prepare PySide to work with custom widgets 2014-01-09 23:49:41 +01:00
Yorik van Havre d00327640a Switched TemplatePyMod scripts to PySide 2014-01-09 18:46:16 -02:00
Yorik van Havre f73a3d6b8a Spreadsheet: switched to pyside 2014-01-09 18:23:39 -02:00
Yorik van Havre e3cb403b39 Draft: fixed ultra-condensed toolbar 2014-01-09 18:14:31 -02:00
wmayer 3395a32738 + Fix translation issue in StartPage 2014-01-09 16:08:13 +01:00
wmayer 5c6761dee2 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-09 15:26:38 +01:00
wmayer 984c723557 + Add method loadUi to PySideUic 2014-01-09 15:26:07 +01:00
Yorik van Havre fbc6722c75 Added pySide info to MingW readme 2014-01-09 12:02:49 -02:00
wmayer 54334ca69d + Migrate Fem to PySide 2014-01-09 13:36:29 +01:00
wmayer e32b747fce + Add PySideUic helper module 2014-01-09 13:35:42 +01:00
Yorik van Havre 955d1cc6dc OpenSCAD: Recompiled rc file with pyside 2014-01-09 10:17:35 -02:00
Yorik van Havre 4c6bd17dc2 Added pyside-dev and shiboken-dev to the debian control file 2014-01-08 23:39:28 -02:00
Sebastian Hoogen 89a028f4a8 Port OpenSCAD WB to PySide 2014-01-08 23:30:57 -02:00
Sebastian Hoogen 7e79a6d303 fixes #0001306: use Part_RegularPolygon in exportCSG 2014-01-08 23:30:57 -02:00
wmayer 12d1d80525 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-08 22:49:56 +01:00
wmayer 367d828030 + Update instructions for Mefisto2f build on Win x64 2014-01-08 22:49:19 +01:00
jriegel 9a702d20cf some fixes 2014-01-08 19:37:47 +01:00
wmayer 7cf3b61c54 + Use OCC debug libs in debug build 2014-01-08 14:28:06 +01:00
wmayer 9a7132b467 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-08 12:55:30 +01:00
wmayer 80f166bbf7 + Allow to get/set x/y axes of circle 2014-01-08 12:54:45 +01:00
jriegel 50492a5f5f STEP parser writes GraphViz files 2014-01-07 23:30:00 +01:00
jriegel 7d06fc0136 further implement SimpleReader 2014-01-07 23:29:59 +01:00
wmayer 1f8c2e8f2c + Fix target name 2014-01-07 21:13:41 +01:00
wmayer 1dcbf6a06d + Use debug versions of shiboken and PySide for MSVC debug build 2014-01-07 18:56:42 +01:00
wmayer dd9697dbad + Implement a lightweight TCP server 2014-01-07 18:37:59 +01:00
wmayer 19c6105389 + Implement a lightweight TCP server 2014-01-07 17:56:20 +01:00
Yorik van Havre 19865c252b Fixed translation system in Arch & Draft 2014-01-07 11:17:31 -02:00
wmayer c19e42cb7b + Read/Write FreeCAD website urls from/to user.cfg 2014-01-07 13:39:56 +01:00
wmayer 4cd8cb6eb0 + Copy material editor UI file 2014-01-07 10:41:37 +01:00
Yorik van Havre 0f2c93a25e Small fix in Material editor 2014-01-06 17:37:59 -02:00
Yorik van Havre 14f2dd2331 Switched Material module to pyside 2014-01-06 17:10:34 -02:00
jrheinlaender 2954d9a960 Port of WizardShaft to PySide 2014-01-06 16:21:09 -02:00
Yorik van Havre 1d709ade42 Switch to PySide (+ Arch, Draft & Start) 2014-01-06 13:26:49 -02:00
Yorik van Havre e9711ec7c9 Arch: fix in collada importer 2014-01-06 11:42:12 -02:00
wmayer 97ad018bd7 + Rename to offsetFaces 2014-01-06 13:08:00 +01:00
wmayer 94a8b0d215 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-06 12:30:30 +01:00
wmayer 5d1960d3ac + Extrude subset of faces of a solid 2014-01-06 12:29:58 +01:00
jriegel 51b640c91a start implementing SimpleReader 2014-01-06 11:26:16 +01:00
jriegel 4be052af48 StepShape class and python binding for handling STep-Shape transfers. 2014-01-05 22:31:16 +01:00
jriegel e17090fadd add SCL python files 2014-01-05 22:31:15 +01:00
Yorik van Havre 3648912e24 Arch: small bugfix in windows 2014-01-05 17:10:10 -02:00
wmayer 1820a56094 + Allow access to tab panel of combo view 2014-01-05 11:36:58 +01:00
wmayer 27315d4c1e + Allow access to tab panel of combo view, fix some typos 2014-01-05 11:32:18 +01:00
wmayer 33e6c39f8a Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-05 11:26:43 +01:00
wmayer 847b6b79e0 + Replace math.h with cmath 2014-01-05 11:25:40 +01:00
Yorik van Havre 9c3d1a80d4 Draft: allow makePoint to take a vector 2014-01-04 22:07:30 -02:00
Yorik van Havre eceebf4d71 Arch: Fixes to ifc importer to make it compatible with ifcopenshell 0.4 2014-01-04 11:30:15 -02:00
wmayer 716629006c + fixes #0001345: orient solids 2014-01-04 13:50:53 +01:00
wmayer 3c6bc1eaea Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-04 12:59:35 +01:00
wmayer e91e3b241f + Patched applied to fix flipped arcs when adding as external geometry 2014-01-04 12:59:07 +01:00
jriegel cb63cba061 Further implementation of Post-Processing 2014-01-03 17:30:49 +01:00
wmayer 88f1c2c180 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-01-02 15:33:04 +01:00
wmayer e5965a4596 fixes #0001333: Extruding a shape 'MyShape' should call solid 'Extruded from MyShape' 2014-01-02 15:32:42 +01:00
jriegel 80fe8bc000 Build fixes 2014-01-02 15:09:10 +01:00
Yorik van Havre 72797fa395 Arch: Fixed small bug happening when opening older files 2014-01-02 11:53:55 -02:00
wmayer 18c62a52af + comment out non-existing Python module in FEM workbench 2014-01-02 13:59:53 +01:00
wmayer 68c8d98e4b + fixes #0001334: Applying extrude does not close the task 2014-01-02 13:53:53 +01:00
Yorik van Havre d5ed1b1b65 Draft: Added raulshc's patch to importDWG + minor fix 2014-01-01 19:50:39 -02:00
Yorik van Havre eab159b6ee Drawing: Added property to set hidden line width - fixes #606 2014-01-01 14:41:39 -02:00
Yorik van Havre 2bc15af126 Draft: bugfix in offset - fixes #270 2014-01-01 13:59:44 -02:00
Yorik van Havre f3a4c36155 Arch: use unicode in task panels - fixes #1338 2014-01-01 13:39:54 -02:00
Yorik van Havre f4254b9e0b Draft: Fixed bug in custom svg patterns 2014-01-01 12:20:24 -02:00
jriegel f92d310ac3 Start Gui for Displacement Post-Processing 2013-12-31 17:16:51 +01:00
wmayer a1c5d981a5 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-12-31 14:57:21 +01:00
Jonathan Hahn 7ab2d7ec49 improves airfoil import 2013-12-31 11:25:16 -02:00
blobfish 3ab5a5f024 Expanded build control: module cmakelists changes 2013-12-31 14:14:11 +01:00
blobfish 54fab2d457 Expanded build control: root cmakelists changes 2013-12-31 14:14:10 +01:00
jriegel efc311f908 Postprocessing: Color per Element at FemMesh 2013-12-31 13:52:13 +01:00
wmayer 9503ad0e1f Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-12-31 13:26:14 +01:00
wmayer 69521bdfbd + fixes #0001341: more visual feedback for check geometry command 2013-12-31 13:25:49 +01:00
jriegel 226c25f9d9 Finish loading Calculix result files 2013-12-31 12:41:22 +01:00
jriegel c1a3b1434a Read Calculix Result files (*.frd) mesh 2013-12-30 22:33:05 +01:00
jriegel 360b190f03 group for Material project 2013-12-30 19:03:40 +01:00
wmayer 020181a96c + Fix typo 2013-12-30 12:57:08 +01:00
wmayer 365099a2bd + Keep trailing digits when loading project file 2013-12-30 12:54:45 +01:00
wmayer 775e6eba4f + Use long helix function in parametric feature 2013-12-29 14:51:25 +01:00
WandererFan acb8210c96 Add Part.makeLongHelix to work around Mantis #0954 2013-12-29 13:53:01 +01:00
wmayer a018b50ac2 + Show horizontal scrollbar if needed 2013-12-29 13:40:44 +01:00
wmayer 5b665418bb + Avoid too lenthy object names in document 2013-12-29 11:38:12 +01:00
wmayer c1d14eab3c + Fix OCC 6.7 build failure 2013-12-28 12:22:31 +01:00
wmayer d77d672cfb + Fix docstring for addSelection 2013-12-27 11:07:16 +01:00
Yorik van Havre 7ceef577a2 Arch: Added IFC export to the GUI + using new ifcopenshell for import - fixes #1005 2013-12-26 11:38:30 -02:00
wmayer a2cba17d3f + Fix constness attribute for TopoEdge and TopoWire 2013-12-25 13:48:17 +01:00
Yorik van Havre 60ec4e644a Draft: Added Jim's Array icon 2013-12-24 10:09:39 -02:00
wmayer c304c71b93 fixes #0001337: Add american templates to Drawing workbench 'New Drawing' drop-down button 2013-12-24 12:39:15 +01:00
Yorik van Havre 46b1987fb9 Arch: small fix in Arch Frame 2013-12-23 14:41:32 -02:00
wmayer b2a341540e + Changes to modelRefine (jrheinlaender) 2013-12-23 16:53:27 +01:00
wmayer 3b78d67b3b Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-12-23 13:46:40 +01:00
wmayer c8e5909a8a + Icon for shape refinement 2013-12-23 13:46:15 +01:00
Yorik van Havre 163340392f Raytracing: Added aspect ratio to POV output - fixes #1315 2013-12-22 20:18:19 -02:00
Yorik van Havre 90a80da1cd Arch: Frame object - fixes #1166, #1314 2013-12-22 17:18:11 -02:00
blobfish d83cec2be2 Part: Changes to dimension
move 2 icons to main gui
    enable and disable stepped buttons
    move reset dialog to control widget
    only dimension 1 linear solution
2013-12-22 17:31:10 +01:00
wmayer 58b1a0947f + Support to write out mesh name 2013-12-22 15:02:40 +01:00
Yorik van Havre 970f9c193d Arch: small bugfix to ifc exporter 2013-12-21 19:53:39 -02:00
Yorik van Havre c2b0c4aeb8 Arch: added a couple of useful properties to Site object 2013-12-21 19:53:07 -02:00
Yorik van Havre 6378761895 Draft: Small bugfix in dxf importer - fixes #1317 2013-12-21 19:45:00 -02:00
jriegel 152ecf2df9 More choices in Sketcher grid and later switching to um 2013-12-21 19:15:28 +01:00
wmayer eaebae18f0 + Fix boolean operation panel 2013-12-21 18:23:45 +01:00
jmaustpc 236055aa52 Add Mesh Regular Solids icons to dialogue drop down list 2013-12-21 21:54:56 +11:00
Yorik van Havre b8a8f186cb Arch: Still more fixes to ifc export... 2013-12-20 23:39:46 -02:00
Yorik van Havre 8db8db4a39 Arch: more bugfixing in ifc exporter 2013-12-20 19:41:58 -02:00
Yorik van Havre bdb5eefd72 Draft: Fixed bugs in hatching - fixes #1164 2013-12-20 19:12:22 -02:00
wmayer ca4d0d7027 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-12-20 16:28:38 +01:00
wmayer 098f39e7c5 + Use new icons in Mesh workbench 2013-12-20 16:28:14 +01:00
Yorik van Havre 55c0253cd9 Arch: added workarounds for export bugs in ifcopenshell 2013-12-20 13:25:41 -02:00
Yorik van Havre 5224e9a2ba Arch: Further work on the IFC exporter, now supports windows and bldg hierarchy 2013-12-19 20:41:42 -02:00
jriegel 50a2c1afaf additional places for measurement commands 2013-12-19 22:02:40 +01:00
jriegel 3f4f5c8c02 Merge branch 'refs/heads/tanderson-rev-partdimension' 2013-12-19 21:36:57 +01:00
blobfish 109729e15e adding toggle and clear to context, view menu 2013-12-19 10:18:50 -05:00
jriegel 246f8b70f0 Merge branch 'refs/heads/j-downsett-drawing' 2013-12-18 23:11:02 +01:00
jriegel 98f0918bec fixes for windows 2013-12-18 22:49:58 +01:00
jriegel 253910ec36 small fix 2013-12-18 18:19:25 +01:00
jriegel 9c1c94c64e fix radius bug and add new imperial sketch grid cascading... 2013-12-18 18:18:39 +01:00
Yorik van Havre 9baf73c52f Arch: Several minor bugfixes 2013-12-18 10:34:24 -02:00
blobfish 4f6a82c3bc adding some headers 2013-12-17 22:54:40 -05:00
Yorik van Havre 990ece8ce8 Arch: More work on the IFC exporter 2013-12-17 19:47:04 -02:00
Yorik van Havre df596822a5 Arch: added ifc writer 2013-12-17 16:44:08 -02:00
blobfish 840df00014 Part Dimension: new icons 2013-12-17 10:05:54 -05:00
blobfish 442c79bf5c Part Dimension: new implementation files 2013-12-17 10:05:54 -05:00
blobfish 59e69bbe0e Part Dimension: alterations to existing files
Not sure what is happening with View3dInventorViewer.h.
    The only REAL change, beyond the addition of dim functions, is
    the removal of the member arrowrotation. It wasn't referenced anywhere.
2013-12-17 10:05:46 -05:00
wmayer 32134f64f0 + Fix build failure with gcc 2013-12-17 10:58:04 +01:00
jriegel 53f74153ea Imperial Sketcher grid in Dialog 2013-12-16 15:09:43 +01:00
jriegel 182eaebc21 next gcc fix 2013-12-16 00:38:46 +01:00
jriegel 112a672fec Fix another one.... 2013-12-16 00:26:47 +01:00
jriegel e7e0bbfbe5 Try to fix std::abs() error... 2013-12-16 00:20:47 +01:00
jriegel 03c40f949c fix QString header in Unit 2013-12-16 00:07:18 +01:00
jriegel 73684a9fdb fix negative value cascading in unti schemas 2013-12-16 00:02:58 +01:00
jriegel 9d217367e9 Mouse wheel handling in InputField 2013-12-16 00:02:31 +01:00
jriegel d5d9ea9c30 Add unti support to Sketcher 2013-12-15 22:47:47 +01:00
Yorik van Havre 2b10890a04 Arch: Structural nodes - closes #1313 2013-12-15 17:45:12 -02:00
Yorik van Havre c6fbcbe086 Arch: added alternative load mode for IFC files for benchmarking 2013-12-15 17:43:34 -02:00
Yorik van Havre 45c4c695a1 Arch: added structural roles to Ifc import 2013-12-15 11:27:18 -02:00
j-dowsett 7348d0d497 Added manual scaling to axonometric view 2013-12-15 11:26:54 +00:00
j-dowsett 7d159360c4 Correctly identify standard template files 2013-12-15 11:26:54 +00:00
j-dowsett ad9c33b9d6 Correctly enables/disables axonometric tab when axonometric view added/removed. 2013-12-15 11:26:54 +00:00
j-dowsett fe5884aa85 Fixed overwriting of axo view when ortho views changed. 2013-12-15 11:26:54 +00:00
j-dowsett 88c1ae6a24 Fix to axonometric projection for objects not centred at y = 0 2013-12-15 11:26:53 +00:00
j-dowsett ce5fad80dd Added functionality for axonometric views in orthogrpahic projection tool 2013-12-15 11:26:53 +00:00
Yorik van Havre 6e01e6c6e5 Arch: prep work for IFC export 2013-12-13 18:50:38 -02:00
jmaustpc 9bdd15f7b5 Move Mesh_Mesh_from_Shape icon from Mod/MeshPart to Mod/Mesh
Move the icon Mesh_Mesh_from_Shape.svg
from .../Mod/MeshPart/Gui/Resources/icons
to .....//Mod/Mesh/Gui/Resources/icons
edit both Mesh.qrc and MeshPart.qrc accordingly
remove referrence to the icon from the command in
the MeshPart Command.cpp file and add it to
the Mesh Command.cpp file
2013-12-14 00:58:58 +11:00
jmaustpc 47ee436e93 Add icons to menus for mesh to shape and shape to mesh
Mesh to shape icon for the Part workbench Part menu
Shape to mesh icon for the Mesh design Workbench Meshes menu
2013-12-13 10:29:08 -02:00
WandererFan 8b977debaf Reinstate use of default font from Draft Preferences
Fix handling of mouse events & effect on feature base point
2013-12-13 10:26:19 -02:00
jriegel 0db516028c small fix in Quantity lexer 2013-12-12 20:20:11 +01:00
wmayer df53ad49cf + For MeshGui remove dependency to MeshPartGui when loading the workbench 2013-12-12 18:19:56 +01:00
wmayer 90af2d5c68 + Do not limit fillet/chammfer values 2013-12-12 13:20:58 +01:00
jriegel 9efcb3969a fix user preferred 2013-12-10 23:32:25 +01:00
jriegel 69b4dd0fac changing ym to um 2013-12-10 23:05:08 +01:00
jriegel 2061c21115 Allow seting of transformation without copy the mesh 2013-12-10 23:05:07 +01:00
wmayer 5f918b3049 + Increase maximum of visible items in combo box 2013-12-10 10:44:59 +01:00
jriegel 132b75e5ab Volum for Tet10 FemMesh 2013-12-09 23:52:44 +01:00
jriegel 401cb13035 Switching Quantity parser to UTF8 2013-12-09 23:50:52 +01:00
wmayer df363e94f3 + PySide on Windows 2013-12-09 21:58:52 +01:00
wmayer 5e628aedf1 + fixes #0001327: Crash in System::initSolution() 2013-12-09 13:41:38 +01:00
wmayer c86b7e17c8 + A more reliable workaround for regression in SoQtViewer 2013-12-09 13:40:42 +01:00
wmayer 7e22acb140 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-12-09 11:12:12 +01:00
wmayer 2f330674fe + Use icons and translated names for Part primitives 2013-12-09 11:11:51 +01:00
jriegel cfa7045408 Some fixes in unit system 2013-12-08 19:48:13 +01:00
wmayer b6025019df + Allow also int when a float is expected in sketcher constraints 2013-12-08 14:18:50 +01:00
wmayer d18d9ad662 + Copy some more Python modules from LibPack 2013-12-08 14:17:46 +01:00
wmayer 017d6e4fb1 + Workaround for crash in webkit engine for Qt 4.8.5 2013-12-07 22:03:17 +01:00
wmayer 453d81aaae + Fix warnings because of invalid frustum with Coin 4.0 2013-12-07 19:22:13 +01:00
wmayer 01791070c2 + Copy only .py and .pyd files 2013-12-07 19:21:27 +01:00
wmayer ac8f69bc08 + Apply fix of correct use of ShapeFix_Face 2013-12-07 12:54:38 +01:00
wmayer 9be92334fa Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-12-07 10:06:28 +01:00
wmayer bfcbf3b32d + Custom target to copy needed files from LibPack 2013-12-07 10:06:03 +01:00
wmayer 2afb58a254 + Switch off pivy for LibPack 9.x 2013-12-07 09:29:37 +01:00
jriegel f53579f671 Starting Calculix integration 2013-12-06 23:26:56 +01:00
jriegel 75216d9d8c some fixes in quantity 2013-12-06 23:26:42 +01:00
Yorik van Havre 83e63a67b1 Material: packed resources for the editor 2013-12-06 18:32:06 -02:00
wmayer d69d54f59a + Update SWIG executable in cache 2013-12-06 18:23:33 +01:00
wmayer 9d4521ff34 + Simplify cmake cache 2013-12-06 18:16:24 +01:00
wmayer 0aa63209e8 + Simplify cmake cache 2013-12-06 18:15:54 +01:00
wmayer 7ca9728593 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-12-06 01:40:10 +01:00
wmayer 54ccc224a6 + add comments 2013-12-06 01:39:36 +01:00
wmayer c771c2ed93 + fixes #0000282, + fixes #0001028 2013-12-06 01:36:43 +01:00
jriegel dea9ea82c5 fix semicolon in Init script 2013-12-06 00:13:22 +01:00
jriegel 272e60671b some fixes and comparison interface for Unit and Quantity python objects 2013-12-06 00:06:58 +01:00
wmayer 01d69071b6 + Fix gcc build error 2013-12-05 23:30:12 +01:00
wmayer 5ca7d0dcd8 + Suppress boost warning 2013-12-05 23:08:12 +01:00
wmayer d62ed23068 + Fix compiler warnings with OCC 6.6 2013-12-05 23:06:13 +01:00
jriegel eb5cc8ed6c Implement the three major unit system schemas 2013-12-05 18:16:31 +01:00
jriegel b52de075e1 Small clearifikation about the usage of Units interface 2013-12-05 08:54:46 +01:00
jriegel 894529a223 fix error of gcc and remove old parser code. 2013-12-05 08:42:33 +01:00
jriegel f58ea31b6a Some fixes in the unit system 2013-12-03 19:57:29 +01:00
jriegel 87c4741fac new userString methode 2013-12-03 19:03:12 +01:00
jriegel 3a3afa0783 Switching the UnitsApi to the new Quantity system 2013-12-03 19:03:08 +01:00
jriegel a7e221fdff deactivate Project view 2013-12-03 18:59:23 +01:00
jriegel 2351d115b9 History and Save managment in InputField 2013-12-03 18:48:18 +01:00
jmaustpc 8a19a176c6 add SVG icons for the Class Browser
Created new svg icons to replace the 7 png icons in
src/Gui/Icons/ClassBrowser
and made FreeCAD use them
2013-12-03 10:54:18 +01:00
jriegel 958a14ddbe fis for fix for spelling.... 2013-12-02 21:06:10 +01:00
jriegel 9a239261bb fix in get visible faces 2013-12-02 20:35:12 +01:00
jriegel 62fc4c3a1e Fix some spelling 2013-12-02 19:50:51 +01:00
wmayer 1028c365e1 + Apply Jim's fix of typos 2013-12-02 17:22:30 +01:00
wmayer ebfe001a7f + allow to close download dialog 2013-12-01 16:36:21 +01:00
wmayer 31c5e7055c + remove .png extension in spnav dialog 2013-12-01 12:14:25 +01:00
wmayer 1060d40a5f fixes #0001321: more visual feedback for check geometry command 2013-12-01 11:57:30 +01:00
wmayer 66f0499a81 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-12-01 11:45:21 +01:00
wmayer 1464cf413b fixes #0001302: crash in model refine. 2013-12-01 11:44:50 +01:00
jriegel 15ecd1ffe8 Adding Unit definition to the python modul 2013-11-30 21:46:36 +01:00
jriegel 68f3a1fda4 Shifting standard unit definitions 2013-11-30 17:58:24 +01:00
jriegel ae3c1704c9 Using return to write the logBook in UnitsCalculator 2013-11-30 17:58:23 +01:00
jmaustpc f2ebb0813e remove path error from 18 svg icons
There was an extra path with no line or fill colour
in these 18 icons. In some svg applications displayed
this as a square in the top righ corner of the icon.
2013-11-30 14:14:34 -02:00
jriegel b706bf73a5 Add limits to the InputField 2013-11-29 18:24:17 +01:00
jriegel 09fe84abbf Finish Displacement and animation of it. 2013-11-28 23:30:21 +01:00
jriegel 61e289036e Starting Displacement post-processing to the FemMesh ViewProvider 2013-11-28 19:52:58 +01:00
jriegel 7a1a8051aa Adding python capabilities to the Result objects 2013-11-28 19:52:41 +01:00
Yorik van Havre 96514385e5 Arch: Added Draft_PathArray to the Arch WB 2013-11-28 11:55:40 -02:00
Yorik van Havre 4ce8d747b8 Draft: Added Jim's PathArray icon 2013-11-28 11:53:36 -02:00
WandererFan d652d84c19 Add Draft makePathArray and _PathArray
Add Draft PathArray GUI tool
2013-11-28 11:42:14 -02:00
wmayer a0d2fcd8e2 Ignore plugins by git export 2013-11-28 14:03:32 +01:00
wmayer f5432d6a08 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-11-28 13:33:12 +01:00
wmayer 11d3d51505 + Webkit based SVG image format 2013-11-28 13:32:32 +01:00
jriegel feeb053e18 Objects for Results of FEM analysis 2013-11-27 20:14:58 +01:00
wmayer 680f4c82f7 + Fix FEM install target 2013-11-27 16:26:43 +01:00
wmayer bbc22b90e1 + Fallback for meshing dialog if MeshPart fails to load 2013-11-27 15:19:52 +01:00
Yorik van Havre 0506a918b2 Arch: Better view provider for axis object 2013-11-25 16:48:24 -02:00
wmayer b7a9b774f3 + Support of export to X3D for meshes 2013-11-25 13:39:31 +01:00
wmayer cbbf3ee390 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-11-25 10:26:42 +01:00
wmayer a98c967be4 + Remove duplicate icon 2013-11-25 10:26:09 +01:00
Yorik van Havre 932647e57f Draft: Fixed indentation problem in importDXF 2013-11-24 22:13:45 -02:00
Yorik van Havre 816cee5f55 Draft: fixed typo 2013-11-24 18:02:48 -02:00
wmayer b8eb776179 + Do not write transient properties of Python feature classes to project file 2013-11-24 17:08:28 +01:00
wmayer 3153ccd8b2 + Add method load() to Document class in Python 2013-11-22 17:53:31 +01:00
wmayer ef6978e9df +Add method to get mdi view by view provider, add method to get flag widgets 2013-11-22 15:14:15 +01:00
wmayer 61bb8ea931 + Return an emtpy array if something fails inside getPickedPoints() 2013-11-22 10:18:14 +01:00
wmayer 1333cb8734 + Get exact point on data model when picking in 3d view 2013-11-21 12:50:49 +01:00
wmayer f5a4c28f3d + Expose method getPointOnScreen() to Python 2013-11-20 19:08:09 +01:00
Yorik van Havre f4da53bd1d Material: Created material editor
Materal editor is now funcional, abeit not complete. Can be used to
create and save new cards. Lauch from within FreeCAD with
import MaterialEditor; MaterialEditor.openEditor()
2013-11-19 19:27:15 -02:00
wmayer c01306440a + fix possible endless loop in mesh grid, allow to set an array of points to the kernel 2013-11-19 18:11:46 +01:00
Yorik van Havre 24807c876f Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-11-18 11:12:14 -02:00
Yorik van Havre 6b33631705 Draft: Fixed regular polygon default name 2013-11-18 11:11:40 -02:00
wmayer b8f94cbbd6 + allow to set custom tolerances on validate sketch tool 2013-11-18 14:09:52 +01:00
jmaustpc fac75a0006 fix error Part_Prism in OpenSCAD,
update references to the properties of Part_Prism
in exportCSG.py
2013-11-18 11:08:29 +11:00
jmaustpc 4106648286 Part_Prism in OpenSCAD,
update references to the properties of Part_Prism
in importCSG.py and prototype.py
2013-11-18 11:08:29 +11:00
jmaustpc 41adfdaf87 fix property names for Part RegularPolygon and Prism
Prism properties: - Polygon, Circumradius and Height
RegularPolygon  : - Polygon and Circumradius

DraftTools updated to reflect the change in property names
2013-11-18 11:08:29 +11:00
Keith Sloan bcb7d02c05 Hull and Minkowski operations using OpenSCAD 2013-11-17 13:50:35 +01:00
jriegel 7336a31e44 Add Attribute to FemMeshViewProvider python class to get all visible FemMesh faces. 2013-11-17 13:08:45 +01:00
Yorik van Havre 8f01d64d6a Arch: Better sectionplane widget 2013-11-16 19:47:26 -02:00
Yorik van Havre 7651593ca3 Draft: changed Part::Polygon properties names 2013-11-16 14:22:03 -02:00
Yorik van Havre 8a26361c2b Raytracing: small bugfix in preferences 2013-11-15 23:46:19 -02:00
Yorik van Havre 6987a70917 Draft: polygon tool can now use Part::RegularPolygon - fixes #0001305 2013-11-14 17:40:20 -02:00
wmayer 0b6c21c716 + Fix icons names 2013-11-14 19:00:51 +01:00
jmaustpc 4811aa6d2c minor code clean ups removing previously hidden unwanted code
PrimitiveFeature.cpp
PrimitiveFeature.h
2013-11-14 13:30:25 -02:00
jmaustpc b256fd8a4b rebase auto merge error fix AppPartGui.cpp
add ViewProviderRegularPolygon
2013-11-14 13:30:25 -02:00
jmaustpc ece1dac2f6 minor error hide Height PrimitiveFeature.h 2013-11-14 13:30:25 -02:00
jmaustpc ec4f2be7b1 rebase auto merge error fixes
Signed-off-by: jmaustpc <jmaustpc@users.sourceforge.net>
2013-11-14 13:30:25 -02:00
jmaustpc 06567358db Add Part_RegularPolygon,
regular polygon edge in Part workbench "create primitives",

Add icons Part_Polygon and Part_Spline
2013-11-14 13:30:25 -02:00
wmayer babcf2f027 Parameter transformation 2013-11-14 11:27:07 +01:00
Yorik van Havre b3738a2fce Draft: Dimension recode - fixes #1000, #852, #678
Draft dimensions have been recoded and should now behave better in non-XY planes,
and gained several new properties to adjust their look.
2013-11-13 19:25:01 -02:00
Yorik van Havre bdd9d308d3 Arch: added a prefs option to use a custom IFC schema 2013-11-13 16:50:05 -02:00
wmayer 387b8fcd9e + Throw exception when querying information from invalid shape 2013-11-13 12:29:06 +01:00
wmayer 3ffe5936f4 + Fix some tolerance issues 2013-11-13 11:57:30 +01:00
wmayer 97a2b516bb Allow user to choose tolerance in validate sketch tool 2013-11-13 11:12:02 +01:00
wmayer ae90c159e2 + Add method to Part module to set static values 2013-11-12 12:15:40 +01:00
wmayer c020bab0fa + Make sure to keep order of selected objects in getSelectionEx() 2013-11-12 11:38:52 +01:00
Yorik van Havre 782cae1d22 Updated forum links to the new subdomain 2013-11-11 11:42:34 -02:00
wmayer dd7e011726 + fix doc string of CAD style 2013-11-11 09:27:00 +01:00
wmayer fab311cb00 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-11-10 20:10:06 +01:00
wmayer 098a846e93 + Fix signal connections of buttons in units calculator 2013-11-10 20:09:36 +01:00
Yorik van Havre ce16617e82 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-11-10 16:45:49 -02:00
Yorik van Havre 40d5a5462f Arch: Added dxflib autoupdate mechanism - fixes #0001301 2013-11-10 16:45:34 -02:00
jriegel 0a503161b6 Add comment to Quantity parser and further coposed units 2013-11-10 16:33:37 +01:00
jriegel 714f591294 Make Unit string output parsably and add Pascale and Newtons 2013-11-10 16:33:35 +01:00
wmayer 23eb4c7a08 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-11-10 14:27:03 +01:00
wmayer 66387458a7 + fixes #0001081 2013-11-10 14:26:30 +01:00
jriegel 326d42763f Detect unit missmatch in UnitsCalculator 2013-11-10 14:02:34 +01:00
wmayer b035e9cb0c + fix build error, fix memory leaks 2013-11-09 18:57:34 +01:00
wmayer b6a9d7973d + Fix memory leak in units calculator 2013-11-09 13:51:21 +01:00
wmayer 047e8f8700 + Fix crash in units calculator, implement copy function 2013-11-09 13:47:15 +01:00
wmayer 26747bed19 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-11-09 13:17:24 +01:00
wmayer 8e6bd39857 + Split SoBrepShape into three files 2013-11-09 13:16:42 +01:00
jriegel 3e8a20ab7c Merge branch 'refs/heads/dev-quantity' 2013-11-09 11:15:09 +01:00
wmayer 909f7d6c13 + Fix inconsistency in context-menu of FEM view provider 2013-11-09 11:05:08 +01:00
jriegel 46db0c24e8 further implementing InputField and UnitsCalculator 2013-11-09 11:02:23 +01:00
wmayer 530ea288f2 + Make sure that number of Points and Normals is the same 2013-11-09 10:56:40 +01:00
jriegel 3d6743a13b implementing UnitsCalculator and disable changes in Sketcher 2013-11-09 07:34:56 +01:00
wmayer 09b896f40e + Implement observer for active analysis object 2013-11-08 18:51:47 +01:00
wmayer 44e70a6435 + Fix missing document icon 2013-11-08 18:50:43 +01:00
wmayer 951b086993 + Add new SVG icons 2013-11-08 14:36:34 +01:00
wmayer 476f609e04 * Remove some old XPM icons 2013-11-08 14:20:49 +01:00
wmayer f5e7965376 + Add new SVG icons 2013-11-08 14:09:27 +01:00
wmayer 86760cf414 + Fix typo, fix undo/redo problem when creating an FEM analysis object 2013-11-08 09:57:37 +01:00
Yorik van Havre 580b58fea1 Draft: fixed bad rendering of non-XY dimensions on drawing sheets 2013-11-07 18:14:09 -02:00
jriegel 1f96611b76 Add UnitsCalculator 2013-11-07 16:16:17 +01:00
wmayer d5757b7089 + fixes #0001247 2013-11-07 14:17:41 +01:00
wmayer 8446f70d13 + Fix view provider name for FEM analysis 2013-11-07 12:45:05 +01:00
wmayer 8abce2817c + Improve meshing algorithm 2013-11-07 11:17:18 +01:00
wmayer a53e93aac7 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-11-07 02:17:04 +01:00
wmayer c57ab85991 + Advanced options for different meshing algorithms 2013-11-07 02:16:33 +01:00
Yorik van Havre 355942355f Updated links to the new forum 2013-11-06 19:32:45 -02:00
wmayer e28f387b9e + Create finer meshes with netgen by bisecting 2013-11-06 17:50:57 +01:00
wmayer 9967336915 + Implement box highlighting for view providers using SoFCSelection 2013-11-06 13:40:41 +01:00
wmayer 7b65054e18 + Fix build failure 2013-11-05 21:08:23 +01:00
jriegel 2fb6e75899 implementing InputField UseCase in Sketcher EditDatumDialog 2013-11-05 19:00:42 +01:00
wmayer fa97cb6c01 + fixes #0001292 2013-11-05 18:51:40 +01:00
wmayer dc1cd7b45c + Implement persistence of GeomEllipse 2013-11-05 12:52:20 +01:00
wmayer fdff852950 + Fix curve and surface property methods of topo edge and face 2013-11-05 12:16:57 +01:00
Yorik van Havre a81604b9be Updated links to the new bugtracker location 2013-11-04 17:07:35 -02:00
Yorik van Havre 1f2c5b04bb Drawing: Symbol command
A new symbol command and Drawing::FeatureViewSymbol object allow to
load the contents of an external svg file and place it as a symbol
on a Drawing page. This symbol can then be moved and rescaled.
2013-11-01 19:12:09 -02:00
wmayer df3d7ff364 + Add missing include 2013-10-31 10:33:00 +01:00
wmayer 09faea0c8f + Fix build failure with >= OCC 6.5.2 2013-10-31 08:58:04 +01:00
wmayer 712bc170c2 0001290: Add spiral tool in Part Module 2013-10-30 14:48:42 +01:00
wmayer 12803c1de4 Set explicitly trackball as default orbit style 2013-10-30 10:34:09 +01:00
wmayer 5e05f55a53 0001291: plane offset precision is limited to 0.1 2013-10-30 10:28:50 +01:00
Yorik van Havre 13efa161b2 Arch: Added some preferences options to the MeshToShape command 2013-10-28 17:25:40 -02:00
Yorik van Havre 5d9259a36f Draft: Small fix in Shape2Dview object 2013-10-28 13:22:57 -02:00
wmayer 80bbd3f2af 0001022: BRepPrimAPI_MakeRevolution vs BRepPrimAPI_MakeRevol 2013-10-28 15:06:29 +01:00
wmayer da515effff Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-10-28 14:14:36 +01:00
wmayer c75903c948 0001031: PropertyLinkSubList causes crash 2013-10-28 14:14:11 +01:00
Sebastian Hoogen e59e5e5be4 bugfix in OpenSCADUtils.callopenscad()
it did not return any result if outputfilename was given
reported by Keith Sloan
2013-10-28 06:44:08 +01:00
Sebastian Hoogen fb48816817 use a python feature for unsupported operations 2013-10-28 06:33:40 +01:00
Sebastian Hoogen 195b8e1b35 OpenSCAD encode text as utf8 2013-10-28 06:33:39 +01:00
Yorik van Havre 7249ee4bad 0001287: Bug in draft snapping 2013-10-27 21:26:10 -02:00
Yorik van Havre 7f3430857a Arch: small fix in getShapeFromMesh 2013-10-27 15:45:57 -02:00
Yorik van Havre 4d19a79ca3 0001277: Allow to use RaySegment object in Raytracing projects 2013-10-27 14:32:47 -02:00
wmayer 5678247628 0000895: Part.BSplineCurve: allow to set degree and mutliplicites when calling constructor. 2013-10-27 12:56:05 +01:00
wmayer fd9fb9481e + Selection handling of Python view providers 2013-10-26 22:15:20 +02:00
wmayer 6d8f51f92a + Selection handling of Python view providers 2013-10-26 19:52:22 +02:00
Sebastian Hoogen 3a0037ff8d 0000895: Part.BSplineCurve: allow to set degree and mutliplicites when calling constructor.
Adds the functions:
Part.BSplineCurve.buildFromPolesMultsKnots()
Part.BSplineSurface.buildFromPolesMultsKnots()
2013-10-26 10:46:43 +02:00
wmayer 84cd18fd33 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-10-26 09:54:53 +02:00
wmayer 6b7d1856e2 + Disable downloading coin.tag file if doc package is not installed 2013-10-26 09:54:25 +02:00
Yorik van Havre 286d94060d Draft: applying workaround for pivy SoInput.setBuffer bug to draft splines 2013-10-25 17:41:48 -02:00
wmayer 2d62de2932 + Interface for selection of Python view providers 2013-10-25 15:07:39 +02:00
wmayer b652dc13aa + Apply fix on BSplineCurvePy::interpolate 2013-10-25 10:56:45 +02:00
wmayer 34d1e45f35 + Attribute to get continuity of curve 2013-10-24 18:11:24 +02:00
wmayer d22772d5fd + Method to convert any curve into B-Spline 2013-10-24 17:30:38 +02:00
wmayer f6c776e577 0000358: BSpline curves not closing correctly 2013-10-24 16:18:03 +02:00
wmayer f5e12c74ac 0001285: update doc 2013-10-23 17:22:07 +02:00
wmayer 8b054f3f18 Improve showing control points of splines 2013-10-23 15:16:49 +02:00
wmayer 8307543b80 Fix cmake file 2013-10-23 15:15:37 +02:00
wmayer 25b6645e09 + Special view provider to display splines 2013-10-22 17:56:24 +02:00
wmayer f061b6f7ea 0001278: No build possible with current CMake version 2.8.12 2013-10-22 10:33:18 +02:00
Yorik van Havre 97b5ec2479 Draft: Shape2Dview now takes groups as input 2013-10-21 15:15:37 -02:00
Yorik van Havre 0638b524ec Draft: workaround for pivy SoInput.setBuffer bug 2013-10-21 11:32:36 -02:00
wmayer 7cae1d9666 + Save selected image format for pictures 2013-10-21 13:01:38 +02:00
wmayer e8f752ec2d 0001246: Constraint datum dimension label shown as gray box vice number in transparent background. 2013-10-21 10:05:23 +02:00
Yorik van Havre 5233aa7e50 0001279: Wrong operator in DraftGeomUtils.getRotation 2013-10-18 18:31:53 -03:00
Yorik van Havre e18fb9898e 0000893: Draft upgrade 2013-10-18 18:20:13 -03:00
Yorik van Havre f654c632ba Arch: Window presets 2013-10-17 16:29:47 -03:00
wmayer 3fe1ef1677 0001273: revolve method fails 2013-10-17 16:53:10 +02:00
wmayer e90963ce11 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-10-16 17:28:29 +02:00
wmayer b29fbc5f93 + Improve sketch validation tool 2013-10-16 17:28:04 +02:00
Yorik van Havre c856a7c2e0 Arch: Added extra properties to rebars 2013-10-15 13:12:15 -03:00
wmayer 957cedc1ff + Add a sketch validation panel 2013-10-15 17:11:49 +02:00
wmayer 5bee772e49 + Fix memory leak in Python interface of Constraint class 2013-10-15 11:26:41 +02:00
wmayer 373bbcfa93 + Use of style sheets 2013-10-14 16:03:50 +02:00
wmayer 5b372f70c8 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-10-14 12:57:38 +02:00
wmayer 9aa2a3f865 + Use of style sheets 2013-10-14 12:57:00 +02:00
Yorik van Havre 1b5e24afc8 Arch: Added default prefs to rebars + different values for start and end offsets 2013-10-13 16:09:51 -03:00
wmayer 629e76426f 0000971: Tracing over a background image in Sketcher: image is overwritten by first dimensional constraint text 2013-10-13 18:35:27 +02:00
wmayer 5a96582a48 0000768: Part Sweep and Loft limitations and bugs 2013-10-13 11:07:40 +02:00
Yorik van Havre bac709b276 0001270: Raytracing export 2013-10-12 13:53:26 -03:00
Yorik van Havre f53f826783 Arch: Added support for custom subtraction volumes in windows 2013-10-12 12:29:06 -03:00
wmayer 622228d59e 0001258: Constraint application to all selected objects at once 2013-10-12 15:16:46 +02:00
Yorik van Havre fe06740133 Arch: Enabled multilayer walls 2013-10-11 15:11:41 -03:00
Yorik van Havre 7d2b885caf Draft: Changed default fontfrom Arial to internal 2013-10-11 10:49:15 -03:00
wmayer e631be10a1 0001269: Parameter 'tolerance' in 'Create Mesh from geometry' work strange. 2013-10-11 14:31:11 +02:00
wmayer 4686118f2a + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
wmayer 890d454eca Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-10-11 12:25:56 +02:00
wmayer 9af4f7ee73 + Fix compiler warnings 2013-10-11 12:24:49 +02:00
wmayer 2a2acf4955 + Make Python API more pythonic 2013-10-11 12:24:22 +02:00
Yorik van Havre 939bc92acb Draft: Added Facebinder tool 2013-10-10 19:25:33 -03:00
wmayer 495cac2d25 + Fix double to float cast 2013-10-10 17:27:01 +02:00
wmayer 31afafcba6 + Fix double to float cast 2013-10-10 17:15:03 +02:00
Yorik van Havre 72848e0477 Arch: General cleaning and removal of fixtures tool (unused anyway) 2013-10-09 17:38:48 -03:00
Yorik van Havre e6cf01c159 Arch: added hole depth property to windows 2013-10-09 17:27:51 -03:00
wmayer 9d1a6d25ad Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-10-09 21:17:28 +02:00
wmayer a3b4524cca Make Python API more pythonic 2013-10-09 21:16:04 +02:00
Yorik van Havre 20358677aa Arch: Added rounding property to rebars 2013-10-09 16:15:56 -03:00
Sebastian Hoogen cf2d437c73 OpenSCAD use Part::Prism 2013-10-09 15:42:00 -03:00
Yorik van Havre 34cce64edc Draft: Rewrite of defaults handling 2013-10-09 15:40:38 -03:00
wmayer 564f3d14e3 + Change some text 2013-10-09 17:25:11 +02:00
wmayer 01921f4f25 + Fix transaction issues 2013-10-09 12:28:25 +02:00
Yorik van Havre 7bef06f329 Arch: MergeWalls tool can now merge a single wall with its own subwalls 2013-10-08 18:40:23 -03:00
Yorik van Havre 0375c66986 Draft: Added a new bitsnpieces snap style 2013-10-08 17:02:46 -03:00
Yorik van Havre 8507005686 Draft: Added extensions intersection snapping 2013-10-08 16:36:52 -03:00
Yorik van Havre dceed60c98 Arch: Fixed bug that builds a structure on top of another structure 2013-10-08 16:31:02 -03:00
wmayer 1e860356e7 + make float assignment more pythonic 2013-10-08 12:54:20 +02:00
wmayer 26837381ac Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-10-08 11:06:30 +02:00
wmayer 2ddaa73bcd + Add documentation to SoBrepShape classes 2013-10-08 11:05:34 +02:00
Yorik van Havre aeb17dd2f7 Arch: Fixed cmake file 2013-10-07 20:10:04 -03:00
Yorik van Havre c3cecc41d0 Arch: Added Rebar object + command 2013-10-07 15:42:05 -03:00
Yorik van Havre ced0a2b6d0 Part: Extended makePipeShell() so it accepts a transformation mode value 2013-10-07 15:41:38 -03:00
wmayer cdea437e37 0001266: Part Common fails with two surface objects 2013-10-07 17:42:48 +02:00
wmayer 46a0ec259f + Simplify usage of templates 2013-10-07 15:42:22 +02:00
Yorik van Havre 01d5193296 Draft: Bugfix in snapping 2013-10-06 16:52:14 -03:00
wmayer 88493ec0e5 Show current build type 2013-10-06 13:12:16 +02:00
wmayer c6f7fd7462 0000750: Endless loop in sketch solver 2013-10-06 13:11:11 +02:00
Yorik van Havre d9e0cbe6cb Draft: Added a 'name' argument to makeArray() 2013-10-05 18:20:17 -03:00
Yorik van Havre b833e6aaf8 Raytracing: Added LuxOutdoor luxrender template 2013-10-04 15:57:15 -03:00
Yorik van Havre e2d19d7360 Draft: minor bugfix in wire object 2013-10-04 15:56:51 -03:00
Yorik van Havre 04230c4348 Draft: Fixed bug in Edit tool 2013-10-04 14:40:13 -03:00
Yorik van Havre 74fda05d77 Arch: Added a Role property to structure object 2013-10-03 16:37:06 -03:00
Yorik van Havre 860afcd929 Raytracing: Rendering with luxrender doesn't block the UI anymore 2013-10-03 16:29:13 -03:00
Yorik van Havre 9c947e56bd Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-10-03 16:05:43 -03:00
Yorik van Havre 0ea777e021 Raytracing: Better default template 2013-10-03 16:04:54 -03:00
wmayer a08ed11215 + Add Luxrender template file to build process 2013-10-03 18:01:58 +02:00
Yorik van Havre 45963747b7 Raytracing: Fixed bug in cmake file 2013-10-03 12:40:06 -03:00
Yorik van Havre 8968355395 Draft: better docstring in array function 2013-10-03 12:07:40 -03:00
Yorik van Havre 762ef1299e Raytracing: Final cleanup of Luxrender stuff 2013-10-02 12:24:31 -03:00
Yorik van Havre 94c9c28e15 Raytracing: Added Luxrender project 2013-10-02 12:24:31 -03:00
Yorik van Havre 3d7d449749 Raytracing: Added Lux Feature 2013-10-02 12:24:31 -03:00
Yorik van Havre 66d8950d57 Raytracing: Added function to rescale a luxrender matrix 2013-10-02 12:24:31 -03:00
Yorik van Havre 382a12f55f Raytracing: Added function to write shapes as luxrender strings 2013-10-02 12:24:31 -03:00
Yorik van Havre 1c51aea58a Raytracing: Added lux camera export function 2013-10-02 12:24:31 -03:00
wmayer 6a7d2dea17 + Show orientation dialog when creating an image plane 2013-10-02 14:15:39 +02:00
wmayer ee77154e6a 0001264: add function Sketch.setConstruction() 2013-10-02 10:47:29 +02:00
wmayer 789e810213 + Fix for call of normalAt for edges 2013-10-02 09:42:09 +02:00
wmayer 9dcc20344b + Apply patch for helix but deactivate it for the moment 2013-09-30 13:18:32 +02:00
Yorik van Havre 30ac573244 Draft: Small bugfix in trimex 2013-09-29 14:49:36 -03:00
Yorik van Havre 069481aa3d Draft: Adapted input boxes to use Units->Decimals pref setting 2013-09-29 13:21:29 -03:00
wmayer 4487df35de + Fix syntax error (patch from Anton Gladky) 2013-09-28 15:57:02 +02:00
wmayer 00f46aadeb + Fix TopoShape::fix() 2013-09-28 11:02:09 +02:00
wmayer 1244807f7e 0001256: Order of operations for Matrix is nonintuitive, needs documentation 2013-09-26 22:19:59 +02:00
wmayer 58d4ece5ac Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-09-26 22:07:31 +02:00
wmayer 7bd7ed8dda + Remove unused method 2013-09-26 18:47:25 +02:00
wmayer 0afb17ac20 +Fix crash when loading object without view provider 2013-09-26 17:43:27 +02:00
Sebastian Hoogen 9e3f4824bd relicense Keith's contributions under LGPL
Date: Thu, 26 Sep 2013 10:03:48 +0100
From: Keith Sloan <keithsloan*****@gmail.com>
To: Sebastian Hoogen <sebastian@h****n.de>
Message-ID: <CA+0edZVU6OP2WfBFz4JxfGhjys_bxUg056WzROUfvfLrU=CH6A@mail.gmail.com>
In-Reply-To: <e10e0dc5-44be-4431-8288-1bd795af6418@email.android.com>
Subject: Re: OpenSCAD license

Happy to relicense under LGPL
2013-09-26 11:01:11 -03:00
Sebastian Hoogen ca403304e5 OpenSCADimport: fixed centering of linear extrude 2013-09-26 11:01:11 -03:00
wmayer 5062080a26 + Fix gcc build errors/improve whitespaces 2013-09-26 15:39:25 +02:00
jriegel 30b189c1da Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel 44c07da571 integrate Quantities into PropertyView and activate preferences again 2013-09-25 21:59:24 +02:00
wmayer e55ccd05c7 + Fix bug #0001222 2013-09-25 17:15:31 +02:00
wmayer 2df5fcc63f + Fix gcc build error 2013-09-25 11:11:59 +02:00
Yorik van Havre 1497e8eaa4 Arch: Fixes in IFC importer (spaces didn't import correctly) 2013-09-24 22:38:03 -03:00
Yorik van Havre 2424fc4c7c Arch: small cosmetic fixes in ifc importer 2013-09-24 20:31:03 -03:00
wmayer 66595d6eda 0001224: Tiny Tweak: v0.14 Shows Some Items as 0.13 2013-09-24 15:02:46 +02:00
jriegel 68078487c7 Add SchemaVersion to RestoreDocFile to distinquish double from float binary 2013-09-24 11:01:09 +02:00
jriegel 29c3fa6458 small fixes 2013-09-24 11:01:06 +02:00
jriegel 0738ced074 Fixed python format flags "f" from float to double "d" 2013-09-24 11:01:04 +02:00
jriegel 66ee73f54b Further doubel suggestions from Jan
Moved Gui/InputVector,Placement,Transform from float to double
Moved Sketcher from float to double
more suggestions for moving float -> double
2013-09-24 11:01:01 +02:00
jriegel 664c1d4862 Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
jriegel 4732a800e9 start PropertyQuantity and InputField 2013-09-24 11:00:54 +02:00
jriegel 3ee7b20927 first finished implementation of Quantity parser 2013-09-24 11:00:51 +02:00
Yorik van Havre 4db2355159 Draft: Added workaround for ellipses in DXF export 2013-09-23 12:30:21 -03:00
wmayer 1603d5c6fd + Fix Windows build 2013-09-23 10:52:15 +02:00
wmayer baf8373378 0001210: DLL load failed 2013-09-23 10:02:41 +02:00
wmayer e34a68e872 0001228: Cross section of Torus in Part Workbench fails or give wrong results 2013-09-22 15:32:14 +02:00
Yorik van Havre 4eddde5c46 0001220: Fix in Draft temp lines 2013-09-21 13:38:58 -03:00
Yorik van Havre fbdfb05086 Removed version number from the winInstaller bitmaps 2013-09-21 13:21:31 -03:00
Sebastian Hoogen 3534709fb8 fixed syntax error in OpenSCADFeatures.py 2013-09-21 13:00:08 -03:00
wmayer 76e06c801f 0001231: Annoying messages at startup 2013-09-21 15:45:25 +02:00
wmayer 84102095bb 0001236: Touchpad navigation issue 2013-09-21 15:30:29 +02:00
wmayer 24a3c2cdd9 0001239: Part --> Geometric Primitives --> Regular Prism 2013-09-21 14:20:04 +02:00
wmayer 80e7f52b5f 0001245: Wrong grid size shown in task dialog 2013-09-21 12:01:16 +02:00
wmayer 3cc032c11e + Add option to refine solid on sketch-based features 2013-09-21 09:16:44 +02:00
wmayer 86bea1ef22 + cppcheck fixes 2013-09-21 07:25:20 +02:00
wmayer 458e0727f5 + cppcheck fixes 2013-09-21 07:22:17 +02:00
wmayer 9c2f454160 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-09-20 21:01:16 +02:00
wmayer 7f874b9767 + cppcheck fixes 2013-09-20 21:00:45 +02:00
Yorik van Havre cc84da72c0 Raytracing: Added RadiosityNormal povray template 2013-09-20 10:57:32 -03:00
Yorik van Havre dc3d2344d2 Raytracing: Removed +UA from the default povray options 2013-09-20 10:52:49 -03:00
Yorik van Havre 9ff1908a30 Draft: small bugfix in Pattern property 2013-09-19 21:25:52 -03:00
Yorik van Havre 711708011d Raytracing: Moved default light to the template 2013-09-19 18:13:52 -03:00
Yorik van Havre 0a8c44ea09 Arch: changed license of ifcReader.py 2013-09-19 11:19:22 -03:00
wmayer f1f3151345 +Relicense from GPL to LGPL 2013-09-19 11:21:03 +02:00
Yorik van Havre bb3c7c9601 Draft: Added a snap button to turn arch dimensions off 2013-09-17 23:07:04 -03:00
Yorik van Havre cd12853bed Raytracing: Added a render button 2013-09-17 14:30:09 -03:00
Yorik van Havre da8c9b6d63 Draft: Bugfix in Lines End property 2013-09-17 10:25:56 -03:00
Sebastian Hoogen 0d2b38c6b4 OpenSCAD import: fixed modifying wrong placment
when centering linear extrusion
2013-09-17 13:45:49 +02:00
Sebastian Hoogen 801f08a8af remove transformGeometry in OpenSCADFeatures.GetWire 2013-09-17 13:39:38 +02:00
Sebastian Hoogen ccf893f0bb remove importgroup 2013-09-17 13:39:38 +02:00
Sebastian Hoogen 1ea6fb9c54 OpenSCAD: close csg file and allow unlink to fail 2013-09-17 13:39:37 +02:00
Sebastian Hoogen 8589894691 disable print in importCSG to reduce distraction 2013-09-17 13:39:37 +02:00
Yorik van Havre e157152c96 Modified a couple of icons (Raytracing and Drawing) to give a more unified look 2013-09-16 12:18:15 -03:00
Yorik van Havre 1f479d513d 0000908: Ability to lock snap angle in Draft by pressing L
By pressing the L key while drawing with the Draft workbench, the
current angle shown on screen is kept, until L is pressed again.
2013-09-15 17:39:27 -03:00
Yorik van Havre 42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
Yorik van Havre 7cecafefaa Added app data file for gnome software center
The new gnome software center asks developers to provide a small
app info file, that describes the application
http://blogs.gnome.org/hughsie/2013/08/29/gnome-software-center-and-you/
2013-09-13 14:31:21 -03:00
Yorik van Havre 16452d82e3 Arch:Stairs can now have stringers 2013-09-12 22:56:38 -03:00
Yorik van Havre 275b120e5b Arch: Added stairs to cmake & wininstaller 2013-09-12 17:57:07 -03:00
Yorik van Havre 91d89f1701 Arch: Optimization in stairs 2013-09-12 17:54:48 -03:00
Yorik van Havre c1a0e62d61 Arch: stairs can now be based on an object 2013-09-12 17:54:47 -03:00
Yorik van Havre db52897ff2 Arch: Added structure to stairs 2013-09-12 17:54:47 -03:00
Yorik van Havre 21ca97bcdb Arch: First implementation of stairs 2013-09-12 17:54:47 -03:00
jriegel 866668ace0 start node index interface 2013-09-12 21:58:11 +02:00
jriegel 9833d995e6 Fix for edge color problem 2013-09-12 21:57:43 +02:00
Yorik van Havre dbdff25796 Startpage: Fixed links 2013-09-12 00:30:59 -03:00
jriegel c6fec1373d Fem Postprocessing set color on nodes 2013-09-11 20:00:51 +02:00
wmayer 3341bd964e Remove determinant check in transform* methods 2013-09-11 18:48:24 +02:00
jriegel 168ca35851 implementing Quantity further 2013-09-10 18:27:24 +02:00
wmayer 051dc6d8a6 Fix linker error on 64-bit 2013-09-10 16:45:28 +02:00
wmayer ca51781aa9 Fix warnings 2013-09-09 15:01:56 +02:00
wmayer d79290fc13 Fix Material target 2013-09-09 13:48:39 +02:00
Yorik van Havre 124a6da2fc Arch: Fixed profiles table 2013-09-08 18:36:48 -03:00
Yorik van Havre 202b4ce418 Draft: Set task mode as default UI mode 2013-09-08 18:22:42 -03:00
jriegel e3d9bae1ca Merge Fem developer branch 2013-09-08 19:58:13 +02:00
jriegel c0e2c92851 remove MachDist from the build system 2013-09-08 19:53:09 +02:00
jriegel 359ed70ff9 remove MachDist module - now in a private repository 2013-09-08 19:51:33 +02:00
jriegel c2553c95e6 remove the Mesh dependency from Fem 2013-09-08 19:49:25 +02:00
wmayer 813fa0cda7 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-09-08 15:26:36 +02:00
wmayer ed54b59cf1 0001140: FreeCAD crashes when deleting element in drafter 2013-09-08 15:25:51 +02:00
Yorik van Havre 738b75043b Arch: grouped all properties into an Arch group 2013-09-07 20:00:41 -03:00
Yorik van Havre 247ab055d4 Draft: grouped all properties into a Draft group 2013-09-07 20:00:27 -03:00
Yorik van Havre cab1fdf670 Arch: Added additional steel profiles from ifcuser 2013-09-07 19:32:36 -03:00
Yorik van Havre 803d219578 Draft: Better handling of download errors in DXF importer 2013-09-06 17:58:30 -03:00
Yorik van Havre 60a9b28244 Arch: Walls can now be based on a selected face of a space 2013-09-06 17:49:26 -03:00
Yorik van Havre 6e66083d3a 0001234: fixed typo in importDWG 2013-09-05 13:37:54 -03:00
wmayer 8f9a9b71a2 Enhance API of mesh selection 2013-09-04 12:18:20 +02:00
wmayer b51fcb4470 + fix whitespaces 2013-09-04 12:11:16 +02:00
jriegel f18277ff46 Merge branch 'refs/heads/master' into jriegel/develop-fem
Conflicts:
	src/Gui/View3DInventor.cpp same fix, but master was better
2013-09-04 07:47:08 +02:00
wmayer eae2ce3ac2 0001223: Dimensional constraint - Unknown C++ exception 2013-09-03 19:15:32 +02:00
wmayer 1fc5b41d02 0001224: Tiny Tweak: v0.14 Shows Some Items as 0.13 2013-09-03 17:21:38 +02:00
wmayer 974ad05807 0001051: Vertex in Part Loft and Sweep profile list - error handling 2013-09-03 15:47:02 +02:00
jriegel 66cab2d207 Fix visual glich in Mesh and start proprocessing 2013-09-02 20:53:53 +02:00
wmayer 71958f3fcc 0001232: Create Mesh from geometry / Export mesh 2013-09-02 14:09:32 +02:00
wmayer 43cb48caec 0001232: Create Mesh from geometry / Export mesh 2013-09-02 13:59:45 +02:00
wmayer 12046e91c2 0001136: StdMeshers.so: cannot open shared object file: No such file or directory 2013-09-02 08:37:25 +02:00
Yorik van Havre da319c5668 Draft: More tools are now active even when selection is empty 2013-08-31 22:14:23 -03:00
Yorik van Havre 908af9887c Arch: Arch creation tools are now active even when selection is empty 2013-08-31 13:01:26 -03:00
Yorik van Havre e7111b4d10 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-08-30 13:00:52 -03:00
Yorik van Havre ff9e4b1adf New help menu 2013-08-30 13:00:27 -03:00
jriegel 97b32d6eb9 change node attribute to a id:vector3d dictionary and changes the scripts 2013-08-29 22:15:14 +02:00
wmayer 2780372bc3 Support -psn as hidden program option on MacOSX 2013-08-29 10:06:34 +02:00
Yorik van Havre 38f0f73fbe Cleaning startup messages from Draft and Arch 2013-08-25 13:43:54 -03:00
wmayer 348fcefb92 0001137: Incomplete slices when using Part.slice on a torus 2013-08-25 17:31:04 +02:00
wmayer 1da39d014d 0001221: Add a function that can apply a Placement to a Shape like sh.transformGeometry(sh.Placement.toMatrix()) 2013-08-25 11:32:03 +02:00
Yorik van Havre 47fd378f3f Draft: Added prefs setting for teigha file converter 2013-08-24 18:48:29 -03:00
wmayer 16bb7af20f Experiment with boolean cut for slicing 2013-08-24 16:21:21 +02:00
wmayer 730866e384 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-08-24 07:26:54 +02:00
wmayer f7cfe54fae Fix refinement algorithm to avoid the loose the solid 2013-08-24 07:26:31 +02:00
Yorik van Havre f272107826 Draft: minor bugfixes 2013-08-23 13:06:24 -03:00
wmayer 48f8d67b50 Replace BRepTools_ReShape with BRepBuilderAPI_MakeSolid in refinement algorithm 2013-08-23 15:25:17 +02:00
Yorik van Havre 723d034cf0 Draft: better text positionning and scaling 2013-08-22 20:10:02 -03:00
Yorik van Havre ee04f2b0e9 Draft: minor fixes 2013-08-21 22:34:59 -03:00
Yorik van Havre e19cccfad0 Draft: Draft-to-drawing can now render faces with holes 2013-08-21 20:13:13 -03:00
Yorik van Havre 61837b6ef8 Draft: Draft-to-Drawing command now works on groups 2013-08-21 19:15:10 -03:00
Yorik van Havre a39397cf89 Draft: support for non-ascii characters in Draft texts and dimensions 2013-08-21 13:00:56 -03:00
jriegel 35d9459853 Some fixes in the Fem/Material interplay 2013-08-21 17:53:45 +02:00
Yorik van Havre a4ce94f196 Draft: minor fixes to the dxf importer 2013-08-20 23:12:44 -03:00
Yorik van Havre 4f2594b932 Draft: dxf importer now uses draft clones for blocks when in parametric import style 2013-08-20 19:31:45 -03:00
Yorik van Havre 564f049049 Draft: added prefs option to disable points in dxf import 2013-08-19 22:50:13 -03:00
jriegel 0285dfede9 clean up commands in FEM 2013-08-19 21:30:56 +02:00
Yorik van Havre e541d6db90 Added favicon to sphinx doc 2013-08-18 17:39:30 -03:00
Yorik van Havre cbc45d7a82 Small fixes to styling of sphinx docs 2013-08-18 16:56:30 -03:00
jriegel af56b324b9 Joachims changes and fixes for Abaqus write 2013-08-18 19:24:52 +02:00
Yorik van Havre 96ab84c1dc Arch: Faster module detection 2013-08-16 23:23:26 -03:00
Yorik van Havre 7d04272534 Arch: Added some preferences settings for walls and structs 2013-08-16 18:54:34 -03:00
jriegel 988d335af5 Fix sequence issue by new object for Isostatic nodes 2013-08-16 16:46:49 +02:00
wmayer dc4c861e84 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-08-16 12:59:42 +02:00
wmayer 89a5d06926 0001216: Unable to Loft Sketches with Radiused Corners 2013-08-16 12:59:00 +02:00
Yorik van Havre 578fefc9b1 Arch: Added test suite 2013-08-15 19:24:54 -03:00
Yorik van Havre efe6abb54f Draft: Added test suite 2013-08-15 19:24:54 -03:00
jriegel dca9a25a2b Nicer more informative Isostatic dialog 2013-08-15 22:50:09 +02:00
jriegel 58ba9d4498 Fix bug in getNodes() and some clean up in ApplyingBC 2013-08-15 19:35:52 +02:00
wmayer e3a9355148 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-08-15 16:51:17 +02:00
wmayer 0900025e2d + better check for opening a transaction when removing an object from document 2013-08-15 16:47:56 +02:00
Yorik van Havre fc0d342c6f Spreadsheet: Better interface for controller object 2013-08-14 11:05:54 -03:00
wmayer e1b4fc60ac Fix inconsistency of order of points of an arc 2013-08-14 12:01:02 +02:00
wmayer 5259ad3d24 0001201: Highlight coincident constraint in sketch view when clicking on (coincident) constraint in constraints list 2013-08-13 20:12:08 +02:00
wmayer c9ba79666d 0001209: Change the Word 'Radius' for Chamfering 2013-08-13 15:04:55 +02:00
wmayer 2bb8c10fed 0001213: FreeCAD Compilation fails on Linux 32 bit 2013-08-13 14:08:10 +02:00
jriegel ac69b1fc7f small fix in Job dialog 2013-08-12 22:30:02 +02:00
jriegel fede3064b5 Start updating Fem workbench 2013-08-11 23:19:52 +02:00
jriegel 214235e753 Update Fem workbench
Adding new materials and making some of the objects to python objects
2013-08-11 23:08:43 +02:00
jriegel e23febcf32 Start new Unit and Quantity system 2013-08-11 23:03:34 +02:00
Yorik van Havre 1446ee0b69 Draft: Fixes in DXF exporter 2013-08-11 12:46:36 -03:00
Yorik van Havre 58dd79e79b Spreadsheet: Added CSV import/export 2013-08-10 19:26:03 -03:00
wmayer 4376491e38 Add catch block 2013-08-10 16:55:27 +02:00
wmayer 1ede6a3b93 0001207: Expose Standard_Boolean TopoDS_Shape::IsPartner(const TopoDS_Shape& other) const; to python 2013-08-10 11:36:26 +02:00
Yorik van Havre 8e928dc265 Spreadsheet: Added a spreadsheet controller object 2013-08-09 19:36:25 -03:00
wmayer 9357683aef Fix license 2013-08-09 17:26:57 +02:00
Yorik van Havre 974a82750d 0001200: Support for ellipses in DXF exporter 2013-08-08 11:58:36 -03:00
Yorik van Havre b4618e3b0a Spreadsheet: safer formula evaluation 2013-08-06 16:01:40 -03:00
Yorik van Havre 1e1786fd41 Spreadsheet: Fixed caps size bug 2013-08-05 16:59:46 -03:00
Yorik van Havre b287c02d3d Spreadsheet: Fixed wrong icon 2013-08-05 15:57:01 -03:00
Yorik van Havre 18d1885015 Spreadhseet: Fixed opening and closing ofeditor view 2013-08-05 15:57:00 -03:00
Yorik van Havre c1567311c4 Spreadsheet: Updated cmake stuff 2013-08-05 15:57:00 -03:00
Yorik van Havre f416a324b7 Spreadsheet: Finished base object + viewer 2013-08-05 15:57:00 -03:00
Yorik van Havre 395725348b Spreadsheet: added functionality 2013-08-05 15:57:00 -03:00
Yorik van Havre 7f1044a9bb Turned the spreadsheet into a FreeCAD object 2013-08-05 15:57:00 -03:00
Yorik van Havre 3a64a9db8a Started spreadsheet module 2013-08-05 15:57:00 -03:00
jriegel db43260bb8 small fix in claim children 2013-08-04 20:41:05 +02:00
jriegel a5262f9cb7 Add python object for the FemMesh ViewProvider for later postprecessing capabilities 2013-08-04 20:39:08 +02:00
jriegel 88d558b984 make Special Analysisi object for MachDist 2013-08-04 19:25:29 +02:00
jriegel bd6dc08a1b Make Fem::Analyses object inheritable to python and some fixes in Material 2013-08-04 19:22:17 +02:00
jriegel 1b7acb839b add double click handling to the PythonViewProvider template 2013-08-04 19:20:54 +02:00
Yorik van Havre 837ad096f2 Small fix in win installer (removed draft lib) 2013-08-03 14:17:57 -03:00
Yorik van Havre a836759ebd Revert "Set default license for new files to All rights reserved"
This reverts commit f5cbde11d2.
2013-08-01 17:04:39 -03:00
jriegel bd196395db Finish the job writing 2013-08-01 21:49:45 +02:00
Yorik van Havre f5cbde11d2 Set default license for new files to All rights reserved 2013-08-01 12:31:17 -03:00
Yorik van Havre 0068d52b62 Arch: small fix to IFC importer 2013-08-01 10:13:11 -03:00
Yorik van Havre 650b493f6f document License and LicenseURL properties now appear in doc properties dialog 2013-08-01 09:48:05 -03:00
jriegel deb2ed9939 Move Job generation in JobDialog 2013-07-31 22:38:30 +02:00
jriegel b8cac92e83 switch MachDistIsostatic to python algorithem 2013-07-31 19:10:45 +02:00
Yorik van Havre c6858f69fd Draft: Fixes bugs from last commit 2013-07-31 13:55:06 -03:00
Yorik van Havre b3f79881c5 Draft: removed unnecessary uses of DraftVecUtils 2013-07-30 16:48:28 -03:00
Yorik van Havre 8b75c6a206 Arch: small fix in IFC importer 2013-07-30 16:47:55 -03:00
Yorik van Havre a81c16c391 Exposed vector negative to python 2013-07-30 12:17:06 -03:00
Yorik van Havre cb789a25d8 Arch: Added Tool property to Structs to define an extrusion path 2013-07-27 17:12:48 -03:00
Yorik van Havre 03be0d39ec Draft: Small fix in dimensions 2013-07-25 14:07:52 -03:00
Yorik van Havre 4ddfa9fc96 Draft: Better interface for setting hatch patterns 2013-07-25 13:45:40 -03:00
Yorik van Havre b0390d6a78 Arch: Small fix in walls 2013-07-25 11:49:46 -03:00
Yorik van Havre 117bfe48d2 Arch: Added steel profiles to structs 2013-07-24 17:40:35 -03:00
jriegel 9155eed7d9 Implement Isostatic Gui 2013-07-24 22:15:25 +02:00
Yorik van Havre 98ebf2903c Draft: Small label fix 2013-07-24 15:15:20 -03:00
jriegel 2cad732138 fix material save/load for non ascii paths 2013-07-24 18:14:55 +02:00
Yorik van Havre 6e9a51d017 Arch: Set wall and structs default units to mm 2013-07-24 13:00:02 -03:00
Yorik van Havre 197d141c58 Arch : Added wood sections presets to structures 2013-07-24 12:27:16 -03:00
Yorik van Havre a3a50658f6 Arch: Restored length property of walls
Walls can again be based on no underlying object, and be
only defined by length, width and height.
2013-07-24 11:52:13 -03:00
wmayer 03022837c3 0001189: Re-assign hot keys 0 thru 6 to line up with the icon placement. 2013-07-24 16:22:36 +02:00
jriegel 08e2cf1e40 more info on meshing and recalculation only if needed 2013-07-23 21:45:12 +02:00
wmayer 4ce0474901 Fix possible crash when checking for available undo/redo 2013-07-23 14:46:34 +02:00
wmayer b1451181ea Edge collapse method 2013-07-23 13:28:37 +02:00
wmayer ba21383e0c Add method to check if console mode is on/off 2013-07-23 13:27:02 +02:00
wmayer 42b06e48a8 Add nullify method to Matrix class 2013-07-23 11:21:31 +02:00
wmayer e11ec162a2 Fix macro path issue 2013-07-23 11:20:48 +02:00
wmayer d9e126fdf2 Fix typos 2013-07-23 11:18:56 +02:00
Yorik van Havre 0253fb9e74 Arch: added spaces to the ifc importer + minor fixes 2013-07-19 15:47:47 -03:00
wmayer 4263271fe4 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-19 12:28:11 +02:00
wmayer a5d9d6312d Fix Python exception handling 2013-07-19 12:27:44 +02:00
jriegel adfe1321a5 some fixes in material handling 2013-07-18 23:03:43 +02:00
Yorik van Havre f43fcd1fb5 Arch: Wall and Struct tools now set the working plane before drawing 2013-07-18 16:26:00 -03:00
Yorik van Havre 08f031d6ca Draft: Small interface cleanup 2013-07-18 16:04:34 -03:00
Yorik van Havre b2637897f5 0000982: Arch Space object
A new Arch Space object that can be created from a solid shape or from
several boundary faces, or a mix of both
2013-07-18 12:59:17 -03:00
Yorik van Havre dcb2ebf2ec Arch: Further work on Space object 2013-07-17 13:23:33 -03:00
wmayer a882476c25 Add distanceToPoint to VectorPy 2013-07-17 16:41:09 +02:00
wmayer 8cbcc06865 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-17 13:58:48 +02:00
wmayer d47a4838b2 Fix focus issue with property editor 2013-07-17 13:58:18 +02:00
Yorik van Havre 27b8be4e9b Arch: forgot to update the cmake file... 2013-07-16 19:59:56 -03:00
Yorik van Havre 5255443469 Arch: First draft of a Space tool 2013-07-16 19:09:16 -03:00
jriegel cce65e9225 Small fix 2013-07-16 22:15:05 +02:00
Yorik van Havre 3a75c0e086 0001184: Support for arc segments in Draft wires
Draft wires can now be based on a sketch with arcs, by using the
Upgrade tool on a sketch.
2013-07-16 16:30:44 -03:00
Yorik van Havre ea4d33f610 Draft: Enabled hatch patterns for all fillable Draft objects 2013-07-16 15:43:07 -03:00
jriegel a948f7a16f fix in alignment code 2013-07-16 19:42:15 +02:00
Yorik van Havre 1831cb9e34 Draft: Split main preferences page into 2 2013-07-16 13:40:06 -03:00
wmayer 64890a4552 0001182: Preserve names and colors on console mode export to STEP 2013-07-16 14:41:30 +02:00
wmayer aaae09b5ea Fix CMake test for PyCXX 2013-07-15 12:02:04 +02:00
jriegel ca0f3155e4 Add Job Control Dialog 2013-07-14 21:14:38 +02:00
jriegel a7fbc02e6d finish move tool 2013-07-14 18:21:08 +02:00
wmayer b7992ed76f 0001105: disable grid in sketcher 2013-07-14 18:14:18 +02:00
wmayer 56b9694427 0001076: Placement Position Entry can be improved 2013-07-14 16:19:37 +02:00
wmayer 097b95f686 Show linked objects of compound objects as children in tree view 2013-07-14 15:53:57 +02:00
wmayer 66c0cf0c2e Again add PyCXX sources to FreeCADBase on Windows 2013-07-14 15:14:54 +02:00
jriegel fbdbb8b4ab Add MoveTools 2013-07-14 09:59:14 +02:00
jriegel d2f7efe8c6 further implement Align and Material 2013-07-13 21:00:03 +02:00
jriegel 7319f89167 fix Preferences Page and start Material 2013-07-13 16:29:28 +02:00
wmayer 3e5168a0c1 0000964: Patch to allow use of external PyCXX 2013-07-13 16:25:16 +02:00
jriegel 211764b5da some tuning in Alignment & copy constructor for FemMeshPy 2013-07-13 15:45:05 +02:00
wmayer a81639afe1 Add a parametric compound command 2013-07-13 15:05:13 +02:00
jriegel f3aebef651 fix in write ABAQUS 2013-07-13 13:15:38 +02:00
jriegel cd19d8155c remake the position handling on the C++ side 2013-07-13 11:54:21 +02:00
jriegel 125b2f3543 fliping code and some minor adjustments 2013-07-12 23:09:13 +02:00
wmayer de9ad5ddfb 0001110: Decimal point entry in LinearPattern length field 2013-07-12 17:15:05 +02:00
wmayer 28db176474 Update git ignore list 2013-07-12 17:14:40 +02:00
wmayer c44158f90b 0000846: [Sketcher] Dragging + ESC 2013-07-12 15:30:47 +02:00
wmayer f511d5cc96 Remove updateUi() from slot functions 2013-07-12 12:55:37 +02:00
wmayer 227b1f6eb2 0001110: Decimal point entry in LinearPattern length field 2013-07-12 12:49:37 +02:00
wmayer 93827f68e8 0001175: pressing escape in datum editing dialog closes sketch 2013-07-12 11:28:54 +02:00
jriegel 6f5ae0dd42 Implementing new Alignment approach 2013-07-11 00:19:46 +02:00
jriegel 4ab5bd57c9 Add Nodes interface to FemMesh (for usage e.g. calculating eigen transformation) 2013-07-10 23:16:21 +02:00
jriegel 0b57c4da5c Add a general methode for calculating eigen transformation into the Mesh interface 2013-07-10 23:15:25 +02:00
jriegel cddcba5238 Add checkbox for auto fine tuning to Alignment dialog 2013-07-10 23:14:09 +02:00
jriegel bdd3575cd2 Undo some of the tried fixes which doesen't work 2013-07-10 23:13:27 +02:00
jriegel c2a13abfaa Merge branch 'refs/heads/dev-openscad' 2013-07-10 22:26:26 +02:00
Sebastian Hoogen 12f4190c93 OpenSCAD: call which to find openscad executable
on all platforms except 'win32'
2013-07-10 20:52:23 +02:00
jriegel 729188d759 Merge remote-tracking branch 'refs/remotes/shoogen-github/dev-openscad' 2013-07-10 18:14:05 +02:00
Sebastian Hoogen 3b32918e54 OpenSCAD check for relative paths in open function as well 2013-07-10 16:43:22 +02:00
Sebastian Hoogen 9f4c547afe search for OpenSCAD executable when initalizing WB 2013-07-10 16:19:24 +02:00
Sebastian Hoogen 97f3fd54ce use TypeId instead of Type of Part::Feature in exportCSG.py 2013-07-10 16:11:32 +02:00
Sebastian Hoogen f1762bf3f4 added function to search for the openscad executeable
this function implmented but not called at the moment
2013-07-10 16:11:32 +02:00
Sebastian Hoogen 0d7fafc048 OpenSCAD check for gui in rotate extrude 2013-07-10 16:11:32 +02:00
Sebastian Hoogen 558a3e715e process OpenSCADs stdout and allow os.unlink to fail 2013-07-10 16:11:31 +02:00
Sebastian Hoogen c6c68f77b2 proposal for exporter 2013-07-10 16:11:31 +02:00
wmayer bebd37a39a 0000459: Revolving a single line sketch fails 2013-07-10 15:26:31 +02:00
wmayer f388e0001b 0000923: Split shape color setting from current preference page into a separate page 2013-07-10 14:45:06 +02:00
wmayer f878f630a9 0001109: Touchpad Navigation issue 2013-07-10 13:06:32 +02:00
jriegel c77d2c688e Again some fixes 2013-07-10 07:54:26 +02:00
jriegel 3f7f010041 some fixes of the fixes ;) 2013-07-10 07:45:39 +02:00
jriegel 4c6e988aad Fix Boundbox problem in FemMesh and make singular Coordinate3 node 2013-07-10 01:09:59 +02:00
jriegel 1ce212160b move AxisCross code to the Viewer and make a Python binding 2013-07-09 23:28:21 +02:00
jriegel d5ec1da95b implement user interface for creating a Analyses and add a part 2013-07-09 22:15:06 +02:00
wmayer a66d9449b0 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-09 19:03:27 +02:00
wmayer a966534295 0000931: Can't change STEP/IGES export units through Python interface 2013-07-09 19:02:53 +02:00
Yorik van Havre 7e525e6d8c Draft: Further work on hatching 2013-07-09 13:55:25 -03:00
wmayer adc0052997 0000948: Part names are incorrect on import from STEP file 2013-07-09 14:37:34 +02:00
wmayer f86c65644c Try alternative sort method 2013-07-09 10:40:37 +02:00
jriegel 9d05dcc85c Merge branch 'refs/heads/master' into jriegel/develop-fem 2013-07-08 19:46:54 +02:00
wmayer 7e13921de4 0000641: Make Clipping-Plane-placement editable + support multiple planes 2013-07-08 17:26:50 +02:00
wmayer fc845d6fae 0000641: Make Clipping-Plane-placement editable + support multiple planes 2013-07-08 17:18:46 +02:00
wmayer f43f63d3b6 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-07 21:19:40 +02:00
wmayer 7de742b436 0000735: Feature request for better Fillet/Chamfer 2013-07-07 21:19:19 +02:00
Yorik van Havre 51383ada07 0001167: Arch fixtures system
Arch objects can now have Fixtures, which is a mesh or part attached to
them, but that doesn't modify the geometry of the base object. They are
normally hidden, except when the new Display Mode "Detailed" is used.
Fixtures can be added to any Arch object using the new Arch_Fixture command
and removed with the standard Arch_Remove command.

Fixtures are useful for small unimportant details like window latches or hinges,
that should stay hidden most of the time.
2013-07-07 11:29:26 -03:00
wmayer 56295c5d76 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-07 16:13:58 +02:00
wmayer 2b0757c3a6 0000735: Feature request for better Fillet/Chamfer 2013-07-07 16:13:38 +02:00
wmayer e3b0c111be Fix crash when closing color panel 2013-07-07 16:05:30 +02:00
Yorik van Havre c519f793e3 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-06 18:47:58 -03:00
Yorik van Havre 407f4d9e2f Draft: Added face mode to Draft rectangle tracker 2013-07-06 18:41:43 -03:00
wmayer 689fcd58d8 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-06 22:49:45 +02:00
wmayer d4d4c8dc62 0000596: Edge chain selection 2013-07-06 22:49:12 +02:00
Yorik van Havre 28b001f26c Draft: Further work on SVG hatch patterns 2013-07-06 16:33:34 -03:00
Yorik van Havre 9ba82ae058 Arch: Small fix in windows 2013-07-06 13:30:26 -03:00
wmayer efd0274d47 0001104: Toolbar Customizer Move Buttons enabled but inactive 2013-07-06 17:48:30 +02:00
wmayer 267c8ad046 0001023: Crash when quitting after using Windows > Tile 2013-07-06 17:21:35 +02:00
wmayer efa27db67a 0001161: Merged Project object being imported changes size when moved 2013-07-06 15:49:20 +02:00
wmayer 7f27e4355a Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-06 15:03:55 +02:00
wmayer 4afa0138cc 0001162: Cut mesh with plane 2013-07-06 15:03:28 +02:00
wmayer b9fb862c66 + Reduce redundant code in mesh classes 2013-07-06 15:02:52 +02:00
Yorik van Havre 4846f4ea50 Draft: Enabling svg hatch patterns 2013-07-05 23:04:50 -03:00
Yorik van Havre 634830e639 New splashscreen 2013-07-05 17:18:34 -03:00
Yorik van Havre 321938c1f5 Draft: small fixes
+ added svg scaling capability to Draft.loadTexture()
+ late-loading of svg patterns
+ fixed warnings in Draft Drawing tool
2013-07-05 13:44:31 -03:00
Yorik van Havre 0883e885b3 Draft: Small fix in Draft Wires 2013-07-05 11:50:05 -03:00
wmayer 249e806a31 + playing in sandbox 2013-07-05 15:31:54 +02:00
wmayer 6fde5d764b + in setPyObject() only use classes derived from Base::Exception 2013-07-05 15:29:04 +02:00
Yorik van Havre e811e09545 Draft: Small bugfix in wire tool 2013-07-04 12:50:02 -03:00
wmayer ab9b6bd5a8 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-03 19:31:21 +02:00
wmayer bd30307432 disable selection node during box selection 2013-07-03 19:31:00 +02:00
wmayer ed6a820f9f 0000803: Feature request - box selection for faces in set color mode 2013-07-03 19:30:10 +02:00
Yorik van Havre a367b2e1e3 Arch: Allow windows to have different colors
+ When editing window components, a new "type" setting is available
+ In Arch preferences there is a new "Window Glass Color" preference
+ When a window component is set to "Glass panel" type it takes the glass color
2013-07-03 13:10:49 -03:00
wmayer 23ebb99827 Call releaseMouseModel() in stopSelection() of navigation style 2013-07-03 15:04:47 +02:00
wmayer 14ced6b202 0001133: crash at padding a sketch with 42 holes 2013-07-03 07:56:36 +02:00
wmayer 902ce7871f 0000803: Feature request - box selection for faces in set color mode 2013-07-02 18:49:53 +02:00
wmayer 8c6f77bb2b Fix weird behaviour for 64-bit version on Windows 2013-07-02 14:52:32 +02:00
wmayer fc2fb55042 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-07-02 10:06:26 +02:00
wmayer 20c57d3a33 Use rubberband for box selection 2013-07-02 10:04:33 +02:00
Yorik van Havre 64ed1d97b2 Draft: Added commands for snapping tools
Snap tools now also appear in the Draft menu, so users can
give them keyboard shortcuts.
2013-07-01 16:28:00 -03:00
Yorik van Havre 7501475e66 Draft: Fixed bug in trim tool 2013-07-01 12:53:43 -03:00
wmayer 7533517bb2 0001021: add directory to findCoin cmake 2013-07-01 14:03:45 +02:00
wmayer 0de46dcd0e 0001025: wireframe mode should include vertices in display 2013-07-01 14:00:55 +02:00
wmayer f5d091fc96 0000849: [Sketcher] Small inconsistency with update 2013-07-01 13:08:47 +02:00
wmayer 0361730d98 + do not reset viewing mode when animating 3d view 2013-07-01 12:50:00 +02:00
wmayer 112b25f9fc Expose getMainWindow() to Python 2013-06-30 23:34:24 +02:00
wmayer 8a5d32892f Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-06-30 19:08:11 +02:00
wmayer 9e546120bc 0000920: Hide turntable dialog when in fullscreen mode 2013-06-30 19:07:41 +02:00
Yorik van Havre 8ca6d56bf1 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-06-30 13:55:26 -03:00
wmayer c6d23d1598 PySide binding 2013-06-30 15:14:02 +02:00
wmayer 873730effe PySide stuff 2013-06-30 11:01:09 +02:00
wmayer 215775b7f2 Fix error in CMake file 2013-06-30 11:00:54 +02:00
Yorik van Havre 5df0638aec Arch: Removed obsolete ArchCell.py 2013-06-29 12:05:45 -03:00
wmayer 75755c62a4 0001026: Suppress CMake warning if OCE wasn't found but OCC was found 2013-06-29 15:52:55 +02:00
wmayer 449e71a6b4 Replace native file dialog with Qt's file dialog on Linux 2013-06-29 15:11:48 +02:00
Yorik van Havre c6d512ccab Draft: fixes to dxf & svg exporters to work in console mode 2013-06-28 14:13:35 -03:00
Yorik van Havre b2c635e40c 0001032: Preference setting for bounding box colour 2013-06-27 20:42:30 -03:00
wmayer ea08d136f8 Activate new file dialog for Linux 2013-06-27 17:30:33 +02:00
wmayer 367ecc3ff3 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-06-27 17:08:31 +02:00
wmayer 9679bacabf Auto append file extension in file dialog 2013-06-27 17:07:39 +02:00
jriegel 950d9093e9 Merge branch 'refs/heads/jriegel/develop-fem' 2013-06-27 16:47:40 +02:00
wmayer 4b2474807b 0001160: Freecad sometimes 'forgets' the ability to handle stp files 2013-06-27 14:16:41 +02:00
jriegel 388ad0ce78 Small fix in Fem 2013-06-27 00:14:02 +02:00
jriegel b312232b80 Switch NetgenObject to inert if build without Netgen 2013-06-26 23:20:09 +02:00
jriegel e1847a00f9 Activating FEM for Linux again (without Netgen plugin) 2013-06-26 19:14:36 +02:00
jriegel 83b956e908 Merge branch 'refs/heads/master' into jriegel/develop-fem
Conflicts:
	src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp
	src/Mod/Fem/App/FemMeshShapeNetgenObject.h
	src/Mod/Fem/Gui/AppFemGuiPy.cpp
	src/Mod/Fem/Gui/Command.cpp
	src/Mod/Fem/Gui/TaskDlgMeshShapeNetgen.cpp
	src/Mod/Fem/Gui/TaskDlgMeshShapeNetgen.h
	src/Mod/Fem/Gui/TaskTetParameter.cpp
	src/Mod/Fem/Gui/TaskTetParameter.h
	src/Mod/Fem/Gui/TaskTetParameter.ui
	src/Mod/Fem/Gui/ViewProviderAnalysis.cpp
	src/Mod/Fem/Gui/ViewProviderAnalysis.h
	src/Mod/Fem/Gui/ViewProviderFemMeshShapeNetgen.cpp
	src/Mod/Fem/Gui/ViewProviderFemMeshShapeNetgen.h
2013-06-26 19:02:15 +02:00
Yorik van Havre 7f216323ff 0001092: Draft local/global coordinates
The draft X,Y,Z coordinates are now displayed as global, or local
if the current working plane is different from the world axes.
2013-06-25 11:40:38 -03:00
Yorik van Havre 827a716814 Draft: minor fixes to DXF importer 2013-06-23 15:59:35 -03:00
Yorik van Havre 218a828327 Draft: fixed cmake and installer stuff with removed draftlibs 2013-06-23 15:33:26 -03:00
Yorik van Havre 2d180fac38 Draft: Removed draftlibs
Removed the contents of the draftlibs folder (dxf import-export) for license
reasons. These files are now hosted on
https://github.com/yorikvanhavre/Draft-dxf-importer and will be downloaded
automatically by FreeCAD on first use.
2013-06-22 14:48:58 -03:00
wmayer 1dc122dc9a 0000877: Move from PyQt to PySide 2013-06-22 01:56:58 +02:00
Yorik van Havre 367a8f9aee Draft: Fixed license blocks 2013-06-20 21:32:41 -03:00
Yorik van Havre 33faa40101 0001078: Draft now snaps to center of polygons and cylinders 2013-06-20 21:21:35 -03:00
wmayer f05be462bc Reduce redundant code in View3DInventorViewer class 2013-06-20 16:57:10 +02:00
wmayer 7e3751224a Minor fix 2013-06-20 16:54:52 +02:00
wmayer 5b46a86056 0001155: FreeCAD crashed while creating a loft of two ellipses 2013-06-20 13:12:31 +02:00
wmayer c6b02da648 Use framebuffer object as fallback for off-screen rendering 2013-06-19 17:42:28 +02:00
wmayer e5224f1140 Fix license of script 2013-06-19 10:21:01 +02:00
jriegel fad194c8d7 Nother fixes 2013-06-17 22:18:32 +02:00
jriegel e0f18f6986 fix in cMake file 2013-06-17 19:51:01 +02:00
wmayer b63f9d7a2b 0001152: The output of __repr__() of Vector and Rotatio would create Objects with different Values do to inapropriate rounding 2013-06-17 13:21:25 +02:00
wmayer d99a09b03c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-06-17 11:45:00 +02:00
wmayer fe9da93c9c Fix in returning correct surface from face 2013-06-17 11:44:23 +02:00
Yorik van Havre d26ffbe9aa Arch: misc improvements
+ Further work on snap tracking dims
+ Better snap for structures
+ Corrected initial temp shape of structures
+ Added a box with wall length (still readonly)
2013-06-16 20:06:14 -03:00
Yorik van Havre a63e18f170 Arch: Added preliminary dimensions tracking to walls 2013-06-16 14:13:20 -03:00
wmayer d14d5cb2e4 #0001093: Improvements for Brep Inventor nodes (disabled atm) 2013-06-15 23:07:26 +02:00
wmayer 2dce90b9b0 #0001150: Abort on startup 2013-06-15 22:26:21 +02:00
Yorik van Havre 31fbfd33ef 0001151: Draft loads Part module at start
+ Fixed loading of Part module at startup
+ Minor cleaning around
2013-06-15 15:39:29 -03:00
wmayer 6a9594d4c0 Don't show attribute 'Type' in call tips any more 2013-06-15 15:32:06 +02:00
wmayer 313866ee63 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-06-14 23:09:59 +02:00
wmayer ca2cbc3be4 Trick to download files if logged in at SF 2013-06-14 23:09:25 +02:00
Yorik van Havre f0d9cdbc12 Draft: Small fix for malfuncioning pivy 2013-06-14 12:04:59 -03:00
Yorik van Havre 6a88bcd870 0001138: Use TypeId in Draft & Arch 2013-06-14 11:19:58 -03:00
wmayer 90292ecaaf Create minidump file if FreeCAD crashes on Windows 2013-06-14 14:33:02 +02:00
wmayer 5a04adebe4 #0000862: Draft toolbar doesn't disappear when switching workbenches 2013-06-13 22:30:46 +02:00
wmayer 88a05de6ba #0001143: Boolean Cut Fails with Extruded Shapestring 2013-06-13 14:37:01 +02:00
wmayer b97266a341 #0001143: Boolean Cut Fails with Extruded Shapestring 2013-06-13 12:14:24 +02:00
wmayer b36ffe63fd Activate OSD signals on Linux 2013-06-12 23:15:53 +02:00
wmayer 00b4fd364a Show status of downloading file 2013-06-12 23:15:13 +02:00
wmayer 2282b72025 0001143: Boolean Cut Fails with Extruded Shapestring 2013-06-12 17:01:55 +02:00
wmayer 7e792ef761 Use PropertyFile for fonts 2013-06-11 22:31:15 +02:00
wmayer ef104af13d Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-06-11 17:28:55 +02:00
wmayer 32117fb980 Prepare Windows build to use FreeType 2013-06-11 17:28:21 +02:00
jriegel f69a3842e9 New Gui 2013-06-09 20:18:26 +02:00
jriegel 6eb90b1b21 showTaskView() in Python 2013-06-09 20:04:23 +02:00
jriegel b7523b63af Some fixes in python ViewProvider handling 2013-06-09 17:52:03 +02:00
jriegel e189c0b336 add addModule() macro helper to the python interface of Application 2013-06-09 16:24:07 +02:00
jriegel 8735f4b8a6 working on material framework 2013-06-06 23:24:30 +02:00
wmayer 6ee5dfe535 + Support Ubuntu 12.04 2013-06-05 23:58:40 +02:00
wmayer 8fd1f35b44 + Fix debian packaging 2013-06-05 23:50:04 +02:00
wmayer 3e5ee466a8 + Partial merge with Debian package 2013-06-05 17:39:47 +02:00
wmayer 9ab75d4aa5 + Update packaging script 2013-06-05 16:48:38 +02:00
wmayer 3adb55edbf + Delete unused files 2013-06-05 15:48:38 +02:00
wmayer 08aad64340 + Delete unused files 2013-06-05 15:47:00 +02:00
wmayer c2adf81ea6 + Make FreeCAD default app to open FCStd files, allow to define different mimetype icons 2013-06-05 15:31:09 +02:00
wmayer 75767272e9 + Update debian files 2013-06-05 14:03:30 +02:00
wmayer b63f2c7f4b Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-06-05 13:35:40 +02:00
wmayer 3664455182 Fix deadlock issue 2013-06-05 13:35:09 +02:00
wmayer cb37f84ccb Use TypeId in Draft 2013-06-04 21:16:28 +02:00
jriegel 8ddaf06100 Put the icons in play 2013-06-04 19:42:14 +02:00
jriegel 4ef45dad4b Add icons to the resources 2013-06-04 19:02:17 +02:00
jriegel 8ef44934d2 Add some files to build 2013-06-03 21:00:38 +02:00
jriegel ef6a4bdd10 Implementing special material gui 2013-06-03 18:05:52 +02:00
jriegel 53a2f03246 Add Icons 2013-06-03 10:14:39 +02:00
jriegel eaa38ec43e Add Material treatment file 2013-06-03 08:19:28 +02:00
wmayer 0bebfcc50f Add FreeCAD icons with different sizes 2013-06-03 01:11:26 +02:00
wmayer 5fe7f6bf7c Fix thumbnailer script 2013-06-02 15:12:41 +02:00
jriegel f120990372 Add file importer, standard material and Yoriks gui prototype 2013-06-01 20:27:30 +02:00
wmayer aa6c15d8d7 Remove path 2013-06-01 18:15:46 +02:00
jriegel fd262a24f6 Added Material base-classes 2013-06-01 18:12:57 +02:00
wmayer 02510f4e02 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-05-30 17:04:27 +02:00
wmayer ab012f5bee Port to Coin3d 4.x 2013-05-30 17:03:52 +02:00
jrheinlaender 5e443eab04 Fixed build error on Ubuntu 2013-05-30 15:29:06 +02:00
wmayer 26d1751aeb 0000952: Download manager 2013-05-29 17:57:25 +02:00
wmayer 2896efe584 0000952: Download manager 2013-05-29 12:38:01 +02:00
jriegel e6c649cc1d Fix in Grid calculation and remove some trace messages from SMESH 2013-05-29 00:34:08 +02:00
wmayer 3db10284b1 0000952: Download manager 2013-05-28 18:14:58 +02:00
jriegel c10d87d366 small fixes and tests in Fem 2013-05-28 18:13:01 +02:00
wmayer 2e31e177a8 Apply fix from mrlukeparry for datum labels 2013-05-27 11:25:50 +02:00
wmayer 6d3659bda2 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-05-27 11:14:01 +02:00
wmayer 97dd5fd059 Pass argument to moc to fix problem with boost 2013-05-27 11:13:32 +02:00
wmayer 376fdb4e91 Port to OCC 6.6 2013-05-25 23:46:28 +02:00
wmayer d07fc16268 Improve ruled surface feature 2013-05-25 16:58:20 +02:00
wmayer fad26c93a5 Implement authenticate slot in download dialog 2013-05-25 14:02:26 +02:00
wmayer ff031ec4c6 Show question dialog to ask user to continue when deleting an object 2013-05-25 14:01:15 +02:00
wmayer 152d2b895f Port to OCC 6.6 2013-05-25 13:30:01 +02:00
wmayer 163fbe1dcd Fix lock file issue on Linux 2013-05-25 01:45:37 +02:00
Jose Luis Cercós Pita 85930025e6 Merge branch 'sanguinariojoe-ship' of ssh://git.code.sf.net/p/free-cad/code into sanguinariojoe-ship
Rebased to call for merge
2013-05-21 08:28:01 -04:00
Jose Luis Cercós Pita 10fd202f95 Disabled simulations stuff for the master branch 2013-05-21 08:27:00 -04:00
Jose Luis Cercós Pita 213bc56c1c Updated the windows installer 2013-05-21 08:27:00 -04:00
Jose Luis Cercós Pita 9f2b514ae6 Prevented some errors in the floating coefficient computation 2013-05-21 08:27:00 -04:00
Jose Luis Cercós Pita 970c6a7fad Fixed main frame area coefficient 2013-05-21 08:27:00 -04:00
Jose Luis Cercós Pita 2b38876e40 Managed situations when no tank volume can be found 2013-05-21 08:27:00 -04:00
Jose Luis Cercós Pita f9e1c43285 Regenerated branch 2013-05-21 08:27:00 -04:00
Jose Luis Cercós Pita 293b9263ad Disabled simulations stuff for the master branch 2013-05-21 08:24:58 -04:00
Jose Luis Cercós Pita 09ab819fc3 Updated the windows installer 2013-05-21 08:21:15 -04:00
wmayer b45c1dbb84 Allow to delete sub-elements in either case 2013-05-21 13:42:08 +02:00
wmayer 6fd74b77b7 Set default names for widgets in Qt designer plugin 2013-05-21 11:56:36 +02:00
Jose Luis Cercós Pita 2e82745242 Prevented some errors in the floating coefficient computation 2013-05-20 12:16:18 -04:00
Jose Luis Cercós Pita 23554515d8 Fixed main frame area coefficient 2013-05-20 12:09:21 -04:00
Jose Luis Cercós Pita d65a4f0041 Managed situations when no tank volume can be found 2013-05-20 09:29:18 -04:00
Jose Luis Cercós Pita 0a930d4c1a Regenerated branch 2013-05-20 09:08:43 -04:00
wmayer 37d1696e16 0000175: Auto save function (first step) 2013-05-17 13:29:11 +02:00
wmayer 1939e61c57 Check for decimal and group separator on startup (Windows) 2013-05-16 12:32:33 +02:00
wmayer ea943e0d7c 0001121: IndentationError in Python Console 2013-05-14 17:28:44 +02:00
wmayer 672e4d0feb 0000965: Tooltips should include shortcuts keys in parentheses 2013-05-14 16:26:44 +02:00
wmayer 81045486fd 0000826: reading from the python console for using pdb -- code cleanup 2013-05-14 15:20:00 +02:00
wmayer 941dcbf6fc Implement drag-at-cursor 2013-05-14 14:53:13 +02:00
wmayer 5639f22f8e 0001111: Deleting sketch after padding was done crashes the program 2013-05-13 16:25:30 +02:00
wmayer 04401b46f5 Set version number to 0.14 2013-05-13 15:36:53 +02:00
wmayer f23a3cf5c4 0001120: Windows installer long standing issues [easy fix] 2013-05-13 15:34:21 +02:00
wmayer bb65031594 Method to get SelectionObject from string 2013-05-13 15:25:31 +02:00
wmayer e1222202dd 0001097: CMake stops with error: Circular ... <- ... dependency dropped. 2013-05-12 17:41:59 +02:00
wmayer 83a447f43f MVC for tree view 2013-05-11 22:16:02 +02:00
jriegel b1820a8943 Switch of Salome-messages in Release 2013-05-11 20:15:39 +02:00
wmayer 1e2aface5a Fix for highlighting of edges 2013-05-08 18:56:55 +02:00
wmayer cec94bdb6a Fix for highlighting of edges 2013-05-08 18:40:20 +02:00
wmayer fa3bbd093a Save position of last edited property item and restore it when selection changes 2013-05-08 15:07:46 +02:00
wmayer 738e8c3d15 Prepare tree view to show for multiple referenced objects more tree items 2013-05-08 14:47:20 +02:00
wmayer 33fbb0ed8d Ask user what to do if objects with unselected dependency get copied 2013-05-08 14:45:52 +02:00
wmayer d58f317bc5 Reimplement 'Duplicate' command to do the same as Copy/Paste 2013-05-07 23:30:17 +02:00
wmayer 9a9510d9e3 Make file read-only once assigned to a PropertyFileIncluded instance 2013-05-07 22:42:58 +02:00
wmayer ab8a8cd371 Remove unneeded code 2013-05-07 15:35:51 +02:00
wmayer 7c5ff7cec9 Do not allow to drag and drop child items of non-group objects in tree view 2013-05-06 15:34:56 +02:00
wmayer 9971dca73c Add copyright notice 2013-05-06 12:51:47 +02:00
wmayer 8cf9dba3ba Add python example of how to use splines 2013-05-06 12:50:31 +02:00
wmayer 50559c4b17 One more fix to avoid loss of data 2013-05-06 12:27:25 +02:00
wmayer 62710779a7 Rename transient directory when saving document under new file 2013-05-06 11:28:13 +02:00
wmayer 95b2a1cd2b Fix another data loss issue in PropertyFileIncluded 2013-05-06 10:51:25 +02:00
wmayer 1aff25a62d Fix data loss in PropertyFileIncluded 2013-05-06 08:27:25 +02:00
jriegel 0c3519b616 Switch setup Dialog around 2013-05-06 08:22:10 +02:00
jriegel b46e89de25 transparent parameter in Dialog 2013-05-05 22:41:56 +02:00
jriegel dab1499b5b Further implementing parameter setting 2013-05-05 19:34:05 +02:00
wmayer b198248535 Fix XML reading in property class 2013-05-05 01:24:28 +02:00
wmayer cb03da1d5c Improve UUID handling of documents 2013-05-04 18:05:39 +02:00
wmayer 946bd02df4 Improve reporting of Python exceptions 2013-05-04 14:23:53 +02:00
wmayer 2bbe465229 + Make transient directory of the form ExeName_Doc_{UUID}_{HASH}_{PID}
+ Set some properties in Document read-only

+ Implement Document::saveAs

+ Fix PropertyUUID::setValue()

+ Add a field for UUID in document information panel
2013-05-04 03:16:34 +02:00
wmayer 9ad4bb5595 Mark attribute 'Type' deprecated, use 'TypeId' now 2013-05-03 21:23:34 +02:00
wmayer e18dcef6db Fix crash in property editor of property link is empty 2013-05-03 18:30:25 +02:00
wmayer 66bf91b077 Move GL painting of Rubberband into pimpl class 2013-05-03 17:03:00 +02:00
wmayer 7bbe64f586 Fix gcc build failure 2013-05-02 18:07:06 +02:00
wmayer 746ab2ec78 Add framebuffer support to Inventor viewer 2013-05-02 17:37:56 +02:00
wmayer fba4d14f79 Implement Copy/Paste for PropertyEnumeration 2013-05-02 14:02:55 +02:00
jriegel 81aa1caf9b Small fix in dialog box 2013-04-30 08:23:24 +02:00
jriegel 5f8f9842e4 wiering the tet dialog 2013-04-29 22:21:55 +02:00
wmayer 6551cc4d81 Command to reorient sketch 2013-04-29 21:12:45 +02:00
jriegel 3cca1594da Add ActiveAnalysis logic 2013-04-29 20:08:21 +02:00
wmayer b36cc0e43a Add property classes to type system 2013-04-29 16:54:25 +02:00
wmayer a233388328 Make information if tree item is expanded/collapsed persistent 2013-04-29 14:30:26 +02:00
jriegel 2bc64acebf Adding additional objects to FEM 2013-04-28 19:07:59 +02:00
jriegel eaa639e5ae Add ViewProvider and Dialogs for Analysis object and the Netgen mesher object 2013-04-28 19:07:57 +02:00
jriegel 3f48909fbc Add active Analysis logic 2013-04-28 19:07:56 +02:00
wmayer 7e7dc80a7f Fix typos 2013-04-28 17:33:48 +02:00
wmayer 8122723360 Switch new selection style explicitly off for some types 2013-04-28 17:23:54 +02:00
wmayer ecc61ba784 Fix typo 2013-04-28 14:31:12 +02:00
wmayer 9eb917af08 Fix possible crash in PropertyEnumeration class 2013-04-28 14:30:25 +02:00
wmayer 859cf78dba 0001087: Inventor Navigation continues with released Mouse Button 2013-04-27 22:10:59 +02:00
wmayer 9f0b1ac66e Improve performance of box selection in sketcher 2013-04-27 20:45:16 +02:00
wmayer 420d10face Add a GLPainter class to do all the OpenGL drawing stuff 2013-04-27 19:24:39 +02:00
wmayer adaa3716dd Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2013-04-26 17:22:10 +02:00
wmayer c754280af6 Improve methods to select meshes, allow to smooth only selected area of a mesh 2013-04-26 17:21:36 +02:00
wmayer 2aabac71a7 Add convenience methods to query selection of a mesh 2013-04-26 17:20:24 +02:00
wmayer cffc53f8ea Fix whitespaces 2013-04-26 17:19:23 +02:00
wmayer 2fdc4c7a10 Better exception handling when writing STEP/IGES/BREP files via Python 2013-04-26 17:18:25 +02:00
wmayer 7d400af1f3 Implement a TaskGroup class to show widgets without extra header 2013-04-26 17:16:56 +02:00
wmayer c7b0125769 Minor changes 2013-04-26 17:16:01 +02:00
wmayer 60eeb81183 Implement a more user-friendly selection tool 2013-04-26 17:13:20 +02:00
wmayer 688141164a Allow to show more parameter sets in parameter editor 2013-04-26 17:10:33 +02:00
wmayer 1396a1ae15 Make Command::getSelection static 2013-04-26 17:09:18 +02:00
wmayer a40bac2bc2 Fix const correctness 2013-04-26 17:08:05 +02:00
wmayer c1e90feb0a Add utility functions to convert between string/wstring 2013-04-26 17:07:18 +02:00
wmayer 3cb4cf6fe3 Allow to save/load XML to/from buffer 2013-04-26 17:06:18 +02:00
wmayer 1a81658d5e Allow to save/load XML to/from buffer 2013-04-26 17:05:40 +02:00
wmayer 06df5daa26 Fix typo 2013-04-26 17:03:58 +02:00
wmayer 05e092132f Fix GNUC compiler settings 2013-04-26 17:03:39 +02:00
wmayer 999940144c Fix whitespace 2013-04-26 17:01:39 +02:00
Yorik van Havre c2f452fd44 0000981: Arch groups now have a placement 2013-04-24 12:09:46 -03:00
jriegel 527a6f5562 Add mesh parameters and Some fixes 2013-04-23 00:16:47 +02:00
Yorik van Havre a22a719cb9 Draft: dwg support in windows 2013-04-21 23:32:34 -03:00
Yorik van Havre 1eb96db737 Draft: fixed Draft's cmake file 2013-04-21 19:22:30 -03:00
Yorik van Havre e3dd8196bd Draft: Preliminary DWG support
Using the teigha file converter. Warning, only working on linux
at the moment. See mantis issue 1103 to help me porting to other OSes
2013-04-21 14:46:36 -03:00
Yorik van Havre f815b07144 Draft: Added a Draft Ellipse object 2013-04-20 16:51:33 -03:00
jriegel 8a28382848 Adding additional objects to FEM 2013-04-20 10:53:03 +02:00
Yorik van Havre 051dee07f2 0000979: Move windows with their host wall 2013-04-19 18:46:24 -03:00
Yorik van Havre 3511a807a3 Draft: new method for exporting dxf arcs 2013-04-18 13:48:49 -03:00
Yorik van Havre c46924e934 Draft: Small fix to Shape2DView 2013-04-18 13:00:39 -03:00
Yorik van Havre 3855575032 0000729: Arch grouping 2013-04-17 17:47:42 -03:00
Yorik van Havre bfb5734d01 0001057: Bug in Draft Edit 2013-04-17 14:22:01 -03:00
Yorik van Havre 0e1b09a4fb Updated links in README 2013-04-17 11:31:43 -03:00
Yorik van Havre 8050dd61a0 0001046: Draft angular dimensions 2013-04-17 11:16:06 -03:00
WandererFan 602bfe48cf Add Draft.ShapeString Gui tool and makeShapeString function 2013-04-15 13:25:25 -04:00
Yorik van Havre a2404d1ac7 Included more modules in sphinx docs 2013-04-15 11:29:45 -03:00
Yorik van Havre 8f41cc3512 0001003: Interactive Arch Structure tool 2013-04-14 17:45:00 -03:00
Yorik van Havre 932040bd90 Arch: Better wireframe material for the webgl exporter 2013-04-13 18:57:35 -03:00
Yorik van Havre 970889a655 Arch: Simplified webgl exporter 2013-04-13 00:29:05 -03:00
Yorik van Havre e335a4348c Arch: WebGL exporter now has mouse controls 2013-04-12 15:37:10 -03:00
Yorik van Havre 6dbf66b2a9 0001042: Draft DXF export with projection direction
The DXF exporter now features an option in Draft preferences
to project the selected objects along the current view direction
on export.
2013-04-11 14:20:50 -03:00
Yorik van Havre 9d067e5e88 Arch: fixed errors in webgl exporter 2013-04-11 11:23:39 -03:00
wmayer fe19cb09cc Do not override edit cursor with pre-selection 2013-04-10 13:57:44 +02:00
wmayer 42b54c1293 Fix build failure 2013-04-10 09:41:44 +02:00
Yorik van Havre 7e11f28866 0001035: WebGL exporter
The Arch module now features a webgl exporter that produces an all-included
HTML file that displays the exported objects in WebGL-capable web browsers.
Many enhancements are still necessary, especially with lights and materials.

At time of export, the exporter downloads the three.js library from github
and includes it in the HTML file, so it has no other dependencies.
2013-04-09 19:43:45 -03:00
Yorik van Havre eb8370a337 Small cleanup in sphinx docs 2013-04-08 23:53:44 -03:00
Yorik van Havre fbed270df9 0001062: New Part Helix icon 2013-04-08 17:09:31 -03:00
Yorik van Havre 75560719c4 0001068: Bug in Draft DXF export 2013-04-08 17:03:41 -03:00
wmayer fd3d2ce266 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-04-08 12:55:14 +02:00
wmayer f43f70f395 Implement GeometryCurvePy::length 2013-04-08 12:54:46 +02:00
jriegel 2818bc4ddf Add ViewProvider and Dialogs for Analysis object and the Netgen mesher object 2013-04-08 10:42:08 +02:00
jriegel 720b4a2807 Add active Analysis logic 2013-04-08 10:42:07 +02:00
Yorik van Havre e167c9e459 0001075: faster Draft manual coordinates 2013-04-07 18:47:02 -03:00
Yorik van Havre a413a870a0 0000947: Arch windows based on fully constrained sketches 2013-04-07 18:29:27 -03:00
wmayer 9a7bd8c19d Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-04-07 22:44:25 +02:00
wmayer b520b9d617 Fix wrong Python doc 2013-04-07 22:43:58 +02:00
Yorik van Havre 5c65086735 0001082: Adding points in Draft Edit 2013-04-07 17:39:00 -03:00
wmayer a7e3f0539d 0001063: Show a PropertyLink in Property view 2013-04-07 18:21:48 +02:00
wmayer d4b6727704 0001085: TimeInfo: diffTimeF(): added default arg/0001084: TimeInfo: diffTimeF(): non-zero result for ident. time stamps 2013-04-07 14:34:47 +02:00
wmayer d98d013b71 0001086: Crash when executing script 3 times 2013-04-06 16:44:15 +02:00
wmayer 2de512fc8d On project load and import show wait cursor but do not block user input 2013-04-06 14:51:05 +02:00
wmayer bc7454349f 0001079: Task Deadlock: Part Workbench disabled when closing Combo View with open Task 2013-04-03 16:43:10 +02:00
wmayer 0d62206bb5 0001077: Placement Panel not removed after Entity Deletion 2013-04-03 15:22:57 +02:00
wmayer 39e1b2dada 0001080: Wrong header define PART_GEOMETRY_H in ProgressIndicator.h 2013-04-03 13:12:17 +02:00
Yorik van Havre aba5ca338d Draft: Fixes to primitive-enabled tools 2013-04-02 19:43:10 -03:00
wmayer d806556225 Fix build failure with more recent OCC versions that dropped PI 2013-04-02 18:06:24 +02:00
wmayer 60d25231ca Fix build failure on certain Linux systems 2013-04-02 14:27:24 +02:00
wmayer 6e22205da8 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-04-01 23:14:19 +02:00
wmayer 4dc31c4d80 Move TKMeshVS & TKAdvTools to OCC_OCAF_LIBRARIES variable 2013-04-01 23:13:51 +02:00
Yorik van Havre 7e64125ed1 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-04-01 17:48:25 -03:00
Yorik van Havre 216858e433 0001074: Draft Ellipse tool
The Draft module now features an Ellipse tool
that creates a Part Ellipse object.
2013-04-01 17:46:32 -03:00
wmayer 823a3ca3e5 Fix build problems 2013-04-01 21:04:53 +02:00
wmayer a65b197815 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-04-01 17:41:36 +02:00
wmayer 8b0bf33344 Disable NetgenPlugin for gcc and mingw 2013-04-01 17:40:52 +02:00
Yorik van Havre c15ae93d25 0001073: Allow Draft tools to create Part Primitives
A preferences setting now allow Draft tools to create Part primitives
instead of Draft objects, when possible (currently point, line, arc,
circle and rectangle).
2013-03-31 23:20:30 -03:00
Yorik van Havre 9e8e7a97b9 0001072 : Edge.Curve assert in Draft 2013-03-31 17:54:32 -03:00
wmayer 23ae910069 Fix build error with OCC6.3 2013-03-31 10:37:19 +02:00
jriegel 7bedde5b4f Remove Salomemesh from LibPack and compile with source. Changes for LibPack 8.1
Had to overwrite the salomemesh in 3rdParty with the original 5.1.2.2 from sf.net since through layout changes imposible to merge or even see changes in the code. Linux tweaking has to be done..
2013-03-31 00:16:25 +01:00
jriegel 82e07c46c9 Update the NetgenPlugin of Salomemesh with the patched version 2013-03-31 00:16:23 +01:00
jriegel 70fd001c7e Example file for FEM 2013-03-31 00:16:22 +01:00
jriegel 8185740e4e Geting NetGen roling 2013-03-31 00:16:20 +01:00
jriegel fd52cefd49 Add workflow to create MeshShape node by commando and use standard hypotheses for meshing (quad surface) 2013-03-31 00:16:19 +01:00
jriegel 7b1feeac3c Add support for quad faces in mesh 2013-03-31 00:16:18 +01:00
jriegel 60c4b3ecc4 Treat OCE in LibPack8.x with respect to debug/release 2013-03-31 00:16:17 +01:00
wmayer 7c3e6fa50f 0001064: Crash occurs in version 0.13 when trying to use alignment tool 2013-03-30 14:46:51 +01:00
wmayer c70a39c961 Minor repairs per jriegel/jmaustpc (fixes from wandererfan) 2013-03-30 13:42:30 +01:00
wmayer f69b57459b Support to write vector list and float lists in old format, fix issues in property editor, move back to float for curvature type 2013-03-30 12:32:53 +01:00
wmayer b24f0efbc1 Remove FileVersion from RestoreDocFile, convert point data back to floats 2013-03-29 15:23:51 +01:00
wmayer 41da5e95e3 0001071: addObject with four arguments does not return the DocumentObject 2013-03-28 21:33:39 +01:00
wmayer 73bcc4234c For shapes with no faces remove display modes >Flat lines< and >Shaded< 2013-03-28 14:39:30 +01:00
jrheinlaender 15573eea04 Fixed python format flags "f" from float to double "d" 2013-03-27 18:59:41 +04:30
jriegel 63adaeb9fc Additional objects to handle Analysises 2013-03-27 11:41:17 +01:00
wmayer 95e19226c1 Fix typo 2013-03-27 11:18:44 +01:00
jrheinlaender fdc3e50811 Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files 2013-03-27 11:47:18 +04:30
jrheinlaender 4dcc5eb6cb Mod/Points moved from float -> double 2013-03-26 19:13:43 +04:30
jrheinlaender e233f0cb6d Mod/ReverseEngineering moved float -> double 2013-03-26 19:13:06 +04:30
jriegel a07f64a38a Merge branch 'shapestring' of WndererFan and includ configure switch. Windows default off! 2013-03-26 14:51:45 +01:00
jriegel eb6d7cedbc Merge branch 'refs/heads/WizardShaft' 2013-03-26 13:23:27 +01:00
jrheinlaender d93907119d more suggestions for moving float -> double 2013-03-25 20:40:41 +04:30
jrheinlaender f6b53e6b57 Moved Sketcher from float to double 2013-03-25 20:37:59 +04:30
jrheinlaender 50c9ea219d Moved Gui/InputVector,Placement,Transform from float to double 2013-03-25 19:45:37 +04:30
jmaustpc 3c9dbdebbe flip arrow directions in Part_Export and Part_Import icons 2013-03-25 11:25:12 -03:00
jmaustpc 0ccbcffbf5 RuledSurface fixes, Switch Part_Mirror to SVG icon
RuledSurface fixes,
  claim children
  correct tool tip
  change default name from "Filled_shape" to "Ruled Surface"

Part_Mirror
  Switched icon in the tool bar, menu, and tree from
  the existing PNG icon to the also existing SVG icon
2013-03-25 11:25:12 -03:00
jmaustpc f18ddea1b3 Add and display Tree icon for Part_RuledSurface 2013-03-25 11:25:12 -03:00
jmaustpc 7975633807 Add an icon for Part_Export
Add the icon and make it display in the
Part workbench Part menu
2013-03-25 11:25:12 -03:00
jrheinlaender 8df84e76c4 PartDesign module moving float -> double 2013-03-25 17:42:29 +04:30
jrheinlaender 4c0781a555 Suggestions for Part module moving float -> double 2013-03-25 17:15:21 +04:30
jrheinlaender 67a518083d Suggested changes for float -> double move 2013-03-25 15:33:12 +04:30
jrheinlaender 39b2b731f8 Changes to FEM constraint visuals for float->double move 2013-03-25 15:32:05 +04:30
Yorik van Havre 2b8f5cfd02 Arch: Merge Walls command
The merge walls command merges the selected walls (unifies their
underlying sketches into one and deletes remaining objects)
2013-03-24 16:15:03 -03:00
Yorik van Havre 913aa919dd Arch: Better auto-fuse for walls 2013-03-24 15:22:37 -03:00
jrheinlaender bcdc353375 More suggestions for float->double move from Gui subdirectory 2013-03-24 19:59:43 +04:30
jrheinlaender c3bd10430b Moved Tools2D from float to double 2013-03-24 19:10:29 +04:30
wmayer 24f559be9a Show dynamically added methods in calltips list 2013-03-24 13:29:13 +01:00
jrheinlaender be36a348c8 Shaft Wizard: Right-click on column header brings up context menu 2013-03-24 16:28:13 +04:30
jrheinlaender 66ac727d07 Fem Constraint Visuals: Fixed bug that crashed FC when trying to edit a bearing constraint 2013-03-24 16:09:16 +04:30
jrheinlaender f9d677e594 Shaft Wizard: Removed unnecessary (and erroneous) class variables which now allows the wizard to be called multiple times in a session... 2013-03-24 15:52:15 +04:30
wmayer 295f6c3058 Allow to add methods at runtime to FeaturePython objects 2013-03-23 22:09:33 +01:00
jrheinlaender 97d6564f51 Further suggestions for float -> double move 2013-03-23 20:20:16 +04:30
wmayer b7658c04f6 0001059: Cannot add object to DocumentObjectGroupPython 2013-03-23 16:45:37 +01:00
wmayer efc29e4422 Move from float to double 2013-03-23 15:12:04 +01:00
wmayer abc9e33e0a Fix build error caused by items added multiple times to FemGui target 2013-03-23 13:14:49 +01:00
jrheinlaender a085e21e9a Bug fixes 2013-03-22 19:29:45 +04:30
WandererFan c723cc99d1 Tidy PyList creation code. Add test driver. 2013-03-22 10:35:34 -04:00
jrheinlaender e698f78a24 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-03-22 18:47:55 +04:30
WandererFan 830743d2e6 Refactor PyList logic to FT2FC from AppPartPy. 2013-03-22 09:38:32 -04:00
jriegel bd197783c6 fixes for VisualStudio 2013-03-22 12:50:15 +01:00
jriegel a44f1f32ff Intgrate Jans FEM PullRequest 2013-03-22 12:49:05 +01:00
jriegel fd8fb253d4 Methode stub for retriving surface nodes (todo) 2013-03-22 12:34:27 +01:00
jrheinlaender 9f912931a0 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-03-22 14:32:39 +04:30
jrheinlaender d6dadf0a3b Fixed unit mismatches in Shaft Wizard 2013-03-22 08:12:05 +04:30
wmayer ce0e6e5cef Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
jrheinlaender 3a06458a2c Fixed error after rebase 2013-03-21 18:08:56 +04:30
WandererFan b507f618bb Refactor to move FC object creation from AppPartPy to FT2FC. 2013-03-21 09:14:25 -04:00
jrheinlaender ac91d8b0ec Enhancements to Shaft Design Wizard, e.g. display of stresses for three axes and bending curve for shaft 2013-03-21 16:58:40 +04:30
jrheinlaender af43eff2c2 Minor changes to FEM constraint visuals 2013-03-21 16:58:40 +04:30
jrheinlaender 20fdeb3d86 Added icons for FEM constraints, courtesy of jmaustpc 2013-03-21 16:58:39 +04:30
jrheinlaender f5c6e4eae3 Improvements to FEM constraint objects 2013-03-21 16:58:01 +04:30
jrheinlaender 517443fb59 Fixed problems with loading of FEM constraint objects 2013-03-21 16:56:57 +04:30
jrheinlaender d48542cf56 Split code into separate files for each constraint type 2013-03-21 16:56:57 +04:30
jrheinlaender 918291f81f Created FEM constraint document object 2013-03-21 16:52:10 +04:30
jrheinlaender 1412805c0f Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-03-21 16:43:26 +04:30
WandererFan da8b6d4a81 Eliminate temporary vector in FT2FC. 2013-03-20 19:39:03 -04:00
WandererFan 6465e367eb Combine UCS2 & UTF-8 logic. 2013-03-20 19:12:53 -04:00
WandererFan 9c5608d8d2 Unicode cleanup. 2013-03-20 08:12:46 -04:00
WandererFan 88d037f26e Handle UTF-8 in Py strings. 2013-03-19 13:20:12 -04:00
jmaustpc 9da66cbb02 Add and display PartDesign Tree icons
created Partdesign_Hole, Tree_PartDesign_Pad, and
Tree_PartDesign_Revolution SVG icons
Referenced the above in the PartDesign.qrc file
Modified the ViewProviders to display the Tree_icons
for Chamfer, Fillet, Draft, Groove, Hole, LinearPattern,
Mirrored, MultiTransform, PolarTransform, Revolution,
Scaled, Pad and Pocket.
PartDesign_Hole has not been implemented yet however
the ViewProvider has been, so I added the icon
2013-03-19 11:11:51 -03:00
WandererFan d030445d39 Handle Py_UNICODE objects & ASCII Py_Strings 2013-03-18 18:05:38 -04:00
Yorik van Havre 5fff0f0fb8 0001056: Better tooltip for Sketcher Polyline tool 2013-03-16 23:21:45 -03:00
WandererFan 8b2c763e4a Basic ASCII text to wire version. Breaks on Unicode. std::exception handling. 2013-03-16 17:07:05 -04:00
jriegel 1bb9e53326 Picking elements and faces in TaskCreateNodeSet 2013-03-16 16:23:12 +01:00
jmaustpc a3d68a1d34 remove duplicate Include file PartFeature.h
remove
-// includes for findAllFacesCutBy()
-#include <TopoDS_Face.hxx>
-class gp_Dir;
-
from freecad/src/Mod/Part/App/PartFeatures
2013-03-16 12:02:27 -03:00
jmaustpc a3ef789f5a Allow faces to be profiles for a sweep & minor fix loft
Allow faces to be used as the profiles for a Part_Sweep
some minor fixes for Part_Loft
2013-03-16 12:02:27 -03:00
jmaustpc 0a7a9d9cf2 Part_Loft add ability to use a Facefor a profile
Part Loft internally uses either a vertices and/or wires as profiles.
If an edge is selected always was converted into a wire for MakeLoft.
This commit allows a face to be selected and then uses
ShapeAnalysis::OuterWire
to aquire a wire (from the outer edges of the face) to pass to MakeLoft.
2013-03-16 12:02:27 -03:00
jriegel 5fc802dfa1 Additional visual modes and some clean up in ViewProvider 2013-03-16 14:08:31 +01:00
jriegel 450b028042 Add slecection and edge visualization for Hex8 2013-03-16 12:28:18 +01:00
jriegel 906011451e ElementSelection for Tet10 2013-03-16 11:17:36 +01:00
jmaustpc 59de0b5a9f Tree icons now display Part Plane, Torus, Sphere, Cylinder,Cone
Created ViewProviders for the above.
Fixed a minor typo in the Part Line ViewProvider
2013-03-15 22:05:06 -03:00
jmaustpc ecc28163bb Enable Part_Mirror child item in tree
Part_Mirror now shows its child shape in the tree under
the newly created Mirror Feature. On deletion it's
child shape is set to show (if it had been hidden). Thus
making its behaviour and appearance consistant with other
Part tools, E.G. Part Fillet, Part Loft, etc.
2013-03-15 22:05:06 -03:00
jmaustpc 0b025ef5af show Part_Extrude icon in the tree
Added reference to existing Part_Extrude icon
to ViewProviderExtrusion.cpp
2013-03-15 22:05:06 -03:00
jmaustpc 13601fbcd8 display Parametric Ellipsoid Tree icon
Add the line
sPixmap = "Tree_Part_Ellipsoid_Parametric.svg";
to the Ellipsoid viewprovider
2013-03-15 22:05:06 -03:00
jmaustpc 5c7c7b5bda Add Parametric Part Plane Tree icon and reference in Part.qrc
Add Tree_Part_Plane_Parametric.svg and add its reference in
src/Mod/Part/Gui/Resources/Part.qrc
2013-03-15 22:05:06 -03:00
jmaustpc cb45f66745 Change the tree icon displayed for Part_Box
Change the icon file name in the viewprovider for Part_Box
Add Part Box, Cylinder, Cone, Sphere, Ellipsoid, Torus
tree icons to the Part.qrc file
2013-03-15 22:05:06 -03:00
jmaustpc e3777dafcc Add Tree icons for 3d Part primitives
This commit is just the icons themselves, not
the code to display them yet.
Tree_Part_Box, Tree_Part_Cone, Tree_Part_Cylinder,
Tree_Part_Sphere, Tree_Part_Ellipsoid,
Tree_Part_Torus,
2013-03-15 22:05:06 -03:00
jmaustpc 1804fc5718 Minor mod to icons for Part Circle, Ellipse,Helix, Line
reduce size of Circle, Ellipse,Helix, Line, within the icons
To increase their spacings so when stacked they don't collide
2013-03-15 22:05:06 -03:00
jmaustpc 85bcb92856 add ViewProviders & Tree icons for Part Point, Ellipse, & Helix
Add ViewProviders to select an icon for the part primitives
Point, Ellipse, Helix,
Also return Part Box tree icon to "Tree_Part.svg"
2013-03-15 22:05:06 -03:00
jmaustpc 7e3807ab49 new Part Primitives icons, display tree icons Part Line and Circle
New icons for Parametric Part Primitives
Point, Line, Circle, Ellipse, Helix

Display the icon in tree via independent viewproviders for
Part Parametric Line and Circle

Change Part Box tree icon to display yellow Part Box icon from the tool bar
2013-03-15 22:05:06 -03:00
wmayer 89fae529ff 0001053: New Start Page tab every time the Start WB is selected 2013-03-12 11:17:24 +01:00
wmayer 90d06b1bd7 Fix compiler warning 2013-03-12 11:13:14 +01:00
wmayer a38d46900c Fix gcc build error 2013-03-11 10:57:01 +01:00
jriegel dadafaac53 Implement selection for Tet4 elements 2013-03-10 14:53:53 +01:00
Yorik van Havre 1b016c4469 0001047: Collada export 2013-03-08 14:57:32 -03:00
wmayer df57e63b61 Support non-ASCII characters in build path 2013-03-07 17:26:01 +01:00
wmayer c2114d25fd Apply Jim's patch 2013-03-07 14:54:13 +01:00
Yorik van Havre f9444f83cf Draft: Added Heal command
The Draft_Heal command allows to heal bad Draft objects coming
from earlier versions of FreeCAD.
2013-03-06 12:14:14 -03:00
Yorik van Havre c3d1e091e6 0001036: Wrong Draft objects in engine example file 2013-03-06 12:13:33 -03:00
wmayer 5bd1427f1d Fix wrong order of arguments in Part.makeThread 2013-03-05 12:57:26 +01:00
wmayer c9618b50ef Fix build failure on Fem module 2013-03-05 11:16:35 +01:00
wmayer 35c0dfc1d2 Fix typos 2013-03-05 10:47:57 +01:00
jriegel b2d175edd3 Add ViewSelection and Jims Icon. Some fixes 2013-03-04 21:16:45 +01:00
Yorik van Havre 0ea6862601 Sketcher: small fix to allow to use SoDatumLabel in python 2013-03-04 15:56:17 -03:00
jriegel 8d3f1a9f24 Dialog for dealing with creation and edeting of node sets 2013-03-03 22:19:04 +01:00
wmayer 676583eac0 0001031: PropertyLinkSubList causes crash 2013-03-03 15:18:06 +01:00
wmayer 76a7e0f296 0001018: Possible inconsistencies between Euler angles, quaternion and matrix 2013-03-03 13:27:27 +01:00
wmayer 18355cdd25 0001019: Crash on document recompute 2013-03-03 12:24:44 +01:00
wmayer 3025c6e292 Validate face in extrusion feature 2013-03-03 12:24:23 +01:00
wmayer 6ac2a2f3e8 Fix warning 2013-03-03 11:27:22 +01:00
wmayer 540bf6e655 + Fix for subelements of SelectionObject, fix for SketchObjectPy::fillet() 2013-03-02 17:34:34 +01:00
jriegel 6593dc97b8 Create nodes set by poly pick 2013-03-02 16:04:55 +01:00
jriegel f81425974b Add Annotation capabilities on the FEM mesh ViewProvider 2013-02-28 18:17:29 +01:00
jrheinlaender 8235008ae7 PartDesign: Show overlapping transformations as rejected 2013-02-26 11:29:03 +01:00
Yorik van Havre 62dc05ffd9 0000983: Draft wires, rectanges and polygons now have a chamfer property 2013-02-25 23:26:42 -03:00
Yorik van Havre 3a04f6491b Draft: small bugfix 2013-02-25 22:56:06 -03:00
Yorik van Havre 8e3e4b20bc 0000946: Draft inserts now set the active document 2013-02-25 19:38:53 -03:00
Yorik van Havre 4bcff22600 0000966: Draft Workingplane tooltip 2013-02-25 19:29:31 -03:00
Yorik van Havre 728d81bace 0001024: Draft Line properties now respect the placement 2013-02-25 19:21:28 -03:00
wmayer c08f8abc98 Fix build error on MacOSX 2013-02-25 11:57:11 +01:00
jriegel 5f43ef1a2a Add PropertyIntegerSet and some classes to FEM 2013-02-24 21:57:35 +01:00
jriegel af67612d7f Implement Edge Visual for Tet4 and Tet10 2013-02-24 14:31:23 +01:00
jrheinlaender b328943698 0000437 Sketcher: ask for value immediately after creating a length constraint 2013-02-22 11:09:31 +01:00
Yorik van Havre f66c433e6c 0000959: Arcs exported to DXF with wrong direction 2013-02-21 19:36:24 -03:00
wmayer 66f6db9e91 Fix compile error with gcc 2013-02-21 11:50:49 +01:00
jrheinlaender 7a5129ad8b Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-02-21 09:34:23 +04:30
jriegel 26b0776e12 Speed up inside test with Grid data structure 2013-02-20 18:13:34 +01:00
wmayer 288f2f6476 Fix compile error with OCC 6.5.x 2013-02-19 17:38:43 +01:00
wmayer def8cb81c0 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-02-19 15:18:29 +01:00
wmayer 00b4c9e192 Fix for sweep if selected trajectory is broken 2013-02-19 15:17:24 +01:00
jriegel 11b4abf24a Log in FemMesh view provider and some warnings fixed 2013-02-18 22:29:02 +01:00
Yorik van Havre fdc86819dd 0000999: Separate Draft upgrade and downgrade 2013-02-18 17:48:56 -03:00
jriegel 57115c1983 fix inner triangle supression 2013-02-18 00:26:43 +01:00
jriegel a421386014 fix in readNastran 2013-02-17 23:36:08 +01:00
jriegel c66b7d7ff2 implement Hex8 and change temporarily the line show 2013-02-17 21:32:53 +01:00
jriegel bbac07e846 Fix for TopoShapeFacePyImp.cpp for older OCC versions 2013-02-17 15:44:49 +01:00
jriegel 82905f7be2 Implementing Visual for FEM mesh higher degrees
- Tet10
- Add interface to insert higher degree nodes
2013-02-17 15:38:27 +01:00
Yorik van Havre 1c9fe432f7 Draft: Upgrade tool is now available to python scripting 2013-02-17 11:24:12 -03:00
wmayer d477ce66af Fix assigning to PropertyLinkSub via Python 2013-02-17 14:45:37 +01:00
wmayer 3c50de4334 Fix broken layout of toolbars at startup, avoid blank window 2013-02-17 13:50:57 +01:00
wmayer e5afb392af Fix titles on combo view 2013-02-17 09:28:56 +01:00
wmayer 3b80f64e6c 0001013: 0.13 program crash 2013-02-17 08:43:21 +01:00
wmayer 374370d3f4 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-02-17 08:28:23 +01:00
wmayer 0abef4d4e3 Mesh analyzing algorithms 2013-02-17 08:28:01 +01:00
Yorik van Havre b1efe94651 Arch: Joining underlying sketches of connecting walls is now optional (preferences settings) 2013-02-15 13:20:26 -02:00
Yorik van Havre b2be64ad23 Arch: New Arch and Wall icons 2013-02-15 13:16:18 -02:00
Yorik van Havre 53c6c16355 Draft: New Draft icon 2013-02-15 13:15:19 -02:00
Yorik van Havre 35709cc7e4 Arch: General optimization 2013-02-14 18:37:14 -02:00
Yorik van Havre af529e2603 Arch: Internal IFC parser not used anymore if IfcOpenShell is present 2013-02-14 16:35:08 -02:00
wmayer 8079e6452b Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-02-14 17:41:44 +01:00
wmayer ccdbd4e65e Extend search paths to find OCC headers with cmake 2013-02-14 17:41:08 +01:00
logari81 046504234f PartDesign: Intelligent defaults for the Reversed flag of Revolution/Groove features 2013-02-14 16:06:23 +01:00
logari81 ccf15f968c PartDesign: Add method suggesting Revolution Reversed property so that material is always added to the support 2013-02-14 00:39:10 +01:00
jrheinlaender 8eef02111d PartDesign: Add method suggesting Groove Reversed property so that material is always removed from the support 2013-02-14 00:32:02 +01:00
Yorik van Havre 9d3738b5ce Merge branch 'yorik/ifctools' 2013-02-13 16:48:20 -02:00
logari81 d13afa7c3c PartDesign: Highlight in red the rejected transformations when editing pattern features 2013-02-13 14:06:36 +01:00
logari81 e2e351b3ba PartDesign: Remove unnecessary updateActive calls from creating pattern commands 2013-02-13 12:24:12 +01:00
logari81 9c7719e91b Part: Avoid code duplication in Part2DObject 2013-02-13 12:18:31 +01:00
wmayer 8160c8280f Fix build errors 2013-02-13 00:34:45 +01:00
jriegel d739a2e41b Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00
jriegel 0215757e79 Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00
Yorik van Havre f609573297 Draft: Fixed a disappearing wire problem in Upgrade tool 2013-02-09 14:18:55 -02:00
jrheinlaender 18da371546 Re-worked Part::checkIntersection to give less false positives for pattern features 2013-02-08 14:32:00 +01:00
logari81 5df7f2db88 PartDesign: fix exiting a TransformedFeature editing while in reference selection mode 2013-02-07 23:46:53 +01:00
logari81 9907c09efd PartDesign: Custom sketch axes as references in linear pattern and mirrored feature 2013-02-07 21:04:00 +01:00
jrheinlaender fc55b10829 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-02-07 10:30:18 +04:30
Yorik van Havre e56cc61339 Arch: Added terrain property to Site objects 2013-02-05 14:24:21 -02:00
Yorik van Havre 138652f5f7 Arch: small tweaks to ifc importer 2013-02-04 23:42:22 -02:00
Yorik van Havre 60ccb19ddc Draft: small fix in Draft Upgrade 2013-02-04 18:16:11 -02:00
Yorik van Havre 372b4542ee 0000963: Draft polar array 2013-01-23 16:31:10 -02:00
Sebastian Hoogen 5e46bea2ae 0000962: Attempting to import an SVG file fails
with "invalid literal for int() with base 16"
2013-01-21 11:39:50 +01:00
Yorik van Havre 6eaa5068f6 Added a thumbnailer for gnome3-based file managers 2013-01-18 16:35:04 -02:00
jrheinlaender 55c5afe5d4 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-01-18 16:51:31 +04:30
logari81 39792f0773 PartDesign: Fix mirrored feature with respect to custom sketch axis 2013-01-18 09:51:50 +01:00
Yorik van Havre 6e0dfbf0a5 Updated license info for sphinx and start module 2013-01-17 13:34:04 -02:00
jrheinlaender 36e1b72504 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-01-13 20:28:51 +04:30
logari81 3cdf8f4350 Sketcher, 0000944: Fix crash when the equality constraint is activated with a wrong selection 2013-01-10 15:48:38 +01:00
jrheinlaender 2480345e80 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-01-10 10:17:29 +04:30
logari81 860a65d0a6 PartDesign: Deactivate nesting of original features in patterns 2013-01-09 23:35:32 +01:00
logari81 525cddaaf3 PartDesign: Refactor pattern features and gui
- remove StdDirection,StdAxis and StdMirrorPlane properties
- support sketch H_Axis, V_Axis, N_axis as valid references in patterns
- polish reference selection gui (unified for standard axes and custom references)
2013-01-09 23:18:38 +01:00
Sebastian Hoogen 9cd5810e15 add license notice to ply/setup.py 2013-01-09 15:09:23 +01:00
Sebastian Hoogen d42a7c82ea added licences for OpenSCAD module 2013-01-09 15:09:23 +01:00
Sebastian Hoogen de9c17ec07 importCSG reverse polyhedra if they have negative volume 2013-01-09 15:09:22 +01:00
Sebastian Hoogen 0a876e18c9 bugfix for handling of elipses in importSVG 2013-01-09 15:09:22 +01:00
wmayer 0b2b5cb7f4 License issues 2013-01-09 15:03:23 +01:00
wmayer 598d21876f License issues 2013-01-09 14:56:19 +01:00
wmayer 646aa90137 License issues 2013-01-09 14:28:47 +01:00
wmayer f80c88b0cd Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-01-09 14:10:49 +01:00
wmayer 5af75be21b License issues 2013-01-09 14:09:22 +01:00
jrheinlaender d7ef193b30 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-01-08 20:12:50 +04:30
logari81 afb3355193 Make Multitransform children inherit its Placement 2013-01-06 23:33:00 +01:00
jrheinlaender 26735ef19b Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-01-06 12:09:13 +04:30
wmayer 5dd72b9501 Fix box selection in sketcher 2013-01-05 13:29:39 +01:00
wmayer 49f66c5fba 0000942: Crash when 2xdouble-click on part 2013-01-05 11:26:16 +01:00
wmayer 9eb4174315 0000939: Pressing Escape while pivoting a box crashes 2013-01-03 16:38:52 +01:00
jrheinlaender a8e0804ce8 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-12-24 11:39:44 +04:30
jrheinlaender 60360711a9 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-12-22 18:48:47 +04:30
jrheinlaender 67e44adb9b Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-12-17 04:28:07 +04:30
jrheinlaender 8874472c04 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-12-14 15:19:09 +04:30
jrheinlaender dba81dadc2 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-12-12 08:06:05 +04:30
jrheinlaender b6ad772ade Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-12-04 19:03:42 +04:30
jrheinlaender f0b48abf47 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-12-03 19:07:22 +04:30
jrheinlaender 7aeed0695a Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-12-03 14:02:10 +04:30
jrheinlaender 20a2db9ce8 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-11-25 20:15:47 +04:30
jrheinlaender 8752eae132 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-11-18 17:16:13 +04:30
jrheinlaender 43711d3cc8 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-11-17 20:30:07 +04:30
jrheinlaender a9d34f91b9 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-11-15 10:10:36 +04:30
jrheinlaender af96b771e6 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-11-07 15:16:34 +04:30
jrheinlaender 7d213b4862 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-11-07 08:10:43 +04:30
jrheinlaender 16bd5f0dca Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-11-06 20:47:39 +04:30
jrheinlaender 3c701b13d9 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-11-04 18:48:07 +04:30
jrheinlaender 1ce464dd27 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-10-26 14:18:05 +04:30
jrheinlaender 3f4772b1a6 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-10-24 09:13:58 +04:30
jrheinlaender a7507652d2 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-10-12 07:05:52 +04:30
jrheinlaender 016571bf25 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-10-02 17:20:04 +04:30
jrheinlaender 8d8715e55a Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-09-21 07:49:20 +04:30
jrheinlaender 720541eabb Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-09-20 20:02:58 +04:30
jrheinlaender 91fb0bb643 Merge branch 'master' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-09-14 19:49:34 +04:30
jrheinlaender 61a852bd5e Merge branch 'logari81/PartDesign' of git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-09-11 12:03:48 +04:30
2863 changed files with 607824 additions and 309115 deletions
+2
View File
@@ -14,5 +14,7 @@ UpdateResources.bat export-ignore
BuildVersion.bat export-ignore
*.sln export-ignore
WindowsInstaller export-ignore
JtReader export-ignore
mefisto.patch export-ignore
Version.h.in export-subst
+26
View File
@@ -1,3 +1,29 @@
# file types to ignore
*.pyc
*.obj
*.lib
*.pch
*.vcproj
*.exp
*.dep
*.manifest
qrc_*.cpp
BuildLog.htm
cmake_install.cmake
*~
CMakeFiles/
*qrc.depends
qrc_*.cpp
ui_*.h
moc_*.cpp
Makefile
CMakeCache.txt
config.h
install_manifest.txt
/bin/
/ALL_BUILD.dir/
/doc/
/lib/
/Mod/
/ZERO_CHECK.dir/
+336 -61
View File
@@ -1,11 +1,6 @@
project(FreeCAD_trunk)
set(FREECAD_VERSION "0.13")
# Needed for salomesmesh
if(CMAKE_COMPILER_IS_GNUCXX)
ENABLE_LANGUAGE(Fortran)
endif(CMAKE_COMPILER_IS_GNUCXX)
set(PACKAGE_NAME "FreeCAD")
set(PACKAGE_VERSION_MAJOR "0")
set(PACKAGE_VERSION_MINOR "12")
@@ -45,18 +40,24 @@ endif(WIN32)
# ================================================================================
if(CMAKE_COMPILER_IS_GNUCXX)
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
set(CMAKE_COMPILER_IS_CLANGXX TRUE)
endif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX)
# Needed for salomesmesh
ENABLE_LANGUAGE(Fortran)
include(cMake/ConfigureChecks.cmake)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
add_definitions(-DHAVE_CONFIG_H)
add_definitions(-Wno-write-strings)
add_definitions(-Wno-deprecated)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -Wno-write-strings")
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
# get linker errors as soon as possible and not at runtime e.g. for modules
if(UNIX)
# SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
endif(UNIX)
endif(CMAKE_COMPILER_IS_GNUCXX)
endif(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX)
# ================================================================================
@@ -66,26 +67,43 @@ if(WIN32)
SET(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install CACHE PATH "Installation root directory")
else(WIN32)
SET(CMAKE_INSTALL_PREFIX "/usr/lib${LIB_SUFFIX}/freecad" CACHE PATH "Installation root directory")
SET(INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
endif(WIN32)
SET(CMAKE_INSTALL_DATADIR data CACHE PATH "Output directory for data and resource files")
SET(CMAKE_INSTALL_INCLUDEDIR include CACHE PATH "Output directory for header files")
SET(CMAKE_INSTALL_DOCDIR doc CACHE PATH "Output directory for documentation and license files")
# Don't set it without manual adaption of LibDir variable in src/App/FreeCADInit.py
SET(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Output directory for libraries")
if(NOT WIN32)
if(NOT IS_ABSOLUTE ${CMAKE_INSTALL_LIBDIR})
SET(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
endif(NOT IS_ABSOLUTE ${CMAKE_INSTALL_LIBDIR})
endif(NOT WIN32)
SET(PYCXX_INCLUDE_DIR
"${CMAKE_SOURCE_DIR}/src" CACHE PATH
"Path to the directory containing PyCXX's CXX/Config.hxx include file")
SET(PYCXX_SOURCE_DIR
"${CMAKE_SOURCE_DIR}/src/CXX" CACHE PATH
"Path to the directory containing PyCXX's cxxextensions.c source file")
# used as compiler defines
SET(RESOURCEDIR "${CMAKE_INSTALL_DATADIR}")
SET(DOCDIR "${CMAKE_INSTALL_DOCDIR}")
MESSAGE( STATUS "prefix: ${CMAKE_INSTALL_PREFIX}")
MESSAGE(STATUS "prefix: ${CMAKE_INSTALL_PREFIX}")
MESSAGE(STATUS "datadir: ${CMAKE_INSTALL_DATADIR}")
MESSAGE(STATUS "docdir: ${CMAKE_INSTALL_DOCDIR}")
MESSAGE(STATUS "includedir: ${CMAKE_INSTALL_INCLUDEDIR}")
MESSAGE(STATUS "libdir: ${CMAKE_INSTALL_LIBDIR}")
# ==============================================================================
# == Win32 is default behaviour use the LibPack copied in Source tree ==========
if(MSVC)
OPTION(FREECAD_RELEASE_PDB "Create PDB file for Release version." OFF)
OPTION(FREECAD_LIBPACK_USE "Use the LibPack to Build FreeCAD (only Win32 so far)." ON)
OPTION(FREECAD_LIBPACK_USEPYSIDE "Use PySide in LibPack rather to PyQt and Swig." ON)
set(FREECAD_LIBPACK_DIR ${CMAKE_SOURCE_DIR} CACHE PATH "Directory of the FreeCAD LibPack")
else(MSVC)
OPTION(FREECAD_LIBPACK_USE "Use the LibPack to Build FreeCAD (only Win32 so far)." OFF)
@@ -97,17 +115,50 @@ endif(MSVC)
OPTION(FREECAD_BUILD_GUI "Build FreeCAD Gui. Otherwise you have only the command line and the Python import module." ON)
OPTION(FREECAD_MAINTAINERS_BUILD "Build FreeCAD for Maintainers, with Docu and 3rd party libs. On Windows the Installer is build." OFF)
OPTION(FREECAD_USE_EXTERNAL_ZIPIOS "Use system installed zipios++ instead of the bundled." OFF)
OPTION(FREECAD_USE_EXTERNAL_PIVY "Use system installed python-pivy instead of the bundled." OFF)
OPTION(FREECAD_BUILD_DEBIAN "Prepare for a build of a Debian package" OFF)
OPTION(FREECAD_BUILD_CAM "Build the FreeCAD CAM module and the needed libs, be aware, unfinished code!" OFF)
OPTION(FREECAD_BUILD_FEM "Build the FreeCAD FEM module, be aware, unfinished code!" ON)
OPTION(FREECAD_BUILD_SANDBOX "Build the FreeCAD Sandbox module which is only for testing purposes" OFF)
OPTION(FREECAD_BUILD_TEMPLATE "Build the FreeCAD template module which is only for testing purposes" OFF)
OPTION(FREECAD_BUILD_DEBIAN "Prepare for a build of a Debian package" OFF)
OPTION(FREECAD_USE_EXTERNAL_ZIPIOS "Use system installed zipios++ instead of the bundled." OFF)
OPTION(FREECAD_USE_EXTERNAL_PIVY "Use system installed python-pivy instead of the bundled." OFF)
OPTION(FREECAD_BUILD_ARCH "Build the FreeCAD Architecture module" ON)
OPTION(FREECAD_BUILD_ASSEMBLY "Build the FreeCAD Assembly module" ON)
OPTION(FREECAD_BUILD_COMPLETE "Build the FreeCAD complete module" ON)
OPTION(FREECAD_BUILD_DRAFT "Build the FreeCAD draft module" ON)
OPTION(FREECAD_BUILD_DRAWING "Build the FreeCAD drawing module" ON)
OPTION(FREECAD_BUILD_IDF "Build the FreeCAD idf module" ON)
OPTION(FREECAD_BUILD_IMAGE "Build the FreeCAD image module" ON)
OPTION(FREECAD_BUILD_IMPORT "Build the FreeCAD import module" ON)
OPTION(FREECAD_BUILD_INSPECTION "Build the FreeCAD inspection module" ON)
OPTION(FREECAD_BUILD_JTREADER "Build the FreeCAD jt reader module" OFF)
OPTION(FREECAD_BUILD_MATERIAL "Build the FreeCAD material module" ON)
OPTION(FREECAD_BUILD_MESH "Build the FreeCAD mesh module" ON)
OPTION(FREECAD_BUILD_MESH_PART "Build the FreeCAD mesh part module" ON)
OPTION(FREECAD_BUILD_OPENSCAD "Build the FreeCAD openscad module" ON)
OPTION(FREECAD_BUILD_PART "Build the FreeCAD part module" ON)
OPTION(FREECAD_BUILD_PART_DESIGN "Build the FreeCAD part design module" ON)
OPTION(FREECAD_BUILD_PLOT "Build the FreeCAD plot module" ON)
OPTION(FREECAD_BUILD_POINTS "Build the FreeCAD points module" ON)
OPTION(FREECAD_BUILD_RAYTRACING "Build the FreeCAD ray tracing module" ON)
OPTION(FREECAD_BUILD_REVERSEENGINEERING "Build the FreeCAD reverse engineering module" ON)
OPTION(FREECAD_BUILD_ROBOT "Build the FreeCAD robot module" ON)
OPTION(FREECAD_BUILD_SHIP "Build the FreeCAD ship module" ON)
OPTION(FREECAD_BUILD_SKETCHER "Build the FreeCAD sketcher module" ON)
OPTION(FREECAD_BUILD_SPREADSHEET "Build the FreeCAD spreadsheet module" ON)
OPTION(FREECAD_BUILD_START "Build the FreeCAD start module" ON)
OPTION(FREECAD_BUILD_TEST "Build the FreeCAD test module" ON)
OPTION(FREECAD_BUILD_WEB "Build the FreeCAD web module" ON)
if(MSVC)
OPTION(FREECAD_USE_3DCONNEXION "Use the 3D connexion SDK to support 3d mouse." ON)
OPTION(FREECAD_USE_FREETYPE "Builds the features using FreeType libs" OFF)
OPTION(FREECAD_BUILD_FEM_NETGEN "Build the FreeCAD FEM module with the NETGEN mesher" ON)
else(MSVC)
set(FREECAD_USE_3DCONNEXION OFF)
OPTION(FREECAD_USE_FREETYPE "Builds the features using FreeType libs" ON)
OPTION(FREECAD_BUILD_FEM_NETGEN "Build the FreeCAD FEM module with the NETGEN mesher" OFF)
endif(MSVC)
# if this is set override some options
@@ -116,39 +167,191 @@ if (FREECAD_BUILD_DEBIAN)
set(FREECAD_USE_EXTERNAL_PIVY ON)
endif (FREECAD_BUILD_DEBIAN)
# ==============================================================================
#inter-module dependencies
#took these from Mod/Complete/App/AppComplete.cpp. appears to be working.
if(FREECAD_BUILD_COMPLETE)
set(FREECAD_BUILD_MESH ON)
set(FREECAD_BUILD_POINTS ON)
set(FREECAD_BUILD_DRAWING ON)
set(FREECAD_BUILD_RAYTRACING ON)
set(FREECAD_BUILD_PART_DESIGN ON)
set(FREECAD_BUILD_IMAGE ON)
set(FREECAD_BUILD_DRAFT ON)
endif(FREECAD_BUILD_COMPLETE)
#inferred from .py files. appears to be working.
if(FREECAD_BUILD_ARCH)
set(FREECAD_BUILD_PART ON)
set(FREECAD_BUILD_MESH ON)
set(FREECAD_BUILD_DRAFT ON)
endif(FREECAD_BUILD_ARCH)
#inferred from .py files. appears to be working.
if(FREECAD_BUILD_OPENSCAD)
set(FREECAD_BUILD_MESH_PART ON)
set(FREECAD_BUILD_DRAFT ON)
endif(FREECAD_BUILD_OPENSCAD)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_INSPECTION)
set(FREECAD_BUILD_MESH ON)
set(FREECAD_BUILD_POINTS ON)
set(FREECAD_BUILD_PART ON)
endif(FREECAD_BUILD_INSPECTION)
#inferred from .py files. appears to be working.
if(FREECAD_BUILD_SHIP)
set(FREECAD_BUILD_PART ON)
set(FREECAD_BUILD_PLOT ON)
set(FREECAD_BUILD_IMAGE ON)
endif(FREECAD_BUILD_SHIP)
#inferred from .py files. appears to be working.
if(FREECAD_BUILD_SPREADSHEET)
set(FREECAD_BUILD_DRAFT ON)
endif(FREECAD_BUILD_SPREADSHEET)
#this has been tested. appears to be working.
if(FREECAD_BUILD_DRAFT)
set(FREECAD_BUILD_SKETCHER ON)
endif(FREECAD_BUILD_DRAFT)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_PART_DESIGN)
set(FREECAD_BUILD_SKETCHER ON)
endif(FREECAD_BUILD_PART_DESIGN)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_REVERSEENGINEERING)
set(FREECAD_BUILD_PART ON)
set(FREECAD_BUILD_MESH ON)
endif(FREECAD_BUILD_REVERSEENGINEERING)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_MESH_PART)
set(FREECAD_BUILD_PART ON)
set(FREECAD_BUILD_MESH ON)
set(FREECAD_BUILD_SMESH ON)
endif(FREECAD_BUILD_MESH_PART)
#inferred from cmakelists.txt. build errors. obsolete?
if(FREECAD_BUILD_CAM)
set(FREECAD_BUILD_PART ON)
set(FREECAD_BUILD_MESH ON)
endif(FREECAD_BUILD_CAM)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_RAYTRACING)
set(FREECAD_BUILD_PART ON)
endif(FREECAD_BUILD_RAYTRACING)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_DRAWING)
set(FREECAD_BUILD_PART ON)
endif(FREECAD_BUILD_DRAWING)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_ROBOT)
set(FREECAD_BUILD_PART ON)
endif(FREECAD_BUILD_ROBOT)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_SKETCHER)
set(FREECAD_BUILD_PART ON)
endif(FREECAD_BUILD_SKETCHER)
#inferred from .py files. built, but not sure how to test.
if(FREECAD_BUILD_IDF)
set(FREECAD_BUILD_PART ON)
endif(FREECAD_BUILD_IDF)
#inferred from cmakelists.txt. built, but not sure how to test.
if(FREECAD_BUILD_IMPORT)
set(FREECAD_BUILD_PART ON)
endif(FREECAD_BUILD_IMPORT)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_FEM)
set(FREECAD_BUILD_PART ON)
set(FREECAD_BUILD_SMESH ON)
endif(FREECAD_BUILD_FEM)
#inferred from cmakelists.txt. appears to be working.
if(FREECAD_BUILD_SANDBOX)
set(FREECAD_BUILD_PART ON)
set(FREECAD_BUILD_MESH ON)
endif(FREECAD_BUILD_SANDBOX)
#inferred from header includes. not tested.
if(FREECAD_BUILD_JTREADER)
set(FREECAD_BUILD_MESH ON)
endif(FREECAD_BUILD_JTREADER)
#leaving test module for someone else.
#image has none. as far as I can tell.
#mesh has none. as far as I can tell.
#part has none. as far as I can tell.
#material has none. as far as I can tell.
#web has none. as far as I can tell.
#start has none. as far as I can tell.
#assembly has none. as far as I can tell.
#plot has none. as far as I can tell.
#points has none. as far as I can tell
# ==============================================================================
if(FREECAD_LIBPACK_USE)
# checking for a unique file in LibPack location to make sure the right version of the LibPack is there
find_file(FREECAD_LIBPACK_CHECKFILE6X boost_program_options-vc80-mt-gd.lib ${FREECAD_LIBPACK_DIR}/lib )
find_file(FREECAD_LIBPACK_CHECKFILE7X boost_program_options-vc90-mt-gd-1_39.lib ${FREECAD_LIBPACK_DIR}/lib )
find_file(FREECAD_LIBPACK_CHECKFILE8X boost_program_options-vc90-mt-gd-1_48.lib ${FREECAD_LIBPACK_DIR}/lib )
find_file(FREECAD_LIBPACK_CHECKFILE9X boost_program_options-vc90-mt-gd-1_54.lib ${FREECAD_LIBPACK_DIR}/lib )
find_file(FREECAD_LIBPACK_CHECKCUSTOM boost_program_options-vc90-mt-gd-1_41.lib ${FREECAD_LIBPACK_DIR}/lib )
# don't show them in the GUI
set(FREECAD_LIBPACK_CHECKFILE6X "${FREECAD_LIBPACK_CHECKFILE6X}" CACHE INTERNAL "Find libpack")
set(FREECAD_LIBPACK_CHECKFILE7X "${FREECAD_LIBPACK_CHECKFILE7X}" CACHE INTERNAL "Find libpack")
set(FREECAD_LIBPACK_CHECKFILE8X "${FREECAD_LIBPACK_CHECKFILE8X}" CACHE INTERNAL "Find libpack")
set(FREECAD_LIBPACK_CHECKFILE9X "${FREECAD_LIBPACK_CHECKFILE9X}" CACHE INTERNAL "Find libpack")
set(FREECAD_LIBPACK_CHECKCUSTOM "${FREECAD_LIBPACK_CHECKCUSTOM}" CACHE INTERNAL "Find libpack")
IF(FREECAD_LIBPACK_CHECKFILE6X)
set(FREECAD_LIBPACK_VERSION "6.x" CACHE STRING "Displays if the libpack has been found" FORCE)
include(cMake/UseLibPack6x.cmake)
set(FREECAD_LIBPACK6 FOUND CACHE STRING "Displays if the libpack has been found")
set(FREECAD_LIBPACK7 NOTFOUND CACHE STRING "Displays if the libpack has been found")
MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK7)
ELSEIF(FREECAD_LIBPACK_CHECKFILE7X)
set(FREECAD_LIBPACK_VERSION "7.x" CACHE STRING "Displays if the libpack has been found" FORCE)
include(cMake/UseLibPack7x.cmake)
set(FREECAD_LIBPACK6 NOTFOUND CACHE STRING "Displays if the libpack has been found")
MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK6)
set(FREECAD_LIBPACK7 FOUND CACHE STRING "Displays if the libpack has been found")
ELSEIF(FREECAD_LIBPACK_CHECKFILE8X)
set(FREECAD_LIBPACK_VERSION "8.x" CACHE STRING "Displays if the libpack has been found" FORCE)
include(cMake/UseLibPack8x.cmake)
set(FREECAD_LIBPACK6 NOTFOUND CACHE STRING "Displays if the libpack has been found")
set(FREECAD_LIBPACK7 NOTFOUND CACHE STRING "Displays if the libpack has been found")
set(SWIG_EXECUTABLE ${FREECAD_LIBPACK_DIR}/tools/swigwin-1.3.40/swig.exe)
MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK6)
set(FREECAD_LIBPACK8 FOUND CACHE STRING "Displays if the libpack has been found")
set(SWIG_EXECUTABLE ${FREECAD_LIBPACK_DIR}/tools/swigwin-1.3.40/swig.exe CACHE STRING "Swig" FORCE)
ELSEIF(FREECAD_LIBPACK_CHECKFILE9X)
set(FREECAD_LIBPACK_VERSION "9.x" CACHE STRING "Displays if the libpack has been found" FORCE)
include(cMake/UseLibPack9x.cmake)
set(SWIG_EXECUTABLE ${FREECAD_LIBPACK_DIR}/tools/swigwin-2.0.11/swig.exe CACHE STRING "Swig" FORCE)
set(FREECAD_USE_EXTERNAL_PIVY ON CACHE BOOL "Switch off local pivy" FORCE)
set(FREECAD_LIBPACK_PYSIDEUIC_REL "${FREECAD_LIBPACK_DIR}/pyside-tools/Lib/site-packages")
file(GLOB FREECAD_LIBPACK_PIVY_COIN "${FREECAD_LIBPACK_DIR}/pivy/*.*")
file(GLOB FREECAD_LIBPACK_PIVY_SOQT "${FREECAD_LIBPACK_DIR}/pivy/gui/*.*")
file(GLOB FREECAD_LIBPACK_SHIBOKEN "${FREECAD_LIBPACK_DIR}/shiboken-1.2.1/lib/site-packages/*.pyd")
file(GLOB FREECAD_LIBPACK_PYSIDE "${FREECAD_LIBPACK_DIR}/pyside/lib/site-packages/PySide/*.py*")
file(GLOB_RECURSE FREECAD_LIBPACK_PYSIDEUIC RELATIVE "${FREECAD_LIBPACK_PYSIDEUIC_REL}" "${FREECAD_LIBPACK_PYSIDEUIC_REL}/pysideuic/*.py")
file(GLOB FREECAD_LIBPACK_PYTHON "${FREECAD_LIBPACK_DIR}/bin/*.py*")
ELSEIF(FREECAD_LIBPACK_CHECKCUSTOM)
set(FREECAD_LIBPACK_VERSION "Custom" CACHE STRING "Displays if the libpack has been found" FORCE)
include(cMake/UseLibPackCustom.cmake)
set(FREECAD_LIBPACKX FOUND CACHE STRING "Displays if the libpack has been found")
ELSE(FREECAD_LIBPACK_CHECKFILE6X)
MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
message(SEND_ERROR "Could not find neither LibPack 6.x nor 7.x in specified location:" ${FREECAD_LIBPACK_DIR})
set(FREECAD_LIBPACK_VERSION "NOTFOUND" CACHE STRING "Displays if the libpack has been found" FORCE)
message(SEND_ERROR "Could not find libpack in specified location:" ${FREECAD_LIBPACK_DIR})
ENDIF(FREECAD_LIBPACK_CHECKFILE6X)
# -------------------------------- PyCXX --------------------------------
find_package(PyCXX REQUIRED)
# -------------------------------- Swig ----------------------------------
find_package(SWIG)
@@ -159,9 +362,6 @@ if(FREECAD_LIBPACK_USE)
else(FREECAD_LIBPACK_USE)
MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
# ================================================================================
# == for other OSes search the packages ==========================================
@@ -201,35 +401,73 @@ MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
find_package(ZLIB REQUIRED)
# -------------------------------- PyCXX --------------------------------
find_package(PyCXX REQUIRED)
# -------------------------------- OpenCasCade --------------------------------
#first, look for OpenCASCADE Community Edition (OCE)
#if OCE is installed in a nonstandard location, add -DOCE_DIR=/path/to/dir/containing/OCEConfig.cmake
# when configuring with cmake, i.e. cmake .. -DOCE_DIR=/usr/share/cmake
if( NOT DEFINED OCE_DIR )
if( UNIX )
set( OCE_DIR "/usr/local/share/cmake/" )
else()
set( OCE_DIR "c:/OCE-0.4.0/share/cmake" )
endif()
endif()
find_package ( OCE )
if( ${OCE_FOUND} )
message("-- OpenCASCADE Community Edition has been found.")
add_definitions ( -DHAVE_CONFIG_H )
set( OCC_LIBRARIES "TKFeat;TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBool;TKBO;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEP;TKSTEPBase;TKSTEPAttr;TKHLR" ) #lib list copied from FreeCAD's FindOpenCasCade.cmake
set( OCC_OCAF_LIBRARIES "TKCAF;TKXCAF;TKLCAF;TKXDESTEP;TKXDEIGES" ) #lib list copied from FreeCAD's FindOpenCasCade.cmake
set( OCC_INCLUDE_DIR ${OCE_INCLUDE_DIRS} )
set( OCC_FOUND ${OCE_FOUND} )
else() #look for OpenCASCADE
find_package(OpenCasCade)
IF(NOT OCC_FOUND)
MESSAGE("Neither OpenCASCADE Community Edition nor OpenCasCade were found: will not build CAD modules!")
ELSE()
MESSAGE("-- OpenCASCADE include directory: ${OCC_INCLUDE_PATH}")
MESSAGE("-- OpenCASCADE shared libraries directory: ${OCC_LIB_PATH}")
ENDIF()
endif()
if(NOT DEFINED OCE_DIR)
if(UNIX)
set(OCE_DIR "/usr/local/share/cmake/")
elseif(WIN32)
set(OCE_DIR "c:/OCE-0.4.0/share/cmake")
endif()
endif()
find_package (OCE QUIET)
if(${OCE_FOUND})
message("-- OpenCASCADE Community Edition has been found.")
add_definitions (-DHAVE_CONFIG_H)
#lib list copied from FreeCAD's FindOpenCasCade.cmake
set(OCC_LIBRARIES
TKFillet
TKMesh
TKernel
TKG2d
TKG3d
TKMath
TKIGES
TKSTL
TKShHealing
TKXSBase
TKBool
TKBO
TKBRep
TKTopAlgo
TKGeomAlgo
TKGeomBase
TKOffset
TKPrim
TKSTEP
TKSTEPBase
TKSTEPAttr
TKHLR
TKFeat
)
#lib list copied from FreeCAD's FindOpenCasCade.cmake
set(OCC_OCAF_LIBRARIES
TKCAF
TKXCAF
TKLCAF
TKXDESTEP
TKXDEIGES
TKMeshVS
TKAdvTools
)
set(OCC_INCLUDE_DIR ${OCE_INCLUDE_DIRS})
set(OCC_FOUND ${OCE_FOUND})
else() #look for OpenCASCADE
find_package(OpenCasCade)
if(NOT OCC_FOUND)
message("Neither OpenCASCADE Community Edition nor OpenCasCade were found: will not build CAD modules!")
else()
message("-- OpenCASCADE include directory: ${OCC_INCLUDE_PATH}")
message("-- OpenCASCADE shared libraries directory: ${OCC_LIB_PATH}")
endif()
endif()
# -------------------------------- Salome SMESH --------------------------
@@ -253,6 +491,12 @@ MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
#IF(NOT SMESH_FOUND)
# MESSAGE("Salome SMESH was not found!")
#ENDIF(NOT SMESH_FOUND)
# -------------------------------- Netgen --------------------------------
if (FREECAD_BUILD_FEM_NETGEN)
find_package(NETGEN)
endif(FREECAD_BUILD_FEM_NETGEN)
# -------------------------------- OpenCV --------------------------------
@@ -269,7 +513,6 @@ MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
# -------------------------------- Eigen --------------------------------
#find_package(Eigen2)
find_package(Eigen3)
# -------------------------------- ODE ----------------------------------
@@ -310,20 +553,31 @@ MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
macro(fc_wrap_cpp outfiles )
# get include dirs
QT4_GET_MOC_FLAGS(moc_flags)
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
QT4_EXTRACT_OPTIONS(moc_files moc_options moc_target ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
QT4_MAKE_OUTPUT_FILE(${it} moc_ cpp outfile)
QT4_CREATE_MOC_COMMAND(${it} ${outfile} "${moc_flags}" "${moc_options}")
QT4_CREATE_MOC_COMMAND(${it} ${outfile} "${moc_flags}" "${moc_options}" "${moc_target}")
set(${outfiles} ${${outfiles}} ${outfile})
add_file_dependencies(${it} ${outfile})
endforeach(it)
endmacro(fc_wrap_cpp)
if(FREECAD_BUILD_GUI)
#--------------------FreeType-----------------------
if(FREECAD_USE_FREETYPE)
find_package(Freetype)
if(NOT FREETYPE_FOUND)
MESSAGE("FreeType2 library is not available. Part module will lack of makeWireString().")
endif(NOT FREETYPE_FOUND)
endif(FREECAD_USE_FREETYPE)
#---------------------------------------------------
if(FREECAD_BUILD_GUI)
# -------------------------------- OpenGL --------------------------------
find_package(OpenGL)
@@ -349,6 +603,14 @@ MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
find_package(Spnav)
endif(WIN32)
# -------------------------------- Shiboken/PySide ------------------------
# set(PYTHON_SUFFIX -python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
SET(PYTHON_SUFFIX -python2.7) # for shiboken
SET(PYTHON_BASENAME -python2.7) # for PySide
find_package(Shiboken REQUIRED)
find_package(PySide REQUIRED)
# ------------------------------ Matplotlib ------------------------------
find_package(Matplotlib)
@@ -397,7 +659,7 @@ ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8)
IF(MSVC)
# set default compiler settings
#SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /GF /GY")
SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /EHa")
SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DFC_DEBUG")
# set default libs
SET (CMAKE_C_STANDARD_LIBRARIES "kernel32.lib user32.lib gdi32.lib winspool.lib SHFolder.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib ")
@@ -405,6 +667,10 @@ IF(MSVC)
# set linker flag /nodefaultlib
set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB")
SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB")
IF(FREECAD_RELEASE_PDB)
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
set (CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG")
ENDIF(FREECAD_RELEASE_PDB)
# Mark 32 bit executables large address aware so they can use > 2GB address space
# NOTE: This setting only has an effect on machines with at least 3GB of RAM, although it sets the linker option it doesn't set the the linker switch 'Enable Large Addresses'
@@ -414,13 +680,16 @@ IF(MSVC)
ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 4)
ELSE(MSVC)
SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DFC_DEBUG")
MESSAGE(STATUS "DEBUG: ${CMAKE_CXX_FLAGS_DEBUG}")
#MESSAGE(STATUS "DEBUG: ${CMAKE_CXX_FLAGS_DEBUG}")
MESSAGE(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
ENDIF(MSVC)
IF(MINGW)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mthreads")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mthreads")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -mthreads -Wl,--export-all-symbols")
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -mthreads -Wl,--export-all-symbols")
# http://stackoverflow.com/questions/8375310/warning-auto-importing-has-been-activated-without-enable-auto-import-specifie
# SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -static-libgcc -static-libstdc++")
LINK_LIBRARIES(-lgdi32)
ENDIF(MINGW)
# 0000661: cmake build on Mac OS: dealing with dylib versus so
@@ -428,8 +697,14 @@ IF(APPLE)
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
ENDIF(APPLE)
# force build directory to be different to source directory
#if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
#MESSAGE(SEND_ERROR "The build directory (${CMAKE_BINARY_DIR}) must be different to the source directory "
# "(${CMAKE_SOURCE_DIR}). Please choose another build directory!")
#elseif()
add_subdirectory(src)
add_subdirectory(data)
#endif()
# ================================================================================
# == Packaging ===================================================================
+197 -4
View File
@@ -1,8 +1,201 @@
Changelog you finde now here:
https://sourceforge.net/apps/mantisbt/free-cad/changelog_page.php
Changelog you find now here:
http://www.freecadweb.org/tracker/changelog_page.php
Version: 0.12
*
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
* 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.
* Crash when opening Pad
* V0.14 - Add icons to its respectives operations in treeview
* FreeCAD crash on sweep/loft
* Option for new check in part check geometry
* Move from PyQt to PySide
* use transformShape for uniform scaling in Draft._Clone Feature
* Make FreeCAD buildable using QT Creator using windows the VC++ 9 compiler
* Part Revolve - add parameter "solid"
* emn import failure
* Allow Part Loft to create a closed solid i.e. have the Loft start and finish with the same profile
* crash when using "move" tool in part workbench
* STEP export fails under Windows
* OpenSCAD importer can't import more than one layer with the same name
* Standard view /Align view to selected face
* scale() operation makes face invalid
* Installation should set Python path
* No scroll bar on preferences dialog window.
* Ability to specify more decimal places of precision for fillets, etc.
* Starting FreeCAD Produces Blank Window with Granite Texture
* model refine corrupts solid with spherical edges.
* dump Shapes to python string
* Crash on fuse() of two simple extrusions
* Boolean operation fails for a mesh
* parse keyword args in Part::TopoShapePy::makeOffsetShape
* add shape contents in part check geometry task view
* entering Transform mode degrades the Placemens rotation to single precision
* DLL load failed
* Expose BRepExtrema_DistShapeShape to python
* Allow user to input simple mathematical expressions when setting values to constraints.
* closing Part::TaskCheckGeometry after closing document causes SIGSEGV
* exceptions thrown with python object.
* PartGui::TaskCheckGeometryResults fails to open
* SIGSEGV in Part::GeometryCurvePy::toBSpline
* Increase decimal precision
* Spin box locked to 1 mm
* Add a qt browser to the Parts library
* upload models for library
* Commit [bba876] causing new errors.
* 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.
* 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
* Sweeping along a helix causes exception
* Helix height cannot exceed 55.87mm
* RefineModel() does not mark edges/faces as modified
* PartDesign/modelrefine.cpp in FaceUniter::process() : United faces should all be marked as modified
* Zero width rectangle (i.e. 2 vertical points) odd behaviour + crash
* Planer image changes to number graphic when a part design constraint is made after the planar image
* 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
* 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.
* PropertyLinkSubList causes crash
* BRepPrimAPI_MakeRevolution vs BRepPrimAPI_MakeRevol
* plane offset precision is limited to 0.1
* Add spiral tool in Part Module
* Missing / blank snap tool icons; perpendicular, ortho
* Add a Feature to delete a whole subtree of the FeatureTree
* OCC precision corruption from App::PropertyFloat
* Rotation constructor from vector/to vector not exposed in python
* FreeCAD crashed while creating a loft of two ellipses
* Robot file RobotExample, double-click PartToWork, crash
* No build possible with current CMake version 2.8.12
* Constraint datum dimension label shown as gray box vice number in transparent background.
* Wrong operator in DraftGeomUtils.getRotation
* Tracing over a background image in Sketcher: image is overwritten by first dimensional constraint text
* Raytracing export produces bad light definition
* Spreadsheet module
* Parametr "tolerance" in "Create Mesh from geometry" work strange.
* Order of operations for Matrix is nonintuitive, needs documentation
* \Raytracing\Templates\ install folder missing - file ProjectStd.pov missing - Povray error StdFinish undefined
* Tiny Tweak: v0.14 Shows Some Items as 0.13
* Cross section of Torus in Part Workbench fails or give wrong results
* Line tool (preview as you move) disappears after new file created
* Add a "render" button to the raytracing module
* Annoying messages at startup
* Touchpad navigation issue
* Part --> Geometric Primitives --> Regular Prism
* Online help line needs modifying
* FreeCAD crash with segfault Linux
* 'filemname' is not defined, typo? Can't import DWG
* crash at padding a sketch with 42 holes
* BuildInstaller.bat issue
* Problem exporting (Meshes) to STL & STEP.
* Wrong outline in pocket
* Vertex in Part Loft and Sweep profile list - error handling
* StdMeshers.so: cannot open shared object file: No such file or directory
* Meshing algorithm creates wrong shape
* Create Mesh from geometry / Export mesh.
* Shape.removeSplitter() loses Shape.Placements on some Shapes
* Incomplete slices when using Part.slice on a torus
* Add a function that can apply a Placement to a Shape like sh.transformGeometry(sh.Placement.toMatrix())
* Unable to Loft Sketches with Radiused Corners
* Create a test suite for Arch and Draft
* Change the Word "Radius" for Chamfering
* FreeCAD Compilation fails on Linux 32 bit
* Expose Standard_Boolean TopoDS_Shape::IsPartner(const TopoDS_Shape& other) const; to python
* Re-assign hot keys 0 thru 6 to line up with the icon placement.
* Draft Snap Toolbar Icons Crossed up
* Preserve names and colors on console mode export to STEP
* Placement Position Entry can be improved
* Patch to allow use of external PyCXX
* [Sketcher] Dragging + ESC
* Part WB extrude from ruled surface makes either two faces or a solid
* Split shape color setting from current preference page into a separate page
* Touchpad Navigation issue
* Can't change STEP/IGES export units through Python interface
* Part names are incorrect on import from STEP file
* Make Clipping-Plane-placement editable + support multiple planes
* Clipping plane should have more controls
* Edge chain selection
* Toolbar Customizer Move Buttons enabled but inactive
* Crash when quitting after using Windows > Tile
* Merged Project object being imported changes size when moved
* Cut mesh with plane
* Feature request - box selection for faces in set color mode
* Original color STEP model lost in import
* add directory to findCoin cmake
* wireframe mode should include vertices in display
* Can not export. No way to select file type.
* selftest errors
* Unable to export file to any file format
* File extensions missing from supported file descriptions in open/save dialgos
* [Sketcher] Small inconsistency with update
* Hide turntable dialog when in fullscreen mode
* Keep drop down menus open when changing to another part
* Skin remains when cutting rectangle
* Suppress CMake warning if OCE wasn't found but OCC was found
* add preferences option for bounding box colour
* Export to BREP does not work in Ubuntu
* Freecad sometimes 'forgets' the ability to handle stp files
* Snap Center Point at Center of Cylinder, Circle
* Boolean Cut Fails with Extruded Shapestring
* DeprecationWarning: Use 'TypeId' instead
* Abort on startup
* The output of __repr__() of Vector and Rotatio would create Objects with different Values do to inapropriate rounding
* Improvements for Brep Inventor nodes
* Crash on filleting
* Download manager
* Copy and Paste of a boolean operation moves children to new object
* Windows installer long standing issues [easy fix]
* IndentationError in Python Console
* Tooltips should include shortcuts keys in parentheses
* reading from the python console for using pdb
* Segfault when selecting a duplicate pad
* CMake stops with error "Circular ... <- ... dependency dropped." if source == build directory
* Inventor Navigation continues with released Mouse Button
* ver 0.13 rev 1828, drafting, measurement, angles
* Feature Request:: DXF Export in XY plane
* Add webGL exporter
* an improved Helix icon as suggested by raulshc
* DXF export of "large" Polyline Curves
* DWire Command Number Entry Improvement
* Bug in Draft Edit -> Add points
* Crash when executing script 3 times
* TimeInfo: diffTimeF(): added default arg
* TimeInfo: diffTimeF(): non-zero result for ident. time stamps
* Task Deadlock: Part Workbench disabled when closing Combo View with open Task
* Placement Panel not removed after Entity Deletion
* Wrong header define PART_GEOMETRY_H in ProgressIndicator.h
* Allow Draft tool to create Part Primitives
* Enclose isinstance(Edge.Curve,something) in try-except
* Crash occurs in version 0.13 when trying to use alignment tool
* addObject with four arguments does not return the DocumentObject
* Tree icons for Part Ruled surface, Part Export and some other fixes
* Draft tools referenced before assignment
* arc orientation sometimes becomes wrong when exporting to DXF
* Cannot add object to DocumentObjectGroupPython
* display tree icons for PartDesign workbench
* remove duplicate include files in PartFeature.h
* Sketcher Polyline tool "tool tip" "M key"
* use a face as a profile for Part Loft and sweep
* Tree icons for Part Vertex, Line, Edge, Circle, Ellipse and Helix
* New Start Page tab every time the Start WB is selected
* Duplicate code inside importDAE.py ?
* EngineBlock: unable to select bspline
* Crash on document recompute
* Objects imported by Drag-n-Drop end up in the wrong document
* Draft Working Plane Button ToolTip
* Draft Line - Start and End properties don't respect placement
* Stable PPA
* latest git version doesn't build on mint linux 2013-02-10
Version:
* Sketcher module added with constraint solver using SketchFlat
+30 -9
View File
@@ -12,13 +12,20 @@ FreeCAD is based on OpenCasCade, a powerful geometry kernel, features an Open In
The interface is built with Qt. FreeCAD runs exactly the same way on Windows, Mac OSX, BSD and
Linux platforms.
Home page and wiki documentation: http://free-cad.sf.net
Forum: http://sourceforge.net/apps/phpbb/free-cad/
Bug tracker: http://sourceforge.net/apps/mantisbt/free-cad/
Official git link: git://free-cad.git.sourceforge.net/free-cad/free-cad
Home page: http://www.freecadweb.org
Documentation wiki: http://www.freecadweb.org/wiki/
Forum: http://forum.freecadweb.org/
Bug tracker: http://www.freecadweb.org/tracker/
Git repository: http://sourceforge.net/p/free-cad/code/ci/master/tree/
Building
========
Installing
==========
Precompiled (installable) packages are usually available to you from several sources and are
described on the FreeCAD download page: http://www.freecadweb.org/wiki/index.php?title=Download
Compiling
=========
Compiling FreeCAD requires to install several heavyweight libraries and their development
files such as OpenCasCADe, Coin and Qt, listed in the pages below. Once this is done,
@@ -31,12 +38,26 @@ Note that autotools build system can still be used but will be obsoleted soon.
The pages below contain up-to-date build instructions:
For Linux: http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=CompileOnUnix
For windows: http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=CompileOnWindows
For Mac OSX: http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=CompileOnMac
For Linux: http://www.freecadweb.org/wiki/index.php?title=CompileOnUnix
For windows: http://www.freecadweb.org/wiki/index.php?title=CompileOnWindows
For Mac OSX: http://www.freecadweb.org/wiki/index.php?title=CompileOnMac
In this folder you will also find additional README files, specific for each platform.
Usage
=====
The FreeCAD documentation wiki contains sections for each category of users, and a manual,
which is a compilation of the most useful articles of the wiki:
For users: General FreeCAD usage: http://www.freecadweb.org/wiki/index.php?title=User_hub
For power-users: Python scripting: http://www.freecadweb.org/wiki/index.php?title=Power_users_hub
For developers: C++ FreeCAD development: http://www.freecadweb.org/wiki/index.php?title=Developer_hub
The FreeCAD manual: http://www.freecadweb.org/wiki/index.php?title=Online_Help_Toc
+6 -21
View File
@@ -10,7 +10,8 @@ and programming tools (like compiler), the following libraries:
o Python (http://www.python.org), >= 2.5.x
o boost (http://www.boost.org), >= 1.33.1
o Qt (http://www.qtsoftware.com), >= 4.1.x
o Qt (http://qt-project.org/), >= 4.1.x
o PySide (http://qt-project.org/wiki/category:LanguageBindings::PySide::Downloads)
o Coin3D (http://www.coin3d.org), >= 2.4.x
o SoQt (http://www.coin3d.org), >= 1.2.x
o Xerces-C++ (http://xml.apache.org/dist/xerces-c/), >= 2.6
@@ -18,8 +19,8 @@ o zlib (http://www.zlib.net/)
And for the some FreeCAD modules the additional libraries
o OpenCascade (http://www.opencascade.org), >= 5.2
o Eigen2 (http://eigen.tuxfamily.org/index.php?title=Main_Page), >= 2.0.5
o ODE (http://www.ode.org), >= 0.10.x
o Eigen3 (http://eigen.tuxfamily.org/index.php?title=Main_Page), >= 3.0.1
o FreeType
are required.
Note: zlib might be already on your system, as this is a library that is used
@@ -44,23 +45,7 @@ Note: The package for SoQt (at least for older Debian based systems) is usually
than the installed SoQt to avoid to corrupt your package database and/or to keep other
applications working. When configuring FreeCAD you have to use the '--with-soqt=DIR'
switch specifying the path of the newly installed SoQt.
For newer Debian releases this already solved by a new package that links against Qt4.
Note: For OpenCascade there does not exist an official .deb package for older Debian based systems
and many other distributions, so you have to download the latest version from www.opencascade.org.
Install the package normally, be aware that the installer is a java program that requires
the official java runtime edition from Sun, not the open-source java (gij) that is bundled
with Debian or Ubuntu. Install it if needed:
sudo apt-get remove gij
sudo apt-get install sun-java5-bin
Be careful, if you use gij java with other things like a browser plugin, they won't work
anymore. Now start the installer with
java -jar setup.jar
With Debian Lenny this issue is solved. There is an OpenCascade package currently in the
non-free section.
For newer Debian releases this already solved by a new package that links against Qt4.
During the compilation some Python scripts get executed. So the Python interpreter has
@@ -111,4 +96,4 @@ So, just have fun!
Werner Mayer <wmayer@users.sourceforge.net>
May 2010
June 2014
+22
View File
@@ -183,6 +183,11 @@ Again a message dialog may pop up due to the missing cygwin1.dll.
o PyQt/sip
Warning: the following is obsoleted from version 0.14, since FreeCAD is now using
pySide instead of PyQt. At the moment, PySide suport for MingW seems still not complete:
https://bugreports.qt-project.org/browse/PYSIDE-113?page=com.atlassian.jira.plugin.system.issuetabpanels%3aall-tabpanel
Download the sources archives for sip and PyQt4 from www.riverbankcomputing.co.uk.
In order to build sip extract the archive and open a MSYS command line. From within
@@ -270,6 +275,23 @@ Note: For a couple of libraries the arguments passed to the linker exceeds the n
g++ <options> -shared -o libTKGeomAlgo.dll *.obj <libs>
rm -f *.obj
o Netgen
Modify the following files:
* libsrc/meshing/improve2.hpp
Add DLL_HEADER to class MeshOptimize2d
* libsrc/meshing/meshclass.hpp
Add DLL_HEADER to CalcSurfacesOfNode
* libsrc/meshing/meshtype.hpp
Add DLL_HEADER to classes SurfaceElementIndex, MeshPoint, Element2d (int anp),
* libsrc/occ/occgeom.hpp
Add DLL_HEADER to classes Line, OCCGeometry, OCCParameters, OCCGenerateMesh
* libsrc/occ/occmeshsurf.hpp
Add DLL_HEADER to classes OCCSurface, Meshing2OCCSurfaces, MeshOptimize2dOCCSurfaces, OCCRefinementSurfaces
Run the configure script with these arguments
./configure --prefix=/usr/local --enable-shared --enable-occ --with-occ=/usr/local --with-tcl=/usr/local/lib --enable-nglib CXXFLAGS="-DNGLIB_EXPORTS -DWNT"
make && make install
Building the FreeCAD sources
----------------------------
+18 -21
View File
@@ -59,27 +59,24 @@ To create an intstaller package you need WIX.
Additional information on building special 3rd party libraries
--------------------------------------------------------------
The addressed audience for this section is rather the developers
themselves than those people who build the FreeCAD sources.
* Mefisto2F
* Salome SMESH
The Salome SMESH library needs the Mefisto2F library which contains some Fortran code.
The easiest way is to convert the Fortran code into C code and use the f2c library to
build a static library.
The Salome SMESH library needs some special steps in order to be built
because it contains some Fortran code.
1. Get the f2c utility from http://netlib.sandia.gov/f2c/mswin/index.html
2. Convert the Fortran file trte.f into a C file trte.c using the f2c utility
>>> f2c trte.f
3. Get the sources for the lib f2c from http://netlib.sandia.gov/f2c/libf2c.zip and
unpack them.
4. Apply the patch 'mefisto2f.patch'
5. Run nmake -f makefile.vc
1. First get the SMESH sources smesh-5.1.2.2.tar.gz from the Sourceforge download area
2. Make sure that the IDE can find the boost header files
3. Start compiling all the projects. The NETGENPlugin probably fails but this can simply
be unloaded or removed because we don't need it.
Except of MESFISTO2 all other projects should compile fine. For MEFISTO2 we get a couple
of linker errors.
4. Get the f2c utility from http://netlib.sandia.gov/f2c/mswin/index.html
5. Get f2c.h from http://netlib.sandia.gov/f2c/f2c.h.gz
6. Convert the Fortran file trte.f into a C file trte.c using the f2c utility
7. Get the sources for the lib f2c from http://netlib.sandia.gov/f2c/libf2c.zip.
Unpack the sources and add the compiler switch /MD to makefile.vc. This is needed to
link against the shared C runtime, not the static one.
8. Remove the __WATCOM__ define from the list of the preprocessor macros of the MESFISTO2
project.
9. Build the file vcf2c.lib with "nmake -f makefile.vc" and add it to the MEFISTO2 project as
additional library. The linker errors should now go away.
Alternatively, you can use the Watcom Fortran compiler. The needed project file can be get from
here: http://sourceforge.net/p/salomesmesh/code/HEAD/tree/trunk/adm/win32-watcom/
However, this doesn't work for x64 targets at the moment.
* FreeType
http://stackoverflow.com/questions/6207176/compiling-freetype-to-dll-as-opposed-to-static-library
+2
View File
@@ -13,6 +13,7 @@ IF (WIN32)
FIND_PATH(COIN3D_INCLUDE_DIR Inventor/So.h
/usr/include
/usr/local/include
/usr/include/coin
)
FIND_LIBRARY(COIN3D_LIBRARY Coin
@@ -70,6 +71,7 @@ ELSE (WIN32)
ELSE(APPLE)
FIND_PATH(COIN3D_INCLUDE_DIR Inventor/So.h
/usr/include/Coin3
/usr/include
/usr/local/include
)
+18 -17
View File
@@ -22,6 +22,7 @@ IF (COIN3D_FOUND)
# Unix systems
find_path(COIN3D_DOC_PATH index.html
/usr/share/doc/libcoin60-doc/html
/usr/share/doc/coin/html
)
IF( EXISTS ${COIN3D_DOC_PATH})
message(STATUS "Coin3D doc is installed")
@@ -54,23 +55,23 @@ IF (COIN3D_FOUND)
IF( EXISTS ${COIN3D_DOC_TAGFILE})
SET( COIN3D_DOC_FOUND "YES"
)
ELSE( EXISTS ${COIN3D_DOC_TAGFILE})
find_program(WGET_PROG wget
)
IF( EXISTS ${WGET_PROG})
execute_process(COMMAND ${WGET_PROG}
-P ${CMAKE_BINARY_DIR}/src/Doc
${COIN3D_DOC_PATH}/coin.tag
)
find_file(COIN3D_DOC_TAGFILE coin.tag
${CMAKE_BINARY_DIR}/src/Doc
)
IF( EXISTS ${COIN3D_DOC_TAGFILE})
SET( COIN3D_DOC_FOUND "YES"
)
ENDIF( EXISTS ${COIN3D_DOC_TAGFILE})
ENDIF( EXISTS ${WGET_PROG})
#ELSE( EXISTS ${COIN3D_DOC_TAGFILE})
# find_program(WGET_PROG wget
# )
# IF( EXISTS ${WGET_PROG})
# execute_process(COMMAND ${WGET_PROG}
# -P ${CMAKE_BINARY_DIR}/src/Doc
# ${COIN3D_DOC_PATH}/coin.tag
# )
# find_file(COIN3D_DOC_TAGFILE coin.tag
# ${CMAKE_BINARY_DIR}/src/Doc
# )
# IF( EXISTS ${COIN3D_DOC_TAGFILE})
# SET( COIN3D_DOC_FOUND "YES"
# )
# ENDIF( EXISTS ${COIN3D_DOC_TAGFILE})
#
# ENDIF( EXISTS ${WGET_PROG})
ENDIF( EXISTS ${COIN3D_DOC_TAGFILE})
+36
View File
@@ -0,0 +1,36 @@
# Try to find nglib/netgen
# Once done this will define
#
# NGLIB_INCLUDE_DIR - where the nglib include directory can be found
# NGLIB_LIBRARIES - Link this to use nglib
# NETGEN_INCLUDE_DIRS - where the netgen include directories can be found
#
# See also: http://git.salome-platform.org/gitweb/?p=NETGENPLUGIN_SRC.git;a=summary
# nglib
FIND_PATH(NGLIB_INCLUDE_DIR nglib.h /usr/include)
FIND_LIBRARY(NGLIB_LIBRARIES nglib /usr/lib /usr/local/lib)
# netgen headers
SET(NETGEN_INCLUDE_DIRS)
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} -DNO_PARALLEL_THREADS -DOCCGEOMETRY)
SET(NETGENDATA /usr/share/netgen/libsrc)
FIND_PATH(NETGEN_DIR_csg csg.hpp PATHS ${NETGENDATA}/csg)
FIND_PATH(NETGEN_DIR_gen array.hpp PATHS ${NETGENDATA}/general)
FIND_PATH(NETGEN_DIR_geom2d geom2dmesh.hpp PATHS ${NETGENDATA}/geom2d)
FIND_PATH(NETGEN_DIR_gprim gprim.hpp PATHS ${NETGENDATA}/gprim)
FIND_PATH(NETGEN_DIR_la linalg.hpp PATHS ${NETGENDATA}/linalg)
FIND_PATH(NETGEN_DIR_mesh meshing.hpp PATHS ${NETGENDATA}/meshing)
FIND_PATH(NETGEN_DIR_occ occgeom.hpp PATHS ${NETGENDATA}/occ)
FIND_PATH(NETGEN_DIR_stlgeom stlgeom.hpp PATHS ${NETGENDATA}/stlgeom)
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_csg})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_gen})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_geom2d})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_gprim})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_la})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_mesh})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_occ})
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} ${NETGEN_DIR_stlgeom})
+4
View File
@@ -14,6 +14,8 @@ IF (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
@@ -86,6 +88,8 @@ IF(OCC_LIBRARY)
TKLCAF
TKXDESTEP
TKXDEIGES
TKMeshVS
TKAdvTools
)
ENDIF(OCC_LIBRARY)
+108
View File
@@ -0,0 +1,108 @@
# Locate PyCXX headers and source files
# This module defines
# PYCXX_INCLUDE_DIR
# PYCXX_SOURCE_DIR
# PYCXX_FOUND
# PYCXX_SOURCES
#
# The PYCXX_*_DIR variables can be set to tell this module where
# the files are.
# There's no standard location for PyCXX.
#
# The authors' example is to put it in "~\" [sic].
#
# Ubuntu puts the includes into /usr/include/python2.7/CXX and sources into
# /usr/share/python2.7/CXX.
#
# The Zultron Fedora RPM does the same as Ubuntu.
set(PYCXX_FOUND "YES")
# find the header directory
if(PYCXX_INCLUDE_DIR)
# headers better be in there
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}")
else(PyCXX_FIND_REQUIRED)
MESSAGE(WARNING
"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)
# check in 'standard' places
find_path(PYCXX_INCLUDE_DIR CXX/Config.hxx
${PYTHON_INCLUDE_DIR}
"${CMAKE_CURRENT_LIST_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")
else(PyCXX_FIND_REQUIRED)
MESSAGE(STATUS "PyCXX not found")
unset(PYCXX_FOUND)
endif(PyCXX_FIND_REQUIRED)
endif(NOT PYCXX_INCLUDE_DIR)
endif(PYCXX_INCLUDE_DIR)
# find the sources directory
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}")
else(PyCXX_FIND_REQUIRED)
MESSAGE(WARNING
"PyCXX: cxxextensions.c not found in PYCXX_INCLUDE_DIR "
"${PYCXX_INCLUDE_DIR}")
unset(PYCXX_FOUND)
endif(PyCXX_FIND_REQUIRED)
endif(NOT EXISTS "${PYCXX_SOURCE_DIR}/cxxextensions.c")
else(PYCXX_SOURCE_DIR)
# check in 'standard' places
find_path(PYCXX_SOURCE_DIR cxxextensions.c
"${PYCXX_INCLUDE_DIR}/CXX"
"${PYCXX_INCLUDE_DIR}/Src"
"${PYTHON_INCLUDE_DIR}/CXX"
"${PYTHON_INCLUDE_DIR}/Src"
"${CMAKE_CURRENT_LIST_DIR}/../Src"
"${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")
else(PyCXX_FIND_REQUIRED)
MESSAGE(STATUS "PyCXX not found")
unset(PYCXX_FOUND)
endif(PyCXX_FIND_REQUIRED)
endif(NOT PYCXX_SOURCE_DIR)
endif(PYCXX_SOURCE_DIR)
# see what we've got
if(PYCXX_FOUND)
MESSAGE(STATUS "PyCXX found:")
MESSAGE(STATUS " Headers: ${PYCXX_INCLUDE_DIR}")
MESSAGE(STATUS " Sources: ${PYCXX_SOURCE_DIR}")
# 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
)
else(PYCXX_FOUND)
MESSAGE(STATUS "PyCXX not found")
endif(PYCXX_FOUND)
+50 -65
View File
@@ -168,73 +168,14 @@ endmacro(generate_from_py)
#endmacro(qt4_wrap_ui)
# This is a special version of the built in macro qt4_add_resources that generates .cpp files
#
#macro(fc_add_resources outfiles )
# #QT4_EXTRACT_OPTIONS(rcc_files rcc_options ${ARGN})
# set(ARGN )
# foreach (it ${rcc_files})
# get_filename_component(outfilename ${it} NAME_WE)
# get_filename_component(infile ${it} ABSOLUTE)
# get_filename_component(rc_path ${infile} PATH)
# set(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cpp)
# # parse file for dependencies
# # all files are absolute paths or relative to the location of the qrc file
# file(READ "${infile}" _RC_FILE_CONTENTS)
# string(REGEX MATCHALL "<file[^<]+" _RC_FILES "${_RC_FILE_CONTENTS}")
# set(_RC_DEPENDS)
# foreach(_RC_FILE ${_RC_FILES})
# string(REGEX REPLACE "^<file[^>]*>" "" _RC_FILE "${_RC_FILE}")
# string(REGEX MATCH "^/|([A-Za-z]:/)" _ABS_PATH_INDICATOR "${_RC_FILE}")
# if(NOT _ABS_PATH_INDICATOR)
# set(_RC_FILE "${rc_path}/${_RC_FILE}")
# endif(NOT _ABS_PATH_INDICATOR)
# set(_RC_DEPENDS ${_RC_DEPENDS} "${_RC_FILE}")
# endforeach(_RC_FILE)
# add_custom_command(OUTPUT ${outfile}
# COMMAND ${QT_RCC_EXECUTABLE}
# ARGS ${rcc_options} -name ${outfilename} -o ${outfile} ${infile}
# MAIN_DEPENDENCY ${infile}
# DEPENDS ${_RC_DEPENDS})
# set(${outfiles} ${${outfiles}} ${outfile})
# endforeach (it)
#endmacro(fc_add_resources)
MACRO (fc_add_resources outfiles )
QT4_EXTRACT_OPTIONS(rcc_files rcc_options ${ARGN})
FOREACH (it ${rcc_files})
GET_FILENAME_COMPONENT(outfilename ${it} NAME_WE)
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
GET_FILENAME_COMPONENT(rc_path ${infile} PATH)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cpp)
# parse file for dependencies
# all files are absolute paths or relative to the location of the qrc file
FILE(READ "${infile}" _RC_FILE_CONTENTS)
STRING(REGEX MATCHALL "<file[^<]+" _RC_FILES "${_RC_FILE_CONTENTS}")
SET(_RC_DEPENDS)
FOREACH(_RC_FILE ${_RC_FILES})
STRING(REGEX REPLACE "^<file[^>]*>" "" _RC_FILE "${_RC_FILE}")
STRING(REGEX MATCH "^/|([A-Za-z]:/)" _ABS_PATH_INDICATOR "${_RC_FILE}")
IF(NOT _ABS_PATH_INDICATOR)
SET(_RC_FILE "${rc_path}/${_RC_FILE}")
ENDIF(NOT _ABS_PATH_INDICATOR)
SET(_RC_DEPENDS ${_RC_DEPENDS} "${_RC_FILE}")
ENDFOREACH(_RC_FILE)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_RCC_EXECUTABLE}
ARGS ${rcc_options} -name ${outfilename} -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile}
DEPENDS ${_RC_DEPENDS})
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH (it)
ENDMACRO (fc_add_resources)
MACRO(ADD_MSVC_PRECOMPILED_HEADER PrecompiledHeader PrecompiledSource SourcesVar)
MACRO(ADD_MSVC_PRECOMPILED_HEADER TargetName PrecompiledHeader PrecompiledSource SourcesVar)
IF(MSVC)
GET_FILENAME_COMPONENT(PrecompiledBasename ${PrecompiledHeader} NAME_WE)
SET(PrecompiledBinary "$(IntDir)\\$(TargetName).pch")
IF(MSVC_IDE)
SET(PrecompiledBinary "$(IntDir)\\$(TargetName).pch")
ELSE(MSVC_IDE)
SET(PrecompiledBinary ${CMAKE_CURRENT_BINARY_DIR}/${TargetName}.pch)
ENDIF(MSVC_IDE)
SET(Sources ${${SourcesVar}})
SET_SOURCE_FILES_PROPERTIES(${PrecompiledSource}
@@ -266,3 +207,47 @@ MACRO(GET_MSVC_PRECOMPILED_SOURCE PrecompiledSource SourcesVar)
ENDFOREACH (it)
ENDIF(MSVC)
ENDMACRO(GET_MSVC_PRECOMPILED_SOURCE)
# Macro to replace all the binary output locations. Takes 2 optional parameters.
# ${ARGVN} is zero based so the 3rd element is ${ARGV2}. When the 3rd element is missing,
# Runtime and Lib directories default to /bin and /lib. When present, the 3rd element
# specifies both Runtime and Lib directories. 4th specifies linux install path.
MACRO(SET_BIN_DIR ProjectName OutputName)
set_target_properties(${ProjectName} PROPERTIES OUTPUT_NAME ${OutputName})
if(${ARGC} GREATER 2)
# VS_IDE (and perhaps others) make Release and Debug subfolders. This removes them.
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}${ARGV2})
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}${ARGV2})
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}${ARGV2})
set_target_properties(${ProjectName} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}${ARGV2})
else(${ARGC} GREATER 2)
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/bin)
set_target_properties(${ProjectName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/bin)
set_target_properties(${ProjectName} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
endif(${ARGC} GREATER 2)
if(WIN32)
set_target_properties(${ProjectName} PROPERTIES DEBUG_OUTPUT_NAME ${OutputName}_d)
else(WIN32)
# FreeCADBase, SMDS, Driver and MEFISTO2 libs don't depend on parts from CMAKE_INSTALL_LIBDIR
if(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2)$")
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(${ARGC} STREQUAL 4)
endif(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2)$")
endif(WIN32)
ENDMACRO(SET_BIN_DIR)
# Set python prefix & suffix together
MACRO(SET_PYTHON_PREFIX_SUFFIX ProjectName)
if(NOT MSVC)
set_target_properties(${ProjectName} PROPERTIES PREFIX "")
endif(NOT MSVC)
if(WIN32)
set_target_properties(${ProjectName} PROPERTIES SUFFIX ".pyd")
endif(WIN32)
ENDMACRO(SET_PYTHON_PREFIX_SUFFIX)
+2
View File
@@ -196,6 +196,8 @@ include(AddFileDependencies)
macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
+2
View File
@@ -207,6 +207,8 @@ include(AddFileDependencies)
macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
+143 -45
View File
@@ -56,20 +56,32 @@ set(ZLIB_LIBRARIES zdll.lib)
set(ZLIB_FOUND TRUE)
# SMESH
set(SMESH_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/smesh)
set(SMESH_LIBRARIES
StdMeshers.lib
MEFISTO2.lib
SMESH.lib
DriverUNV.lib
SMESHDS.lib
DriverSTL.lib
DriverDAT.lib
Driver.lib
SMDS.lib
)
set(SMESH_FOUND TRUE)
#set(SMESH_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/smesh)
#set(SMESH_LIBRARIES
# optimized StdMeshers.lib
# optimized MEFISTO2.lib
# optimized SMESH.lib
# optimized DriverUNV.lib
# optimized SMESHDS.lib
# optimized NETGENPlugin.lib
# optimized DriverSTL.lib
# optimized DriverDAT.lib
# optimized Driver.lib
# optimized SMDS.lib
#)
#set(SMESH_DEBUG_LIBRARIES
# debug StdMeshersd.lib
# debug MEFISTO2d.lib
# debug SMESHd.lib
# debug DriverUNVd.lib
# debug SMESHDSd.lib
# debug NETGENPlugind.lib
# debug DriverSTLd.lib
# debug DriverDATd.lib
# debug Driverd.lib
# debug SMDSd.lib
#)
#set(SMESH_FOUND TRUE)
# Coin3D
set(COIN3D_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/coin)
@@ -139,7 +151,25 @@ set(QT_RCC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/rcc.exe)
set(QT_HELPCOMPILER_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/qhelpgenerator.exe)
set(QT_COLLECTIOMGENERATOR_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/qcollectiongenerator.exe)
if(FREECAD_LIBPACK_USEPYSIDE)
# SHIBOKEN_INCLUDE_DIR - Directories to include to use SHIBOKEN
# SHIBOKEN_LIBRARY - Files to link against to use SHIBOKEN
# SHIBOKEN_BINARY - Executable name
SET(SHIBOKEN_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/shiboken)
SET(SHIBOKEN_LIBRARY optimized ${FREECAD_LIBPACK_DIR}/lib/shiboken-python2.6.lib debug ${FREECAD_LIBPACK_DIR}/lib/shiboken-python2.6_d.lib)
set(SHIBOKEN_BINARY ${FREECAD_LIBPACK_DIR}/bin/shiboken)
# PYSIDE_INCLUDE_DIR - Directories to include to use PySide
# PYSIDE_LIBRARY - Files to link against to use PySide
# PYSIDE_PYTHONPATH - Path to where the PySide Python module files could be found
# PYSIDE_TYPESYSTEMS - Type system files that should be used by other bindings extending PySide
SET(PYSIDE_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/PySide)
SET(PYSIDE_LIBRARY optimized ${FREECAD_LIBPACK_DIR}/lib/pyside-python2.6.lib debug ${FREECAD_LIBPACK_DIR}/lib/pyside-python2.6_d.lib)
#SET(PYSIDE_PYTHONPATH ${FREECAD_LIBPACK_DIR}/pyside/Lib/site-packages)
#SET(PYSIDE_TYPESYSTEMS ${FREECAD_LIBPACK_DIR}/pyside/share/PySide/typesystems)
endif(FREECAD_LIBPACK_USEPYSIDE)
MACRO (QT4_EXTRACT_OPTIONS _qt4_files _qt4_options)
SET(${_qt4_files})
@@ -207,6 +237,8 @@ include(AddFileDependencies)
macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
@@ -281,43 +313,95 @@ set(OPENCV_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/opencv)
set(OPENCV_LIBRARIES cv.lib cvaux.lib cxcore.lib cxts.lib highgui.lib)
set(OPENCV_FOUND TRUE)
# NGLIB (NetGen)
set(NGLIB_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/nglib/Include)
set(NGLIB_LIBRARY_DIR
${FREECAD_LIBPACK_DIR}/lib
)
set(NGLIB_LIBRARIES
optimized nglib
)
set(NGLIB_DEBUG_LIBRARIES
debug nglibd
)
# OCC
set(OCC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/OpenCascade)
set(OCC_LIBRARY_DIR
${FREECAD_LIBPACK_DIR}/lib
)
set(OCC_LIBRARIES
TKFillet
TKMesh
TKernel
TKG2d
TKG3d
TKMath
TKIGES
TKSTL
TKShHealing
TKXSBase
TKBool
TKXSBase
TKBO
TKBRep
TKTopAlgo
TKGeomAlgo
TKGeomBase
TKOffset
TKPrim
TKSTEP
TKSTEPBase
TKSTEPAttr
TKHLR
TKFeat
optimized TKFillet
optimized TKMesh
optimized TKernel
optimized TKG2d
optimized TKG3d
optimized TKMath
optimized TKIGES
optimized TKSTL
optimized TKShHealing
optimized TKXSBase
optimized TKBool
optimized TKXSBase
optimized TKBO
optimized TKBRep
optimized TKTopAlgo
optimized TKGeomAlgo
optimized TKGeomBase
optimized TKOffset
optimized TKPrim
optimized TKSTEP
optimized TKSTEPBase
optimized TKSTEPAttr
optimized TKHLR
optimized TKFeat
)
set(OCC_OCAF_LIBRARIES
TKCAF
TKXCAF
TKLCAF
TKXDESTEP
TKXDEIGES
optimized TKCAF
optimized TKXCAF
optimized TKLCAF
optimized TKXDESTEP
optimized TKXDEIGES
optimized TKMeshVS
optimized TKAdvTools
)
set(OCC_DEBUG_LIBRARIES
debug TKFilletd
debug TKMeshd
debug TKerneld
debug TKG2dd
debug TKG3dd
debug TKMathd
debug TKIGESd
debug TKSTLd
debug TKShHealingd
debug TKXSBased
debug TKBoold
debug TKXSBased
debug TKBOd
debug TKBRepd
debug TKTopAlgod
debug TKGeomAlgod
debug TKGeomBased
debug TKOffsetd
debug TKPrimd
debug TKSTEPd
debug TKSTEPBased
debug TKSTEPAttrd
debug TKHLRd
debug TKFeatd
)
set(OCC_OCAF_DEBUG_LIBRARIES
debug TKCAFd
debug TKXCAFd
debug TKLCAFd
debug TKXDESTEPd
debug TKXDEIGESd
debug TKMeshVSd
debug TKAdvToolsd
)
set(OCC_FOUND TRUE)
@@ -328,5 +412,19 @@ SET(EIGEN3_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/eigen3)
set(EIGEN3_FOUND TRUE)
# FreeType
if(FREECAD_USE_FREETYPE)
set(FREETYPE_LIBRARIES
optimized ${FREECAD_LIBPACK_DIR}/lib/freetype.lib
debug ${FREECAD_LIBPACK_DIR}/lib/freetyped.lib
)
set(FREETYPE_INCLUDE_DIRS
${FREECAD_LIBPACK_DIR}/include/FreeType-2.4.12
)
set(FREETYPE_VERSION_STRING
"2.4.12"
)
set(FREETYPE_FOUND
TRUE
)
endif(FREECAD_USE_FREETYPE)
+473
View File
@@ -0,0 +1,473 @@
# ================================================================================
# == Win32 is default behaviour use the LibPack copied in Source tree ============
# --------------------------------------------------------------------------------
# General includes
link_directories(${FREECAD_LIBPACK_DIR}/lib)
include_directories(${FREECAD_LIBPACK_DIR}/include)
# OpenGL
set(OPENGL_gl_LIBRARY opengl32 glu32)
# Python
set(PYTHON_DEBUG_LIBRARY python27_d.lib)
set(PYTHON_LIBRARY python27.lib)
set(PYTHON_INCLUDE_PATH ${FREECAD_LIBPACK_DIR}/include/Python-2.7.6)
set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe)
set(PYTHONLIBS_FOUND TRUE)
# XercesC
set(XERCESC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/xerces-c-3.1.0)
set(XERCESC_LIBRARIES xerces-c_3.lib)
set(XERCESC_DEBUG_LIBRARIES xerces-c_3D.lib)
set(XERCESC_FOUND TRUE)
# Boost
set(Boost_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/boost-1_54)
set(Boost_LIBRARIES
optimized boost_filesystem-vc90-mt-1_54.lib
optimized boost_system-vc90-mt-1_54.lib
optimized boost_graph-vc90-mt-1_54.lib
optimized boost_program_options-vc90-mt-1_54.lib
optimized boost_regex-vc90-mt-1_54.lib
optimized boost_signals-vc90-mt-1_54.lib
optimized boost_thread-vc90-mt-1_54.lib
)
set(Boost_DEBUG_LIBRARIES
debug boost_filesystem-vc90-mt-gd-1_54.lib
debug boost_system-vc90-mt-gd-1_54.lib
debug boost_graph-vc90-mt-gd-1_54.lib
debug boost_program_options-vc90-mt-gd-1_54.lib
debug boost_regex-vc90-mt-gd-1_54.lib
debug boost_signals-vc90-mt-gd-1_54.lib
debug boost_thread-vc90-mt-gd-1_54.lib
)
set(Boost_FOUND TRUE)
# Zlib
set(ZLIB_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/zlib-1.2.3)
set(ZLIB_LIBRARIES zdll.lib)
set(ZLIB_FOUND TRUE)
# SMESH
set(SMESH_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/smesh)
set(SMESH_LIBRARIES
StdMeshers.lib
MEFISTO2.lib
SMESH.lib
DriverUNV.lib
SMESHDS.lib
DriverSTL.lib
DriverDAT.lib
Driver.lib
SMDS.lib
)
set(SMESH_FOUND TRUE)
# Coin3D
find_path(COIN3D_INCLUDE_DIR Inventor/So.h
${FREECAD_LIBPACK_DIR}/include/Coin-2.4.5
)
find_path(COIN3D_INCLUDE_DIR Inventor/So.h
${FREECAD_LIBPACK_DIR}/include/Coin-4.0.0
)
find_library(COIN3D_LIBRARY_RELEASE coin2
"${FREECAD_LIBPACK_DIR}/lib"
)
find_library(COIN3D_LIBRARY_DEBUG coin2d
"${FREECAD_LIBPACK_DIR}/lib"
)
find_library(COIN3D_LIBRARY_RELEASE coin4
"${FREECAD_LIBPACK_DIR}/lib"
)
find_library(COIN3D_LIBRARY_DEBUG coin4d
"${FREECAD_LIBPACK_DIR}/lib"
)
set(COIN3D_FOUND TRUE)
# QT
set(QT_INCLUDE_DIR
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/Qt
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtCore
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtGui
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtDesigner
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtSvg
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtNetwork
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtSql
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtTest
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtUiTools
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtXml
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtOpenGl
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtWebKit
)
set(QT_QTCORE_INCLUDE_DIR
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/QtCore
)
set(QT_QT3SUPPORT_INCLUDE_DIR
${FREECAD_LIBPACK_DIR}/include/Qt-4.8.5/Qt3Support
)
set(QT_LIBRARIES
optimized QtCore4.lib
optimized QtGui4.lib
optimized QtDesigner4.lib
optimized QtSvg4.lib
optimized QtNetwork4.lib
optimized QtSql4.lib
optimized QtTest4.lib
optimized QtXml4.lib
optimized QtOpenGl4.lib
optimized QtWebKit4.lib
)
set(QT_DEBUG_LIBRARIES
debug QtCored4.lib
debug QtGuid4.lib
debug QtDesignerd4.lib
debug QtSvgd4.lib
debug QtNetworkd4.lib
debug QtSqld4.lib
debug QtTestd4.lib
debug QtXmld4.lib
debug QtOpenGld4.lib
debug QtWebKitd4.lib
)
set(QT_QTCORE_LIBRARY_DEBUG
debug QtCored4.lib
)
set(QT_QTCORE_LIBRARY
optimized QtCore4.lib
)
set(QT_QT3SUPPORT_LIBRARY_DEBUG
debug Qt3Supportd4.lib
)
set(QT_QT3SUPPORT_LIBRARY
optimized Qt3Support4.lib
)
set(QT_UIC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/uic.exe)
set(QT_MOC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/moc.exe)
set(QT_RCC_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/rcc.exe)
set(QT_HELPCOMPILER_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/qhelpgenerator.exe)
set(QT_COLLECTIOMGENERATOR_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/qcollectiongenerator.exe)
MACRO (QT4_EXTRACT_OPTIONS _qt4_files _qt4_options)
SET(${_qt4_files})
SET(${_qt4_options})
#SET(_QT4_DOING_OPTIONS FALSE)
FOREACH(_currentArg ${ARGN})
# IF ("${_currentArg}" STREQUAL "OPTIONS")
# SET(_QT4_DOING_OPTIONS TRUE)
# ELSE ("${_currentArg}" STREQUAL "OPTIONS")
# IF(_QT4_DOING_OPTIONS)
# LIST(APPEND ${_qt4_options} "${_currentArg}")
# ELSE(_QT4_DOING_OPTIONS)
LIST(APPEND ${_qt4_files} "${_currentArg}")
# ENDIF(_QT4_DOING_OPTIONS)
# ENDIF ("${_currentArg}" STREQUAL "OPTIONS")
ENDFOREACH(_currentArg)
ENDMACRO (QT4_EXTRACT_OPTIONS)
# macro used to create the names of output files preserving relative dirs
MACRO (QT4_MAKE_OUTPUT_FILE infile prefix ext outfile )
STRING(LENGTH ${CMAKE_CURRENT_BINARY_DIR} _binlength)
STRING(LENGTH ${infile} _infileLength)
SET(_checkinfile ${CMAKE_CURRENT_SOURCE_DIR})
IF(_infileLength GREATER _binlength)
STRING(SUBSTRING "${infile}" 0 ${_binlength} _checkinfile)
IF(_checkinfile STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
FILE(RELATIVE_PATH rel ${CMAKE_CURRENT_BINARY_DIR} ${infile})
ELSE(_checkinfile STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
FILE(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile})
ENDIF(_checkinfile STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
ELSE(_infileLength GREATER _binlength)
FILE(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile})
ENDIF(_infileLength GREATER _binlength)
SET(_outfile "${CMAKE_CURRENT_BINARY_DIR}/${rel}")
STRING(REPLACE ".." "__" _outfile ${_outfile})
GET_FILENAME_COMPONENT(outpath ${_outfile} PATH)
GET_FILENAME_COMPONENT(_outfile ${_outfile} NAME_WE)
FILE(MAKE_DIRECTORY ${outpath})
SET(${outfile} ${outpath}/${prefix}${_outfile}.${ext})
ENDMACRO (QT4_MAKE_OUTPUT_FILE )
MACRO (QT4_WRAP_CPP outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
QT4_MAKE_OUTPUT_FILE(${it} moc_ cpp outfile)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_MOC_EXECUTABLE}
ARGS ${moc_options} ${it} -o ${outfile}
MAIN_DEPENDENCY ${it}
)
SET(${outfiles} ${${outfiles}} ${outfile})
endforeach(it)
ENDMACRO (QT4_WRAP_CPP)
# This is a special version of the built in macro qt4_wrap_cpp
# It is required since moc'ed files are now included instead of being added to projects directly
# It adds a reverse dependency to solve this
# This has the unfortunate side effect that some files are always rebuilt
# There is probably a cleaner solution than this
include(AddFileDependencies)
macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
QT4_MAKE_OUTPUT_FILE(${it} moc_ cpp outfile)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_MOC_EXECUTABLE}
ARGS ${moc_options} ${it} -o ${outfile}
MAIN_DEPENDENCY ${it}
)
SET(${outfiles} ${${outfiles}} ${outfile})
add_file_dependencies(${it} ${outfile})
endforeach(it)
endmacro(fc_wrap_cpp)
MACRO (QT4_ADD_RESOURCES outfiles )
QT4_EXTRACT_OPTIONS(rcc_files rcc_options ${ARGN})
SET(ARGN)
FOREACH (it ${rcc_files})
GET_FILENAME_COMPONENT(outfilename ${it} NAME_WE)
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
GET_FILENAME_COMPONENT(rc_path ${infile} PATH)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cxx)
# parse file for dependencies
# all files are absolute paths or relative to the location of the qrc file
FILE(READ "${infile}" _RC_FILE_CONTENTS)
STRING(REGEX MATCHALL "<file[^<]+" _RC_FILES "${_RC_FILE_CONTENTS}")
SET(_RC_DEPENDS)
FOREACH(_RC_FILE ${_RC_FILES})
STRING(REGEX REPLACE "^<file[^>]*>" "" _RC_FILE "${_RC_FILE}")
STRING(REGEX MATCH "^/|([A-Za-z]:/)" _ABS_PATH_INDICATOR "${_RC_FILE}")
IF(NOT _ABS_PATH_INDICATOR)
SET(_RC_FILE "${rc_path}/${_RC_FILE}")
ENDIF(NOT _ABS_PATH_INDICATOR)
SET(_RC_DEPENDS ${_RC_DEPENDS} "${_RC_FILE}")
ENDFOREACH(_RC_FILE)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_RCC_EXECUTABLE}
ARGS ${rcc_options} -name ${outfilename} -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile}
DEPENDS ${_RC_DEPENDS})
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH (it)
ENDMACRO (QT4_ADD_RESOURCES)
MACRO (QT4_WRAP_UI outfiles )
QT4_EXTRACT_OPTIONS(ui_files ui_options ${ARGN})
FOREACH (it ${ui_files})
GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.h)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${QT_UIC_EXECUTABLE}
ARGS -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile})
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH (it)
ENDMACRO (QT4_WRAP_UI)
set(QT4_FOUND TRUE)
# SoQt
set(SOQT_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/SoQt-1.6.0)
set(SOQT_LIBRARY_RELEASE soqt1.lib)
set(SOQT_LIBRARY_DEBUG soqt1d.lib)
set(SOQT_FOUND TRUE)
# OpenCV
set(OPENCV_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/opencv)
set(OPENCV_LIBRARIES cv.lib cvaux.lib cxcore.lib cxts.lib highgui.lib)
set(OPENCV_FOUND TRUE)
# NGLIB (NetGen)
set(NGLIB_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/nglib/include)
set(NGLIB_LIBRARY_DIR
${FREECAD_LIBPACK_DIR}/lib
)
set(NGLIB_LIBRARIES
optimized nglib
)
set(NGLIB_DEBUG_LIBRARIES
debug nglibd
)
# OCC
#set(OCC_INCLUDE_DIR C:/Projects/LibPack/oce-0.10.0/include/oce)
#set(OCC_LIBRARY_DIR C:/Projects/LibPack/oce-0.10.0/Win64/lib)
#set(OCC_LIBRARIES
# ${OCC_LIBRARY_DIR}/TKFillet.lib
# ${OCC_LIBRARY_DIR}/TKMesh.lib
# ${OCC_LIBRARY_DIR}/TKernel.lib
# ${OCC_LIBRARY_DIR}/TKG2d.lib
# ${OCC_LIBRARY_DIR}/TKG3d.lib
# ${OCC_LIBRARY_DIR}/TKMath.lib
# ${OCC_LIBRARY_DIR}/TKIGES.lib
# ${OCC_LIBRARY_DIR}/TKSTL.lib
# ${OCC_LIBRARY_DIR}/TKShHealing.lib
# ${OCC_LIBRARY_DIR}/TKXSBase.lib
# ${OCC_LIBRARY_DIR}/TKBool.lib
# ${OCC_LIBRARY_DIR}/TKBO.lib
# ${OCC_LIBRARY_DIR}/TKBRep.lib
# ${OCC_LIBRARY_DIR}/TKTopAlgo.lib
# ${OCC_LIBRARY_DIR}/TKGeomAlgo.lib
# ${OCC_LIBRARY_DIR}/TKGeomBase.lib
# ${OCC_LIBRARY_DIR}/TKOffset.lib
# ${OCC_LIBRARY_DIR}/TKPrim.lib
# ${OCC_LIBRARY_DIR}/TKSTEP.lib
# ${OCC_LIBRARY_DIR}/TKSTEPBase.lib
# ${OCC_LIBRARY_DIR}/TKSTEPAttr.lib
# ${OCC_LIBRARY_DIR}/TKHLR.lib
# ${OCC_LIBRARY_DIR}/TKFeat.lib
#)
#set(OCC_OCAF_LIBRARIES
# ${OCC_LIBRARY_DIR}/TKCAF.lib
# ${OCC_LIBRARY_DIR}/TKXCAF.lib
# ${OCC_LIBRARY_DIR}/TKLCAF.lib
# ${OCC_LIBRARY_DIR}/TKXDESTEP.lib
# ${OCC_LIBRARY_DIR}/TKXDEIGES.lib
#)
set(OCC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/oce-0.13)
set(OCC_LIBRARY_DIR ${FREECAD_LIBPACK_DIR}/lib)
set(OCC_LIBRARIES
optimized TKFillet
optimized TKMesh
optimized TKernel
optimized TKG2d
optimized TKG3d
optimized TKMath
optimized TKIGES
optimized TKSTL
optimized TKShHealing
optimized TKXSBase
optimized TKBool
optimized TKBO
optimized TKBRep
optimized TKTopAlgo
optimized TKGeomAlgo
optimized TKGeomBase
optimized TKOffset
optimized TKPrim
optimized TKSTEP
optimized TKSTEPBase
optimized TKSTEPAttr
optimized TKHLR
optimized TKFeat
)
set(OCC_DEBUG_LIBRARIES
debug TKFilletd
debug TKMeshd
debug TKerneld
debug TKG2dd
debug TKG3dd
debug TKMathd
debug TKIGESd
debug TKSTLd
debug TKShHealingd
debug TKXSBased
debug TKBoold
debug TKBOd
debug TKBRepd
debug TKTopAlgod
debug TKGeomAlgod
debug TKGeomBased
debug TKOffsetd
debug TKPrimd
debug TKSTEPd
debug TKSTEPBased
debug TKSTEPAttrd
debug TKHLRd
debug TKFeatd
)
set(OCC_OCAF_LIBRARIES
optimized TKCAF
optimized TKXCAF
optimized TKLCAF
optimized TKXDESTEP
optimized TKXDEIGES
optimized TKMeshVS
optimized TKAdvTools
)
set(OCC_OCAF_DEBUG_LIBRARIES
debug TKCAFd
debug TKXCAFd
debug TKLCAFd
debug TKXDESTEPd
debug TKXDEIGESd
debug TKMeshVSd
debug TKAdvToolsd
)
set(OCC_FOUND TRUE)
set(EIGEN2_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/eigen2)
set(EIGEN2_FOUND TRUE)
set(EIGEN3_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/eigen3)
set(EIGEN3_FOUND TRUE)
set(ODE_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/ode-0.11.1)
set(ODE_LIBRARIES ${FREECAD_LIBPACK_DIR}/lib/ode_double.lib)
set(ODE_FOUND TRUE)
# FreeType
if(FREECAD_USE_FREETYPE)
set(FREETYPE_LIBRARIES
optimized ${FREECAD_LIBPACK_DIR}/lib/freetype.lib
debug ${FREECAD_LIBPACK_DIR}/lib/freetyped.lib
)
set(FREETYPE_INCLUDE_DIRS
${FREECAD_LIBPACK_DIR}/include/FreeType-2.4.12
)
set(FREETYPE_VERSION_STRING
"2.4.12"
)
set(FREETYPE_FOUND
TRUE
)
endif(FREECAD_USE_FREETYPE)
# SHIBOKEN_INCLUDE_DIR - Directories to include to use SHIBOKEN
# SHIBOKEN_LIBRARY - Files to link against to use SHIBOKEN
# SHIBOKEN_BINARY - Executable name
SET(SHIBOKEN_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/shiboken-1.2.1)
SET(SHIBOKEN_LIBRARY optimized ${FREECAD_LIBPACK_DIR}/lib/shiboken-python2.7.lib debug ${FREECAD_LIBPACK_DIR}/lib/shiboken-python2.7_d.lib)
set(SHIBOKEN_BINARY ${FREECAD_LIBPACK_DIR}/bin/shiboken)
# PYSIDE_INCLUDE_DIR - Directories to include to use PySide
# PYSIDE_LIBRARY - Files to link against to use PySide
# PYSIDE_PYTHONPATH - Path to where the PySide Python module files could be found
# PYSIDE_TYPESYSTEMS - Type system files that should be used by other bindings extending PySide
SET(PYSIDE_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/PySide-1.2.1)
SET(PYSIDE_LIBRARY optimized ${FREECAD_LIBPACK_DIR}/lib/pyside-python2.7.lib debug ${FREECAD_LIBPACK_DIR}/lib/pyside-python2.7_d.lib)
SET(PYSIDE_PYTHONPATH ${FREECAD_LIBPACK_DIR}/pyside/Lib/site-packages)
SET(PYSIDE_TYPESYSTEMS ${FREECAD_LIBPACK_DIR}/pyside/share/PySide/typesystems)
+89 -58
View File
@@ -230,6 +230,8 @@ include(AddFileDependencies)
macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
@@ -304,74 +306,89 @@ set(OPENCV_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/opencv)
set(OPENCV_LIBRARIES cv.lib cvaux.lib cxcore.lib cxts.lib highgui.lib)
set(OPENCV_FOUND TRUE)
# NGLIB (NetGen)
set(NGLIB_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/nglib/include)
set(NGLIB_LIBRARY_DIR
${FREECAD_LIBPACK_DIR}/lib
)
set(NGLIB_LIBRARIES
optimized nglib
)
set(NGLIB_DEBUG_LIBRARIES
debug nglibd
)
# OCC
#set(OCC_INCLUDE_DIR C:/Projects/LibPack/oce-0.10.0/include/oce)
#set(OCC_LIBRARY_DIR C:/Projects/LibPack/oce-0.10.0/Win64/lib)
#set(OCC_LIBRARIES
# ${OCC_LIBRARY_DIR}/TKFillet.lib
# ${OCC_LIBRARY_DIR}/TKMesh.lib
# ${OCC_LIBRARY_DIR}/TKernel.lib
# ${OCC_LIBRARY_DIR}/TKG2d.lib
# ${OCC_LIBRARY_DIR}/TKG3d.lib
# ${OCC_LIBRARY_DIR}/TKMath.lib
# ${OCC_LIBRARY_DIR}/TKIGES.lib
# ${OCC_LIBRARY_DIR}/TKSTL.lib
# ${OCC_LIBRARY_DIR}/TKShHealing.lib
# ${OCC_LIBRARY_DIR}/TKXSBase.lib
# ${OCC_LIBRARY_DIR}/TKBool.lib
# ${OCC_LIBRARY_DIR}/TKBO.lib
# ${OCC_LIBRARY_DIR}/TKBRep.lib
# ${OCC_LIBRARY_DIR}/TKTopAlgo.lib
# ${OCC_LIBRARY_DIR}/TKGeomAlgo.lib
# ${OCC_LIBRARY_DIR}/TKGeomBase.lib
# ${OCC_LIBRARY_DIR}/TKOffset.lib
# ${OCC_LIBRARY_DIR}/TKPrim.lib
# ${OCC_LIBRARY_DIR}/TKSTEP.lib
# ${OCC_LIBRARY_DIR}/TKSTEPBase.lib
# ${OCC_LIBRARY_DIR}/TKSTEPAttr.lib
# ${OCC_LIBRARY_DIR}/TKHLR.lib
# ${OCC_LIBRARY_DIR}/TKFeat.lib
# ${OCC_LIBRARY_DIR}/TKFillet.lib
# ${OCC_LIBRARY_DIR}/TKMesh.lib
# ${OCC_LIBRARY_DIR}/TKernel.lib
# ${OCC_LIBRARY_DIR}/TKG2d.lib
# ${OCC_LIBRARY_DIR}/TKG3d.lib
# ${OCC_LIBRARY_DIR}/TKMath.lib
# ${OCC_LIBRARY_DIR}/TKIGES.lib
# ${OCC_LIBRARY_DIR}/TKSTL.lib
# ${OCC_LIBRARY_DIR}/TKShHealing.lib
# ${OCC_LIBRARY_DIR}/TKXSBase.lib
# ${OCC_LIBRARY_DIR}/TKBool.lib
# ${OCC_LIBRARY_DIR}/TKBO.lib
# ${OCC_LIBRARY_DIR}/TKBRep.lib
# ${OCC_LIBRARY_DIR}/TKTopAlgo.lib
# ${OCC_LIBRARY_DIR}/TKGeomAlgo.lib
# ${OCC_LIBRARY_DIR}/TKGeomBase.lib
# ${OCC_LIBRARY_DIR}/TKOffset.lib
# ${OCC_LIBRARY_DIR}/TKPrim.lib
# ${OCC_LIBRARY_DIR}/TKSTEP.lib
# ${OCC_LIBRARY_DIR}/TKSTEPBase.lib
# ${OCC_LIBRARY_DIR}/TKSTEPAttr.lib
# ${OCC_LIBRARY_DIR}/TKHLR.lib
# ${OCC_LIBRARY_DIR}/TKFeat.lib
#)
#set(OCC_OCAF_LIBRARIES
# ${OCC_LIBRARY_DIR}/TKCAF.lib
# ${OCC_LIBRARY_DIR}/TKXCAF.lib
# ${OCC_LIBRARY_DIR}/TKLCAF.lib
# ${OCC_LIBRARY_DIR}/TKXDESTEP.lib
# ${OCC_LIBRARY_DIR}/TKXDEIGES.lib
# ${OCC_LIBRARY_DIR}/TKCAF.lib
# ${OCC_LIBRARY_DIR}/TKXCAF.lib
# ${OCC_LIBRARY_DIR}/TKLCAF.lib
# ${OCC_LIBRARY_DIR}/TKXDESTEP.lib
# ${OCC_LIBRARY_DIR}/TKXDEIGES.lib
#)
set(OCC_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/OpenCascade-6.3.0)
set(OCC_LIBRARY_DIR ${FREECAD_LIBPACK_DIR}/lib)
set(OCC_LIBRARIES
TKFillet
TKMesh
TKernel
TKG2d
TKG3d
TKMath
TKIGES
TKSTL
TKShHealing
TKXSBase
TKBool
TKBO
TKBRep
TKTopAlgo
TKGeomAlgo
TKGeomBase
TKOffset
TKPrim
TKSTEP
TKSTEPBase
TKSTEPAttr
TKHLR
TKFeat
TKFillet
TKMesh
TKernel
TKG2d
TKG3d
TKMath
TKIGES
TKSTL
TKShHealing
TKXSBase
TKBool
TKBO
TKBRep
TKTopAlgo
TKGeomAlgo
TKGeomBase
TKOffset
TKPrim
TKSTEP
TKSTEPBase
TKSTEPAttr
TKHLR
TKFeat
)
set(OCC_OCAF_LIBRARIES
TKCAF
TKXCAF
TKLCAF
TKXDESTEP
TKXDEIGES
TKCAF
TKXCAF
TKLCAF
TKXDESTEP
TKXDEIGES
TKMeshVS
TKAdvTools
)
set(OCC_FOUND TRUE)
@@ -385,5 +402,19 @@ set(ODE_INCLUDE_DIRS ${FREECAD_LIBPACK_DIR}/include/ode-0.11.1)
set(ODE_LIBRARIES ${FREECAD_LIBPACK_DIR}/lib/ode_double.lib)
set(ODE_FOUND TRUE)
# FreeType
if(FREECAD_USE_FREETYPE)
set(FREETYPE_LIBRARIES
optimized ${FREECAD_LIBPACK_DIR}/lib/freetype.lib
debug ${FREECAD_LIBPACK_DIR}/lib/freetyped.lib
)
set(FREETYPE_INCLUDE_DIRS
${FREECAD_LIBPACK_DIR}/include/FreeType-2.4.12
)
set(FREETYPE_VERSION_STRING
"2.4.12"
)
set(FREETYPE_FOUND
TRUE
)
endif(FREECAD_USE_FREETYPE)
+127 -1
View File
@@ -12,7 +12,133 @@ ADD_CUSTOM_TARGET(Example_data ALL
SOURCES ${Examples_Files}
)
fc_copy_sources(Examples "${CMAKE_BINARY_DIR}/data/examples" ${Examples_Files})
# 0001097: CMake stops with error "Circular ... <- ... dependency dropped."
if(NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
fc_copy_sources(Example_data "${CMAKE_BINARY_DIR}/data/examples" ${Examples_Files})
endif()
if (WIN32 AND FREECAD_LIBPACK_USE)
# pivy
foreach (it ${FREECAD_LIBPACK_PIVY_COIN})
get_filename_component(libfile ${it} NAME)
set(out "${CMAKE_BINARY_DIR}/lib/pivy/${libfile}")
add_custom_command(
DEPENDS ${it}
OUTPUT ${out}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${it} ${out}
MAIN_DEPENDENCY ${it}
COMMENT "Copy file to ${out}"
)
endforeach (it)
SOURCE_GROUP("pivy" FILES ${FREECAD_LIBPACK_PIVY_COIN})
# pivy/gui
foreach (it ${FREECAD_LIBPACK_PIVY_SOQT})
get_filename_component(libfile ${it} NAME)
set(out "${CMAKE_BINARY_DIR}/lib/pivy/gui/${libfile}")
add_custom_command(
DEPENDS ${it}
OUTPUT ${out}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${it} ${out}
MAIN_DEPENDENCY ${it}
COMMENT "Copy file to ${out}"
)
endforeach (it)
SOURCE_GROUP("pivy\\gui" FILES ${FREECAD_LIBPACK_PIVY_SOQT})
# shiboken
foreach (it ${FREECAD_LIBPACK_SHIBOKEN})
get_filename_component(libfile ${it} NAME)
set(out "${CMAKE_BINARY_DIR}/lib/${libfile}")
add_custom_command(
DEPENDS ${it}
OUTPUT ${out}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${it} ${out}
MAIN_DEPENDENCY ${it}
COMMENT "Copy file to ${out}"
)
endforeach (it)
SOURCE_GROUP("Shiboken" FILES ${FREECAD_LIBPACK_SHIBOKEN})
# PySide
foreach (it ${FREECAD_LIBPACK_PYSIDE})
get_filename_component(libfile ${it} NAME)
set(out "${CMAKE_BINARY_DIR}/lib/PySide/${libfile}")
add_custom_command(
DEPENDS ${it}
OUTPUT ${out}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${it} ${out}
MAIN_DEPENDENCY ${it}
COMMENT "Copy file to ${out}"
)
endforeach (it)
SOURCE_GROUP("PySide" FILES ${FREECAD_LIBPACK_PYSIDE})
# PySide tools
foreach (it ${FREECAD_LIBPACK_PYSIDEUIC})
get_filename_component(libpath ${it} PATH)
set(src "${FREECAD_LIBPACK_PYSIDEUIC_REL}/${it}")
if("${libpath}" STREQUAL "pysideuic")
set(FREECAD_LIBPACK_PYSIDEUIC_TOP ${FREECAD_LIBPACK_PYSIDEUIC_TOP} ${src})
elseif("${libpath}" STREQUAL "pysideuic/Compiler")
set(FREECAD_LIBPACK_PYSIDEUIC_CMP ${FREECAD_LIBPACK_PYSIDEUIC_CMP} ${src})
elseif("${libpath}" STREQUAL "pysideuic/port_v2")
set(FREECAD_LIBPACK_PYSIDEUIC_PV2 ${FREECAD_LIBPACK_PYSIDEUIC_PV2} ${src})
elseif("${libpath}" STREQUAL "pysideuic/port_v3")
set(FREECAD_LIBPACK_PYSIDEUIC_PV3 ${FREECAD_LIBPACK_PYSIDEUIC_PV3} ${src})
elseif("${libpath}" STREQUAL "pysideuic/widget-plugins")
set(FREECAD_LIBPACK_PYSIDEUIC_WPL ${FREECAD_LIBPACK_PYSIDEUIC_WPL} ${src})
else()
set(FREECAD_LIBPACK_PYSIDEUIC_OTH ${FREECAD_LIBPACK_PYSIDEUIC_OTH} ${src})
endif()
set(FREECAD_LIBPACK_PYSIDEUIC_ABS ${FREECAD_LIBPACK_PYSIDEUIC_ABS} ${src})
set(out "${CMAKE_BINARY_DIR}/lib/${it}")
add_custom_command(
DEPENDS ${src}
OUTPUT ${out}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${src} ${out}
MAIN_DEPENDENCY ${src}
COMMENT "Copy file to ${out}"
)
endforeach (it)
SOURCE_GROUP("PySide tools" FILES ${FREECAD_LIBPACK_PYSIDEUIC_OTH})
SOURCE_GROUP("PySide tools\\pysideuic" FILES ${FREECAD_LIBPACK_PYSIDEUIC_TOP})
SOURCE_GROUP("PySide tools\\pysideuic\\Compiler" FILES ${FREECAD_LIBPACK_PYSIDEUIC_CMP})
SOURCE_GROUP("PySide tools\\pysideuic\\port_v2" FILES ${FREECAD_LIBPACK_PYSIDEUIC_PV2})
SOURCE_GROUP("PySide tools\\pysideuic\\port_v3" FILES ${FREECAD_LIBPACK_PYSIDEUIC_PV3})
SOURCE_GROUP("PySide tools\\pysideuic\\widget-plugins" FILES ${FREECAD_LIBPACK_PYSIDEUIC_WPL})
# Python extension modules
foreach (it ${FREECAD_LIBPACK_PYTHON})
get_filename_component(libfile ${it} NAME)
set(out "${CMAKE_BINARY_DIR}/lib/${libfile}")
add_custom_command(
DEPENDS ${it}
OUTPUT ${out}
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${it} ${out}
MAIN_DEPENDENCY ${it}
COMMENT "Copy file to ${out}"
)
endforeach (it)
SOURCE_GROUP("Python" FILES ${FREECAD_LIBPACK_PYTHON})
set(FREECAD_LIBPACK_FILES
${FREECAD_LIBPACK_PIVY_COIN}
${FREECAD_LIBPACK_PIVY_SOQT}
${FREECAD_LIBPACK_SHIBOKEN}
${FREECAD_LIBPACK_PYSIDE}
${FREECAD_LIBPACK_PYSIDEUIC_ABS}
${FREECAD_LIBPACK_PYTHON}
)
add_custom_target(LibPack_Files ALL SOURCES ${FREECAD_LIBPACK_FILES})
endif(WIN32 AND FREECAD_LIBPACK_USE)
INSTALL(
FILES
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
+220
View File
@@ -0,0 +1,220 @@
ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('STEP conformance test data','AP203 class 6 - advanced brep'),'1');
FILE_NAME('gasket1.p21','1994-12-14 T10:00:00',
('S. Dhar','S. Jetli','M. McFarland','J. Kindrick'),
('Industrial Technology Institute',
'P.O. Box 1485',
'Ann Arbor',
'Michigan',
'48106'),'NIST Data Probe, Release March 1993','conformance test suite','K. H. Muralidhar');
FILE_SCHEMA(('CONFIG_CONTROL_DESIGN'));
ENDSEC;
DATA;
#1=PRODUCT('11113','Flat Ring Gasket','Description for part 11113',(#2));
#2=MECHANICAL_CONTEXT('detailed design',#3,'mechanical');
#3=APPLICATION_CONTEXT('Control the configuration of three dimensional design');
#300=APPLICATION_PROTOCOL_DEFINITION('AP definition status','config_control_design', 1994, #3);
#4=CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT(#5,#8,(#1));
#5=PERSON_AND_ORGANIZATION(#6,#7);
#6=PERSON('307-10-5806','Muralidhar','K.',('H.'),$,$);
#7=ORGANIZATION('ITI-Michigan','Industrial Technology Institute','A not-for-profit engineering and research center');
#8=PERSON_AND_ORGANIZATION_ROLE('design_owner');
#9=PRODUCT_RELATED_PRODUCT_CATEGORY('detail','Part Type for product 11113',(#1));
#10=PRODUCT_DEFINITION_FORMATION_WITH_SPECIFIED_SOURCE('A','Description of version with specified source for part 11113',#1,.BOUGHT.);
#11=CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT(#13,#15,(#10));
#13=PERSON_AND_ORGANIZATION(#14,#7);
#14=PERSON('302-30-6149','Quadir','Nur',$,$,$);
#15=PERSON_AND_ORGANIZATION_ROLE('creator');
#44=CC_DESIGN_APPROVAL(#45,(#10));
#45=APPROVAL(#46,'Approved as initial STEP test case part');
#46=APPROVAL_STATUS('approved');
#47=APPROVAL_DATE_TIME(#48,#45);
#48=DATE_AND_TIME(#50,#51);
#50=CALENDAR_DATE(1993,17,7);
#51=LOCAL_TIME(13,29,52.0,#29);
#69=APPROVAL_PERSON_ORGANIZATION(#70,#45,#72);
#70=PERSON_AND_ORGANIZATION(#71,#7);
#71=PERSON('574-20-7069','Kindrick','James',$,$,$);
#72=APPROVAL_ROLE('Authorize part release');
#31=CC_DESIGN_SECURITY_CLASSIFICATION(#32,(#10));
#32=SECURITY_CLASSIFICATION('1993-C1','open availability of STEP test data',#33);
#33=SECURITY_CLASSIFICATION_LEVEL('unclassified');
#34=CC_DESIGN_DATE_AND_TIME_ASSIGNMENT(#35,#39,(#32));
#35=DATE_AND_TIME(#36,#37);
#36=CALENDAR_DATE(1993,17,7);
#37=LOCAL_TIME(13,45,20.0,#29);
#39=DATE_TIME_ROLE('classification_date');
#40=CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT(#41,#43,(#32));
#41=PERSON_AND_ORGANIZATION(#42,#7);
#42=PERSON('412-89-3456','Dhar','Shantanu',$,('Mr.'),$);
#43=PERSON_AND_ORGANIZATION_ROLE('classification_officer');
#53=CC_DESIGN_APPROVAL(#54,(#32));
#54=APPROVAL(#55,'Approved as unclassified step test data');
#55=APPROVAL_STATUS('approved');
#56=APPROVAL_DATE_TIME(#57,#54);
#57=DATE_AND_TIME(#58,#59);
#58=CALENDAR_DATE(1993,17,7);
#59=LOCAL_TIME(13,47,28.0,#29);
#73=APPROVAL_PERSON_ORGANIZATION(#74,#54,#76);
#74=PERSON_AND_ORGANIZATION(#75,#7);
#75=PERSON('525-94-5792','Matthews','Robert',('S.'),$,$);
#76=APPROVAL_ROLE('Authorize the security code');
#17=PRODUCT_DEFINITION('D1','Detailed drawing as planned for conformance testing',#10,#18);
#18=DESIGN_CONTEXT('detailed design',#3,'design');
#19=CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT(#13,#23,(#17));
#23=PERSON_AND_ORGANIZATION_ROLE('creator');
#24=CC_DESIGN_DATE_AND_TIME_ASSIGNMENT(#25,#30,(#17));
#25=DATE_AND_TIME(#27,#28);
#27=CALENDAR_DATE(1993,19,7);
#28=LOCAL_TIME(19,46,55.0,#29);
#29=COORDINATED_UNIVERSAL_TIME_OFFSET(8,$,.BEHIND.);
#30=DATE_TIME_ROLE('creation_date');
#61=CC_DESIGN_APPROVAL(#62,(#17));
#62=APPROVAL(#63,'Approved as STEP conformance testing drawing');
#63=APPROVAL_STATUS('approved');
#64=APPROVAL_DATE_TIME(#65,#62);
#65=DATE_AND_TIME(#66,#67);
#66=CALENDAR_DATE(1993,19,7);
#67=LOCAL_TIME(19,47,51.0,#29);
#77=APPROVAL_PERSON_ORGANIZATION(#70,#62,#79);
#79=APPROVAL_ROLE('Authorize product definition');
#80=CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT(#81,#84,(#10,#1010));
#81=PERSON_AND_ORGANIZATION(#82,#83);
#82=PERSON('CDI-2','Dwaraka','B.',('K.'),$,$);
#83=ORGANIZATION('CDI','Contract Design, Inc.','Contract engineering organization.');
#84=PERSON_AND_ORGANIZATION_ROLE('design_supplier');
#88=SUPPLIED_PART_RELATIONSHIP('design','design supplier','The supplier provides detailed designs',#17,#1017);
#85=CC_DESIGN_CERTIFICATION(#86,(#88));
#86=CERTIFICATION('ISO-9000 certified design supplier','quality control',#87);
#87=CERTIFICATION_TYPE('design_supplier');
#89=CC_DESIGN_APPROVAL(#90,(#86));
#90=APPROVAL(#91,'Approved as ISO-9000 certified supplier');
#91=APPROVAL_STATUS('approved');
#92=APPROVAL_PERSON_ORGANIZATION(#70,#90,#93);
#93=APPROVAL_ROLE('Authorize supplier certification');
#94=DATE_AND_TIME(#95,#96);
#95=CALENDAR_DATE(1993,20,4);
#96=LOCAL_TIME(15,47,51.0,#29);
#97=APPROVAL_DATE_TIME(#94,#90);
#98=CC_DESIGN_DATE_AND_TIME_ASSIGNMENT(#100,#102,(#86));
#99=CALENDAR_DATE(1993,19,4);
#100=DATE_AND_TIME(#99,#101);
#101=LOCAL_TIME(10,41,59.0,#29);
#102=DATE_TIME_ROLE('certification_date');
#1010=PRODUCT_DEFINITION_FORMATION_WITH_SPECIFIED_SOURCE('S-1','For Flat Ring Gasket',#1,.MADE.);
#1011=CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT(#1013,#1016,(#1010));
#1013=PERSON_AND_ORGANIZATION(#1014,#83);
#1014=PERSON('CDI-1','Brandenberg','Chad',$,$,$);
#1016=PERSON_AND_ORGANIZATION_ROLE('creator');
#1044=CC_DESIGN_APPROVAL(#1045,(#1010));
#1045=APPROVAL(#1046,'Approved as test part design');
#1046=APPROVAL_STATUS('approved');
#1047=APPROVAL_DATE_TIME(#1048,#1045);
#1048=DATE_AND_TIME(#1050,#1051);
#1050=CALENDAR_DATE(1993,19,7);
#1051=LOCAL_TIME(19,51,59.0,#29);
#1069=APPROVAL_PERSON_ORGANIZATION(#1070,#1045,#1072);
#1070=PERSON_AND_ORGANIZATION(#82,#83);
#1072=APPROVAL_ROLE('Authorize part version');
#1031=CC_DESIGN_SECURITY_CLASSIFICATION(#1032,(#1010));
#1032=SECURITY_CLASSIFICATION('1993-C2','open availability of test part designs',#1033);
#1033=SECURITY_CLASSIFICATION_LEVEL('unclassified');
#1034=CC_DESIGN_DATE_AND_TIME_ASSIGNMENT(#1035,#1039,(#1032));
#1035=DATE_AND_TIME(#1036,#1037);
#1036=CALENDAR_DATE(1993,19,7);
#1037=LOCAL_TIME(19,45,41.0,#29);
#1039=DATE_TIME_ROLE('classification_date');
#1040=CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT(#1041,#1043,(#1032));
#1041=PERSON_AND_ORGANIZATION(#1042,#83);
#1042=PERSON('CDI-3','Sauter','Mitch',$,$,$);
#1043=PERSON_AND_ORGANIZATION_ROLE('classification_officer');
#1053=CC_DESIGN_APPROVAL(#1054,(#1032));
#1054=APPROVAL(#1055,'Approved as unclassified part design');
#1055=APPROVAL_STATUS('approved');
#1056=APPROVAL_DATE_TIME(#1057,#1054);
#1057=DATE_AND_TIME(#1058,#1059);
#1058=CALENDAR_DATE(1993,19,7);
#1059=LOCAL_TIME(19,47,58.0,#29);
#1073=APPROVAL_PERSON_ORGANIZATION(#81,#1054,#1076);
#1076=APPROVAL_ROLE('Authorize the security code');
#1017=PRODUCT_DEFINITION('D2','Description of product for part 11113',#1010,#1018);
#1018=DESIGN_CONTEXT('detailed design',#3,'design');
#1019=CC_DESIGN_PERSON_AND_ORGANIZATION_ASSIGNMENT(#1013,#1023,(#1017));
#1023=PERSON_AND_ORGANIZATION_ROLE('creator');
#1024=CC_DESIGN_DATE_AND_TIME_ASSIGNMENT(#1025,#1030,(#1017));
#1025=DATE_AND_TIME(#1027,#1028);
#1027=CALENDAR_DATE(1993,18,7);
#1028=LOCAL_TIME(10,51,59.0,#29);
#1030=DATE_TIME_ROLE('creation_date');
#1061=CC_DESIGN_APPROVAL(#1062,(#1017));
#1062=APPROVAL(#1063,'Approved as detailed drawing');
#1063=APPROVAL_STATUS('approved');
#1064=APPROVAL_DATE_TIME(#1065,#1062);
#1065=DATE_AND_TIME(#1066,#1067);
#1066=CALENDAR_DATE(1993,19,7);
#1067=LOCAL_TIME(19,51,59.0,#29);
#1077=APPROVAL_PERSON_ORGANIZATION(#81,#1062,#1079);
#1079=APPROVAL_ROLE('Authorize product definition');
#1080=SHAPE_DEFINITION_REPRESENTATION(#1081,#9240);
#1081=PRODUCT_DEFINITION_SHAPE('ABR_Shape','Shape of Flat Ring Gasket',#17);
#9040 =(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
#9041 =(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
#9042 =(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
#9043 = UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.000001),#9040);
#9100 = CARTESIAN_POINT('CartPt1',(0.0,0.0,0.0));
#9101 = DIRECTION('Dir1',(1.0,0.0,0.0));
#9103 = DIRECTION('Dir3',(0.0,0.0,1.0));
#9120 = AXIS2_PLACEMENT_3D('Ax2P3D1',#9100,#9103,#9101);
#9121 = PLANE('Plane1',#9120);
#9122 = CIRCLE('Circ1',#9120,30.0);
#9123 = CARTESIAN_POINT('CartPt2',(30.0,0.0,0.0));
#9124 = VERTEX_POINT('VertPt1',#9123);
#9125 = EDGE_CURVE('EdgeCur1',#9124,#9124,#9122,.T.);
#9126 = ORIENTED_EDGE('OriEdge1',*,*,#9125,.T.);
#9127 = EDGE_LOOP('EdgeLoop1',(#9126));
#9128 = FACE_BOUND('FaceBnd1',#9127,.F.);
#9130 = CIRCLE('Circ2',#9120,25.0);
#9131 = CARTESIAN_POINT('CartPt3',(25.0,0.0,0.0));
#9132 = VERTEX_POINT('VertPt2',#9131);
#9133 = EDGE_CURVE('EdgeCur2',#9132,#9132,#9130,.T.);
#9134 = ORIENTED_EDGE('OriEdge2',*,*,#9133,.T.);
#9135 = EDGE_LOOP('EdgeLoop2',(#9134));
#9136 = FACE_BOUND('FaceBnd2',#9135,.T.);
#9137 = ADVANCED_FACE('AdvFace1',(#9136,#9128),#9121,.F.);
#9140 = CARTESIAN_POINT('CartPt4',(0.0,0.0,5.0));
#9141 = AXIS2_PLACEMENT_3D('Ax2P3D2',#9140,#9103,#9101);
#9142 = PLANE('Plane2',#9141);
#9143 = CIRCLE('Circ3',#9141,30.0);
#9144 = CARTESIAN_POINT('CartPt5',(30.0,0.0,5.0));
#9145 = VERTEX_POINT('VertPt3',#9144);
#9146 = EDGE_CURVE('EdgeCur3',#9145,#9145,#9143,.T.);
#9147 = ORIENTED_EDGE('OriEdge3',*,*,#9146,.T.);
#9148 = EDGE_LOOP('EdgeLoop3',(#9147));
#9149 = FACE_BOUND('FaceBnd3',#9148,.T.);
#9160 = CIRCLE('Circ4',#9141,25.0);
#9161 = CARTESIAN_POINT('CartPt6',(25.0,0.0,5.0));
#9162 = VERTEX_POINT('VertPt4',#9161);
#9163 = EDGE_CURVE('EdgeCur4',#9162,#9162,#9160,.T.);
#9164 = ORIENTED_EDGE('OriEdge4',*,*,#9163,.T.);
#9165 = EDGE_LOOP('EdgeLoop4',(#9164));
#9166 = FACE_BOUND('FaceBnd4',#9165,.F.);
#9167 = ADVANCED_FACE('AdvFace2',(#9149,#9166),#9142,.T.);
#9180 = CYLINDRICAL_SURFACE('CylSur1',#9120,30.0);
#9190 = FACE_BOUND('FaceBnd5',#9127,.T.);
#9191 = FACE_BOUND('FaceBnd6',#9148,.F.);
#9192 = ADVANCED_FACE('AdvFace3',(#9190,#9191),#9180,.T.);
#9200 = CYLINDRICAL_SURFACE('CylSur2',#9120,25.0);
#9201 = FACE_BOUND('FaceBnd7',#9135,.F.);
#9202 = FACE_BOUND('FaceBnd8',#9165,.T.);
#9203 = ADVANCED_FACE('AdvFace4',(#9201,#9202),#9200,.F.);
#9210 = CLOSED_SHELL('CloseSh1',(#9137,#9167,#9192,#9203));
#9220 = MANIFOLD_SOLID_BREP('ManSolBrep1',#9210);
#9230 = (GEOMETRIC_REPRESENTATION_CONTEXT(3)
GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9043))
GLOBAL_UNIT_ASSIGNED_CONTEXT((#9040,#9041,#9042))
REPRESENTATION_CONTEXT('CONTEXT for advanced brep test case gasket','This is a 3d context using millimeters for linear dimension'));
#9240 = ADVANCED_BREP_SHAPE_REPRESENTATION('ABShapeRep1',(#9220),#9230);
ENDSEC;
END-ISO-10303-21;
+71
View File
@@ -0,0 +1,71 @@
ISO-10303-21;
HEADER;
/* Generated by software containing ST-Developer
* from STEP Tools, Inc. (www.steptools.com)
*/
FILE_DESCRIPTION(
/* description */ ('Empty Shape Representation Sample File'),
/* implementation_level */ '2;1');
FILE_NAME(
/* name */ 'output_file',
/* time_stamp */ '2005-11-07T17:37:07-05:00',
/* author */ (''),
/* organization */ (''),
/* preprocessor_version */ 'ST-DEVELOPER v11',
/* originating_system */ 'Geometry Demo',
/* authorisation */ '');
FILE_SCHEMA (('AUTOMOTIVE_DESIGN'));
ENDSEC;
DATA;
#10=AXIS2_PLACEMENT_3D('orientation',#11,$,$);
#11=CARTESIAN_POINT('',(1.1,2.2,3.3));
#12=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.E-006),#14,
'DISTANCE_ACCURACY_VALUE',
'Maximum model space distance between geometric entities at asserted co
nnectivities');
#13=(
GEOMETRIC_REPRESENTATION_CONTEXT(3)
GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#12))
GLOBAL_UNIT_ASSIGNED_CONTEXT((#14,#16,#19))
REPRESENTATION_CONTEXT('ID1','3D')
);
#14=(
LENGTH_UNIT()
NAMED_UNIT(*)
SI_UNIT(.MILLI.,.METRE.)
);
#15=DIMENSIONAL_EXPONENTS(0.,0.,0.,0.,0.,0.,0.);
#16=(
CONVERSION_BASED_UNIT('degree',#18)
NAMED_UNIT(#15)
PLANE_ANGLE_UNIT()
);
#17=(
NAMED_UNIT(*)
PLANE_ANGLE_UNIT()
SI_UNIT($,.RADIAN.)
);
#18=MEASURE_WITH_UNIT(PLANE_ANGLE_MEASURE(0.01745329252),#17);
#19=(
NAMED_UNIT(*)
SI_UNIT($,.STERADIAN.)
SOLID_ANGLE_UNIT()
);
#20=SHAPE_DEFINITION_REPRESENTATION(#21,#22);
#21=PRODUCT_DEFINITION_SHAPE('',$,#24);
#22=SHAPE_REPRESENTATION('',(#10),#13);
#23=PRODUCT_DEFINITION_CONTEXT('3D Mechanical Parts',#27,'design');
#24=PRODUCT_DEFINITION('design','example product_definition',#25,#23);
#25=PRODUCT_DEFINITION_FORMATION('1.0','first version of our widget',#29);
#26=APPLICATION_PROTOCOL_DEFINITION('international standard',
'automotive_design',2003,#27);
#27=APPLICATION_CONTEXT(
'Core Data for Automotive Mechanical Design Process');
#28=PRODUCT_CONTEXT('3D Mechanical Parts',#27,'mechanical');
#29=PRODUCT('1234-K789','widget','a fictional product',(#28));
ENDSEC;
END-ISO-10303-21;
+54
View File
@@ -1,3 +1,18 @@
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
@@ -29,6 +44,25 @@ freecad (0.11.3729.dfsg-1) unstable; urgency=low
-- "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:
@@ -43,6 +77,20 @@ freecad (0.10.3247.dfsg-2) unstable; urgency=low
-- 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)
@@ -57,6 +105,12 @@ freecad (0.10.3247.dfsg-1) unstable; urgency=low
-- 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.
+12 -10
View File
@@ -5,25 +5,27 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.
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,
Homepage: https://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page
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-python-dev, python-dev, python-support,
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 (>= 1.4.2~svn20090224), libeigen3-dev, libgl1-mesa-dev,
zlib1g-dev, libxerces-c2-dev, libopencascade-foundation-dev, libopencascade-modeling-dev,
libcoin60-dev, libsoqt4-dev, libeigen3-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.2
libzipios++-dev, swig, gfortran, f2c, libqtwebkit-dev, libspnav-dev, libfreetype6-dev,
libpyside-dev, libshiboken-dev
Standards-Version: 3.9.1
Package: freecad
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
Recommends: python-pivy python-matplotlib
Recommends: python-pivy, python
Suggests: freecad-doc
Description: Extensible Open Source CAx program (alpha)
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
File diff suppressed because it is too large Load Diff
+8
View File
@@ -0,0 +1,8 @@
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
usr/share/pixmaps
-9
View File
@@ -1,9 +0,0 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=FreeCAD Thumbnailer
MimeType=application/x-extension-fcstd;
X-Thumbnailer-Exec=/usr/bin/freecad-thumbnailer %u %o %s
GenericName=FreeCADThumbnailer
+1
View File
@@ -0,0 +1 @@
debian/tmp/usr/doc/*
+2 -2
View File
@@ -66,8 +66,8 @@ Additional module path.
\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
To get more information about \fBFreeCAD\fR, please visit \fIhttp://www.freecadweb.org\fR
.SH BUGS
To report a bug, please visit \fIhttp://free-cad.sf.net/\fR
To report a bug, please visit \fIhttp://www.freecadweb.org/tracker/my_view_page.php\fR
.SH AUTHOR
This manual page was written by Werner Mayer.
+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="desktop">freecad.desktop</id>
<licence>LGPL</licence>
<name>FreeCAD</name>
<summary>An open source parametric 3D CAD modeler</summary>
<description>
<p>FreeCAD is a parametric 3D modeler. Parametric modeling
allows you to easily modify your design by going back into
your model history and changing its parameters. FreeCAD is
open source (LGPL license) and completely modular, allowing
for very advanced extension and customization.</p>
<p>FreeCAD is multiplatfom, and reads and writes many open
file formats such as STEP, IGES, STL and others.</p>
</description>
<screenshots>
<screenshot type="default" width="800" height="600">http://www.freecadweb.org/wiki/index.php?title=File:FreeCAD011.png</screenshot>
</screenshots>
<url type="homepage">http://www.freecadweb.org</url>
<updatecontact>yorik@uncreated.net</updatecontact>
</application>
+1 -1
View File
@@ -10,7 +10,7 @@ Exec=/usr/bin/freecad %F
Path=/usr/lib/freecad
Terminal=false
Type=Application
Icon=/usr/share/freecad/freecad.xpm
Icon=freecad
Categories=Graphics;Science;Engineering
StartupNotify=true
GenericName[de_DE]=Feature-basierter parametrischer Modellierer
+1
View File
@@ -0,0 +1 @@
debian/freecad.1
+1 -1
View File
@@ -1,7 +1,7 @@
<?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"/>
<!-- <sub-class-of type="application/zip"/> -->
<comment>FreeCAD document files</comment>
<glob pattern="*.fcstd"/>
</mime-type>
+1 -1
View File
@@ -2,5 +2,5 @@
section="Applications/Science/Engineering"\
title="FreeCAD"\
command="/usr/bin/freecad"\
icon="/usr/share/freecad/freecad.xpm"
icon="/usr/share/pixmaps/freecad.xpm"
+11 -5
View File
@@ -1,11 +1,16 @@
#!/usr/bin/python
import sys, zipfile, md5
import sys, zipfile
import getopt
import gnomevfs
from urlparse import urlparse
from urlparse import unquote
opt,par = getopt.getopt(sys.argv[1:],'-s:')
inpfile = gnomevfs.get_local_path_from_uri(par[0])
uri = urlparse(par[0])
if uri.scheme != "file":
sys.exit(1)
inpfile = unquote(uri.path)
outfile = par[1]
try:
@@ -19,8 +24,9 @@ try:
if image in files:
image=zfile.read(image)
else:
freecad=open("/usr/share/freecad/freecad-doc.png")
image=freecad.read()
#freecad=open("/usr/share/freecad/freecad-doc.png")
#image=freecad.read()
sys.exit(1)
thumb=open(outfile,"wb")
thumb.write(image)
+4
View File
@@ -0,0 +1,4 @@
[Thumbnailer Entry]
TryExec=/usr/bin/freecad-thumbnailer
Exec=/usr/bin/freecad-thumbnailer -s %s %u %o
MimeType=application/x-extension-fcstd;
-78
View File
@@ -1,78 +0,0 @@
Index: debian/rules
===================================================================
--- debian/rules (revision 1523)
+++ debian/rules (working copy)
@@ -11,6 +11,10 @@
MODULES = Part Mesh Points Raytracing Image Drawing Test
+# Preliminary only as long as no official debian package for
+# OpenCascade is available
+DESTOCCDIR=$(shell pwd)/debian/freecad/usr/lib/freecad/lib
+
# 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)
@@ -85,6 +89,33 @@
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
+# Preliminary only as long as no official debian package for
+# OpenCascade is available
+ install -m777 /usr/lib/libTKernel-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKMath-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKG2d-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKG3d-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKGeomBase-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKBRep-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKGeomAlgo-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKTopAlgo-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKPrim-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKBO-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKBool-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKShHealing-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKXSBase-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKSTEPBase-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKSTEPAttr-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKSTEP209-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKSTEP-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKFillet-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKOffset-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKIGES-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKMesh-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKHLR-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libTKSTL-6.2.so $(DESTOCCDIR)
+ install -m777 /usr/lib/libSoQt4.so.20 $(DESTOCCDIR)
+
# install the modules
$(foreach MODULE,$(MODULES), \
dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
Index: debian/shlibs.local
===================================================================
--- debian/shlibs.local (revision 0)
+++ debian/shlibs.local (revision 0)
@@ -0,0 +1,24 @@
+libTKernel 6.2
+libTKMath 6.2
+libTKG2d 6.2
+libTKG3d 6.2
+libTKGeomBase 6.2
+libTKBRep 6.2
+libTKGeomAlgo 6.2
+libTKTopAlgo 6.2
+libTKPrim 6.2
+libTKBO 6.2
+libTKBool 6.2
+libTKShHealing 6.2
+libTKXSBase 6.2
+libTKSTEPAttr 6.2
+libTKSTEPBase 6.2
+libTKSTEP209 6.2
+libTKSTEP 6.2
+libTKFillet 6.2
+libTKOffset 6.2
+libTKIGES 6.2
+libTKMesh 6.2
+libTKHLR 6.2
+libTKSTL 6.2
+libSoQt4 20
-33
View File
@@ -1,33 +0,0 @@
Index: control
===================================================================
--- control (revision 2213)
+++ control (working copy)
@@ -4,21 +4,21 @@
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, 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,
- zlib1g-dev, libxerces27-dev | libxerces-c2-dev,
+ 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,
+ zlib1g-dev, libxerces-c28 | libxerces-c2-dev,
libxt-dev, libxmu-dev, libxi-dev, libx11-dev, libxext-dev,
- libqt4-dev, libsoqt4-dev, libcoin40-dev, libgl1-mesa-dev,
+ libqt4-dev, libsoqt4-dev, libcoin60-dev, libgl1-mesa-dev,
python2.5-dev, python, python-central (>= 0.5.6),
- libgts-dev, libcv-dev, libopencascade-dev
+ libgts-dev, libcv-dev, libopencascade-foundation-dev, libopencascade-modeling-dev
Standards-Version: 3.7.3
XS-Python-Version: current
Package: freecad
Architecture: any
Section: science
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python, python-pivy
XB-Python-Version: ${python:Versions}
Conflicts: freecad (<= 0.6.472-1)
Suggests: gnochm | kchmviewer | kchmviewer-nokde | xchm, python-opencv
@@ -1,25 +0,0 @@
Index: debian/control
===================================================================
--- debian/control (Revision 1881)
+++ debian/control (Arbeitskopie)
@@ -4,15 +4,15 @@
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, 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,
- zlib1g-dev, libxerces27-dev | libxerces-c2-dev,
+ 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
+Standards-Version: 3.8.0
XS-Python-Version: current
Package: freecad
-25
View File
@@ -1,25 +0,0 @@
Index: debian/control
===================================================================
--- debian/control (Revision 1879)
+++ debian/control (Arbeitskopie)
@@ -4,15 +4,15 @@
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, 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,
- zlib1g-dev, libxerces27-dev | libxerces-c2-dev,
+ 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
+Standards-Version: 3.8.0
XS-Python-Version: current
Package: freecad
+35 -71
View File
@@ -4,7 +4,7 @@
# 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
# For testing: fakeroot debian/rules binary
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
@@ -19,58 +19,32 @@ else
CFLAGS += -O2
endif
patch-stamp:
touch $@
configure: autogen.sh patch-stamp
configure:
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
cmake . \
-DFREECAD_BUILD_DEBIAN=ON \
-DCMAKE_INSTALL_PREFIX=/usr/lib/freecad \
-DCMAKE_INSTALL_MANDIR=/usr/share/man \
-DCMAKE_INSTALL_INFODIR=/usr/share/info \
-DCMAKE_INSTALL_DATADIR=/usr/share/freecad \
-DCMAKE_INSTALL_INCLUDEDIR=/usr/include/freecad \
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/freecad
build: build-stamp
build-stamp: config.status
build-stamp: configure
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/
find -name 'ui_*.h' | xargs rm -f
find -name 'CMakeFiles' | xargs rm -rf
rm -f stamp-h1
install: build install-stamp
install-stamp:
@@ -78,44 +52,34 @@ install-stamp:
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
$(MAKE) install/fast DESTDIR=$(CURDIR)/debian/tmp/freecad
# 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
# Desktop icons
dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/freecad.xpm usr/share/pixmaps
install -m 644 debian/tmp/freecad/usr/share/freecad/freecad-icon-16.png debian/freecad/usr/share/icons/hicolor/16x16/apps/freecad.png
install -m 644 debian/tmp/freecad/usr/share/freecad/freecad-icon-32.png debian/freecad/usr/share/icons/hicolor/32x32/apps/freecad.png
install -m 644 debian/tmp/freecad/usr/share/freecad/freecad-icon-32.png debian/freecad/usr/share/icons/hicolor/48x48/apps/freecad.png
install -m 644 debian/tmp/freecad/usr/share/freecad/freecad-icon-64.png debian/freecad/usr/share/icons/hicolor/64x64/apps/freecad.png
install -m 644 debian/tmp/freecad/usr/share/freecad/freecad.svg debian/freecad/usr/share/icons/hicolor/scalable/apps/freecad.svg
install -m 644 debian/tmp/freecad/usr/share/freecad/freecad-doc.png debian/freecad/usr/share/icons/hicolor/64x64/mimetypes/application-x-extension-fcstd.png
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 -pfreecad debian/tmp/freecad/usr/lib/freecad/lib usr/lib/freecad
dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod usr/lib/freecad
dh_install debian/freecad.desktop usr/share/applications
dh_installman debian/freecad.1
dh_installman debian/freecad.1 debian/mime/freecad-thumbnailer.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);)
# special treating of Arch module
dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Arch/*.py usr/lib/freecad/Mod/Arch
# install the headers
#dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
# install the help system
dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
# install MIME stuff
dh_install debian/mime/freecad-thumbnailer usr/bin
dh_install debian/mime/freecad.thumbnailer usr/share/thumbnailers
dh_install debian/mime/freecad.schemas etc/gconf/schemas
dh_gconf -pfreecad
dh_installmime
touch install-stamp
override_dh_compress:
@@ -0,0 +1,47 @@
#!/bin/bash
# The script creates a tar.xz tarball from git-repository of freecad-project
# ./get_orig_src.sh commitID - creates a tarball of specified commit
# ./get_orig_src.sh - creates a tarball of the latest version
# Packages, that needs to be installed to use the script:
# atool, git-core
set -e
git clone git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad git_temp_packaging
cd git_temp_packaging
if [ $1 ]
then
echo 'Checking out the revision ' $1
git checkout -b newvers $1
else
echo 'Using the latest revision'
fi
GIT_CMT_COUNT=$(git rev-list HEAD | wc -l)
DEB_VER=0.13.$GIT_CMT_COUNT-dfsg
FOLDER_NAME=freecad-$DEB_VER
TARBALL_NAME=freecad_$DEB_VER.orig.tar.xz
echo $DEB_VER
echo $FOLDER_NAME
echo $TARBALL_NAME
python src/Tools/SubWCRev.py
cd ..
rm -fr $FOLDER_NAME
mv git_temp_packaging $FOLDER_NAME
rm -rf $FOLDER_NAME/.git
rm -rf $FOLDER_NAME/src/3rdParty/CxImage
rm -rf $FOLDER_NAME/src/3rdParty/Pivy
rm -rf $FOLDER_NAME/src/3rdParty/Pivy-0.5
tar Jcvf $TARBALL_NAME $FOLDER_NAME
rm -fr $FOLDER_NAME
-2
View File
@@ -1,2 +0,0 @@
libGL 1 libgl1-mesa-glx (>= 7.7.1-1)
libSoQt4 20 libsoqt4-20 (>= 1.4.2~svn20090224)
+1 -1
View File
@@ -1 +1 @@
3.0 (quilt)
1.0
+3 -3
View File
@@ -1,3 +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"
# Lintian thinks uploader Adam Powell's name violates policy
freecad source: uploader-address-missing "Adam C. Powell
freecad source: uploader-not-full-name IV"
+9 -41
View File
@@ -16,68 +16,36 @@
# http://www.grymoire.com/Unix/Sed.html
# global settings
REV_FILE=./revision.m4
TMP_PATH=/tmp
MAJ=0
MIN=12
ALIAS="Vulcan"
MIN=13
# go to root directory
CUR_DIR=$PWD
verz=`dirname $(readlink -f ${0})`
cd $verz && cd ..
# let's import OLD_REV (if there)
if [ -f ./.last_revision ]; then
. ./.last_revision
else
OLD_REV=0
fi
if svn --xml info >/dev/null 2>&1; then
REV=`svn --xml info | tr -d '\r\n' | sed -e 's/.*<commit.*revision="\([0-9]*\)".*<\/commit>.*/\1/'`
LCD=`svn --xml info | tr -d '\r\n' | sed -e 's/.*<commit.*<date>\([0-9\-]*\)\T\([0-9\:]*\)\..*<\/date>.*<\/commit>.*/\1 \2/'`
URL=`svn --xml info | tr -d '\r\n' | sed -e 's/.*<url>\(.*\)<\/url>.*/\1/'`
elif svn --version --quiet >/dev/null 2>&1; then
REV=`svn info | grep "^Revision:" | cut -d" " -f2`
LCD=`svn info | grep "^Last Changed Date:" | cut -d" " -f4,5`
URL=`svn info | grep "^URL:" | cut -d" " -f2`
# http://blog.marcingil.com/2011/11/creating-build-numbers-using-git-commits/
if git log -1 >/dev/null 2>&1; then
REV=`git rev-list HEAD | wc -l | sed -e 's/ *//g' | xargs -n1 printf %04d`
else
REV=0
LCD=""
URL=""
fi
if [ "x$REV" != "x$OLD_REV" -o ! -r $REV_FILE ]; then
echo "m4_define([FREECAD_MAJOR], $MAJ)" > $REV_FILE
echo "m4_define([FREECAD_MINOR], $MIN)" >> $REV_FILE
echo "m4_define([FREECAD_MICRO], $REV)" >> $REV_FILE
#echo "#define FCVersionMajor \"$MAJ\"" > src/Build/Version.h
#echo "#define FCVersionMinor \"$MIN\"" >> src/Build/Version.h
#echo "#define FCVersionName \"$ALIAS\"" >> src/Build/Version.h
#echo "#define FCRevision \"$REV\"" >> src/Build/Version.h
#echo "#define FCRepositoryURL \"$URL\"" >> src/Build/Version.h
#echo "#define FCCurrentDateT \"$LCD\"\n" >> src/Build/Version.h
touch src/Build/Version.h.in
fi
echo "OLD_REV=$REV" > ./.last_revision
SRC_DIR=$PWD
# Prepare source tarball and unpack it in build directory
cd $CUR_DIR
make dist
make dist-git
cd $verz && cd ..
rm -rf $TMP_PATH/freecad-$REV
mkdir $TMP_PATH/freecad-$REV
mv FreeCAD-$MAJ.$MIN.$REV.tar.gz $TMP_PATH/freecad-$REV/freecad_$MAJ.$MIN.$REV.orig.tar.gz
mv freecad-$MAJ.$MIN.$REV.tar.gz $TMP_PATH/freecad-$REV/freecad_$MAJ.$MIN.$REV.orig.tar.gz
cd $TMP_PATH/freecad-$REV
tar -xzf freecad_$MAJ.$MIN.$REV.orig.tar.gz
mv FreeCAD-$MAJ.$MIN.$REV freecad-$MAJ.$MIN.$REV
cd freecad-$MAJ.$MIN.$REV
rm -rf src/CXX
rm -rf src/zipios++
#rm -rf src/CXX
#rm -rf src/zipios++
# Prepare debian folder and set the revision number in debian/changelog
# for package versioning
+1 -8
View File
@@ -26,11 +26,4 @@ set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/src/Main)
add_library(ANN SHARED ${ANN_SRCS})
target_link_libraries(ANN ${ANN_LIBS})
if(WIN32)
set_target_properties(ANN PROPERTIES DEBUG_OUTPUT_NAME "ANN_D")
set_target_properties(ANN PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/)
set_target_properties(ANN PROPERTIES PREFIX "../")
else(WIN32)
set_target_properties(ANN PROPERTIES PREFIX "")
endif(WIN32)
SET_BIN_DIR(ANN ANN)
+11 -11
View File
@@ -3,10 +3,11 @@ if(FREECAD_BUILD_CAM)
add_subdirectory(ANN)
endif(FREECAD_BUILD_CAM)
if(FREECAD_BUILD_GUI AND FREECAD_LIBPACK_CHECKFILE6X)
add_subdirectory(Pivy)
elseif(FREECAD_BUILD_GUI AND FREECAD_LIBPACK_CHECKFILE7X)
add_subdirectory(Pivy-0.5)
if(FREECAD_BUILD_GUI AND NOT FREECAD_USE_EXTERNAL_PIVY)
if(FREECAD_LIBPACK_CHECKFILE6X)
add_subdirectory(Pivy)
elseif(FREECAD_LIBPACK_CHECKFILE7X)
add_subdirectory(Pivy-0.5)
#elseif(FREECAD_BUILD_GUI AND FREECAD_LIBPACK_CHECKCUSTOM)
# find_path(COIN_VERSION3 Inventor/scxml/ScXML.h ${COIN3D_INCLUDE_DIR})
# if (COIN_VERSION3)
@@ -19,8 +20,7 @@ elseif(FREECAD_BUILD_GUI AND FREECAD_LIBPACK_CHECKFILE7X)
# add_subdirectory(Pivy)
#endif(MINGW)
# applies for Unix, MinGW and Windows with custom LibPack
elseif(FREECAD_BUILD_GUI)
if (NOT FREECAD_USE_EXTERNAL_PIVY)
else(FREECAD_LIBPACK_CHECKFILE6X)
find_path(COIN_VERSION3 Inventor/scxml/ScXML.h ${COIN3D_INCLUDE_DIR})
if (COIN_VERSION3)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Pivy-0.5)
@@ -31,11 +31,11 @@ elseif(FREECAD_BUILD_GUI)
add_subdirectory(Pivy)
endif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Pivy)
endif(COIN_VERSION3)
endif (NOT FREECAD_USE_EXTERNAL_PIVY)
endif(FREECAD_BUILD_GUI AND FREECAD_LIBPACK_CHECKFILE6X)
endif (FREECAD_LIBPACK_CHECKFILE6X)
endif(FREECAD_BUILD_GUI AND NOT FREECAD_USE_EXTERNAL_PIVY)
# For Windows we have all stuff in the LibPack
if(CMAKE_COMPILER_IS_GNUCXX)
# Build SalomeMesh for all Platforms since heavily patched
if (FREECAD_BUILD_SMESH)
add_subdirectory(salomesmesh)
endif(CMAKE_COMPILER_IS_GNUCXX)
endif(FREECAD_BUILD_SMESH)
+4 -36
View File
@@ -40,24 +40,8 @@ add_library(coin SHARED ${CoinPy_SRCS})
target_link_libraries(coin ${CoinPy_LIBS})
if(MSVC)
set_target_properties(coin PROPERTIES SUFFIX ".pyd")
set_target_properties(coin PROPERTIES DEBUG_OUTPUT_NAME "_coin_d")
set_target_properties(coin PROPERTIES OUTPUT_NAME "_coin")
set_target_properties(coin PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy)
set_target_properties(coin PROPERTIES PREFIX "../")
elseif(MINGW)
set_target_properties(coin PROPERTIES SUFFIX ".pyd")
set_target_properties(coin PROPERTIES DEBUG_OUTPUT_NAME "_coin_d")
set_target_properties(coin PROPERTIES OUTPUT_NAME "_coin")
set_target_properties(coin PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy)
set_target_properties(coin PROPERTIES PREFIX "")
else(MSVC)
set_target_properties(coin PROPERTIES OUTPUT_NAME "_coin")
set_target_properties(coin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy)
set_target_properties(coin PROPERTIES PREFIX "")
set_target_properties(coin PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/bin/pivy)
endif(MSVC)
SET_BIN_DIR(coin _coin /bin/pivy)
SET_PYTHON_PREFIX_SUFFIX(coin)
fc_copy_sources(coin "${CMAKE_BINARY_DIR}/bin/pivy"
__init__.py
@@ -98,24 +82,8 @@ add_library(soqt SHARED ${SoQtPy_SRCS})
target_link_libraries(soqt ${SoQtPy_LIBS})
if(MSVC)
set_target_properties(soqt PROPERTIES SUFFIX ".pyd")
set_target_properties(soqt PROPERTIES DEBUG_OUTPUT_NAME "_soqt_d")
set_target_properties(soqt PROPERTIES OUTPUT_NAME "_soqt")
set_target_properties(soqt PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy/gui)
set_target_properties(soqt PROPERTIES PREFIX "../")
elseif(MINGW)
set_target_properties(soqt PROPERTIES SUFFIX ".pyd")
set_target_properties(soqt PROPERTIES DEBUG_OUTPUT_NAME "_soqt_d")
set_target_properties(soqt PROPERTIES OUTPUT_NAME "_soqt")
set_target_properties(soqt PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy/gui)
set_target_properties(soqt PROPERTIES PREFIX "")
else(MSVC)
set_target_properties(soqt PROPERTIES OUTPUT_NAME "_soqt")
set_target_properties(soqt PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy/gui)
set_target_properties(soqt PROPERTIES PREFIX "")
set_target_properties(soqt PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/bin/pivy/gui)
endif(MSVC)
SET_BIN_DIR(soqt _soqt /bin/pivy/gui)
SET_PYTHON_PREFIX_SUFFIX(soqt)
fc_copy_sources(soqt "${CMAKE_BINARY_DIR}/bin/pivy"
gui/soqt.py
+4 -36
View File
@@ -40,24 +40,8 @@ add_library(coin SHARED ${CoinPy_SRCS})
target_link_libraries(coin ${CoinPy_LIBS})
if(MSVC)
set_target_properties(coin PROPERTIES SUFFIX ".pyd")
set_target_properties(coin PROPERTIES DEBUG_OUTPUT_NAME "_coin_d")
set_target_properties(coin PROPERTIES OUTPUT_NAME "_coin")
set_target_properties(coin PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy)
set_target_properties(coin PROPERTIES PREFIX "../")
elseif(MINGW)
set_target_properties(coin PROPERTIES SUFFIX ".pyd")
set_target_properties(coin PROPERTIES DEBUG_OUTPUT_NAME "_coin_d")
set_target_properties(coin PROPERTIES OUTPUT_NAME "_coin")
set_target_properties(coin PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy)
set_target_properties(coin PROPERTIES PREFIX "")
else(MSVC)
set_target_properties(coin PROPERTIES OUTPUT_NAME "_coin")
set_target_properties(coin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy)
set_target_properties(coin PROPERTIES PREFIX "")
set_target_properties(coin PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/bin/pivy)
endif(MSVC)
SET_BIN_DIR(coin _coin /bin/pivy)
SET_PYTHON_PREFIX_SUFFIX(coin)
fc_copy_sources(coin "${CMAKE_BINARY_DIR}/bin/pivy"
__init__.py
@@ -98,24 +82,8 @@ add_library(soqt SHARED ${SoQtPy_SRCS})
target_link_libraries(soqt ${SoQtPy_LIBS})
if(MSVC)
set_target_properties(soqt PROPERTIES SUFFIX ".pyd")
set_target_properties(soqt PROPERTIES DEBUG_OUTPUT_NAME "_soqt_d")
set_target_properties(soqt PROPERTIES OUTPUT_NAME "_soqt")
set_target_properties(soqt PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy/gui)
set_target_properties(soqt PROPERTIES PREFIX "../")
elseif(MINGW)
set_target_properties(soqt PROPERTIES SUFFIX ".pyd")
set_target_properties(soqt PROPERTIES DEBUG_OUTPUT_NAME "_soqt_d")
set_target_properties(soqt PROPERTIES OUTPUT_NAME "_soqt")
set_target_properties(soqt PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy/gui)
set_target_properties(soqt PROPERTIES PREFIX "")
else(MSVC)
set_target_properties(soqt PROPERTIES OUTPUT_NAME "_soqt")
set_target_properties(soqt PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy/gui)
set_target_properties(soqt PROPERTIES PREFIX "")
set_target_properties(soqt PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/bin/pivy/gui)
endif(MSVC)
SET_BIN_DIR(soqt _soqt /bin/pivy/gui)
SET_PYTHON_PREFIX_SUFFIX(soqt)
fc_copy_sources(soqt "${CMAKE_BINARY_DIR}/bin/pivy"
gui/soqt.py
+285 -111
View File
@@ -8,19 +8,82 @@ SET(SMESH_VERSION_TWEAK 2)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(CMAKE_BUILD_TYPE "Release") # By default, build in release mode
SET(BUILD_SHARED_LIBS ON)
include_directories(
${CMAKE_BINARY_DIR}/src
${CMAKE_SOURCE_DIR}/src
${CMAKE_CURRENT_BINARY_DIR}
${Boost_INCLUDE_DIRS}
${OCC_INCLUDE_DIR}
${NGLIB_INCLUDE_DIR}
${NETGEN_INCLUDE_DIRS}
src/SMDS
src/Driver
src/DriverUNV
src/DriverDAT
src/DriverSTL
src/StdMeshers
inc
)
link_directories(${OCC_LIBRARY_DIR})
if(MSVC)
if(FREECAD_BUILD_FEM_NETGEN)
set(SMESH_LIBS
debug MSVCRTD.LIB
debug MSVCPRTD.LIB
optimized MSVCRT.LIB
optimized MSVCPRT.LIB
Rpcrt4.lib
${NGLIB_LIBRARIES}
${NGLIB_DEBUG_LIBRARIES}
${OCC_LIBRARIES}
${OCC_DEBUG_LIBRARIES}
${OCC_OCAF_DEBUG_LIBRARIES}
${OCC_OCAF_LIBRARIES}
)
else(FREECAD_BUILD_FEM_NETGEN)
set(SMESH_LIBS
debug MSVCRTD.LIB
debug MSVCPRTD.LIB
optimized MSVCRT.LIB
optimized MSVCPRT.LIB
Rpcrt4.lib
${OCC_LIBRARIES}
${OCC_DEBUG_LIBRARIES}
${OCC_OCAF_DEBUG_LIBRARIES}
${OCC_OCAF_LIBRARIES}
)
endif(FREECAD_BUILD_FEM_NETGEN)
else(MSVC)
if(FREECAD_BUILD_FEM_NETGEN)
set(SMESH_LIBS
${NGLIB_LIBRARIES}
${OCC_LIBRARIES}
${OCC_OCAF_LIBRARIES}
)
else(FREECAD_BUILD_FEM_NETGEN)
set(SMESH_LIBS
${OCC_LIBRARIES}
${OCC_OCAF_LIBRARIES}
)
endif(FREECAD_BUILD_FEM_NETGEN)
endif(MSVC)
#SET(CMAKE_BUILD_TYPE "Release") # By default, build in release mode
#SET(BUILD_SHARED_LIBS ON)
#SET(LIBRARY_OUTPUT_PATH cmake-build)
SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(inc)
#INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
#INCLUDE_DIRECTORIES(inc)
#############
# FindBoost #
#############
FIND_PACKAGE(Boost REQUIRED)
MESSAGE("-- Boost found: ${Boost_FOUND}")
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
#FIND_PACKAGE(Boost REQUIRED)
#MESSAGE("-- Boost found: ${Boost_FOUND}")
#INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
#MESSAGE("Popo: ${Boost_INCLUDE_DIR}")
################
@@ -32,12 +95,12 @@ INCLUDE(CMakeDetermineFortranCompiler)
# OpenCASCADE include and lib location #
########################################
# Find OpenCASCADE library, set include and lib path
SET(OCC_INCLUDE_PATH ${OCC_INCLUDE_DIR})
SET(OCC_LIB_PATH ${OCC_LIBRARY_DIR})
#SET(OCC_INCLUDE_PATH ${OCC_INCLUDE_DIR})
#SET(OCC_LIB_PATH ${OCC_LIBRARY_DIR})
# Tells CMake where are the required headers
INCLUDE_DIRECTORIES(${OCC_INCLUDE_PATH})
LINK_DIRECTORIES(${OCC_LIB_PATH})
#INCLUDE_DIRECTORIES(${OCC_INCLUDE_PATH})
#LINK_DIRECTORIES(${OCC_LIB_PATH})
############################
@@ -45,9 +108,12 @@ LINK_DIRECTORIES(${OCC_LIB_PATH})
############################
IF (${CMAKE_SIZEOF_VOID_P} MATCHES "8") # It is 64bit, 32 bit systems returns 4
ADD_DEFINITIONS(-D_OCC64)
MESSAGE("-- Build 64bit")
IF(CMAKE_COMPILER_IS_GNUCXX)
ADD_DEFINITIONS(-DPCLINUX64)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
#MESSAGE("-- Build 64bit")
ELSE (${CMAKE_SIZEOF_VOID_P} MATCHES "8")
MESSAGE("-- Build 32bit")
#MESSAGE("-- Build 32bit")
ENDIF(${CMAKE_SIZEOF_VOID_P} MATCHES "8")
######################################################
@@ -59,7 +125,7 @@ IF(UNIX)
ELSE(UNIX)
IF(WIN32)
######### Windows ###########
MESSAGE("-- Windows system detected")
#MESSAGE("-- Windows system detected")
IF(MSVC)
ADD_DEFINITIONS(-DWNT -DWIN32 -D_WINDOWS -DCSFDB /wd4290 /wd4251 /wd4018 /wd4800 /wd4996 /wd4244 /wd4806 /wd4275)
ELSE(MSVC)
@@ -73,141 +139,249 @@ ENDIF(UNIX)
#########
# SMDS #
#########
FILE(GLOB SMDS_source_files src/SMDS/*.cpp)
INCLUDE_DIRECTORIES(src/SMDS)
FILE(GLOB SMDS_source_files src/SMDS/*.cpp inc/SMDS*.hxx)
ADD_LIBRARY(SMDS SHARED ${SMDS_source_files})
TARGET_LINK_LIBRARIES(SMDS TKernel)
IF(WIN32)
SET_TARGET_PROPERTIES(SMDS PROPERTIES COMPILE_FLAGS "-DSMDS_EXPORTS")
ENDIF(WIN32)
IF(MINGW)
SET_TARGET_PROPERTIES(SMDS PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
ENDIF(MINGW)
TARGET_LINK_LIBRARIES(SMDS ${SMESH_LIBS})
SET_BIN_DIR(SMDS SMDS)
if(WIN32)
set_target_properties(SMDS PROPERTIES COMPILE_FLAGS "-DSMDS_EXPORTS")
endif(WIN32)
##########
# Driver #
##########
FILE(GLOB Driver_source_files src/Driver/*.cpp)
INCLUDE_DIRECTORIES(src/Driver)
FILE(GLOB Driver_source_files src/Driver/*.cpp inc/Driver_*.hxx)
ADD_LIBRARY(Driver SHARED ${Driver_source_files})
IF(WIN32)
SET_TARGET_PROPERTIES(Driver PROPERTIES COMPILE_FLAGS "-DMESHDRIVER_EXPORTS")
ENDIF(WIN32)
IF(MINGW)
SET_TARGET_PROPERTIES(Driver PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
ENDIF(MINGW)
TARGET_LINK_LIBRARIES(Driver ${SMESH_LIBS})
SET_BIN_DIR(Driver Driver)
if(WIN32)
set_target_properties(Driver PROPERTIES COMPILE_FLAGS "-DMESHDRIVER_EXPORTS")
endif(WIN32)
#IF(WIN32)
# SET_TARGET_PROPERTIES(Driver PROPERTIES COMPILE_FLAGS "-DMESHDRIVER_EXPORTS")
#ENDIF(WIN32)
#IF(MINGW)
# SET_TARGET_PROPERTIES(Driver PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#ENDIF(MINGW)
#############
# DriverSTL #
#############
FILE(GLOB DriverSTL_source_files src/DriverSTL/*.cpp)
INCLUDE_DIRECTORIES(src/DriverSTL)
FILE(GLOB DriverSTL_source_files src/DriverSTL/*.cpp inc/DriverSTL*.h*)
ADD_LIBRARY(DriverSTL SHARED ${DriverSTL_source_files})
TARGET_LINK_LIBRARIES(DriverSTL TKernel TKMath Driver SMDS)
IF(WIN32)
SET_TARGET_PROPERTIES(DriverSTL PROPERTIES COMPILE_FLAGS "-DMESHDRIVERSTL_EXPORTS")
ENDIF(WIN32)
IF(MINGW)
SET_TARGET_PROPERTIES(DriverSTL PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
ENDIF(MINGW)
TARGET_LINK_LIBRARIES(DriverSTL ${SMESH_LIBS} Driver SMDS)
SET_BIN_DIR(DriverSTL DriverSTL)
if(WIN32)
set_target_properties(DriverSTL PROPERTIES COMPILE_FLAGS "-DMESHDRIVERSTL_EXPORTS")
endif(WIN32)
#TARGET_LINK_LIBRARIES(DriverSTL TKernel TKMath Driver SMDS)
#IF(WIN32)
# SET_TARGET_PROPERTIES(DriverSTL PROPERTIES COMPILE_FLAGS "-DMESHDRIVERSTL_EXPORTS")
#ENDIF(WIN32)
#IF(MINGW)
# SET_TARGET_PROPERTIES(DriverSTL PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#ENDIF(MINGW)
#############
# DriverDAT #
#############
FILE(GLOB DriverDAT_source_files src/DriverDAT/*.cpp)
INCLUDE_DIRECTORIES(src/DriverDAT)
FILE(GLOB DriverDAT_source_files src/DriverDAT/*.cpp inc/DriverDAT*.h*)
ADD_LIBRARY(DriverDAT SHARED ${DriverDAT_source_files})
TARGET_LINK_LIBRARIES(DriverDAT SMDS Driver)
IF(WIN32)
SET_TARGET_PROPERTIES(DriverDAT PROPERTIES COMPILE_FLAGS "-DMESHDRIVERDAT_EXPORTS")
ENDIF(WIN32)
IF(MINGW)
SET_TARGET_PROPERTIES(DriverDAT PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
ENDIF(MINGW)
TARGET_LINK_LIBRARIES(DriverDAT ${SMESH_LIBS} SMDS Driver)
SET_BIN_DIR(DriverDAT DriverDAT)
if(WIN32)
set_target_properties(DriverDAT PROPERTIES COMPILE_FLAGS "-DMESHDRIVERDAT_EXPORTS")
endif(WIN32)
#IF(WIN32)
# SET_TARGET_PROPERTIES(DriverDAT PROPERTIES COMPILE_FLAGS "-DMESHDRIVERDAT_EXPORTS")
#ENDIF(WIN32)
#IF(MINGW)
# SET_TARGET_PROPERTIES(DriverDAT PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#ENDIF(MINGW)
#############
# DriverUNV #
#############
FILE(GLOB DriverUNV_source_files src/DriverUNV/*.cpp)
INCLUDE_DIRECTORIES(src/DriverUNV)
FILE(GLOB DriverUNV_source_files src/DriverUNV/*.cpp inc/DriverUNV*.h*)
ADD_LIBRARY(DriverUNV SHARED ${DriverUNV_source_files})
TARGET_LINK_LIBRARIES(DriverUNV SMDS Driver)
IF(WIN32)
SET_TARGET_PROPERTIES(DriverUNV PROPERTIES COMPILE_FLAGS "-DMESHDRIVERUNV_EXPORTS")
ENDIF(WIN32)
IF(MINGW)
SET_TARGET_PROPERTIES(DriverUNV PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
ENDIF(MINGW)
TARGET_LINK_LIBRARIES(DriverUNV ${SMESH_LIBS} SMESHDS SMDS Driver)
SET_BIN_DIR(DriverUNV DriverUNV)
if(WIN32)
set_target_properties(DriverUNV PROPERTIES COMPILE_FLAGS "-DMESHDRIVERUNV_EXPORTS")
endif(WIN32)
#IF(WIN32)
# SET_TARGET_PROPERTIES(DriverUNV PROPERTIES COMPILE_FLAGS "-DMESHDRIVERUNV_EXPORTS")
#ENDIF(WIN32)
#IF(MINGW)
# SET_TARGET_PROPERTIES(DriverUNV PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#ENDIF(MINGW)
###########
# SMESHDS #
###########
FILE(GLOB SMESHDS_source_files src/SMESHDS/*.cpp)
INCLUDE_DIRECTORIES(src/SMESHDS)
FILE(GLOB SMESHDS_source_files src/SMESHDS/*.cpp inc/SMESHDS_*.h*)
ADD_LIBRARY(SMESHDS SHARED ${SMESHDS_source_files})
TARGET_LINK_LIBRARIES(SMESHDS SMDS TKernel TKMath TKBRep)
IF(MINGW)
SET_TARGET_PROPERTIES(SMESHDS PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
ENDIF(MINGW)
TARGET_LINK_LIBRARIES(SMESHDS ${SMESH_LIBS} SMDS )
SET_BIN_DIR(SMESHDS SMESHDS)
#IF(MINGW)
# SET_TARGET_PROPERTIES(SMESHDS PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#ENDIF(MINGW)
#########
# SMESH #
#########
FILE(GLOB SMESH_source_files src/SMESH/*.cpp src/Controls/*.cpp)
INCLUDE_DIRECTORIES(src/SMESH)
FILE(GLOB SMESH_source_files src/SMESH/*.cpp src/Controls/*.cpp inc/SMESH_*.h*)
ADD_LIBRARY(SMESH SHARED ${SMESH_source_files})
TARGET_LINK_LIBRARIES(SMESH SMDS SMESHDS TKernel TKMath TKG2d TKG3d TKMeshVS
TKPrim TKGeomBase TKGeomAlgo TKBRep TKTopAlgo TKShHealing
Driver DriverSTL DriverDAT DriverUNV)
IF(WIN32)
SET_TARGET_PROPERTIES(SMESH PROPERTIES COMPILE_FLAGS "-DSMESHimpl_EXPORTS -DSMESHCONTROLS_EXPORTS")
ENDIF(WIN32)
IF(MINGW)
SET_TARGET_PROPERTIES(SMESH PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
ENDIF(MINGW)
TARGET_LINK_LIBRARIES(SMESH SMDS SMESHDS Driver DriverSTL DriverDAT DriverUNV ${SMESH_LIBS})
SET_BIN_DIR(SMESH SMESH)
if(WIN32)
set_target_properties(SMESH PROPERTIES COMPILE_FLAGS "-DSMESH_EXPORTS -DSMESHCONTROLS_EXPORTS -DSMESHimpl_EXPORTS")
endif(WIN32)
#IF(WIN32)
# SET_TARGET_PROPERTIES(SMESH PROPERTIES COMPILE_FLAGS "-DSMESHimpl_EXPORTS -DSMESHCONTROLS_EXPORTS")
#ENDIF(WIN32)
#IF(MINGW)
# SET_TARGET_PROPERTIES(SMESH PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#ENDIF(MINGW)
##############
# MEFISTO2 #
##############
if (MSVC)
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
# Mefisto2f.lib was built using f2c which created
# all function names with an '_' at the end.
FILE(GLOB MEFISTO2_source_files
src/MEFISTO2/*.cpp
inc/Rn.h
inc/aptrte.h
)
ELSE(CMAKE_SIZEOF_VOID_P EQUAL 8)
FILE(GLOB MEFISTO2_source_files
src/MEFISTO2/*.cpp
src/MEFISTO2/MEFISTO2F.def
inc/Rn.h
inc/aptrte.h
)
ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8)
else(MSVC)
FILE(GLOB MEFISTO2_source_files
src/MEFISTO2/*.cpp
src/MEFISTO2/trte.f
inc/Rn.h
inc/aptrte.h
)
endif(MSVC)
ADD_LIBRARY(MEFISTO2 SHARED ${MEFISTO2_source_files})
SET_BIN_DIR(MEFISTO2 MEFISTO2)
if(MSVC)
TARGET_LINK_LIBRARIES(MEFISTO2 ${SMESH_LIBS} MEFISTO2f.lib) # in case of Windows link the prebuild Fortran lib
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set_target_properties(MEFISTO2 PROPERTIES COMPILE_FLAGS "-DMEFISTO2D_EXPORTS")
else(CMAKE_SIZEOF_VOID_P EQUAL 8)
set_target_properties(MEFISTO2 PROPERTIES COMPILE_FLAGS "-DMEFISTO2D_EXPORTS -D__WATCOM__")
endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
elseif(MINGW)
TARGET_LINK_LIBRARIES(MEFISTO2 ${SMESH_LIBS} gfortran)
set_target_properties(MEFISTO2 PROPERTIES COMPILE_FLAGS "-DMEFISTO2D_EXPORTS")
else(MSVC)
TARGET_LINK_LIBRARIES(MEFISTO2 ${SMESH_LIBS} gfortran)
set_target_properties(MEFISTO2 PROPERTIES COMPILE_FLAGS "${MEFISTO2_CFLAGS}")
endif(MSVC)
##############
# StdMeshers #
##############
FILE(GLOB StdMeshers_source_files src/StdMeshers/*.cpp src/MEFISTO2/*.cpp src/MEFISTO2/trte.f)
INCLUDE_DIRECTORIES(src/StdMeshers)
FILE(GLOB StdMeshers_source_files src/StdMeshers/*.cpp inc/StdMeshers_*.h*)
ADD_LIBRARY(StdMeshers SHARED ${StdMeshers_source_files})
TARGET_LINK_LIBRARIES(StdMeshers SMESH TKernel TKMath TKAdvTools gfortran)
SET(StdMeshers_CFLAGS "")
IF(WIN32)
SET(StdMeshers_CFLAGS "-DSTDMESHERS_EXPORTS -DMEFISTO2D_EXPORTS")
ENDIF(WIN32)
# special compiler flag for g++ 64-bit
IF (${CMAKE_SIZEOF_VOID_P} MATCHES "8")
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(StdMeshers_CFLAGS "${StdMeshers_CFLAGS} -DPCLINUX64")
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
ENDIF(${CMAKE_SIZEOF_VOID_P} MATCHES "8")
SET_TARGET_PROPERTIES(StdMeshers PROPERTIES COMPILE_FLAGS "${StdMeshers_CFLAGS}")
IF(MINGW)
SET_TARGET_PROPERTIES(StdMeshers PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
ENDIF(MINGW)
TARGET_LINK_LIBRARIES(StdMeshers SMESH ${SMESH_LIBS} MEFISTO2)
###########
# INSTALL #
###########
SET_BIN_DIR(StdMeshers StdMeshers)
if(WIN32)
set_target_properties(StdMeshers PROPERTIES COMPILE_FLAGS "-DSTDMESHERS_EXPORTS")
else(WIN32)
set_target_properties(StdMeshers PROPERTIES COMPILE_FLAGS "${StdMeshers_CFLAGS}")
endif(WIN32)
# Path name install: for instance, SMESH-5.1.2.7
SET(INSTALL_PATH_NAME SMESH-${SMESH_VERSION_MAJOR}.${SMESH_VERSION_MINOR}.${SMESH_VERSION_PATCH}.${SMESH_VERSION_TWEAK})
IF(UNIX)
SET_TARGET_PROPERTIES(SMDS Driver DriverSTL DriverDAT DriverUNV
SMESHDS SMESH StdMeshers
PROPERTIES INSTALL_RPATH ${INSTALL_RPATH})
# Libraries are installed by default in /usr/local/lib/SMESH-5.1.2.7
INSTALL(TARGETS SMDS Driver DriverSTL DriverDAT DriverUNV
SMESHDS SMESH StdMeshers
DESTINATION lib
#SET(StdMeshers_CFLAGS "")
#IF(WIN32)
# SET(StdMeshers_CFLAGS "-DSTDMESHERS_EXPORTS -DMEFISTO2D_EXPORTS")
#ENDIF(WIN32)
#IF(MINGW)
# SET_TARGET_PROPERTIES(StdMeshers PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#ENDIF(MINGW)
# Disable for all other compilers but MSVC
if (FREECAD_BUILD_FEM_NETGEN)
################
# NETGENPlugin #
################
FILE(GLOB NETGENPlugin_source_files src/NETGENPlugin/*.cpp inc/NETGENPlugin_*.h* )
ADD_LIBRARY(NETGENPlugin SHARED ${NETGENPlugin_source_files})
TARGET_LINK_LIBRARIES(NETGENPlugin SMDS SMESHDS SMESH StdMeshers ${SMESH_LIBS} )
SET_BIN_DIR(NETGENPlugin NETGENPlugin)
if(WIN32)
set_target_properties(NETGENPlugin PROPERTIES COMPILE_FLAGS "-DNETGENPLUGIN_EXPORTS -DNO_PARALLEL_THREADS -DOCCGEOMETRY -DNETGEN_V5")
endif(WIN32)
endif (FREECAD_BUILD_FEM_NETGEN)
#IF(WIN32)
# SET_TARGET_PROPERTIES(SMESH PROPERTIES COMPILE_FLAGS "-DNETGENPluginimpl_EXPORTS ")
#ENDIF(WIN32)
#IF(MINGW)
# SET_TARGET_PROPERTIES(SMESH PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#ENDIF(MINGW)
if(WIN32)
INSTALL(TARGETS SMDS Driver DriverSTL DriverDAT DriverUNV SMESHDS SMESH MEFISTO2 StdMeshers
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
else(WIN32)
INSTALL(TARGETS SMDS Driver DriverSTL DriverDAT DriverUNV SMESHDS SMESH MEFISTO2 StdMeshers
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif(WIN32)
if (FREECAD_BUILD_FEM_NETGEN)
if(WIN32)
INSTALL(TARGETS NETGENPlugin
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
# Headers are installed by default in /usr/local/include/SMESH-5.1.2.7
INSTALL(DIRECTORY inc/
DESTINATION include
FILES_MATCHING PATTERN "*.h*"
else(WIN32)
INSTALL(TARGETS NETGENPlugin
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
ENDIF(UNIX)
endif(WIN32)
endif (FREECAD_BUILD_FEM_NETGEN)
+1 -1
View File
@@ -29,7 +29,7 @@
#include <string>
#ifdef WNT
#if defined MESHDRIVER_EXPORTS || defined MeshDriver_EXPORTS
#if defined MESHDRIVER_EXPORTS
#define MESHDRIVER_EXPORT __declspec( dllexport )
#else
#define MESHDRIVER_EXPORT __declspec( dllimport )
+1 -1
View File
@@ -27,7 +27,7 @@
#define _NETGENPlugin_DEFS_HXX_
#ifdef WIN32
#if defined NETGENPLUGIN_EXPORTS || defined NETGENEngine_EXPORTS
#ifdef NETGENPLUGIN_EXPORTS
#define NETGENPLUGIN_EXPORT __declspec( dllexport )
#else
#define NETGENPLUGIN_EXPORT __declspec( dllimport )
+9 -9
View File
@@ -24,6 +24,8 @@
// Author : Michael Sazonov (OCN)
// Date : 27/03/2006
// Project : SALOME
// $Header: /home/server/cvs/NETGENPLUGIN/NETGENPLUGIN_SRC/src/NETGENPlugin/NETGENPlugin_Hypothesis.hxx,v 1.4.2.2 2008/11/27 14:29:44 abd Exp $
//=============================================================================
//
#ifndef _NETGENPlugin_Hypothesis_HXX_
#define _NETGENPlugin_Hypothesis_HXX_
@@ -31,13 +33,11 @@
#include "NETGENPlugin_Defs.hxx"
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include "SMESH_Exception.hxx"
// Parameters for work of NETGEN
//
using namespace std;
class NETGENPLUGIN_EXPORT NETGENPlugin_Hypothesis: public SMESH_Hypothesis
{
public:
@@ -88,10 +88,10 @@ public:
static bool GetDefaultOptimize();
// Persistence
virtual ostream & SaveTo(ostream & save);
virtual istream & LoadFrom(istream & load);
friend NETGENPLUGIN_EXPORT ostream & operator <<(ostream & save, NETGENPlugin_Hypothesis & hyp);
friend NETGENPLUGIN_EXPORT istream & operator >>(istream & load, NETGENPlugin_Hypothesis & hyp);
virtual std::ostream & SaveTo(std::ostream & save);
virtual std::istream & LoadFrom(std::istream & load);
friend NETGENPLUGIN_EXPORT std::ostream & operator <<(std::ostream & save, NETGENPlugin_Hypothesis & hyp);
friend NETGENPLUGIN_EXPORT std::istream & operator >>(std::istream & load, NETGENPlugin_Hypothesis & hyp);
/*!
* \brief Does nothing
@@ -100,8 +100,8 @@ public:
* \retval bool - always false
*/
virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape);
/*!
/*!
* \brief Initialize my parameter values by default parameters.
* \retval bool - true if parameter values have been successfully defined
*/
@@ -24,7 +24,7 @@
// Author : Michael Sazonov (OCN)
// Date : 27/03/2006
// Project : SALOME
// $Header$
// $Header: /home/server/cvs/NETGENPLUGIN/NETGENPLUGIN_SRC/src/NETGENPlugin/NETGENPlugin_Hypothesis_2D.hxx,v 1.4.2.2 2008/11/27 14:29:44 abd Exp $
//=============================================================================
//
#ifndef _NETGENPlugin_Hypothesis_2D_HXX_
@@ -33,7 +33,7 @@
#include "NETGENPlugin_Defs.hxx"
#include "NETGENPlugin_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include "SMESH_Exception.hxx"
// Parameters for work of NETGEN.
// This class is just to give 2D dimension, actually
@@ -50,8 +50,8 @@ public:
static bool GetDefaultQuadAllowed();
// Persistence
virtual ostream & SaveTo(ostream & save);
virtual istream & LoadFrom(istream & load);
virtual std::ostream & SaveTo(std::ostream & save);
virtual std::istream & LoadFrom(std::istream & load);
private:
bool _quadAllowed;
+1 -3
View File
@@ -24,7 +24,7 @@
// Author : Michael Sazonov (OCN)
// Date : 31/03/2006
// Project : SALOME
// $Header$
// $Header: /home/server/cvs/NETGENPLUGIN/NETGENPLUGIN_SRC/src/NETGENPlugin/NETGENPlugin_Mesher.hxx,v 1.4.2.2 2008/11/27 14:29:44 abd Exp $
//=============================================================================
//
#ifndef _NETGENPlugin_Mesher_HXX_
@@ -61,8 +61,6 @@ class NETGENPLUGIN_EXPORT NETGENPlugin_Mesher
bool Compute();
bool Evaluate(MapShapeNbElems& aResMap);
static void PrepareOCCgeometry(netgen::OCCGeometry& occgeom,
const TopoDS_Shape& shape,
SMESH_Mesh& mesh,
+2 -5
View File
@@ -24,7 +24,7 @@
// Author : Michael Sazonov (OCN)
// Date : 20/03/2006
// Project : SALOME
// $Header$
// $Header: /home/server/cvs/NETGENPLUGIN/NETGENPLUGIN_SRC/src/NETGENPlugin/NETGENPlugin_NETGEN_2D.hxx,v 1.4.2.2 2008/11/27 14:29:44 abd Exp $
//=============================================================================
//
#ifndef _NETGENPlugin_NETGEN_2D_HXX_
@@ -35,7 +35,7 @@
#include "SMESH_2D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include "StdMeshers_MaxElementVolume.hxx"
#include "Utils_SALOME_Exception.hxx"
#include "SMESH_Exception.hxx"
//class NETGENPlugin_Hypothesis_2D;
@@ -52,9 +52,6 @@ public:
virtual bool Compute(SMESH_Mesh& aMesh,
const TopoDS_Shape& aShape);
virtual bool Evaluate(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape,
MapShapeNbElems& aResMap);
protected:
const SMESHDS_Hypothesis* _hypothesis;
};
+2 -6
View File
@@ -24,7 +24,7 @@
// Author : Michael Sazonov (OCN)
// Date : 20/03/2006
// Project : SALOME
// $Header$
// $Header: /home/server/cvs/NETGENPLUGIN/NETGENPLUGIN_SRC/src/NETGENPlugin/NETGENPlugin_NETGEN_2D3D.hxx,v 1.4.2.2 2008/11/27 14:29:44 abd Exp $
//=============================================================================
//
#ifndef _NETGENPlugin_NETGEN_2D3D_HXX_
@@ -35,7 +35,7 @@
#include "SMESH_3D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include "StdMeshers_MaxElementVolume.hxx"
#include "Utils_SALOME_Exception.hxx"
#include "SMESH_Exception.hxx"
//class NETGENPlugin_Hypothesis;
@@ -52,10 +52,6 @@ public:
virtual bool Compute(SMESH_Mesh& aMesh,
const TopoDS_Shape& aShape);
virtual bool Evaluate(SMESH_Mesh& aMesh,
const TopoDS_Shape& aShape,
MapShapeNbElems& aResMap);
protected:
const SMESHDS_Hypothesis* _hypothesis;
};
@@ -70,9 +70,6 @@ public:
virtual bool Compute(SMESH_Mesh& aMesh,
const TopoDS_Shape& aShape);
virtual bool Evaluate(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape,
MapShapeNbElems& aResMap);
/*static TError AddSegmentsToMesh(netgen::Mesh& ngMesh,
OCCGeometry& geom,
const TSideVector& wires,
+2 -6
View File
@@ -25,7 +25,7 @@
// Created : lundi 27 Janvier 2003
// Author : Nadir BOUHAMOU (CEA)
// Project : SALOME
// $Header$
// $Header: /home/server/cvs/NETGENPLUGIN/NETGENPLUGIN_SRC/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.hxx,v 1.4.2.1 2008/11/27 14:29:45 abd Exp $
//=============================================================================
//
#ifndef _NETGENPlugin_NETGEN_3D_HXX_
@@ -36,7 +36,7 @@
#include "SMESH_3D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include "StdMeshers_MaxElementVolume.hxx"
#include "Utils_SALOME_Exception.hxx"
#include "SMESH_Exception.hxx"
class NETGENPLUGIN_EXPORT NETGENPlugin_NETGEN_3D: public SMESH_3D_Algo
{
@@ -54,10 +54,6 @@ public:
virtual bool Compute(SMESH_Mesh& aMesh,
SMESH_MesherHelper* aHelper);
virtual bool Evaluate(SMESH_Mesh& aMesh,
const TopoDS_Shape& aShape,
MapShapeNbElems& aResMap);
protected:
double _maxElementVolume;
@@ -31,13 +31,11 @@
#include "NETGENPlugin_Defs.hxx"
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include "SMESH_Exception.hxx"
// Simplified parameters of NETGEN
//
using namespace std;
class NETGENPLUGIN_EXPORT NETGENPlugin_SimpleHypothesis_2D: public SMESH_Hypothesis
{
public:
@@ -47,7 +45,7 @@ public:
/*!
* Sets <number of segments> value
*/
void SetNumberOfSegments(int nb) throw (SALOME_Exception);
void SetNumberOfSegments(int nb) throw (SMESH_Exception);
/*!
* Returns <number of segments> value.
* Can be zero in case if LocalLength() has been set
@@ -57,7 +55,7 @@ public:
/*!
* Sets <segment length> value
*/
void SetLocalLength(double segmentLength) throw (SALOME_Exception);
void SetLocalLength(double segmentLength) throw (SMESH_Exception);
/*!
* Returns <segment length> value.
* Can be zero in case if NumberOfSegments() has been set
@@ -81,8 +79,8 @@ public:
double GetMaxElementArea() const { return _area; }
// Persistence
virtual ostream & SaveTo(ostream & save);
virtual istream & LoadFrom(istream & load);
virtual std::ostream & SaveTo(std::ostream & save);
virtual std::istream & LoadFrom(std::istream & load);
/*!
* \brief Set parameters by mesh
@@ -91,13 +89,13 @@ public:
* \retval bool - true if theShape is meshed
*/
virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape);
/*!
/*!
* \brief Initialize my parameter values by default parameters.
* \retval bool - true if parameter values have been successfully defined
*/
virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0);
private:
int _nbSegments;
double _segmentLength, _area;
@@ -31,13 +31,11 @@
#include "NETGENPlugin_Defs.hxx"
#include "NETGENPlugin_SimpleHypothesis_2D.hxx"
#include <Utils_SALOME_Exception.hxx>
#include <SMESH_Exception.hxx>
// Simplified parameters of NETGEN
//
using namespace std;
class NETGENPLUGIN_EXPORT NETGENPlugin_SimpleHypothesis_3D: public NETGENPlugin_SimpleHypothesis_2D
{
public:
@@ -50,8 +48,8 @@ public:
double GetMaxElementVolume() const { return _volume; }
// Persistence
virtual ostream & SaveTo(ostream & save);
virtual istream & LoadFrom(istream & load);
virtual std::ostream & SaveTo(std::ostream & save);
virtual std::istream & LoadFrom(std::istream & load);
/*!
* \brief Set parameters by mesh
-4
View File
@@ -1,4 +0,0 @@
#ifndef _OpUtil_HXX_
#define _OpUtil_HXX_
#endif
+25 -54
View File
@@ -22,7 +22,7 @@
// SMESH SMDS : implementaion of Salome mesh data structure
// File : SMDSAbs_ElementType.hxx
// Module : SMESH
//
#ifndef _SMDSAbs_ElementType_HeaderFile
#define _SMDSAbs_ElementType_HeaderFile
@@ -30,34 +30,33 @@
/// Type (node, edge, face or volume) of elements
///////////////////////////////////////////////////////////////////////////////
enum SMDSAbs_ElementType
{
SMDSAbs_All,
SMDSAbs_Node,
SMDSAbs_Edge,
SMDSAbs_Face,
SMDSAbs_Volume,
SMDSAbs_0DElement,
SMDSAbs_NbElementTypes
};
{
SMDSAbs_All,
SMDSAbs_Node,
SMDSAbs_Edge,
SMDSAbs_Face,
SMDSAbs_Volume,
SMDSAbs_NbElementTypes
};
/*! enumeration for element geometry type */
enum SMDSAbs_GeometryType
{
// 0D element
SMDSGeom_POINT,
// 1D element
SMDSGeom_EDGE,
// 2D element
SMDSGeom_TRIANGLE,
SMDSGeom_QUADRANGLE,
SMDSGeom_POLYGON,
// 3D element
SMDSGeom_TETRA,
SMDSGeom_PYRAMID,
SMDSGeom_HEXA,
SMDSGeom_PENTA,
SMDSGeom_POLYHEDRA,
};
{
// 0D element
SMDSGeom_POINT,
// 1D element
SMDSGeom_EDGE,
// 2D element
SMDSGeom_TRIANGLE,
SMDSGeom_QUADRANGLE,
SMDSGeom_POLYGON,
// 3D element
SMDSGeom_TETRA,
SMDSGeom_PYRAMID,
SMDSGeom_HEXA,
SMDSGeom_PENTA,
SMDSGeom_POLYHEDRA,
};
enum SMDSAbs_ElementOrder {
@@ -66,32 +65,4 @@ enum SMDSAbs_ElementOrder {
ORDER_QUADRATIC /*! entities of 2nd order */
};
/*!
* Enumeration of entity type uses in mesh info array,
* and should be synchronised with enum in SMDS
*/
enum SMDSAbs_EntityType {
SMDSEntity_Node,
SMDSEntity_0D,
SMDSEntity_Edge,
SMDSEntity_Quad_Edge,
SMDSEntity_Triangle,
SMDSEntity_Quad_Triangle,
SMDSEntity_Quadrangle,
SMDSEntity_Quad_Quadrangle,
SMDSEntity_Polygon,
SMDSEntity_Quad_Polygon,
SMDSEntity_Tetra,
SMDSEntity_Quad_Tetra,
SMDSEntity_Pyramid,
SMDSEntity_Quad_Pyramid,
SMDSEntity_Hexa,
SMDSEntity_Quad_Hexa,
SMDSEntity_Penta,
SMDSEntity_Quad_Penta,
SMDSEntity_Polyhedra,
SMDSEntity_Quad_Polyhedra,
SMDSEntity_Last
};
#endif
+3 -7
View File
@@ -22,9 +22,9 @@
// SMESH SMDS : implementaion of Salome mesh data structure
// File : SMDS_MeshElement.hxx
// Module : SMESH
// Created: 12.01.05 18:02:52
// Author: Michael Sazonov
// Created: 12.01.05 18:02:52
// Author: Michael Sazonov
//
#ifndef SMDS_ElemIterator_HeaderFile
#define SMDS_ElemIterator_HeaderFile
@@ -33,7 +33,6 @@
class SMDS_MeshElement;
class SMDS_MeshNode;
class SMDS_Mesh0DElement;
class SMDS_MeshEdge;
class SMDS_MeshFace;
class SMDS_MeshVolume;
@@ -44,9 +43,6 @@ typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshElement *> > SMDS_ElemIte
typedef SMDS_Iterator<const SMDS_MeshNode *> SMDS_NodeIterator;
typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshNode *> > SMDS_NodeIteratorPtr;
typedef SMDS_Iterator<const SMDS_Mesh0DElement *> SMDS_0DElementIterator;
typedef boost::shared_ptr<SMDS_Iterator<const SMDS_Mesh0DElement *> > SMDS_0DElementIteratorPtr;
typedef SMDS_Iterator<const SMDS_MeshEdge *> SMDS_EdgeIterator;
typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshEdge *> > SMDS_EdgeIteratorPtr;
-1
View File
@@ -46,7 +46,6 @@ class SMDS_EXPORT SMDS_FaceOfEdges:public SMDS_MeshFace
const SMDS_MeshEdge* edge4);
SMDSAbs_ElementType GetType() const;
virtual SMDSAbs_EntityType GetEntityType() const;
int NbNodes() const;
int NbEdges() const;
int NbFaces() const;
-2
View File
@@ -56,8 +56,6 @@ class SMDS_EXPORT SMDS_FaceOfNodes:public SMDS_MeshFace
*/
virtual const SMDS_MeshNode* GetNode(const int ind) const;
virtual SMDSAbs_EntityType GetEntityType() const;
protected:
SMDS_ElemIteratorPtr
elementsIterator(SMDSAbs_ElementType type) const;
+198 -212
View File
@@ -22,14 +22,13 @@
// SMESH SMDS : implementaion of Salome mesh data structure
// File : SMDS_Mesh.hxx
// Module : SMESH
//
#ifndef _SMDS_Mesh_HeaderFile
#define _SMDS_Mesh_HeaderFile
#include "SMESH_SMDS.hxx"
#include "SMDS_MeshNode.hxx"
#include "SMDS_Mesh0DElement.hxx"
#include "SMDS_MeshEdge.hxx"
#include "SMDS_MeshFace.hxx"
#include "SMDS_MeshVolume.hxx"
@@ -44,64 +43,59 @@
class SMDS_EXPORT SMDS_Mesh:public SMDS_MeshObject{
public:
SMDS_Mesh();
SMDS_NodeIteratorPtr nodesIterator() const;
SMDS_0DElementIteratorPtr elements0dIterator() const;
SMDS_EdgeIteratorPtr edgesIterator() const;
SMDS_FaceIteratorPtr facesIterator() const;
SMDS_VolumeIteratorPtr volumesIterator() const;
SMDS_ElemIteratorPtr elementsIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
SMDS_ElemIteratorPtr elementsIterator() const;
SMDSAbs_ElementType GetElementType( const int id, const bool iselem ) const;
SMDS_Mesh *AddSubMesh();
virtual SMDS_MeshNode* AddNodeWithID(double x, double y, double z, int ID);
virtual SMDS_MeshNode* AddNode(double x, double y, double z);
virtual SMDS_Mesh0DElement* Add0DElementWithID(int n, int ID);
virtual SMDS_Mesh0DElement* Add0DElementWithID(const SMDS_MeshNode * n, int ID);
virtual SMDS_Mesh0DElement* Add0DElement (const SMDS_MeshNode * n);
virtual SMDS_MeshEdge* AddEdgeWithID(int n1, int n2, int ID);
virtual SMDS_MeshEdge* AddEdgeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
int ID);
const SMDS_MeshNode * n2,
int ID);
virtual SMDS_MeshEdge* AddEdge(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2);
const SMDS_MeshNode * n2);
// 2d order edge with 3 nodes: n12 - node between n1 and n2
virtual SMDS_MeshEdge* AddEdgeWithID(int n1, int n2, int n12, int ID);
virtual SMDS_MeshEdge* AddEdgeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n12,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n12,
int ID);
virtual SMDS_MeshEdge* AddEdge(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n12);
virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3, int ID);
virtual SMDS_MeshFace* AddFaceWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
int ID);
virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3);
virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3, int n4, int ID);
virtual SMDS_MeshFace* AddFaceWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
int ID);
virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4);
virtual SMDS_MeshFace* AddFaceWithID(const SMDS_MeshEdge * e1,
const SMDS_MeshEdge * e2,
const SMDS_MeshEdge * e3, int ID);
@@ -122,100 +116,100 @@ public:
virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3,
int n12,int n23,int n31, int ID);
virtual SMDS_MeshFace* AddFaceWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
int ID);
virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31);
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31);
// 2d order quadrangle
virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3, int n4,
int n12,int n23,int n34,int n41, int ID);
virtual SMDS_MeshFace* AddFaceWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
int ID);
virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41);
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41);
virtual SMDS_MeshVolume* AddVolumeWithID(int n1, int n2, int n3, int n4, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4);
virtual SMDS_MeshVolume* AddVolumeWithID(int n1, int n2, int n3, int n4,
int n5, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5);
virtual SMDS_MeshVolume* AddVolumeWithID(int n1, int n2, int n3, int n4,
int n5, int n6, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6);
virtual SMDS_MeshVolume* AddVolumeWithID(int n1, int n2, int n3, int n4,
int n5, int n6, int n7, int n8, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshFace * f1,
const SMDS_MeshFace * f2,
@@ -255,24 +249,24 @@ public:
int n12,int n23,int n31,
int n14,int n24,int n34, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n24,
const SMDS_MeshNode * n34,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n24,
const SMDS_MeshNode * n34,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n24,
const SMDS_MeshNode * n34);
@@ -282,28 +276,28 @@ public:
int n15,int n25,int n35,int n45,
int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n35,
const SMDS_MeshNode * n45,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n35,
const SMDS_MeshNode * n45,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n35,
@@ -317,33 +311,33 @@ public:
int n14,int n25,int n36,
int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n45,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n64,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n36,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n45,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n64,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n36,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n45,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n64,
const SMDS_MeshNode * n64,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n36);
@@ -356,42 +350,42 @@ public:
int n15,int n26,int n37,int n48,
int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n67,
const SMDS_MeshNode * n78,
const SMDS_MeshNode * n85,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n26,
const SMDS_MeshNode * n37,
const SMDS_MeshNode * n48,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n67,
const SMDS_MeshNode * n78,
const SMDS_MeshNode * n85,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n26,
const SMDS_MeshNode * n37,
const SMDS_MeshNode * n48,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n67,
const SMDS_MeshNode * n78,
const SMDS_MeshNode * n85,
const SMDS_MeshNode * n85,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n26,
const SMDS_MeshNode * n37,
@@ -422,10 +416,9 @@ public:
virtual void RemoveElement(const SMDS_MeshElement * elem,
std::list<const SMDS_MeshElement *>& removedElems,
std::list<const SMDS_MeshElement *>& removedNodes,
bool removenodes = false);
bool removenodes = false);
virtual void RemoveElement(const SMDS_MeshElement * elem, bool removenodes = false);
virtual void RemoveNode(const SMDS_MeshNode * node);
virtual void Remove0DElement(const SMDS_Mesh0DElement * elem0d);
virtual void RemoveEdge(const SMDS_MeshEdge * edge);
virtual void RemoveFace(const SMDS_MeshFace * face);
virtual void RemoveVolume(const SMDS_MeshVolume * volume);
@@ -437,7 +430,7 @@ public:
virtual void RemoveFreeElement(const SMDS_MeshElement * elem);
virtual void Clear();
virtual bool RemoveFromParent();
virtual bool RemoveSubMesh(const SMDS_Mesh * aMesh);
@@ -452,7 +445,6 @@ public:
// Renumber all nodes or elements.
const SMDS_MeshNode *FindNode(int idnode) const;
const SMDS_Mesh0DElement* Find0DElement(int idnode) const;
const SMDS_MeshEdge *FindEdge(int idnode1, int idnode2) const;
const SMDS_MeshEdge *FindEdge(int idnode1, int idnode2, int idnode3) const;
const SMDS_MeshFace *FindFace(int idnode1, int idnode2, int idnode3) const;
@@ -462,7 +454,6 @@ public:
const SMDS_MeshFace *FindFace(int idnode1, int idnode2, int idnode3, int idnode4,
int idnode5, int idnode6, int idnode7, int idnode8) const;
const SMDS_MeshElement *FindElement(int IDelem) const;
static const SMDS_Mesh0DElement* Find0DElement(const SMDS_MeshNode * n);
static const SMDS_MeshEdge* FindEdge(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2);
static const SMDS_MeshEdge* FindEdge(const SMDS_MeshNode * n1,
@@ -508,13 +499,11 @@ public:
const SMDS_MeshInfo& GetMeshInfo() const { return myInfo; }
int NbNodes() const;
int Nb0DElements() const;
int NbEdges() const;
int NbFaces() const;
int NbVolumes() const;
int NbSubMesh() const;
void DumpNodes() const;
void Dump0DElements() const;
void DumpEdges() const;
void DumpFaces() const;
void DumpVolumes() const;
@@ -538,7 +527,6 @@ public:
bool Contains (const SMDS_MeshElement* elem) const;
typedef NCollection_Map<SMDS_MeshNode *> SetOfNodes;
typedef NCollection_Map<SMDS_Mesh0DElement *> SetOf0DElements;
typedef NCollection_Map<SMDS_MeshEdge *> SetOfEdges;
typedef NCollection_Map<SMDS_MeshFace *> SetOfFaces;
typedef NCollection_Map<SMDS_MeshVolume *> SetOfVolumes;
@@ -546,34 +534,32 @@ public:
private:
SMDS_Mesh(SMDS_Mesh * parent);
SMDS_MeshFace * createTriangle(const SMDS_MeshNode * node1,
const SMDS_MeshNode * node2,
const SMDS_MeshNode * node3);
SMDS_MeshFace * createTriangle(const SMDS_MeshNode * node1,
const SMDS_MeshNode * node2,
const SMDS_MeshNode * node3);
SMDS_MeshFace * createQuadrangle(const SMDS_MeshNode * node1,
const SMDS_MeshNode * node2,
const SMDS_MeshNode * node3,
const SMDS_MeshNode * node4);
SMDS_Mesh0DElement* Find0DElementOrCreate(const SMDS_MeshNode * n);
const SMDS_MeshNode * node2,
const SMDS_MeshNode * node3,
const SMDS_MeshNode * node4);
SMDS_MeshEdge* FindEdgeOrCreate(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2);
const SMDS_MeshNode * n2);
SMDS_MeshFace* FindFaceOrCreate(const SMDS_MeshNode *n1,
const SMDS_MeshNode *n2,
const SMDS_MeshNode *n3);
const SMDS_MeshNode *n2,
const SMDS_MeshNode *n3);
SMDS_MeshFace* FindFaceOrCreate(const SMDS_MeshNode *n1,
const SMDS_MeshNode *n2,
const SMDS_MeshNode *n3,
const SMDS_MeshNode *n4);
const SMDS_MeshNode *n2,
const SMDS_MeshNode *n3,
const SMDS_MeshNode *n4);
bool registerElement(int ID, SMDS_MeshElement * element);
void addChildrenWithNodes(std::set<const SMDS_MeshElement*>& setOfChildren,
const SMDS_MeshElement * element,
std::set<const SMDS_MeshElement*>& nodes);
void addChildrenWithNodes(std::set<const SMDS_MeshElement*>& setOfChildren,
const SMDS_MeshElement * element,
std::set<const SMDS_MeshElement*>& nodes);
// Fields PRIVATE
SetOfNodes myNodes;
SetOf0DElements my0DElements;
SetOfEdges myEdges;
SetOfFaces myFaces;
SetOfVolumes myVolumes;
-62
View File
@@ -1,62 +0,0 @@
// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// 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.
//
// 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
//
// SMESH SMDS : implementaion of Salome mesh data structure
// File : SMDS_Mesh0DElement.hxx
// Module : SMESH
#ifndef _SMDS_Mesh0DElement_HeaderFile
#define _SMDS_Mesh0DElement_HeaderFile
#include "SMESH_SMDS.hxx"
#include "SMDS_MeshElement.hxx"
#include <iostream>
class SMDS_EXPORT SMDS_Mesh0DElement: public SMDS_MeshElement
{
public:
SMDS_Mesh0DElement (const SMDS_MeshNode * node);
bool ChangeNode (const SMDS_MeshNode * node);
void Print (std::ostream & OS) const;
SMDSAbs_ElementType GetType() const;
SMDSAbs_EntityType GetEntityType() const {return SMDSEntity_0D;}
int NbNodes() const;
int NbEdges() const;
friend bool operator< (const SMDS_Mesh0DElement& e1, const SMDS_Mesh0DElement& e2);
/*!
* \brief Return node by its index
* \param ind - node index
* \retval const SMDS_MeshNode* - the node
*/
virtual const SMDS_MeshNode* GetNode (const int ind) const;
protected:
SMDS_ElemIteratorPtr elementsIterator (SMDSAbs_ElementType type) const;
protected:
const SMDS_MeshNode* myNode;
};
#endif
+1 -2
View File
@@ -41,8 +41,7 @@ class SMDS_EXPORT SMDS_MeshEdge:public SMDS_MeshElement
const SMDS_MeshNode * node2);
void Print(std::ostream & OS) const;
virtual SMDSAbs_ElementType GetType() const;
virtual SMDSAbs_EntityType GetEntityType() const { return SMDSEntity_Edge; }
SMDSAbs_ElementType GetType() const;
int NbNodes() const;
int NbEdges() const;
friend bool operator<(const SMDS_MeshEdge& e1, const SMDS_MeshEdge& e2);
-2
View File
@@ -64,8 +64,6 @@ public:
virtual SMDSAbs_ElementType GetType() const = 0;
virtual bool IsPoly() const { return false; };
virtual bool IsQuadratic() const;
//! Return type of entity
virtual SMDSAbs_EntityType GetEntityType() const = 0;
virtual bool IsMediumNode(const SMDS_MeshNode* node) const;
+28 -143
View File
@@ -26,11 +26,6 @@
#ifndef SMDS_MeshInfo_HeaderFile
#define SMDS_MeshInfo_HeaderFile
#ifdef __BORLANDC__
#pragma warn -8066
#pragma warn -8012
#endif
using namespace std;
#include "SMESH_SMDS.hxx"
@@ -45,10 +40,7 @@ public:
inline void Clear();
int NbNodes() const { return myNbNodes; }
inline int NbElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
inline int NbEntities(SMDSAbs_EntityType type) const;
int Nb0DElements() const { return myNb0DElements; }
inline int NbEdges (SMDSAbs_ElementOrder order = ORDER_ANY) const;
inline int NbFaces (SMDSAbs_ElementOrder order = ORDER_ANY) const;
inline int NbTriangles (SMDSAbs_ElementOrder order = ORDER_ANY) const;
@@ -68,7 +60,7 @@ private:
// methods to count NOT POLY elements
inline void remove(const SMDS_MeshElement* el);
inline void add (const SMDS_MeshElement* el);
inline int index(SMDSAbs_ElementType type, int nbNodes) const;
inline int index(SMDSAbs_ElementType type, int nbNodes);
// methods to remove elements of ANY kind
inline void RemoveEdge(const SMDS_MeshElement* el);
inline void RemoveFace(const SMDS_MeshElement* el);
@@ -76,7 +68,6 @@ private:
int myNbNodes;
int myNb0DElements;
int myNbEdges , myNbQuadEdges ;
int myNbTriangles , myNbQuadTriangles ;
int myNbQuadrangles, myNbQuadQuadrangles;
@@ -94,7 +85,6 @@ private:
inline SMDS_MeshInfo::SMDS_MeshInfo():
myNbNodes(0),
myNb0DElements(0),
myNbEdges (0), myNbQuadEdges (0),
myNbTriangles (0), myNbQuadTriangles (0),
myNbQuadrangles(0), myNbQuadQuadrangles(0),
@@ -106,47 +96,40 @@ inline SMDS_MeshInfo::SMDS_MeshInfo():
myNbPolyhedrons(0)
{
// Number of nodes in standard element types
// n v f e 0 n
// o o a d d o
// d l c g d
// e e e e
// s
// -----------------
// 0 *
// 1 . *
// n v f e
// o o a d
// d l c g
// e e e
// -----------
// 1
// 2 *
// 3 . *
// 4 * . .
// 5 *
// 6 * .
// 7
// 8 * .
// 9
// 10 *
// 11 *
// 12 *
// 13 *
// 14 *
// 15 *
// 16 *
// 17
// 18
// 19
// 3 *
// 4 * * *
// 5 *
// 6 * *
// 7
// 8 * *
// 9
// 10 *
// 11
// 12
// 13 *
// 14
// 15 *
// 16
// 17
// 18
// 19
// 20 *
//
// So to have a unique index for each type basing on nb of nodes, we use a shift:
myShift.resize(SMDSAbs_NbElementTypes, 0);
myShift[ SMDSAbs_Face ] = +8; // 3->11, 4->12, 6->14, 8->16
myShift[ SMDSAbs_Edge ] = -2; // 2->0, 4->2
myShift[ SMDSAbs_0DElement ] = +2; // 1->3
myShift.resize(SMDSAbs_Volume + 1, 0);
myShift[ SMDSAbs_Face ] = +8; // 3->11, 4->12, 6->14, 8->16
myShift[ SMDSAbs_Edge ] = -2; // 2->0, 4->2
myNb.resize( index( SMDSAbs_Volume,20 ) + 1, NULL);
myNb[ index( SMDSAbs_Node,1 )] = & myNbNodes;
myNb[ index( SMDSAbs_0DElement,1 )] = & myNb0DElements;
myNb[ index( SMDSAbs_Edge,2 )] = & myNbEdges;
myNb[ index( SMDSAbs_Edge,4 )] = & myNbQuadEdges;
@@ -164,15 +147,13 @@ inline SMDS_MeshInfo::SMDS_MeshInfo():
myNb[ index( SMDSAbs_Volume, 15)] = & myNbQuadPrisms;
myNb[ index( SMDSAbs_Volume, 20)] = & myNbQuadHexas;
}
inline void // Clear
SMDS_MeshInfo::Clear()
{ for ( int i=0; i<myNb.size(); ++i ) if ( myNb[i] ) (*myNb[i])=0;
myNbPolygons=myNbPolyhedrons=0;
}
inline int // index
SMDS_MeshInfo::index(SMDSAbs_ElementType type, int nbNodes) const
SMDS_MeshInfo::index(SMDSAbs_ElementType type, int nbNodes)
{ return nbNodes + myShift[ type ]; }
inline void // remove
@@ -231,100 +212,4 @@ inline int // NbPrisms
SMDS_MeshInfo::NbPrisms (SMDSAbs_ElementOrder order) const
{ return order == ORDER_ANY ? myNbPrisms+myNbQuadPrisms : order == ORDER_LINEAR ? myNbPrisms : myNbQuadPrisms; }
inline int // NbElements
SMDS_MeshInfo::NbElements(SMDSAbs_ElementType type) const
{
int nb = 0;
switch (type) {
case SMDSAbs_All:
for ( int i=1+index( SMDSAbs_Node,1 ); i<myNb.size(); ++i ) if ( myNb[i] ) nb += *myNb[i];
nb += myNbPolygons + myNbPolyhedrons;
break;
case SMDSAbs_Volume:
nb = myNbTetras+ myNbPyramids+ myNbPrisms+ myNbHexas+
myNbQuadTetras+ myNbQuadPyramids+ myNbQuadPrisms+ myNbQuadHexas+myNbPolyhedrons;
break;
case SMDSAbs_Face:
nb = myNbTriangles+ myNbQuadrangles+ myNbQuadTriangles+ myNbQuadQuadrangles + myNbPolygons;
break;
case SMDSAbs_Edge:
nb = myNbEdges + myNbQuadEdges;
break;
case SMDSAbs_0DElement:
nb = myNb0DElements;
break;
case SMDSAbs_Node:
nb = myNbNodes;
break;
default:;
}
return nb;
}
int // NbEntities
SMDS_MeshInfo::NbEntities(SMDSAbs_EntityType type) const
{
switch (type) {
case SMDSEntity_Node:
return myNbNodes;
break;
case SMDSEntity_0D:
return myNb0DElements;
break;
case SMDSEntity_Edge:
return myNbEdges;
break;
case SMDSEntity_Quad_Edge:
return myNbQuadEdges;
break;
case SMDSEntity_Triangle:
return myNbTriangles;
break;
case SMDSEntity_Quad_Triangle:
return myNbQuadTriangles;
break;
case SMDSEntity_Quadrangle:
return myNbQuadrangles;
break;
case SMDSEntity_Quad_Quadrangle:
return myNbQuadQuadrangles;
break;
case SMDSEntity_Polygon:
return myNbPolygons;
break;
case SMDSEntity_Tetra:
return myNbTetras;
break;
case SMDSEntity_Quad_Tetra:
return myNbQuadTetras;
break;
case SMDSEntity_Pyramid:
return myNbPyramids;
break;
case SMDSEntity_Quad_Pyramid:
return myNbQuadPyramids;
break;
case SMDSEntity_Hexa:
return myNbHexas;
break;
case SMDSEntity_Quad_Hexa:
return myNbQuadHexas;
break;
case SMDSEntity_Penta:
return myNbPrisms;
break;
case SMDSEntity_Quad_Penta:
return myNbQuadPrisms;
break;
case SMDSEntity_Polyhedra:
return myNbPolyhedrons;
break;
case SMDSEntity_Quad_Polygon:
case SMDSEntity_Quad_Polyhedra:
default:
break;
}
return 0;
}
#endif
+27 -28
View File
@@ -35,41 +35,40 @@
class SMDS_EXPORT SMDS_MeshNode:public SMDS_MeshElement
{
public:
SMDS_MeshNode(double x, double y, double z);
void Print(std::ostream & OS) const;
double X() const;
double Y() const;
double Z() const;
void AddInverseElement(const SMDS_MeshElement * ME);
void RemoveInverseElement(const SMDS_MeshElement * parent);
void ClearInverseElements();
bool emptyInverseElements();
SMDS_ElemIteratorPtr GetInverseElementIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
int NbInverseElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
void SetPosition(const SMDS_PositionPtr& aPos);
const SMDS_PositionPtr& GetPosition() const;
SMDSAbs_ElementType GetType() const;
SMDSAbs_EntityType GetEntityType() const {return SMDSEntity_Node;}
int NbNodes() const;
void setXYZ(double x, double y, double z);
friend bool operator<(const SMDS_MeshNode& e1, const SMDS_MeshNode& e2);
public:
SMDS_MeshNode(double x, double y, double z);
void Print(std::ostream & OS) const;
double X() const;
double Y() const;
double Z() const;
void AddInverseElement(const SMDS_MeshElement * ME);
void RemoveInverseElement(const SMDS_MeshElement * parent);
void ClearInverseElements();
bool emptyInverseElements();
SMDS_ElemIteratorPtr GetInverseElementIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
int NbInverseElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
void SetPosition(const SMDS_PositionPtr& aPos);
const SMDS_PositionPtr& GetPosition() const;
SMDSAbs_ElementType GetType() const;
int NbNodes() const;
void setXYZ(double x, double y, double z);
friend bool operator<(const SMDS_MeshNode& e1, const SMDS_MeshNode& e2);
/*!
* \brief Return node by its index
* \param ind - node index
* \retval const SMDS_MeshNode* - the node
* \param ind - node index
* \retval const SMDS_MeshNode* - the node
*/
virtual const SMDS_MeshNode* GetNode(const int) const { return this; }
protected:
SMDS_ElemIteratorPtr
elementsIterator(SMDSAbs_ElementType type) const;
protected:
SMDS_ElemIteratorPtr
elementsIterator(SMDSAbs_ElementType type) const;
private:
double myX, myY, myZ;
SMDS_PositionPtr myPosition;
NCollection_List<const SMDS_MeshElement*> myInverseElements;
private:
double myX, myY, myZ;
SMDS_PositionPtr myPosition;
NCollection_List<const SMDS_MeshElement*> myInverseElements;
};
#endif
@@ -40,7 +40,6 @@ class SMDS_EXPORT SMDS_PolygonalFaceOfNodes:public SMDS_MeshFace
SMDS_PolygonalFaceOfNodes (std::vector<const SMDS_MeshNode *> nodes);
virtual SMDSAbs_ElementType GetType() const;
virtual SMDSAbs_EntityType GetEntityType() const { return SMDSEntity_Polygon; }
virtual bool IsPoly() const { return true; };
bool ChangeNodes (std::vector<const SMDS_MeshNode *> nodes);
@@ -39,7 +39,6 @@ class SMDS_EXPORT SMDS_PolyhedralVolumeOfNodes:public SMDS_VolumeOfNodes
//virtual ~SMDS_PolyhedralVolumeOfNodes();
virtual SMDSAbs_ElementType GetType() const;
virtual SMDSAbs_EntityType GetEntityType() const { return SMDSEntity_Polyhedra; }
virtual bool IsPoly() const { return true; };
bool ChangeNodes (const std::vector<const SMDS_MeshNode *> & nodes,
-2
View File
@@ -47,8 +47,6 @@ public:
int NbNodes() const;
virtual SMDSAbs_EntityType GetEntityType() const { return SMDSEntity_Quad_Edge; }
virtual bool IsQuadratic() const { return true; }
virtual bool IsMediumNode(const SMDS_MeshNode* node) const;
@@ -49,7 +49,6 @@ public:
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41);
virtual SMDSAbs_EntityType GetEntityType() const;
virtual bool IsQuadratic() const { return true; }
virtual bool IsMediumNode(const SMDS_MeshNode* node) const;
@@ -99,7 +99,6 @@ public:
const SMDS_MeshNode * n37,
const SMDS_MeshNode * n48);
virtual SMDSAbs_EntityType GetEntityType() const;
virtual bool IsQuadratic() const { return true; }
virtual bool IsMediumNode(const SMDS_MeshNode* node) const;
-1
View File
@@ -54,7 +54,6 @@ class SMDS_EXPORT SMDS_VolumeOfFaces:public SMDS_MeshVolume
const SMDS_MeshFace * face5,
const SMDS_MeshFace * face6);
virtual SMDSAbs_EntityType GetEntityType() const;
void Print(std::ostream & OS) const;
int NbFaces() const;
+1 -2
View File
@@ -69,8 +69,7 @@ class SMDS_EXPORT SMDS_VolumeOfNodes:public SMDS_MeshVolume
int NbFaces() const;
int NbNodes() const;
int NbEdges() const;
virtual SMDSAbs_ElementType GetType() const;
virtual SMDSAbs_EntityType GetEntityType() const;
SMDSAbs_ElementType GetType() const;
/*!
* \brief Return node by its index
-2
View File
@@ -93,8 +93,6 @@ class SMDS_EXPORT SMDS_VolumeTool
bool GetBaryCenter (double & X, double & Y, double & Z) const;
bool IsOut(double X, double Y, double Z, double tol);
// Classify a point
// -----------------------
// info on node connection
-1
View File
@@ -38,7 +38,6 @@ class SMESHDS_EXPORT SMESHDS_Command
public:
SMESHDS_Command(const SMESHDS_CommandType aType);
void AddNode(int NewNodeID, double x, double y, double z);
void Add0DElement(int New0DElementID, int idnode);
void AddEdge(int NewEdgeID, int idnode1, int idnode2);
void AddFace(int NewFaceID, int idnode1, int idnode2, int idnode3);
void AddFace(int NewFaceID, int idnode1, int idnode2, int idnode3,
+1 -3
View File
@@ -53,9 +53,7 @@ enum SMESHDS_CommandType {
SMESHDS_AddQuadTetrahedron,
SMESHDS_AddQuadPyramid,
SMESHDS_AddQuadPentahedron,
SMESHDS_AddQuadHexahedron,
// special type for 0D elements
SMESHDS_Add0DElement
SMESHDS_AddQuadHexahedron
};
+1 -1
View File
@@ -22,7 +22,7 @@
// SMESH SMESHDS : management of mesh data and SMESH document
// File : SMESHDS_Group.hxx
// Module : SMESH
// $Header$
// $Header: /home/server/cvs/SMESH/SMESH_SRC/src/SMESHDS/SMESHDS_Group.hxx,v 1.7.2.1 2008/11/27 12:31:37 abd Exp $
//
#ifndef _SMESHDS_Group_HeaderFile
#define _SMESHDS_Group_HeaderFile
+1 -1
View File
@@ -22,7 +22,7 @@
// SMESH SMESHDS : management of mesh data and SMESH document
// File : SMESHDS_Group.hxx
// Module : SMESH
// $Header$
// $Header: /home/server/cvs/SMESH/SMESH_SRC/src/SMESHDS/SMESHDS_GroupBase.hxx,v 1.8.2.1 2008/11/27 12:31:37 abd Exp $
//
#ifndef _SMESHDS_GroupBase_HeaderFile
#define _SMESHDS_GroupBase_HeaderFile
+1 -1
View File
@@ -23,7 +23,7 @@
// File : SMESHDS_Hypothesis.hxx
// Author : Paul RASCLE, EDF
// Module : SMESH
// $Header$
// $Header: /home/server/cvs/SMESH/SMESH_SRC/src/SMESHDS/SMESHDS_Hypothesis.hxx,v 1.10.2.1 2008/11/27 12:31:37 abd Exp $
//
#ifndef _SMESHDS_HYPOTHESIS_HXX_
#define _SMESHDS_HYPOTHESIS_HXX_
+164 -169
View File
@@ -30,7 +30,6 @@
#include "SMDS_Mesh.hxx"
#include "SMDS_MeshNode.hxx"
#include "SMDS_Mesh0DElement.hxx"
#include "SMDS_MeshEdge.hxx"
#include "SMDS_MeshFace.hxx"
#include "SMDS_MeshVolume.hxx"
@@ -67,164 +66,160 @@ public:
bool RemoveHypothesis(const TopoDS_Shape & S, const SMESHDS_Hypothesis * H);
virtual SMDS_MeshNode* AddNodeWithID(double x, double y, double z, int ID);
virtual SMDS_MeshNode* AddNode(double x, double y, double z);
virtual SMDS_Mesh0DElement* Add0DElementWithID(int nodeID, int ID);
virtual SMDS_Mesh0DElement* Add0DElementWithID(const SMDS_MeshNode * node, int ID);
virtual SMDS_Mesh0DElement* Add0DElement (const SMDS_MeshNode * node);
virtual SMDS_MeshNode * AddNode(double x, double y, double z);
virtual SMDS_MeshEdge* AddEdgeWithID(int n1, int n2, int ID);
virtual SMDS_MeshEdge* AddEdgeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
int ID);
const SMDS_MeshNode * n2,
int ID);
virtual SMDS_MeshEdge* AddEdge(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2);
const SMDS_MeshNode * n2);
// 2d order edge with 3 nodes: n12 - node between n1 and n2
virtual SMDS_MeshEdge* AddEdgeWithID(int n1, int n2, int n12, int ID);
virtual SMDS_MeshEdge* AddEdgeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n12,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n12,
int ID);
virtual SMDS_MeshEdge* AddEdge(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n12);
virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3, int ID);
virtual SMDS_MeshFace* AddFaceWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
int ID);
virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3);
virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3, int n4, int ID);
virtual SMDS_MeshFace* AddFaceWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
int ID);
virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4);
// 2d order triangle of 6 nodes
virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3,
int n12,int n23,int n31, int ID);
virtual SMDS_MeshFace* AddFaceWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
int ID);
virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31);
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31);
// 2d order quadrangle
virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3, int n4,
int n12,int n23,int n34,int n41, int ID);
virtual SMDS_MeshFace* AddFaceWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
int ID);
virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41);
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41);
virtual SMDS_MeshVolume* AddVolumeWithID(int n1, int n2, int n3, int n4, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4);
virtual SMDS_MeshVolume* AddVolumeWithID(int n1, int n2, int n3, int n4, int n5, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5);
virtual SMDS_MeshVolume* AddVolumeWithID(int n1, int n2, int n3, int n4, int n5, int n6, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6);
virtual SMDS_MeshVolume* AddVolumeWithID(int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8);
// 2d order tetrahedron of 10 nodes
virtual SMDS_MeshVolume* AddVolumeWithID(int n1, int n2, int n3, int n4,
int n12,int n23,int n31,
int n14,int n24,int n34, int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n24,
const SMDS_MeshNode * n34,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n24,
const SMDS_MeshNode * n34,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
@@ -238,24 +233,24 @@ public:
int n15,int n25,int n35,int n45,
int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n35,
const SMDS_MeshNode * n45,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n35,
const SMDS_MeshNode * n45,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
@@ -273,27 +268,27 @@ public:
int n14,int n25,int n36,
int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n45,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n64,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n36,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
const SMDS_MeshNode * n45,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n64,
const SMDS_MeshNode * n14,
const SMDS_MeshNode * n25,
const SMDS_MeshNode * n36,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n31,
@@ -312,34 +307,34 @@ public:
int n15,int n26,int n37,int n48,
int ID);
virtual SMDS_MeshVolume* AddVolumeWithID(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n67,
const SMDS_MeshNode * n78,
const SMDS_MeshNode * n85,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n26,
const SMDS_MeshNode * n37,
const SMDS_MeshNode * n48,
int ID);
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
const SMDS_MeshNode * n41,
const SMDS_MeshNode * n56,
const SMDS_MeshNode * n67,
const SMDS_MeshNode * n78,
const SMDS_MeshNode * n85,
const SMDS_MeshNode * n15,
const SMDS_MeshNode * n26,
const SMDS_MeshNode * n37,
const SMDS_MeshNode * n48,
int ID);
virtual SMDS_MeshVolume* AddVolume(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
const SMDS_MeshNode * n2,
const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4,
const SMDS_MeshNode * n5,
const SMDS_MeshNode * n6,
const SMDS_MeshNode * n7,
const SMDS_MeshNode * n8,
const SMDS_MeshNode * n12,
const SMDS_MeshNode * n23,
const SMDS_MeshNode * n34,
@@ -405,9 +400,9 @@ public:
void SetNodeOnVertex(SMDS_MeshNode * aNode, const TopoDS_Vertex & S);
void UnSetNodeOnShape(const SMDS_MeshNode * aNode);
void SetMeshElementOnShape(const SMDS_MeshElement * anElt,
const TopoDS_Shape & S);
const TopoDS_Shape & S);
void UnSetMeshElementOnShape(const SMDS_MeshElement * anElt,
const TopoDS_Shape & S);
const TopoDS_Shape & S);
bool HasMeshElements(const TopoDS_Shape & S);
SMESHDS_SubMesh * MeshElements(const TopoDS_Shape & S) const;
SMESHDS_SubMesh * MeshElements(const int Index);
-1
View File
@@ -44,7 +44,6 @@ class SMESHDS_EXPORT SMESHDS_Script
bool IsModified();
void AddNode(int NewNodeID, double x, double y, double z);
void Add0DElement(int New0DElementID, int idnode);
void AddEdge(int NewEdgeID, int idnode1, int idnode2);
void AddFace(int NewFaceID, int idnode1, int idnode2, int idnode3);
void AddFace(int NewFaceID, int idnode1, int idnode2, int idnode3,
+1 -1
View File
@@ -22,7 +22,7 @@
// SMESH SMESH : implementaion of SMESH idl descriptions
// File : SMESH_0D_Algo.hxx
// Module : SMESH
// $Header$
// $Header: /home/server/cvs/SMESH/SMESH_SRC/src/SMESH/SMESH_0D_Algo.hxx,v 1.2.2.1 2008/11/27 12:25:15 abd Exp $
//
#ifndef _SMESH_0D_ALGO_HXX_
#define _SMESH_0D_ALGO_HXX_
+1 -1
View File
@@ -23,7 +23,7 @@
// File : SMESH_1D_Algo.hxx
// Author : Paul RASCLE, EDF
// Module : SMESH
// $Header$
// $Header: /home/server/cvs/SMESH/SMESH_SRC/src/SMESH/SMESH_1D_Algo.hxx,v 1.8.2.1 2008/11/27 12:25:15 abd Exp $
//
#ifndef _SMESH_1D_ALGO_HXX_
#define _SMESH_1D_ALGO_HXX_
+1 -1
View File
@@ -23,7 +23,7 @@
// File : SMESH_2D_Algo.hxx
// Author : Paul RASCLE, EDF
// Module : SMESH
// $Header$
// $Header: /home/server/cvs/SMESH/SMESH_SRC/src/SMESH/SMESH_2D_Algo.hxx,v 1.9.2.1 2008/11/27 12:25:15 abd Exp $
//
#ifndef _SMESH_2D_ALGO_HXX_
#define _SMESH_2D_ALGO_HXX_
+1 -1
View File
@@ -23,7 +23,7 @@
// File : SMESH_3D_Algo.hxx
// Author : Paul RASCLE, EDF
// Module : SMESH
// $Header$
// $Header: /home/server/cvs/SMESH/SMESH_SRC/src/SMESH/SMESH_3D_Algo.hxx,v 1.9.2.1 2008/11/27 12:25:15 abd Exp $
//
#ifndef _SMESH_3D_ALGO_HXX_
#define _SMESH_3D_ALGO_HXX_
+9 -17
View File
@@ -23,8 +23,8 @@
// File : SMESH_Algo.hxx
// Author : Paul RASCLE, EDF
// Module : SMESH
// $Header: /home/server/cvs/SMESH/SMESH_SRC/src/SMESH/SMESH_Algo.hxx,v 1.12.2.4 2008/11/27 12:25:15 abd Exp $
//
#ifndef _SMESH_ALGO_HXX_
#define _SMESH_ALGO_HXX_
@@ -54,9 +54,6 @@ class SMDS_MeshNode;
class SMESH_subMesh;
class SMESH_MesherHelper;
typedef std::map< SMESH_subMesh*, std::vector<int> > MapShapeNbElems;
// vector must have size corresponding to EntityType_Last from SMDSAbs:
typedef std::map< SMESH_subMesh*, std::vector<int> >::iterator MapShapeNbElemsItr;
class SMESH_EXPORT SMESH_Algo:public SMESH_Hypothesis
{
@@ -125,16 +122,6 @@ public:
*/
virtual bool Compute(SMESH_Mesh & aMesh, SMESH_MesherHelper* aHelper);
/*!
* \brief evaluates size of prospective mesh on a shape
* \param aMesh - the mesh
* \param aShape - the shape
* \param aNbElems - prospective number of elements by types
* \retval bool - is a success
*/
virtual bool Evaluate(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape,
MapShapeNbElems& aResMap) = 0;
/*!
* \brief Returns a list of compatible hypotheses used to mesh a shape
* \param aMesh - the mesh
@@ -176,10 +163,13 @@ public:
bool InitCompatibleHypoFilter( SMESH_HypoFilter & theFilter,
const bool ignoreAuxiliary) const;
/*!
* \brief Just return false as the algorithm does not hold parameters values
* \brief Initialize my parameter values by the mesh built on the geometry
*
* Just return false as the algorithm does not hold parameters values
*/
virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape);
virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0);
/*!
* \brief return compute error
*/
@@ -253,7 +243,8 @@ public:
static bool GetNodeParamOnEdge(const SMESHDS_Mesh* theMesh,
const TopoDS_Edge& theEdge,
std::vector< double > & theParams);
/*!
/*!
* \brief Fill map of node parameter on geometrical edge to node it-self
* \param theMesh - The mesh containing nodes
* \param theEdge - The geometrical edge of interest
@@ -265,6 +256,7 @@ public:
const TopoDS_Edge& theEdge,
const bool ignoreMediumNodes,
std::map< double, const SMDS_MeshNode* > & theNodes);
/*!
* \brief Find out elements orientation on a geometrical face
* \param theFace - The face correctly oriented in the shape being meshed
@@ -303,7 +295,7 @@ public:
* \retval const SMDS_MeshNode* - found node or NULL
*/
static const SMDS_MeshNode* VertexNode(const TopoDS_Vertex& V,
const SMESHDS_Mesh* meshDS);
const SMESHDS_Mesh* meshDS);
protected:
+1 -4
View File
@@ -276,14 +276,11 @@ public:
static int GetOrderedEdges (const TopoDS_Face& theFace,
TopoDS_Vertex theFirstVertex,
std::list< TopoDS_Edge >& theEdges,
std::list< int > & theNbVertexInWires,
const bool theShapeAnalysisAlgo=false);
std::list< int > & theNbVertexInWires);
// Return nb wires and a list of oredered edges.
// It is used to assign indices to subshapes.
// theFirstVertex may be NULL.
// Always try to set a seam edge first
// if (theShapeAnalysisAlgo) then ShapeAnalysis::OuterWire() is used to find the outer
// wire else BRepTools::OuterWire() is used
public:
// -----------------------------------------------------------
+23 -33
View File
@@ -68,40 +68,30 @@ class gp_Pnt;
namespace SMESH{
namespace Controls{
class SMESHCONTROLS_EXPORT TSequenceOfXYZ
class SMESHCONTROLS_EXPORT TSequenceOfXYZ: public std::vector<gp_XYZ>
{
typedef std::vector<gp_XYZ>::size_type size_type;
public:
TSequenceOfXYZ();
TSequenceOfXYZ(size_type n);
TSequenceOfXYZ(size_type n, const gp_XYZ& t);
TSequenceOfXYZ(size_type n, const value_type& t);
TSequenceOfXYZ(const TSequenceOfXYZ& theSequenceOfXYZ);
template <class InputIterator>
TSequenceOfXYZ(InputIterator theBegin, InputIterator theEnd);
~TSequenceOfXYZ();
TSequenceOfXYZ& operator=(const TSequenceOfXYZ& theSequenceOfXYZ);
gp_XYZ& operator()(size_type n);
reference operator()(size_type n);
const gp_XYZ& operator()(size_type n) const;
void clear();
void reserve(size_type n);
void push_back(const gp_XYZ& v);
size_type size() const;
const_reference operator()(size_type n) const;
private:
std::vector<gp_XYZ> myArray;
reference operator[](size_type n);
const_reference operator[](size_type n) const;
};
/*
@@ -132,9 +122,9 @@ namespace SMESH{
void SetPrecision( const long thePrecision );
bool GetPoints(const int theId,
TSequenceOfXYZ& theRes) const;
TSequenceOfXYZ& theRes) const;
static bool GetPoints(const SMDS_MeshElement* theElem,
TSequenceOfXYZ& theRes);
TSequenceOfXYZ& theRes);
protected:
const SMDS_Mesh* myMesh;
const SMDS_MeshElement* myCurrElement;
@@ -263,10 +253,10 @@ namespace SMESH{
virtual double GetBadRate( double Value, int nbNodes ) const;
virtual SMDSAbs_ElementType GetType() const;
struct Value{
double myLength;
long myPntId[2];
Value(double theLength, long thePntId1, long thePntId2);
bool operator<(const Value& x) const;
double myLength;
long myPntId[2];
Value(double theLength, long thePntId1, long thePntId2);
bool operator<(const Value& x) const;
};
typedef std::set<Value> TValues;
void GetValues(TValues& theValues);
@@ -296,9 +286,9 @@ namespace SMESH{
virtual double GetBadRate( double Value, int nbNodes ) const;
virtual SMDSAbs_ElementType GetType() const;
struct Value{
long myPntId[2];
Value(long thePntId1, long thePntId2);
bool operator<(const Value& x) const;
long myPntId[2];
Value(long thePntId1, long thePntId2);
bool operator<(const Value& x) const;
};
typedef std::map<Value,int> MValues;
@@ -364,10 +354,10 @@ namespace SMESH{
static bool IsFreeEdge( const SMDS_MeshNode** theNodes, const int theFaceId );
typedef long TElemId;
struct Border{
TElemId myElemId;
TElemId myPntId[2];
Border(long theElemId, long thePntId1, long thePntId2);
bool operator<(const Border& x) const;
TElemId myElemId;
TElemId myPntId[2];
Border(long theElemId, long thePntId1, long thePntId2);
bool operator<(const Border& x) const;
};
typedef std::set<Border> TBorders;
void GetBoreders(TBorders& theBorders);
@@ -797,13 +787,13 @@ namespace SMESH{
virtual
void
GetElementsId( const SMDS_Mesh* theMesh,
TIdSequence& theSequence );
TIdSequence& theSequence );
static
void
GetElementsId( const SMDS_Mesh* theMesh,
PredicatePtr thePredicate,
TIdSequence& theSequence );
PredicatePtr thePredicate,
TIdSequence& theSequence );
protected:
PredicatePtr myPredicate;
+1 -1
View File
@@ -27,7 +27,7 @@
#define _SMESH_DriverDAT_HXX_
#ifdef WNT
#if defined MESHDRIVERDAT_EXPORTS || defined MeshDriverDAT_EXPORTS
#if defined MESHDRIVERDAT_EXPORTS
#define MESHDRIVERDAT_EXPORT __declspec( dllexport )
#else
#define MESHDRIVERDAT_EXPORT __declspec( dllimport )

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