Commit Graph

5793 Commits

Author SHA1 Message Date
Yorik van Havre
a8c95189fc Path: added addObject & removeObject python methods to FeatureCompound - fixes #2607 2016-07-07 19:49:00 -03:00
Mateusz Skowroński
d9b7a5fbbf Use byteCount() instead of obsolete numBytes().
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński
2c79424f81 Fix includes to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński
8b2f435c04 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński
873f8e3ea7 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-07 15:07:38 -03:00
Jonathan Wiedemann
336f8ada5e add "return" in libraries checking 2016-07-07 15:03:09 -03:00
Jonathan Wiedemann
34d8680d8c fix json error 2016-07-07 15:03:09 -03:00
Yorik van Havre
43e0834fb4 Part: Enabled per-face transparency 2016-07-07 12:46:25 -03:00
Yorik van Havre
aadf63eecf Arch: Fixed bugs in IFC export 2016-07-07 11:54:18 -03:00
DeepSOIC
ca0a640aed Part: TopoShapePy: made Solid constructor accept CompSolid
Part.Solid(shape) now accepts compsolid as input, and creates a solid by
joining the compsolid.

Same done to Part.makeSolid().

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

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

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

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

* almost proper support of saving to file
(I still couldn't figure out a way to restore reference to document and
viewer. So, falling to using active ones instead (might cause bugs).)
2016-06-20 01:18:09 +03:00
Yorik van Havre
44989a888d Draft: Fixed upgrading several faces 2016-06-18 19:32:19 -03:00
Eivind Kvedalen
7afcb4beda Sketcher: Changed return type of Constraint::getPresentationValue() to Quantity, to be able to include unit. 2016-06-18 09:48:52 +02:00
Eivind Kvedalen
171fce7b19 Sketcher: Fixed radian/degree mix-up for Angle constraint. 2016-06-18 09:48:46 +02:00
Yorik van Havre
4f8c9359e2 Arch: Fixed buggy placement of windows 2016-06-16 21:58:44 -03:00
Yorik van Havre
95195e3765 Arch: updated OBJ/DAE exporters to export groups 2016-06-16 18:31:21 -03:00
Yorik van Havre
dce4695674 Arch: Fixed export of cloned windows to IFC 2016-06-16 17:42:27 -03:00
Ian Rees
fa6c8805ba Clean up warnings due to missing 'override'. 2016-06-16 14:14:52 +02:00
wmayer
9cd705d8e4 fix uic warning: Z-order assignment: '' is not a valid widget 2016-06-16 12:49:06 +02:00
wmayer
9dc6d7f8c0 fix further warnings in libarea 2016-06-16 11:12:12 +02:00
Yorik van Havre
3510c71f2b Arch: First version of Sweethome3D importer - issue #2584 2016-06-15 21:24:03 -03:00
Yorik van Havre
4acf8e09dc Arch: misc improvements and bugfixes
* Allow mesh-based windows (with non-solid shape) to pass through
* Allow precast elements to be clones
* Structure elements now display a different icon when thry are clones
* Arch clones now get the same placements as their cloned object on create
* Fixed the bad export of clones to IFC
* Recoded the Site/Building/Floor IFC export to be more flexible
2016-06-15 21:17:44 -03:00
DeepSOIC
89ebf5fbcc Part: AttachmentEditor: fix take_selection argument not working 2016-06-15 21:15:14 -03:00
DeepSOIC
1c135d6379 Part: AttachmentEditor: fix for new SubList Py API 2016-06-15 21:15:14 -03:00
wmayer
60242ad1cf + fix various warnings 2016-06-15 23:55:44 +02:00
Stefan Tröger
3814251020 SMESH: Prevent generator from being deleted 2016-06-15 22:34:10 +02:00
Stefan Tröger
dcf2da702d FEM Post: Fix property unit test 2016-06-15 22:34:10 +02:00
Stefan Tröger
2fb14ce9c4 FEM Post: Always build except for VTK <6.2
VTK 6.0 has a bug which makes it incompatibel with c++11
2016-06-15 22:34:10 +02:00
Stefan Tröger
59803ffc67 Travis: Add SMESH7 dependencies for OSX 2016-06-15 22:34:10 +02:00
Stefan Tröger
aae79ee558 FEM: Add faces by face workaround for force constraint 2016-06-15 22:34:10 +02:00
Stefan Tröger
55534e98d4 FEM: Use single smesh mesh generator throughout FreeCAD
Creating a mesh generator resets a critical data structure and makes all existing meshes invalid. Hence the SMESH_gen is made a singleton and all FreeCAD code is changed accordingly.
2016-06-15 22:34:10 +02:00
Stefan Tröger
cda99210d5 FEM: Protect iteration from null ptr 2016-06-15 22:34:10 +02:00
Jean-Marie Verdun
47f21309dd FEM: Make FEM compatible with SMESH7 2016-06-15 22:34:10 +02:00
Yorik van Havre
79dcdfbc78 Arch: Partial fix for IFC export of precast elements 2016-06-14 23:09:43 -03:00
Yorik van Havre
d05ac66c3c Arch: Read Description property of IFC objects 2016-06-14 19:18:37 -03:00
Yorik van Havre
60d918983e Arch: select precast dent when adding a new one 2016-06-14 19:18:04 -03:00
Yorik van Havre
7ee6a6737f Draft: Added preference setting to customize labels of Draft and Arch clones 2016-06-14 19:17:02 -03:00
Yorik van Havre
8f45e13789 Spreadsheet: Added Python version of Spreadhseet::Sheet 2016-06-14 19:16:00 -03:00
wmayer
6be9ee87ea + fix many warnings in libarea using MSVC 2016-06-14 11:04:19 +02:00
Yorik van Havre
26be0067cd Arch: Allow precast beams to have dents too 2016-06-13 22:53:58 -03:00
Yorik van Havre
24c279f92b Merge remote-tracking branch 'sliptonic/master' 2016-06-13 20:02:32 -03:00
Yorik van Havre
285f6aea9d Draft: Center Snap can now also snap to center of faces 2016-06-13 13:46:51 -03:00
Lorenz Hüdepohl
092e8e10c1 PathUtils: remove unnecessary arguments to convert()
The arguments Side, radius, clockwise, and firstedge were never used in
convert()
2016-06-13 15:27:21 +02:00
Lorenz Hüdepohl
c862fc0065 Path: add plunge angle feature for PathProfile
With the new property "PlungeAngle", one can specify the inclination of
a ramp into the material, instead of plunging straight down. The
original behaviour and default is set to 90.0 degrees. A value of zero
makes the tool descent exactly one layer depth down per turn.
2016-06-13 15:27:21 +02:00
sliptonic
451355e159 Merge branch 'master' into master 2016-06-13 08:25:07 -05:00
wwmayer
d51422347c Merge pull request #185 from dev-at-stellardeath-org/master
PathProfile.py: Fix non-GUI usage
2016-06-13 15:13:45 +02:00
tomate44
f13f57ef3d Implements more arguments to BSplineCurve.approximate 2016-06-13 14:18:35 +02:00
Yorik van Havre
0dfc6678bd Arch: added precast concrete presets & objects to structure tool - issue #2853 2016-06-12 22:47:58 -03:00
sliptonic
f42c90f459 Fix for partial libarea pockets. 2016-06-12 14:23:06 -05:00
sliptonic
a02d704d0a Updated libarea with changes from Heeks/libarea 2016-06-11 10:51:27 -05:00
sliptonic
dff173cd1f Fixes for various gcode errors
Some operations were still outputting even if disabled.
Nested comments caused trouble in linuxcnc
Machine was producing an initial move that was potentially dangerous
2016-06-11 10:51:27 -05:00
wmayer
f55fb8cb99 + avoid memory exception when stl file is empty 2016-06-11 16:25:41 +02:00
wmayer
10bb9fa5cc + add overloaded methods of write() and read() to write and read from streams 2016-06-11 14:47:01 +02:00
wmayer
91ba585ee0 + add overloaded methods of save() and load() to write and read from streams 2016-06-11 13:48:24 +02:00
wmayer
9c7bc073e4 + for importBrep() and exportBrep() allow file names or file objects 2016-06-11 12:38:58 +02:00
Yorik van Havre
e42385a25b Arch: Finally using proper UnitStrings in Arch tools 2016-06-10 19:08:00 -03:00
Lorenz Hüdepohl
7be378954e PathProfile.py: Fix non-GUI usage
The call to QtGui.QApplication.translate is not possible and necessary
without a GUI
2016-06-10 23:10:04 +02:00
Yorik van Havre
319920c185 Material: allow to display Drawing Patterns in material editor - issue #2577 2016-06-09 22:19:45 -03:00
Yorik van Havre
f0394c7b22 Arch: Bugfixes in IFC export
* Only export materials used in the exported objects
* Fixed placement of Part Extrusion-based objects
2016-06-09 22:16:55 -03:00
Bernd Hahnebach
7f2833b465 FEM: typo in Menue entry 2016-06-06 07:07:36 +02:00
Bernd Hahnebach
7e092db898 FEM: fix for importing ccx result mesh 2016-06-06 07:07:36 +02:00
Yorik van Havre
27b4836d80 Arch: Added support for IfcOpenShell serializer 2016-06-04 17:43:41 -03:00
Yorik van Havre
dad057cac5 Draft: Handle exception in DXF output 2016-06-04 17:42:22 -03:00
Yorik van Havre
b18981f0b3 Added more SVG patterns + translation table - issue #2577 2016-06-04 17:41:23 -03:00
sliptonic
f48ee1abec Correctly format drilling locations. 2016-06-03 13:45:25 -05:00
Bernd Hahnebach
108fe75464 FEM: udate 3D FEM example file and add 2D FEM example file 2016-06-03 07:30:28 +02:00
Bernd Hahnebach
adebabe3a5 FEM: only deactivate and activate visibility for FEMmeshes inside analysis container 2016-06-03 07:30:09 +02:00
Bernd Hahnebach
aa3b214cc5 FEM: use solver object as parameter value in FemInputWriter class 2016-06-03 07:29:49 +02:00
Bernd Hahnebach
f1858cfdbf FEM: multiple solver are possible in one analysis, use the selected for calculation run 2016-06-03 07:29:29 +02:00
sliptonic
6425ef770d Fix base geometry reference to use tuple in PropertyLinkSubList
Also improves the naive test of vertical/horizontal faces for profiling.

replace naive test of verticality

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

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

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

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

New:

* Across Parts, from Part to outside part, from document into part:
blocked
* Within one part (also if directly in document): allowed.
except links from body to outside or to other bodies are screened (hold
Ctrl to allow).
Support (attachment) is totally ignored in this logic.
2016-05-21 01:31:06 +03:00