Commit Graph

6412 Commits

Author SHA1 Message Date
wmayer
b32e1aae11 fix compiler warnings 2016-08-07 13:38:41 +02:00
DeepSOIC
433bd375f3 Part: make Fusion and Common able to fuse arrays
If Fusion or Common features get only one argument, and the shape is a
compound, the children of the compound are treated as list of arguments.
2016-08-07 12:15:08 +02:00
Wolfgang E. Sanyer
7f4a437cc2 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
wwmayer
5a30a43862 Merge pull request #237 from ulrich1a/master
Basic importer for Excel-spreadsheets
2016-08-06 21:01:34 +02:00
wwmayer
67c13028ea Merge pull request #235 from berndhahnebach/femsmallfixes
Femsmallfixes
2016-08-06 20:56:44 +02:00
Ulrich Brammer
796badeabd Basic importer for Excel-spreadsheets 2016-08-06 20:32:14 +02:00
wmayer
4062a15018 use QuantityFormat to restore old behaviour for dimensionsal constraints of sketches 2016-08-06 19:08:27 +02:00
Bernd Hahnebach
80b68208b2 FEM: fix materials task panel 2016-08-05 18:42:52 +02:00
Bernd Hahnebach
2edc678891 FEM: fix pre check for shell and beam meshes 2016-08-05 18:42:51 +02:00
Yorik van Havre
7e310b2444 Draft: fixed wrong decimals in dimensions display + minor bugfix 2016-08-04 19:16:38 -03:00
Bernd Hahnebach
595a5dd2c7 ARCH: ifc import: fix import if group has no group name provided 2016-08-04 14:33:31 -03:00
Bernd Hahnebach
8ab027b218 ARCH: fix propper removing of tempfile on windows 2016-08-04 14:33:31 -03:00
Bernd Hahnebach
cfbde714e9 ARCH: code formating: trailing whitespaces 2016-08-04 14:33:31 -03:00
sliptonic
0ea9cc8c43 Bug fixes:
fixes reparenting bug when dressup is deleted
Engrave wasn't using final depth value
Dragknife Dressup not correctly calculating spin direction or curve intersection
Per Yorik, fix crash if PartGui hasn't been loaded
Allow selection of bottom face for profiling
Bug # 0002615
2016-08-04 14:28:59 -03:00
wmayer
1c89c566c9 whitespace improvements 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
02b84bd2e1 FEM: ccx writer: explicit format diggits of material values for passing unit tests 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
f0bbbc1cef FEM: unit test: add max iterations count to thermomech solver obj 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
8390b008ee FEM: GUI: prefs: typos in dialogs 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
a3d9390cc0 FEM: fix thermomech unit test analysis 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4c8d5b592c FEM: ccx input writer: remove newline 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4d778390d4 FEM: code formating: trailing whitespaces, tabs at line start and flake8 2016-08-04 17:45:04 +02:00
vdwalts
5a2a73b55e FEM: Adding the FEM tests for the thermo-mechanical test problem to the TestFem.py file. To-do: Add the frd file test and the compare stats test. 2016-08-04 17:45:04 +02:00
vdwalts
140af42f9b FEM: Setting up the geometry and constraints for the cooling spine model for the thermo-mechanical test. 2016-08-04 17:45:04 +02:00
vdwalts
70afd104e8 FEM: Adding the reference input file for calculix and the results files for the thermo-mechanical test case 2016-08-04 17:45:04 +02:00
vdwalts
e8adb5113a FEM: Adding the meshing points and volumes files necessary to create mesh of test model to the test folder 2016-08-04 17:45:04 +02:00
vdwalts
1caeb68a49 FEM: Adding Freecad model to the test folder for thermo-mechanical test of cooling spine 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
c4b94725b6 FEM: CalculiX solver object: better attribute names 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
6463d04f3f FEM: code formating: flake8 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
24572e1afc FEM: remove not used _FemAnalysis object and ViewProvider 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4fecdaed84 FEM: ccx frd reader: delete not used line count and line num 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
28e5ec80cb FEM: delete not used pyhton module imports 2016-08-04 17:45:04 +02:00
makkemal
275c2c9dc3 FEM: Dummy equation to use all variables required for user defined plot 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
5e4b95b1ba FEM: GUI: pref: add setting for non standard ccx time iterations param 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
2fb6d51f9f FEM: calculix solver: better handling of iterations control parameter and
add them to FEM unit test
2016-08-04 17:45:04 +02:00
makkemal
1c4bd96e34 FEM: Change thermo mechanical to coupled analysis and add control parameters for convergence 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
55d2884658 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
vdwalts
175649a3bf FEM: core: changes in vtk post pipeline 2016-08-04 17:45:04 +02:00
vdwalts
26dfd6ef92 FEM: constraint pressure: some changes in core implementation 2016-08-04 17:45:04 +02:00
vdwalts
0e7c97b356 FEM: constraint fixed: change reference selection behavior to only allow same shape type 2016-08-04 17:45:04 +02:00
vdwalts
3998e2433b FEM: constraint fixed: some changes in core implementation 2016-08-04 17:45:04 +02:00
vdwalts
1b8e56378a FEM: use new pref for manually set num processor cores in ccx run 2016-08-04 17:45:04 +02:00
vdwalts
414b2b0ffa FEM: task panel solver calculix: add time step to writing file 2016-08-04 17:45:04 +02:00
vdwalts
6965b4553f FEM: task panel solver calculix: add thermomech analysis button 2016-08-04 17:45:04 +02:00
vdwalts
e8143ab0cf FEM: task panel show results: add principat stress temperature and user calculation input field 2016-08-04 17:45:04 +02:00
vdwalts
1d61226313 FEM: ccx frd reader: add reading and calculating principal stresses 2016-08-04 17:45:04 +02:00
vdwalts
d4e3ea7cb6 FEM: ccx frd reader: add reading temperature related results 2016-08-04 17:45:04 +02:00
vdwalts
4838dd317f FEM: core: changes in result object 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
57d0b0752a FEM: ccx input writer: add some comments 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
e33940ace6 FEM: thermomechanical analysis: add pre check for initial temperature 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
c06c5788e2 FEM: constraint thermomech: add implementation for solver CalculiX and fix FEM unit tests 2016-08-04 17:45:04 +02:00
vdwalts
a3eca5f083 FEM: constraints thermomechanical: add icons 2016-08-04 17:45:04 +02:00
vdwalts
5adea8f032 FEM: constraints thermomechanical: object implementation 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
26dabdfca7 FEM: task panel mechanical material: add thermomech related changes 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
ce4f8b4cf9 FEM: use new CalculiX matrix solver types (spooles, iterativecholesky, etc.) in ccx file writer 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
81e9e8b3be FEM: solver object CalculiX: add new attributes and use defaults from prefs
and fix FEM unit tests
2016-08-04 17:45:04 +02:00
Bernd Hahnebach
66a71b1a35 FEM: GUI: pref: better layout for ccx prefs 2016-08-04 17:45:04 +02:00
vdwalts
79be296bc3 FEM: GUI: pref: removing empty entry in the matrix solver combo box 2016-08-04 17:45:04 +02:00
vdwalts
5effc85d71 FEM: GUI: pref: adding icons for static and thermo-mechanical analysis to the fem tab 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
9aa9664c1a FEM: GUI: pref: move CalculiX related preferences to CalculiX tab 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4ea7fc6e89 FEM: GUI: pref: add new CalculiX Solver attributes to a new CalculiX tab 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
7760c5cce1 FEM: constraint plane rotation: add implementation for solver CalculiX 2016-08-04 17:45:04 +02:00
vdwalts
e5ed109f1b FEM: constraint plane rotation: add icon 2016-08-04 17:45:04 +02:00
vdwalts
fdee687f01 FEM: constraint plane rotation: object implementation 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
9107e92b52 FEM: constraint contact: add implementation for solver CalculiX 2016-08-04 17:45:04 +02:00
vdwalts
116c9717cc FEM: constraint contact: add icon 2016-08-04 17:45:04 +02:00
vdwalts
4eb39c5c36 FEM: constraint contact: object implementation 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4df30061e5 FEM: fix z88 solver and resort fem objects in tools and writer 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
d8c294c54d FEM: solver CalculiX: add geometrical nonlinear analysis 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
da91fded97 FEM: add some pre checks in the regard of FEM mesh 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
1224d6e039 FEM: ccx writer: change some wrong ccx input file comments and fix FEM unit tests 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
03ca2ebe55 FEM: materials: some small changes in task panel and ccx writer 2016-08-04 17:45:04 +02:00
vdwalts
eb305c142f Materials: add thmermomechanical material values to gerneral steel and calculix steel 2016-08-04 17:45:04 +02:00
wmayer
461c0b1f7b fix TopoShape::getFacesFromSubelement 2016-08-04 15:22:30 +02:00
wmayer
dc25c73e30 + example of sequence protocol of Python type 2016-08-02 10:26:59 +02:00
WandererFan
a539cec1a3 Correct Radius leader behaviour 2016-08-01 19:27:52 -03:00
WandererFan
40fa4e0d40 Qt item parenting and garbage collection
Remove dupl/obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
3588479ff5 Add LineWidth property for Dimension lines 2016-08-01 19:27:52 -03:00
WandererFan
e95d527267 Fix 2630 Dimension line thickness in SVG & print
Meaningful variable names.
2016-08-01 19:27:52 -03:00
WandererFan
fe871cd245 Correct pageSize determination
remove obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
78924d3a22 Fix scaling for ViewSymbol 2016-08-01 19:27:52 -03:00
Yorik van Havre
4de1b39b4f Spreadsheet: Made SheetPython inherit python object from Sheet 2016-08-01 13:17:47 -03:00
Yorik van Havre
a79d2c6c9b Arch: fixed import of IFC object without representation 2016-08-01 10:54:09 -03:00
wmayer
3785cf7631 add parameters to IsDeformed method 2016-07-31 19:08:42 +02:00
wmayer
33bb67edcb fix rounding issue in IsDegenerated() method 2016-07-31 17:37:23 +02:00
wmayer
0ae92950f0 fix rounding issue in IsDegenerated() method 2016-07-31 13:48:09 +02:00
wmayer
9e4de92ce1 expose mesh analyzing functions to Python 2016-07-31 12:13:37 +02:00
wmayer
8a5c03b671 + allow to customize algorithms in mesh evalutation panel 2016-07-30 19:51:16 +02:00
wmayer
51171fd932 + implement modifier class to allow limited access to internals of mesh kernel class 2016-07-30 15:31:45 +02:00
wmayer
1e2e24b652 + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
maito78
8fe7c94452 Add parameter at given distance method for curves 2016-07-29 22:40:19 +02:00
DeepSOIC
e9b31ddb6a Part: add/update GUI commands
* Updated translation contexts for  Gui commands for JoinFeatures.
* Added Gui commands for Split tools: BooleanFragments, Slice, XOR.
Icons.
2016-07-29 14:20:52 +03:00
DeepSOIC
c069987e41 Part: add BOPTools package as member of Part Py module 2016-07-29 14:18:01 +03:00
DeepSOIC
87b7c86197 Part: add BOPTools package
Containing implementation of new JoinConnect, as well as new splitting
tools: BooleanFragments, Slice and XOR.
2016-07-29 14:16:54 +03:00
DeepSOIC
ea586e9880 Part: deprecate old JoinFeatures code
Commented out all the code not essential for recomputing old
JoinFeatures. The rest is left to support opening old projects.
2016-07-29 14:13:12 +03:00
Yorik van Havre
54c8828237 Arch: Made IfcProduct untranslatable in IFC preferences page 2016-07-28 12:20:59 -03:00
Jonathan Wiedemann
41307ef5a1 Move printMessage in ArchCommands.
Messages are translatable.
2016-07-24 19:57:23 -03:00
Jonathan Wiedemann
15b70be51b Fix wrong display of translated message. 2016-07-24 19:57:23 -03:00
Jonathan Wiedemann
b114a051f4 Allow floors in floor object. 2016-07-24 19:57:23 -03:00
Jonathan Wiedemann
7425394df9 Arch: Fix Site, Building, Floor objects creation
-New param : GetBool("FreeLinking",False), unavailable in pref see
parameters
-by default :
allow create Site on Building only
deny create Building on Site or Building
deny create Floor on Site, Building,Floor
-option:
allow create and linking what you want (until non-DAG)
2016-07-24 19:57:23 -03:00
wmayer
3d95e9ac4b support groups for export to obj format 2016-07-24 16:16:42 +02:00
wmayer
cc78503935 improve groups handling of obj mesh format 2016-07-24 00:23:45 +02:00
Sergei Krivonos
77753a6df5 fixed makeWire face parameter treating
Change-Id: If72a3a1615a56064b113b4d4b1f282ad0229b88d
2016-07-23 11:58:35 -03:00
WandererFan
cb51799f60 Refactor method to base View
Auto allocate member attributes
2016-07-23 15:03:39 +02:00
WandererFan
aa8fea7ba4 Fix GH Issue 49 Clip artifact 2016-07-23 15:03:39 +02:00
WandererFan
222492c912 remove unneeded boundingRect methods 2016-07-23 15:03:39 +02:00
WandererFan
48bd90004f Remove obs property & code 2016-07-23 15:03:39 +02:00
WandererFan
c8a4cf20ad Simplify ClipMinus selection logic 2016-07-23 15:03:39 +02:00
WandererFan
131c34cf9e Center new view on Page/ClipGroup 2016-07-23 15:03:39 +02:00
WandererFan
62a8828dc8 Fix 0002627 wrong value in dimension
Remove obolete dimension properties
2016-07-21 19:50:38 -04:00
Bernd Hahnebach
5c2ffb784a FEM: pyhton code formating: comment should start with '# ' 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
30baceeb61 FEM: python code formating flake8: add white space to start comment block, where missing 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
7f61a9c19b FEM: input writer ccx: better def name and comments 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
240c43b3b7 FEM: small changes in comments in FemTools 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
938dfbbca9 FEM: GUI: typos in FEM menue and icon tool tipps 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
684aca461e FEM: code formating: trailing white spaces 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
ae9bc220d5 FEM: do not write empty constraints to ccx input file 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
513bb65eab FEM: typo in input writer ccx 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
cc1bd86923 FEM: check prerequisites: adapt to self weight 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
b69116b4aa FEM: constraint self weight: implementation for solver CalculiX 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
3554c70483 FEM: constraint self weight: add icon 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
84e017e4db FEM: constraint self weight: object implementation 2016-07-21 18:40:51 -03:00
Przemo Firszt
8fc0fcf4ae [Material] Fix acrylic glass density and remove comments 2016-07-20 21:48:07 +01:00
Przemo Firszt
4e7f1d305b [Material] Amend Aluminum-6061-T6.FCMat
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-07-18 17:40:15 -03:00
WandererFan
985ac47f67 Prevent buildup of old QGItems 2016-07-17 10:43:55 -04:00
WandererFan
094a63356f Exclude hatches from SVG export.
QtSvg does not support clipping which is required for hatches.
2016-07-17 10:43:54 -04:00
wmayer
bff60f36a7 fix build failure with occ 6.9.0 2016-07-17 16:18:12 +02:00
vejmarie
da70ba1642 Fix MED Reader
Assign same Mesh name into MED archive based on shortfilename during write and read operation
2016-07-16 17:43:20 +02:00
wwmayer
fe60a44f5c Merge pull request #219 from tomate44/tomate44-BezierSurface-fix
fix VDegree
2016-07-15 13:57:52 +02:00
Mateusz Skowroński
d7240c6b2b Fix some GCC warnings. 2016-07-15 13:05:37 +02:00
tomate44
2bed80b57e fix VDegree
fix for getVDegree that was returning UDegree
2016-07-15 11:27:24 +02:00
Lorenz Hüdepohl
803c136968 Path: Fix spurious full circles in PathProfile
There was an issue in the conversion from a toolpath to GCode, some very
small circles were mistaken for full circles when their coordinates were
output in some finite precision.
2016-07-15 10:57:12 +02:00
wmayer
b4c084dd06 replace tabs with spaces 2016-07-15 10:44:19 +02:00
Sergo
9f0db2d900 refuse to create partdesign objects if no active body in document 2016-07-15 10:35:52 +02:00
WandererFan
e62d883f54 Prevent invisible faces.
Warn if Direction == XAxisDirection
2016-07-14 18:10:27 -04:00
WandererFan
2c8f497292 Get user prefs at time of use 2016-07-14 15:55:57 -04:00
WandererFan
9dec3c540e Fix default normal/select/preselect colors 2016-07-14 15:55:57 -04:00
wmayer
bdb359df39 + GFA is available since OCC 6.9.0, raise an AttributeError otherwise 2016-07-14 15:16:02 +02:00
vejmarie
e5c5336397 Fix MED Export 2016-07-14 14:53:46 +02:00
Mateusz Skowroński
9154f31f51 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-14 14:49:19 +02:00
WandererFan
bda5c6233c Remove unconnected signals 2016-07-14 14:39:06 +02:00
WandererFan
de76cd6b53 Remove superfluous OCC includes 2016-07-14 14:39:06 +02:00
WandererFan
19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
wmayer
161f418824 + expose OCC version number to Python 2016-07-14 14:11:54 +02:00
sliptonic
c5b501b9d3 Bugs. 2016-07-12 20:13:45 -03:00
sliptonic
4880e633b9 bug preventing tool change gcode
from being added to postprocess
2016-07-12 20:13:45 -03:00
sliptonic
f6654c8a6d Dressup to add dragknife corner actions to a path
Dragknives have an offset so paths must be extended to complete the cut.
They also require special handling if the incident angle between two segments
is small.  This dressup provides properties for the filter angle, offset
distance, and pivot height.  One known area still needs to be addressed:

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

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

Some of the files also got a pep8 cleanup.

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

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

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

Need to improve the tool library handling

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

Splines and curves are processed through pathutils.cleanedges but the precision is
hard coded.  Might want to change this to a property.
2016-07-12 20:13:45 -03:00
WandererFan
3c2222ba60 Fix #58 ProjectionGroupItem positioning after restore 2016-07-12 15:53:20 -04:00
WandererFan
1a87644f44 DrawViewSymbol forgets Scale on restore 2016-07-12 15:20:08 -04:00
WandererFan
2ac560e7b0 Fix template field dialog multiple instances 2016-07-11 15:32:16 +02:00
WandererFan
277a00dc3c dlgTemplateField parentage
cosmetic: move button box
2016-07-11 15:32:16 +02:00
WandererFan
8edfa147da Implement ShowCutSurface 2016-07-11 15:32:16 +02:00
WandererFan
fc9c4d2bf5 Fix #56 ViewSection
- too many edges in result
2016-07-11 15:32:16 +02:00
WandererFan
8d859c91e1 Fix Vertex hover behaviour
Refactor to reduce duplicate code
Fix Section face color mix on hover
2016-07-11 15:32:16 +02:00
WandererFan
dd5b461e35 Fix crash in dtor of QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
19ff06c9cd View does not appear on Redo
Crash in Page on Redo View
2016-07-11 15:32:16 +02:00
WandererFan
32a8621e14 Dimension Precision property does not update
VPs updateData doesn't call parent
2016-07-11 15:32:16 +02:00
WandererFan
c4aa9973d3 Apply "layout" to template field dialog 2016-07-11 15:32:16 +02:00
WandererFan
66fa2a242e prevent fail when scale is zero 2016-07-11 15:32:16 +02:00
WandererFan
350d8bb55b fix precision and thousands separator 2016-07-11 15:32:16 +02:00
WandererFan
8e70d6c569 Changed UI 2016-07-11 15:32:16 +02:00
WandererFan
eb0097782b Add unit tests for TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
f613a91460 Handle accented chars 2016-07-11 15:32:16 +02:00
WandererFan
c880c0c704 TemplateTextField double click crash 2016-07-11 15:32:16 +02:00
WandererFan
0ee878fa47 Correct Radius Dim leader behaviour 2016-07-11 15:32:16 +02:00
WandererFan
57b79da3af regex_replace invalidates iterators 2016-07-11 15:32:16 +02:00
WandererFan
a68b6d068f typo in pixmap name 2016-07-11 15:32:16 +02:00
WandererFan
26aff79a31 Fixes 1-3 per wmeyer 2016-07-11 15:32:16 +02:00
WandererFan
31a8ca23f7 Remove InitGui.py from measure 2016-07-11 15:32:16 +02:00
WandererFan
7a0ae3af52 remove Handle_Geom_Curve.hxx for OCC7 2016-07-11 15:32:16 +02:00
WandererFan
7f442f1f42 Fix sloppy Namespace qualifiers 2016-07-11 15:32:16 +02:00
WandererFan
ed2de2c06e Default font to Sans from osifont 2016-07-11 15:32:16 +02:00
WandererFan
05d94f31f8 Colored SVG Hatch patterns 2016-07-11 15:32:16 +02:00
WandererFan
731f76f52d Hatch using svgItem 2016-07-11 15:32:16 +02:00
WandererFan
ba71e074ce DrawHatch derives from DocumentObject
Remove Face selected box
Add Face# to Hatch Label
2016-07-11 15:32:16 +02:00
WandererFan
efe10e0fb9 Fix #11 View Selection In Tree 2016-07-11 15:32:16 +02:00
WandererFan
bca002ff09 Hatch View Faces 2016-07-11 15:32:16 +02:00
WandererFan
d26fa56838 Fix non-section faces in ViewSection 2016-07-11 15:32:16 +02:00
WandererFan
6cec1df189 Working Face selection 2016-07-11 15:32:16 +02:00
WandererFan
f11e8ffa10 Basic Face detection using BGL 2016-07-11 15:32:16 +02:00
Ian Rees
cd96b40983 Removed unused QObject inheritances. 2016-07-11 15:32:16 +02:00
Ian Rees
b883434318 Remove ctor args from QGIView and descendents. 2016-07-11 15:32:16 +02:00
WandererFan
4fe9267eeb Add modified A3_Landscape template 2016-07-11 15:32:16 +02:00
WandererFan
510569f05b Fix issue 53 Drawing templates 2016-07-11 15:32:16 +02:00
WandererFan
f59173c728 Fix load Dimension w/ broken ref 2016-07-11 15:32:16 +02:00
Ian Rees
6133971747 Cleaning up compile warnings. 2016-07-11 15:32:16 +02:00
Ian Rees
0e68943ac3 Tidy up in MDIViewPage 2016-07-11 15:32:16 +02:00
WandererFan
1b7b6d96aa Handle malformed SVG in Template
Prevent invalid data input for Editable Text
2016-07-11 15:32:16 +02:00
WandererFan
1bf3d2b9e6 Yet another /Drawing/TechDraw/ edit! 2016-07-11 15:32:16 +02:00
WandererFan
3eba56d463 Apply fix (FC2347) for boost v1.60.0 2016-07-11 15:32:16 +02:00
WandererFan
3b96cbbeb6 wmayer patch for Win & OCC7 compat 2016-07-11 15:32:16 +02:00
WandererFan
015c538638 Py convenience functions for Template EditableTexts 2016-07-11 15:32:16 +02:00
WandererFan
2c73823788 Prettify dialog to change EditableTexts 2016-07-11 15:32:16 +02:00
WandererFan
a4061bb6a5 Fix #10 View Visibility 2016-07-11 15:32:16 +02:00
WandererFan
c37df54c0f fix BRect calc for non-custom items 2016-07-11 15:32:16 +02:00
WandererFan
665bea53cf Svg DrawViewSpreadsheet 2016-07-11 15:32:16 +02:00
Ian Rees
898587454f Turned DrawUtil into class with static methods. 2016-07-11 15:32:16 +02:00
Ian Rees
c6bcfd84ce chainGeoms() and nextGeom() are now static methods 2016-07-11 15:32:16 +02:00
Ian Rees
88bc3574aa Whitespace cleanup. 2016-07-11 15:32:16 +02:00
WandererFan
358c55c228 Use Units Decimal setting 2016-07-11 15:32:16 +02:00
WandererFan
dc205d37fc fix #16 Units for Dimensions 2016-07-11 15:32:16 +02:00
WandererFan
5af541e340 Standardize icon naming 2016-07-11 15:32:16 +02:00
WandererFan
9a85375705 fix default Hatch file/dir 2016-07-11 15:32:16 +02:00
WandererFan
37df199f24 avoid assert fail on DrawPatch attach 2016-07-11 15:32:16 +02:00
Ian Rees
268aa8b3ec Tidy up after bad merge 2016-07-11 15:32:16 +02:00
WandererFan
fb439b3d34 Handle multiple DrawPage in Document 2016-07-11 15:32:16 +02:00
WandererFan
bd1c150930 remove obsolete 3D reference code 2016-07-11 15:32:16 +02:00
WandererFan
d73ffaa55b Preserve True/Projected state on save/restore 2016-07-11 15:32:16 +02:00
WandererFan
7f7e63dfe0 link Dimension to 3D geometry 2016-07-11 15:32:16 +02:00
WandererFan
88ad069817 change Dimension.ProjectionType -> MeasureType 2016-07-11 15:32:16 +02:00
Ian Rees
e4b5bba140 Move SVG output method from MDIViewPage to QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
83a0078bd5 Fix App logic in ViewProviders -> segfaults 2016-07-11 15:32:16 +02:00
WandererFan
bd13d33937 Fix View positioning for Automatic scaling 2016-07-11 15:32:16 +02:00
WandererFan
7c6d92238a Fix Angle Dimension validation 2016-07-11 15:32:16 +02:00
WandererFan
96d817e280 Fix #41 Projoection Group Spacing
Fix glitch when change First <-> Third Angle
2016-07-11 15:32:16 +02:00
Ian Rees
1b52a517bf Disable commands when no active document. 2016-07-11 15:32:16 +02:00
Ian Rees
a01e774405 Fix enum values for first/third angle preference 2016-07-11 15:32:16 +02:00
WandererFan
ac0963c561 Fix Part display on property changes 2016-07-11 15:32:16 +02:00
WandererFan
32e3c01c2d Fix Document/Custom Scale handling 2016-07-11 15:32:16 +02:00
WandererFan
c32d71c47f Add more preferences 2016-07-11 15:32:16 +02:00
WandererFan
20de9af2c2 Fix Hatch path fp math
Fix section face painting
2016-07-11 15:32:16 +02:00
WandererFan
a996c0a3af Brush rendering notes 2016-07-11 15:32:16 +02:00
WandererFan
a15825fa4c Fix issue #29 view handles 2016-07-11 15:32:16 +02:00
WandererFan
8cbd6d0b23 Section face positioning/display 2016-07-11 15:32:16 +02:00
WandererFan
af7d7f3118 ScaleType/Scale linkage & PropertyEditor 2016-07-11 15:32:16 +02:00
WandererFan
8a9c708659 HLR looses Shape for some ProjGroupItems 2016-07-11 15:32:16 +02:00
WandererFan
012693a190 Missing ProjectionGroup icons 2016-07-11 15:32:16 +02:00
WandererFan
14a9fd4fcd Fix issue 7 Projection Results 2016-07-11 15:32:16 +02:00
Ian Rees
d95bf4786d Forgot to not use auto()... 2016-07-11 15:32:16 +02:00
Ian Rees
dff7f7811f Fixed Save and Save As in MDI view 2016-07-11 15:32:16 +02:00
WandererFan
2628550860 typo in property name 2016-07-11 15:32:16 +02:00
WandererFan
699c066991 Add HTML/CSS Styles to Annotation 2016-07-11 15:32:16 +02:00
WandererFan
c7d845cc5b Basic working version of DrawViewDraft 2016-07-11 15:32:16 +02:00
WandererFan
6fe7add213 add ToggleFrame command 2016-07-11 15:32:16 +02:00
WandererFan
42eed349ac add Python functionality for ProjectionGroups 2016-07-11 15:32:16 +02:00
WandererFan
707ef236f3 Add Python functionality for DrawHatch 2016-07-11 15:32:16 +02:00
WandererFan
91526af69c remove superfluous execue()s 2016-07-11 15:32:16 +02:00
Ian Rees
c70114f8da Fix compilation on Mac + small filename typo. 2016-07-11 15:32:16 +02:00
WandererFan
a40e398227 fix range_check error during Dimension creation 2016-07-11 15:32:16 +02:00
WandererFan
40493d49db Py functionality for Dimensions 2016-07-11 15:32:16 +02:00
WandererFan
0372b1e8aa more /Drawing/TechDraw/ for Commands 2016-07-11 15:32:16 +02:00
WandererFan
2abc79eb97 note re module level functions 2016-07-11 15:32:16 +02:00
WandererFan
6d07fec219 Python functionality for ViewPart and ViewClip 2016-07-11 15:32:16 +02:00
WandererFan
5bf42856fd 1st cut PyClip functionality 2016-07-11 15:32:16 +02:00
WandererFan
ccdb56c06e use Mod/TechDraw for preferences 2016-07-11 15:32:16 +02:00
WandererFan
5a7dd5d123 implement page.addView for Python 2016-07-11 15:32:16 +02:00
WandererFan
05c730f38d Preferences "Drawing" -> "TechDraw" 2016-07-11 15:32:16 +02:00
WandererFan
a46fd856d4 more /Drawing/TechDraw/ edits. VP name conflicts 2016-07-11 15:32:16 +02:00
WandererFan
cb25c494de misc /Mod/Drawing, QGI, obs functions 2016-07-11 15:32:16 +02:00
WandererFan
8eb8e96b72 rename qrc 2016-07-11 15:32:16 +02:00
WandererFan
a9d6f1568b /QGI/QGraphicsItem/ 2016-07-11 15:32:16 +02:00
WandererFan
9062b7e727 Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
7e49a1b986 Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
f096a9d6ff Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
ed47ae4916 StatusBits -> setStatus 2016-07-11 15:32:16 +02:00
WandererFan
e40bbdad5b Mod/Measure warnings 2016-07-11 15:32:16 +02:00
WandererFan
3b2d07e8af ProjectionAlgo & DrawingExport renames 2016-07-11 15:32:16 +02:00
WandererFan
bf8a228405 Add init files for /Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
67bf21277a cmake changes for /Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
8e77d3583e Add Mod/TechDraw/Gui/Resources 2016-07-11 15:32:16 +02:00
WandererFan
7c009c6def Add Mod/TechDraw/Gui 2016-07-11 15:32:16 +02:00
WandererFan
189839e93d Add Mod/TechDraw/App 2016-07-11 15:32:16 +02:00
WandererFan
96ba139f70 Add /Mod/Measure for TechDraw 2016-07-11 15:32:16 +02:00
Bernd Hahnebach
40a9403eef FEM: material references, select solid by one click on a vertex 2016-07-11 15:27:20 +02:00
Bernd Hahnebach
251a8d4bac FEM: trailing whitespaces 2016-07-11 15:27:20 +02:00
Yorik van Havre
bcb99fb363 Arch: Fixed transparency-related display issues 2016-07-09 14:01:35 -03:00
Yorik van Havre
223725ca82 Temporary workaround for the fractions issue in new imperial unit schema (using + between inches and fractions) 2016-07-09 14:01:07 -03:00
Yorik van Havre
79ddfd1bcf Arch: fixed aggregation bug in IFC export 2016-07-08 11:09:57 -03:00
Yorik van Havre
a8c95189fc Path: added addObject & removeObject python methods to FeatureCompound - fixes #2607 2016-07-07 19:49:00 -03:00
Mateusz Skowroński
d9b7a5fbbf Use byteCount() instead of obsolete numBytes().
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński
2c79424f81 Fix includes to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński
8b2f435c04 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński
873f8e3ea7 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-07 15:07:38 -03:00
Jonathan Wiedemann
336f8ada5e add "return" in libraries checking 2016-07-07 15:03:09 -03:00
Jonathan Wiedemann
34d8680d8c fix json error 2016-07-07 15:03:09 -03:00
Yorik van Havre
43e0834fb4 Part: Enabled per-face transparency 2016-07-07 12:46:25 -03:00
Yorik van Havre
aadf63eecf Arch: Fixed bugs in IFC export 2016-07-07 11:54:18 -03:00
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
wwmayer
711213d58e Merge pull request #170 from f3nix/gcc-warnings-2
Fix some GCC warnings.
2016-05-20 22:23:36 +02:00
sgrogan
37c27346d5 add AppFemExport to FemPostFunctionProvider 2016-05-20 09:53:53 -04:00
DeepSOIC
b13e6924e4 Part: make primitives attachable 2016-05-20 00:11:16 +03:00
DeepSOIC
c929739a7b Draft: patch attachable objects + make clones attachable
Pathcing: add calls to positionBySupport on recomputes of features built on Part2DObjectPython.
Clone: make it attachable, regardless of source object type
2016-05-20 00:11:16 +03:00
DeepSOIC
b4102fc3da Attacher: fix defaulting to 3D of AttachableObject 2016-05-20 00:11:16 +03:00
Mateusz Skowroński
f1077748fa Fix some GCC warnings. 2016-05-19 22:22:12 +02:00
Stefan Tröger
4d8f338b8d PartDesign: Implement voted tool ordering 2016-05-18 23:54:59 +02:00
Stefan Tröger
83ce80f133 fixes #0002512 Allow multi-face part design tools 2016-05-18 23:54:18 +02:00
Stefan Tröger
4f8973fe8e PartDesign: Fix loft preview 2016-05-18 23:54:03 +02:00
Stefan Tröger
c5ca99658b PartDesign: Fix pipe preview display
When a base feature was available the preview mode did not show the pipe and also set the visibility of the pipe to false
2016-05-18 23:53:49 +02:00
Stefan Tröger
62f563938b PartDesign: Handle pipe external references 2016-05-18 23:53:33 +02:00
wmayer
28d762f845 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-05-18 23:44:59 +02:00
wmayer
c81aca0902 + unify method names 2016-05-18 23:43:58 +02:00
DeepSOIC
554d3736f9 Attacher: add command to Part workbench menu
+ add an icon to attachment editor
2016-05-18 23:06:04 +02:00
DeepSOIC
7f5197695d Attacher: add general purpose editor UI (python)
Added as PartGui.AttachmentEditor, and Part_EditAttachment gui command
2016-05-18 23:05:51 +02:00
Yorik van Havre
e6dd3488ff
removed translation from property descriptions (wrong to do it there anyway) - issue #2524 2016-05-18 16:59:15 -03:00
Stefan Tröger
836d5b1525 FEM Post: Fix rebase errors 2016-05-18 21:35:15 +02:00
Stefan Tröger
4c9d4e1fdc FEM Post: fix vtk include wthout guard 2016-05-18 21:35:15 +02:00
Stefan Tröger
95d1e8244f FEM Post: Handle wireframe with internal wires 2016-05-18 21:35:15 +02:00
Stefan Tröger
945aee1d1c FEM Post: integrate FreeCAD color system 2016-05-18 21:35:15 +02:00
Stefan Tröger
875e32607d FEM Post: import VTK types only when possible 2016-05-18 21:35:15 +02:00
Stefan Tröger
48ada2359f FEM Post: Add missing property files 2016-05-18 21:35:15 +02:00
Stefan Tröger
9c61e2f386 FEM Post: Fix cutter error and "remove crashs" 2016-05-18 21:35:15 +02:00
Stefan Tröger
dd72ea6ab0 FEM Post: Clean up work 2016-05-18 21:35:15 +02:00
Stefan Tröger
defecae339 FEM Post: Fix and extend file handling
-Fix crash on saving due to bad result to pipeline transfer
-fix vtk smart pointer usage
-support more file types(new vtk xml formats)
2016-05-18 21:35:15 +02:00
Stefan Tröger
c2df92cd76 FEM Post: FreeCADify the vtk post processing
- Data property for saving/loading vtk data
- Use FreeCAD recompute system instead of vtk pipeline
2016-05-18 21:35:15 +02:00
Stefan Tröger
427ded23d5 FEM Post: Add icons 2016-05-18 21:35:15 +02:00
Stefan Tröger
4441e4ed5d FEM Post: Fix crash due to wrong initalisation 2016-05-18 21:35:15 +02:00
Stefan Tröger
53a5297de7 FEM Post: Update function manipulators
Update includes view and transformation handling
2016-05-18 21:35:15 +02:00
Stefan Tröger
afdc3da1af FEM Post: Fix crash on gui dialog only 2016-05-18 21:35:15 +02:00
Stefan Tröger
acf3d67390 FEM Post: Add icons for fem post processing 2016-05-18 21:35:15 +02:00
Stefan Tröger
cd9e827d24 FEM Post: Add cut filter 2016-05-18 21:35:15 +02:00
Stefan Tröger
d0e371b3e1 FEM Post: Add warp vector filter 2016-05-18 21:35:15 +02:00
Stefan Tröger
2f9e70af09 FEM Post: Command for creation of post pipeline from result 2016-05-18 21:35:15 +02:00
Stefan Tröger
51f2a0efc6 FEM Post: Detail filter infrastructure 2016-05-18 21:35:15 +02:00
Stefan Tröger
2b9e608501 FEM Post: Basic implementation of filter framework 2016-05-18 21:35:15 +02:00
Stefan Tröger
4d09c09dc0 FEM Post: Move post processing to fem objects 2016-05-18 21:35:15 +02:00
Yorik van Havre
39967262e4 Draft/Arch: cleanup of startup scripts 2016-05-18 16:01:38 -03:00
Yorik van Havre
21ba33df01 Draft: Allow to scale imported DXF files - fixes #2557 2016-05-18 14:32:33 -03:00
Jonathan Wiedemann
149a5a19db Merge branch 'master' into translation-fix 2016-05-18 18:21:33 +02:00
Jonathan Wiedemann
0f88536d42 add decode utf8 importWebGL.py 2016-05-18 17:25:54 +02:00
Jonathan Wiedemann
9ef4a2e21b add decode utf8 PathMachine.py 2016-05-18 17:20:29 +02:00
Jonathan Wiedemann
71606352ee add decode utf8 importOBJ.py 2016-05-18 15:31:10 +02:00
Kurt Kremitzki
205cf94594 Fix "construcion" typo 2016-05-18 11:34:32 +02:00
Bernd Hahnebach
9db47b5941 FEM: fix title in FemTools module 2016-05-16 20:46:53 +02:00
Bernd Hahnebach
e414f9aa81 FEM: Z88: fix cmake for install files 2016-05-16 18:46:34 +02:00
Bernd Hahnebach
11b31eba09 FEM: Z88: add preference to set z88r binary path 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
ab06fdc2a5 FEM: Z88: add module z88DispReader.py 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
b4630ba45d FEM: Z88: support for analysis with solver Z88 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
d96ead53f6 FEM: Z88: add import and export of Z88 meshes 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
004f757ab7 FEM: some renameing for multiple solver:
- module names vs multiple solver
- stick with python command class names in Fem
- rename commands for new objects from _CommandFemSomeObjName to _CommandSomeObjName
- rename commands for do something to _CommandDoSomething
- change tool names to have a consistent naming in all FEM for menue tools and tool tipps
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
676b73f3b5 FEM: split ccxInpWriter in new modules FemInputWriter and FemInputWriterCcx 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
610b4b2bba FEM: add module FemToolsCcx.py and make use of it
- move construktor from FemTools to FemToolsCcx
- FemComands and his childs, use the new FemToolsCcx class instead of super class FemTools
- TestFem, use new FemToolsCcx class instead of supper class FemTools
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
2a6a57c5b6 FEM: ccxInpWriter, write vertex loads the same way like edge loads and face loads 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
932679438a FEM: add module FemMeshTools and move methods in there 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
abdec1b6fd FEM: fix unit test after small changes in writeAbaqus 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
4bef49bb51 FEM: improvements in Abaqus (CalculiX) FEM mesh im- and export:
- add hexa8, hex20, penta6, penta15, quad4, quad8 to writeAbaqus in FemMesh
- make node order in ccxFrdReader and writeAbaqus fitting each other
2016-05-16 13:22:54 +02:00
wmayer
c60da6c6e9 + fix build failure of Robot module when using occ 2016-05-15 21:01:44 +02:00
wmayer
9316a1511a + fix index error using occ matrix class 2016-05-15 16:12:24 +02:00
David Pello
5f0073b9e0 BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00
blobfish
b5dfc41759 Part: Check Geometry: see following
adding parallel mode for bopargcheck. didn't help speed.
    add time to bopalgo check
    entry for stopOnFirstFaulty. didn't help speed.
    adding new bopalgochecks
2016-05-15 00:06:22 +02:00
DeepSOIC
c922507f2f Attacher: Py: fix crash on FreeCAD startup 2016-05-14 23:10:38 +03:00
wwmayer
6eb173a54b Merge pull request #159 from DeepSOIC/Attacher16
Attacher16 - fixes, and Py interface
2016-05-14 18:23:27 +02:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
DeepSOIC
71f70eb855 AttachEngine: fix crash when referenced objects get deleted
... by verifying if the pointers equal to objects contained in all open
documents. Not terribly good, but I can't think of a situation where
doing this search might cause trouble.
2016-05-14 02:14:51 +03:00
DeepSOIC
2d8a7614c5 Attacher: Py: fix docu strings 2016-05-14 00:50:30 +03:00
DeepSOIC
98a472b18d Attacher: Py: renames
AttachEngine attributes and methods:
getShapeType -> getRefTypeOfShape
isShapeOfType -> isFittingRefType
downgradeType -> downgradeRefType
getTypeRank -> deleted (rank exposed through getRefTypeInfo )
getTypeInfo -> getRefTypeInfo
suggestMapModes -> suggestModes
2016-05-13 19:54:44 +03:00
DeepSOIC
632cf142fe Attacher: Py: add GUI strings to getModeInfo and getTypeInfo 2016-05-13 19:54:44 +03:00
DeepSOIC
76c0a81fe3 Attacher: Py: GUI resources interface
Routines to get UI strings for attacher: mode names, mode tooltips,
ref.type names
2016-05-13 19:54:44 +03:00
DeepSOIC
8b4f1210ed Attacher: Py: extend AttachEngine's interface
* add constructor

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

methods:
* getShapeType
* isShapeOfType
* downgradeType
* getTypeRank
* copy
* calculateAttachedPlacement
* suggestMapModes
* readParametersFromFeature
* writeParametersToFeature
2016-05-13 19:54:44 +03:00
DeepSOIC
dcc8926236 Attacher: Py: implement Attacher attribute of AttachableObject 2016-05-13 19:54:44 +03:00
DeepSOIC
7000d551b7 Attacher: Py: create AttachEnginePy
Not very useful at the moment, just created the interface.
2016-05-13 19:54:44 +03:00
DeepSOIC
d4f1ef2f7a Attacher: Py: add interface for changing attacher type
Plus a mechanism to remember attacher type of AttachableObject through
save-restore cycle.
2016-05-13 19:54:44 +03:00
DeepSOIC
fe295b701b Attacher: Py: introduce Py interface of AttachableObject
Small - just the introduction.
Support for Py features based on AttachableObject.
Redirect Part2DObjectPython's father to be AttachableObjectPython.
2016-05-13 19:54:44 +03:00
DeepSOIC
897a66cbb7 Attacher: Py: withdraw positionBySupport from Part2DObject
to be reintroduced later in AttachableObjet Py interface
2016-05-13 19:54:44 +03:00
DeepSOIC
162378220d Attacher: preparations for Py interface of shape type system
+ add getModeByName to AttachEngine
2016-05-13 19:54:44 +03:00
DeepSOIC
53bd9b674b Attacher: fix wrong inertial calculation on solids
was using surface calculation instead of volume...
2016-05-13 19:54:44 +03:00
DeepSOIC
6ffa0c9b37 Attacher: initialize member variables
They got garbage values on creation, as was revealed when testing Py
interface.
2016-05-13 19:54:44 +03:00
DeepSOIC
d21995323e Attacher: change Part2DObject to use Plane attacher by default 2016-05-13 19:54:44 +03:00
DeepSOIC
a41c79cd55 Attacher: AttachableObject should have virtual destructor 2016-05-13 19:54:44 +03:00
DeepSOIC
00d8537b66 Part: duplicate include cleanup
no functional changes
2016-05-13 19:54:44 +03:00