Commit Graph

6002 Commits

Author SHA1 Message Date
wmayer
070198ecf2 + fix gcc build failure 2015-04-25 10:21:32 +02:00
Ian Rees
f1b75dbe29 Refactored PropertyEnumeration 2015-04-24 23:33:33 +02:00
wmayer
67c4dcdf70 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-24 21:46:19 +02:00
wmayer
2a3edfcd84 + FEM: Add icon to command 2015-04-24 21:45:34 +02:00
Yorik van Havre
c692d6e136 Arch: IFC importer can now recreate extrusions
By enabling the setting in IFC preferences, the IFC
importer can now detect if an input shape is a normal
extrusion, and create the object as a Part::Extrusion.
2015-04-24 16:30:38 -03:00
Yorik van Havre
9967bbe297 Drawing: Symbols can now contain editable texts 2015-04-23 23:13:58 -03:00
wmayer
4db69850fb + FEM: reimplement function to create FEM mesh from shape 2015-04-23 23:36:05 +02:00
wmayer
ec96217335 + FEM: cleanup of unused dialog 2015-04-23 23:11:47 +02:00
Przemo Firszt
7ec585ec18 FEM: Change Start Calculations shortcut to S, C
Suggested by wmayer

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:05 +02:00
Przemo Firszt
56bf10afef FEM: Replace duplicated code with print_mat_data function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:04 +02:00
Przemo Firszt
8de8b991a5 FEM: Replace deprecated has_key with in
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:04 +02:00
Przemo Firszt
135cfbd80f FEM: Remove unused local variable
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:03 +02:00
Przemo Firszt
157a1d8e77 FEM: Fix spaces around =/+/: and brackets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:03 +02:00
Przemo Firszt
5a1249dc3b FEM: Fix white space errors
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:02 +02:00
Przemo Firszt
6bfd683dcf FEM: Clean unused imports in MechanicalMaterial.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:02 +02:00
Przemo Firszt
1ff82e48c6 FEM: Fix copyright date
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:01 +02:00
Przemo Firszt
0f9bcc2f84 FEM: Replace deprecated backticks with repr
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:01 +02:00
Przemo Firszt
7b01cd6832 FEM: Replace "!=" with "is not" when comparing to None
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:00 +02:00
Przemo Firszt
7030aa7482 FEM: Fix white space errors
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:00 +02:00
Przemo Firszt
835228ef34 FEM: Fix spaces around =/+/: and brackets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:59 +02:00
Przemo Firszt
40e8f5b020 FEM: Clean unused imports
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:58 +02:00
Przemo Firszt
3b46c4e94a FEM: Fix copyright date
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:57 +02:00
Przemo Firszt
1af11d9db7 FEM: Rename OutStr to more descriptive fem_console_message
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:57 +02:00
Przemo Firszt
b149ba0288 FEM: Make CalculiX execute error message red
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:56 +02:00
Yorik van Havre
fbbc9e21a9 Draft: Improved behaviour of Clone tool when dealing with Arch objects 2015-04-08 21:00:43 -03:00
Yorik van Havre
5d0bc520b9 Gui: Added entry to Selection View's context menu, to use selected objects in the python console 2015-04-08 14:08:14 -03:00
Yorik van Havre
892b7ae509 Arch: Misc improvements for IFC workflow
* Added utility to make non-parametric Arch component
* Ability for all Arch components to be a clone of another Arch component of same type
* Modified the Draft Clone tool to produce Arch Clones if applicable
* Fixed Arch Roofs so they can be based on a solid shape like other Arch objects
* Ability to change the Root element to be imported in IFC preferences
* Ability to import IFC files also as compounds, Part shapes or non-parametric Arch objects
* Added an "only" parameter to importIFC.open() to import only a certain object ID.
* Ability to read colors (IfcSurfaceStyle) from IFC objects
2015-04-08 12:34:48 -03:00
DeepSOIC
694b0339fd GestureNav: bug fix (tilting) + kill messagebox
Fixed a bug where starting tilting with LMB+RMB with LMB in sketcher
caused odd behavior.
No more messagebox upon hitting H key when the cursor is over nothing
(replaced with a warning). The messagebox was very annoying when trying
to hunt a point with touch input.
2015-04-07 00:57:24 +03:00
DeepSOIC
8ba5f73c1a GestureNav: bug fix (gesture lockup in sketcher)
Navigation by gestures didn't work after double-clicking a constraint in
sketcher to edit a value. This was probably caused by the last mouse
button release event not reaching the viewer.
2015-04-07 00:57:23 +03:00
DeepSOIC
963b993abc Gestures: fix running on win XP
Potential fix, by dynamically linking SetGestureConfig
2015-04-07 00:57:22 +03:00
wmayer
176f3e6057 + use correct function to get resource directory 2015-04-05 18:30:35 +02:00
wmayer
960be3c809 + fix memory leak in toBiArcs 2015-04-05 17:19:04 +02:00
wmayer
79de781304 + remove leftover 2015-04-05 16:50:58 +02:00
wmayer
1d1e71b52f + integrate biarcs algorithm 2015-04-05 14:10:03 +02:00
wmayer
d3af1ea85a + fix compiler warning 2015-04-04 14:09:00 +02:00
wmayer
453eb18abb + start external editor without blocking GUI 2015-04-03 17:55:51 +02:00
Przemo Firszt
d13c279d5a FEM: Add preferences dialog
This patch add FEM preferrences dialog. There is currently only
one option to define if internal or external editor should be used to
open CalculiX input .inp files. Disabling internal editor allows to
define path to external editor.

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

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

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

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

    Minor fixes to Mac application bundle creation

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

    Report error if no OpenCasCADe found

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

    Detects OCE automatically on Homebrew and MacPorts

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

    Find PySide and Shiboken automagically on MacPorts

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

    Finds the Python include dir and library on OSX

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

    Detects Python executable in MacPorts or Homebrew

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

    Missing correct Python lib is error on cmake-ing

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

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

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

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

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

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

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

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

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

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

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

cleanup

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

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

Sketcher Ellipse: porting internal align-t to DeriVector2

Sketcher Ellipse: small math refactor; const members

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

Sketcher Ellipse: porting arc angle rules to DeriVector2

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

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

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

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

OpticConstraints: SnellsLaw progress

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

OpticConstraints: SnellsLaw: flipping logic fix

OpticConstraints: SnellsLaw progress

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

OpticConstraints: SnellsLaw

OpticConstraints: SnellsLaw: list label improvement

OpticConstraints: SnellsLaw: fix after rebase

OpticConstraints: SnellsLaw: expose helper constraints

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

OpticConstraints: SnellsLaw: small refactor of math

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

OpticConstraints: SnellsLaw: fix datum edit unit

OpticConstraints: SnellsLaw: fix datum edit bug

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

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

AngleViaPoint: using it instead of via line tangency

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

AngleViaPoint: internal/external tangency locking

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

AngleViaPoint: added license to Geo.cpp

AngleViaPoint: renames in Constraints.cpp/.h

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

AngleViaPoint: renames in Constraints.cpp/.h

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

AngleViaPoint: using for endpoint perpendicularity

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

AngleViaPoint: perp-ty UI routine made similar to tangent

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

AngleViaPoint: placement of perpendicular icon in 3d view

AngleViaPoint: fix: allow setDatum of perpendicular constraint

AngleViaPoint: fix: centers of ellipses are not endpoints

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

AngleViaPoint: precalc with OCC (work in progress)

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

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

AngleViaPoint: adding comments to the code

AngleViaPoint: using GeomCurve::closestParameterToBasicCurve for angle precalculation

AngleViaPoint: Py method: changeConstraintsLocking

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

AngleViaPoint: final SketchObject::calculateAngleViaPoint

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

Sketcher: New Constraint AngleViaPoint

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

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

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

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

Part Curve functions extension: closestParameterToBasicCurve

It provides the parameter of the curve closest to a given point. If the curve is a Trimmed curve, the parameter of the basic underlaying curve closest to the point is provided.
2015-01-02 11:48:28 +01:00
Sebastian Hoogen
a8dd528c1a Build python Qt resource files at compile time
fixes #1888
2015-01-02 11:14:07 +01:00
Yorik van Havre
f3af41e4cc Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-01 19:06:26 -02:00
Yorik van Havre
051b38b1c1 Arch: temporarily disabled custom subvolume in windows 2015-01-01 19:06:11 -02:00
Yorik van Havre
60b648b053 Arch: Equipments now take the diffuse color of their base object on creation 2015-01-01 19:06:00 -02:00
wmayer
f545455466 + fixes #0001889: Crash when undoing move of base object of a part fillet 2015-01-01 21:05:19 +01:00
Yorik van Havre
2680395ede Draft: adapt icon sizes from preferences settings - fixes #1783 2014-12-31 21:23:24 -02:00
Yorik van Havre
845849fa91 Arch: implemented reading & writing of Ifc properties in IFC files 2014-12-31 18:35:39 -02:00
Yorik van Havre
244373779d Arch: Fixed IFC import bug - fixes #1887 2014-12-31 15:21:41 -02:00
Yorik van Havre
3f607d73a4 Arch: Fixed Arch example - fixes #1789 2014-12-31 14:42:22 -02:00
Yorik van Havre
cb5a807990 Arch: Added a MoveWithHost property to all Arch objects which specifies if they must be moved/rotated together with their parent - fixes #1820 2014-12-31 14:04:23 -02:00
Yorik van Havre
1f9ecfa509 Draft: Better error messages when trying to convert a bspline to a sketch 2014-12-31 13:17:25 -02:00
wmayer
ca5062cbfe + fixes #0001885: Unhandled exception when trying to enter edit-mode for objects while drawing view is active 2014-12-31 14:08:03 +01:00
wmayer
4d618955b3 + fixes #0001884: Crash when double-clicking on Clip element with drawing page closed 2014-12-31 13:15:33 +01:00
wmayer
b2f8a4ed2a + fixes #0001723: Display errormessage in tree in tooltip 2014-12-30 22:44:29 +01:00
wmayer
2c53bd1e9a + fixes #0001670: Orthographic projection: scale/position is empty when unchecking 'Auto scale/position' 2014-12-30 19:14:07 +01:00
wmayer
c231866b8d + fixes #0001746: Part Fillet and Chamfer do not show correct length/radius when editing old items 2014-12-30 17:20:32 +01:00
wmayer
ff09f0524d + fixes #0001656: Vertical/horizontal distance constraint confuses for a line or two points 2014-12-30 15:20:29 +01:00
wmayer
fba0ef0671 + fixes #0001657: Sketcher: First digit can not be deleted when editing grid size 2014-12-30 14:18:02 +01:00
wmayer
7aa91ecee3 + fixes #0001760: FC fails to load a *.FCStd file if the filename lacks the *.FCStd file extension 2014-12-30 00:31:39 +01:00
wmayer
72f947433c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-12-29 22:28:52 +01:00
wmayer
f51daa88e0 + fixes #0001819: Getter Methods for Data inside a sketch 2014-12-29 22:28:12 +01:00
Yorik van Havre
2f78c021db Arch: Fixed encodings in Survey - fixes #1825 2014-12-29 18:54:33 -02:00
Yorik van Havre
638fa8ba75 Draft: Changed working plane button text to Auto - fixes #1879 2014-12-29 17:54:04 -02:00
wmayer
84aad261fc + fixes #0001876: replace helpful text in task tab with an info button 2014-12-29 18:49:17 +01:00
wmayer
d83c02387c + fix constraint evaluation function 2014-12-29 15:17:04 +01:00
Peter Lama
32dd867a30 Fix duplicate 'optimized' when using new libpack
When using a CLbundler libpack, PYTHON_LIBRARY has both optimized and debug
libs, but it doesn't when using an old libpack, which was the reason for
commit f5a4e680
2014-12-28 19:04:31 -08:00
wmayer
6a1cb47e30 + fixes #0001616: crash when selecting 'Edit Sketch' 2014-12-29 01:13:03 +01:00
wmayer
51c017ae24 + fixes #0001877: associate a grayed out icon with Freecad's backup files (fcstd1) 2014-12-28 23:54:08 +01:00
wmayer
e329cb5c3a + fixes #0001878: model refine exception 2014-12-28 18:10:02 +01:00
wmayer
7d8b1f30c3 + fixes #0001720: Freecad crash when handling invalid sketches 2014-12-28 17:10:54 +01:00
wmayer
6a211b9dbe + fixes #0001060: Editing sketch crashes FreeCAD 2014-12-27 22:47:21 +01:00
wmayer
16a8965038 + do not long apply changes in mesh settings on existing mesh objects 2014-12-27 18:32:18 +01:00
wmayer
7149cce90f + fixes #0000957: Sketch view problem when go to edit 2014-12-27 17:50:37 +01:00
wmayer
b172e069a1 + fix conversion from Qi image to Inventor when image uses a color table 2014-12-27 13:51:36 +01:00
wmayer
6a9252744d + fixes #0000976: Usability: default Material drop-down is not the active material type 2014-12-27 00:56:46 +01:00
wmayer
93e5668967 + make undo/redo accessible from drawing view 2014-12-26 22:46:02 +01:00
wmayer
9290274e1c + fixes #0000711: fileted borders not projected on 2D drawing + deleted views still showing 2014-12-26 22:24:45 +01:00
wmayer
d060cdf400 + revert changes for issue 1873 2014-12-26 00:08:26 +01:00
wmayer
272cb566e9 + fix minor issue in toggle construction command 2014-12-25 23:13:01 +01:00
wmayer
29d50dbc01 + improve whitespace 2014-12-25 23:10:42 +01:00
wmayer
e8802adcbe + fixes #0001838: When In Sketcher Make It Difficult To Mistakenly Delete A Feature 2014-12-25 22:43:09 +01:00
wmayer
a6b8bd6815 + improve whitespace, fix warnings 2014-12-25 09:48:23 +01:00
wmayer
33bc596fd8 + fixes #0001873: Error working with getSelectionEx()[0].SubObjects 2014-12-23 22:04:34 +01:00
Yorik van Havre
11a4025c4b Arch: Fixed Ifc explorer to work with recent ifcopenshell 2014-12-23 17:34:56 -02:00
Sebastian Hoogen
d0126061c8 DRAWEXE export: minor bugfix 2014-12-23 15:58:17 +01:00
Sebastian Hoogen
ca3ad00da8 SVG export: minor improvements and bugfixes
export Names as "id" attributes and Lables to "title" elements.
avoid duplicate path names in SVG export
handle faces with holes in SVG export
sort the edges in given wires using fixWire()
2014-12-23 15:57:57 +01:00
wmayer
2db457b74a Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-12-23 15:32:37 +01:00
wmayer
3fa8a1ed2b + fixes #0001874: Scripted constraints not evaluated correctly 2014-12-23 15:32:03 +01:00
Yorik van Havre
da5504eebb Draft: Fixed autoconversion of bsplines to circles in DXF export 2014-12-23 12:13:25 -02:00
wmayer
c918ef7e40 + fix whitespaces in Python module 2014-12-22 12:54:09 +01:00
wmayer
491ea2b52a + use QApplication instead of qApp 2014-12-22 12:30:44 +01:00
wmayer
a5bbabdc3e Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-12-22 03:07:53 +01:00
wmayer
5aefd2d346 + fixes #0001859: Unable to select PNG files for icons for macros in Tools-Customize 2014-12-22 03:07:26 +01:00
wmayer
366e974b7f + fixes #0001864: Support Command-D and Command-. on Mac OSX 2014-12-21 14:56:56 +01:00
wmayer
02cc02eaee + fix build failure 2014-12-21 11:21:32 +01:00
Abdullah Tahiri
75377ebfd3 Part Module New Feature: Hyperbola & ArcOfHyperbola
- Completed Hyperbola c++ implementation and python wrapper
- Created ArOfHyperbola c++ and python wrapper implementation
2014-12-21 00:54:07 +01:00
Abdullah Tahiri
6997cc9991 Part Module New Feature: Parabola & ArcOfParabola
- Completed Parabola c++ implementation and python wrapper implementation
- Created ArOfParabola c++ and python wrapper implementation
2014-12-21 00:51:24 +01:00
Michael Georg Hansen
8effb87566 Prevent pages and views from being put into the drawing sheet. 2014-12-20 22:18:43 +01:00
Michael Georg Hansen
ec4ed868b6 Remove leftover debug output and use named parameters. 2014-12-20 22:18:22 +01:00
Michael Georg Hansen
fe1d67fd65 Simplify access to projection properties.
Directly access the properties where possible.
2014-12-20 22:17:46 +01:00
Michael Georg Hansen
1816f88575 Reuse projection settings from an existing view when creating new draft views.
Select a draft object and a view on a drawing page, then the view created for
the draft object will have the same projection settings as the selected view.
2014-12-20 22:17:08 +01:00
Michael Georg Hansen
ef24aaa3ce Reuse projection settings from an existing view when creating new part views.
Select a part and a view on a drawing page, then the view created for the part
will have the same projection settings as the selected view.
2014-12-20 22:16:41 +01:00
wmayer
6af1186d27 + remove Makefile.am, remove some leftovers, avoid including unneeded headers in GCS.cpp 2014-12-20 14:06:54 +01:00
wmayer
d486f3351d + fix pow() ambiguity 2014-12-20 14:01:23 +01:00
Abdullah Tahiri
501c40f0e6 Sketcher: Ellipse implementation enhancements
- ArcOfEllipse enhancement: Tangency ArcOfEllipse to ArcOfEllipse or ArcOfCircle by selecting end/starting points...
- Minor bug corrections (Thanks DeepSOIC)
- ExposeInternalGeometry python command
- DeleteUnusedInternalGeometry python command
- On deletion of an Ellipse/ArcOfEllipse all further unconstrained internal geometry is also deleted.
- This cleans up the code by eliminating code repetition in the creation methods.
- Major bug fix for autoconstraints for ellipse and arc of ellipse creation (for both creation methods)
- Major bug fix Start and Endpoint constraints of an arc of ellipse where not taking into account that Sketcher arcs are always CCW, so they have to be exchanged if we convert a CW arc into a CCW arc.

Sketcher: General bug fix: Tangency wrongly suggested

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

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

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

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

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

(cherry picked from commit 5c3e20af1a95c860112289dcdda54ea99778bc3a)

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

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

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

III. Code clean up

Remove redundant 3d vectors.

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

Artist: We need an icon for periapsis, apoapsis, minor radius method.
(cherry picked from commit f0a4339621b0bf901754af14c3cd36c95ca55966)
2014-12-20 12:33:35 +01:00
Abdullah Tahiri
901bbbed57 Sketcher: Various Ellipse enhancements
- Autoconstraints for Ellipse
- Conversion of a Part.Arc of an Ellipse to Sketcher.
2014-12-20 12:33:34 +01:00
Sebastian Hoogen
dc5c64703a support for ellipses and elliptical arcs in flattened SVG output
(cherry picked from commit 59eabdbcb043f3d462c3e9ed0ba21cfe65b7aae6)
2014-12-20 12:33:34 +01:00
Abdullah Tahiri
f5df65c4c4 Sketcher: Ellipse enhancement: All internal geometry is shown on creation
Elements that have internal geometry are created with the internal geometry on creation.

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

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

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

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

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

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

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

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

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

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

At least sometimes tt is a SoRayPickAction because:

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

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

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

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

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

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

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

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

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

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

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

use rounded floats if they safe digits

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

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

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

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

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

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

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

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

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

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

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

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

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

    TODO: Art+Toolbar

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

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

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

    Implemented SHIFT multiple selection functionality in listwidget.

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

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

    Main TODO: Shortcuts and Shift in list widget implementation

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

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

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

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

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

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

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

    New alternative implementation of the Sketch Element List.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    New widget for the Taskbar of the Sketcher WB.

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

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

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

    Refactoring and small fix in constraint icon bounding boxes

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

    Implemented picking of individual constraints from combined icons

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

    Added bounding boxes for combined constraint icons

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

    Added screenCoordsOfPath() to View3DInventorViewer

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

    Bit of code to make constraint icon text rendering nicer.

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

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

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

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

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

    Fixed a bug that was introduced two commits ago.

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

    Fixed dumb copy-and-paste error

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

    Fixed crash reported by sponssi

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

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

    Cleaning up my git repo for FreeCAD.

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

    Adding missing file RegularPolygon.py

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

    Replaced sketcher implementation of RegularPolygons with a Python script version.
2014-07-29 17:26:28 +02:00
Ian Rees
c10ddae02f Bugs in mouse panning when viewport is "portrait" orientation 2014-07-29 12:58:39 +02:00
wmayer
290bc13c74 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-29 11:37:32 +02:00
wmayer
c54311123b + Add method getEditorMode() to see if a property is hidden or read-only in the property editor 2014-07-29 11:36:42 +02:00
Yorik van Havre
19135f9586 Draft: small bug fix in DXF importer 2014-07-28 19:47:40 -03:00
wmayer
dc7ccc41af + remove crude workaround as this seems to work now 2014-07-28 18:43:11 +02:00
wmayer
2e6c54eedf + improve the plane fit from REEN module 2014-07-28 16:39:34 +02:00
Ian Rees
1a2fe206ca Turned off HIDE_UNDOC_RELATIONS in Doxygen 2014-07-28 17:15:55 +12:00
wmayer
a1da4bb4fb + fixes #0001619: Python script generating 3D model works in V0.13, error in V0.14 2014-07-27 14:08:31 +02:00
wmayer
d163316e63 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-27 11:00:36 +02:00
Johan K
7fadaa0a55 Added more regular polygons to the sketcher gui 2014-07-27 00:25:40 +02:00
Johan K
4528b31d6e Added more regular polygons to the sketcher gui 2014-07-27 00:08:49 +02:00
Yorik van Havre
d5469ba3fc Arch: misc bugfixes 2014-07-26 16:37:06 -03:00
wmayer
6b1e6a66ad + Make destructor virtual for classes with virtual methods (based on DevJohan's patch) 2014-07-26 19:17:12 +02:00
wmayer
4dee80f4e1 + support to create faces from vertices with shape builder 2014-07-25 13:35:10 +02:00
wmayer
f0eb27f710 + let user decide to use equality constraint or independent radii 2014-07-24 19:09:41 +02:00
wmayer
996af8d808 + fixes #0001633: Allow adding radius constraints to several circles at once. 2014-07-24 13:32:47 +02:00
Sebastian Hoogen
65793d22e8 recognize OCCT -dev and -beta versions
as such in version string
2014-07-24 10:31:50 +02:00
Sebastian Hoogen
3859963b44 fix to placement problem in exportCSG.py 2014-07-24 10:31:50 +02:00
wmayer
ecbda2772e + fixes #0001628: Fixed A4 Drawing Template 2014-07-23 13:56:16 +02:00
wmayer
841b4fab1b + fixes #0001630: IGES-Export in [mm] turns to [Inches] 2014-07-23 13:49:16 +02:00
wmayer
dfea0206ca + fix doc string 2014-07-22 14:49:25 +02:00
wmayer
c693916fb1 + support units in hole panel 2014-07-22 14:47:37 +02:00
wmayer
cb5e72974c + support units in hole panel 2014-07-22 14:47:09 +02:00
wmayer
57cdb8aed5 + support units in draft panel 2014-07-22 14:44:20 +02:00
wmayer
3585403ee2 + support units in polar pattern panel 2014-07-22 14:39:23 +02:00
wmayer
67b85ff8c3 + support units in revolve panel 2014-07-22 14:30:30 +02:00
wmayer
4b644b2821 + support units in groove panel 2014-07-22 14:23:10 +02:00
wmayer
ea6c5407d9 + support units in pocket panel 2014-07-22 14:13:45 +02:00
wmayer
a5e27444d0 + minor issue solved with message label of linear pattern panel 2014-07-22 11:08:43 +02:00
wmayer
107a7f50dc + fix bug in chamfer/fillet when aborting command 2014-07-22 11:02:45 +02:00
wmayer
d2cbd6817f + fixes 0001563: Add units to Linear Pattern in PartDesign 2014-07-22 10:39:44 +02:00
wmayer
b5b929cf58 + fix focus issue with QuantitySpinBox and InputField 2014-07-21 18:28:46 +02:00
wmayer
5ba337a36d + add QuantitySpinBox to widget plugin 2014-07-21 15:30:38 +02:00
wmayer
2da263ae95 + proper handling of group separator in InputField and QuantitySpinBox 2014-07-21 15:03:45 +02:00
wmayer
81310c906b Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-20 19:15:42 +02:00
wmayer
3fb066c13e + add missing headers 2014-07-20 19:15:10 +02:00
Yorik van Havre
a0bb761d8e Arch: added panel to cmakelist 2014-07-20 13:32:06 -03:00
Yorik van Havre
4414da2256 Arch: Updated preferences page for panels 2014-07-20 13:28:43 -03:00
Yorik van Havre
6c8c69df02 Arch: small fix in panel 2014-07-20 13:19:51 -03:00
Yorik van Havre
14ee127dc7 Arch: Further work on panel 2014-07-20 13:17:36 -03:00
Yorik van Havre
a452e6cf61 Arch: Starting Panel tool 2014-07-20 13:17:36 -03:00
Yorik van Havre
8c7f69d913 Transferred import-export related preference pages to a separate group 2014-07-20 12:58:15 -03:00
wmayer
d403851313 + add QuantitySpinBox 2014-07-20 17:47:09 +02:00
wmayer
86a69f830e Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-20 17:45:54 +02:00
Yorik van Havre
d44e4d324b Arch: moved ifc-related functions to importIFC 2014-07-20 12:00:47 -03:00
Sebastian Hoogen
f7193ca646 Adapt SMESH to new OCCT NCollection templates 2014-07-19 12:26:29 +02:00
Sebastian Hoogen
6843d6ad5d remove TKAdvTools 2014-07-19 12:26:29 +02:00
wmayer
4ae0d4db53 + do not allow negative numbers in fillet and chamfer panel 2014-07-18 15:23:36 +02:00
wmayer
80cc2e4710 + Replace OCC_HEX_VERSION with OCC_VERSION_HEX 2014-07-18 14:51:54 +02:00
wmayer
c4bd838c55 + fix broken copyright notice 2014-07-18 12:40:21 +02:00
Ian Rees
22278b7826 This branch adds a mouse cursor to the 'Measure Distance' tool. 2014-07-18 12:33:57 +02:00
Sebastian Hoogen
a0454af685 remove all references to BRepMesh 2014-07-18 10:43:16 +02:00
Yorik van Havre
eea27448e9 Arch: Fixed bugs when working without GUI 2014-07-17 19:58:22 -03:00
wmayer
0fda229597 + add missing files to install target of Sketcher module 2014-07-17 12:26:52 +02:00
jriegel
f30e86bc4b Integrating Rift Libs in build 2014-07-16 23:08:32 +02:00
wmayer
c6af002ab5 + fixes #0001614: Provide proper Error Message for corrupt xml files 2014-07-16 19:12:19 +02:00
wmayer
a5c8529b53 + use XMLString::release to free memory 2014-07-16 19:11:17 +02:00
wmayer
b316991220 + fix mesh trimming 2014-07-16 18:21:30 +02:00
wmayer
7120279ec0 + fixes #0001617: typo in importCSG.py 2014-07-16 15:11:45 +02:00
wmayer
f4d8b0ff54 + fix mesh triming 2014-07-16 13:57:14 +02:00
Yorik van Havre
7f387eabc1 Arch: General improvements
* Removed roundings in exported objects
* Added toggleIfcBrepFlag command to force export as BREP
* Prepared Arch objects for Materials and custom IFC attributes
* Supported latest developement version of IfcOpenShell
* Cleanup of IFC exporter
* Export of Arch Sites as IfcSite
* Export of Groups as IfcGroup
2014-07-15 15:13:30 -03:00
wmayer
d456cd21f9 + fixes #0001499: Mesh trim loses some triangles 2014-07-15 18:42:42 +02:00
wmayer
b8772df79c + Mesh trim loses some triangles 2014-07-15 13:31:15 +02:00
Ian Rees
172fb583d8 Forgot to add this to the last commit... 2014-07-15 11:41:11 +02:00
Ian Rees
d21d3125e7 Have cmake set doxygen to use dot if it's available.
Also a minor typos
2014-07-15 11:41:10 +02:00
wmayer
a9d1979270 + include missing header file 2014-07-15 10:27:02 +02:00
Yorik van Havre
bd6a5cea8d Bumped version to 0.15 and added a temporary new splash 2014-07-14 20:04:21 -03:00
Yorik van Havre
7a612c66fa Spreadsheet: Added setitem and getitem methods 2014-07-14 19:13:18 -03:00
wmayer
8aec46fbaf + support comparison with double in quantity number protocol 2014-07-14 17:17:41 +02:00
Yorik van Havre
1fd7bd98a4 Draft: Array tool now prints commands in the python console 2014-07-13 12:32:32 -03:00
Sebastian Hoogen
51b3a4c945 importSVG: recognize relative scaling in viewBox attribute 2014-07-13 11:37:36 +02:00
Sebastian Hoogen
7bc3f70b8d remove unused meshing paramters for exportCSG
releated to 382e055e9b
2014-07-13 11:37:35 +02:00
Sebastian Hoogen
c1f5582da8 support for Part::Loft in exportDRAWEXE 2014-07-13 11:37:34 +02:00
Sebastian Hoogen
2b1656e6b0 renable DRAWEXE exporter
This reverts commit 4c48bdf216.
2014-07-13 11:37:34 +02:00
Michael Ang
db54a748b1 automatically find the OpenSCAD binary on Mac OS X 2014-07-13 11:37:33 +02:00
wmayer
af4aa69d35 + fix crash when trying to edit broken revolve object 2014-07-13 11:34:36 +02:00
Jose Luis Cercos-Pita
c90c4e1749 Added spreadsheets to the hydrostatics tool 2014-07-13 11:09:00 +02:00
Jose Luis Cercos-Pita
5f49a00b01 Fixed worng variable 2014-07-13 11:09:00 +02:00
Jose Luis Cercos-Pita
e1b387a104 Changed the spreadsheet label 2014-07-13 11:08:59 +02:00
Jose Luis Cercos-Pita
48afaa5750 Added spreadsheets to the transversal areas tool 2014-07-13 11:08:58 +02:00
Jose Luis Cercos-Pita
3194d478f3 Fixed box generation for small draft values 2014-07-13 11:08:58 +02:00
Jose Luis Cercos-Pita
aa1c957eb9 Fixed bad integer usage 2014-07-13 11:08:57 +02:00
Jose Luis Cercos-Pita
cf01937d1c Added units mangement to the hydrostatics tool 2014-07-13 11:08:56 +02:00
Jose Luis Cercos-Pita
1ab919ef7e Corrected the angle bounds 2014-07-13 11:08:56 +02:00
Jose Luis Cercos-Pita
9a12a16cc4 Added units mangement to the transversal areas tool 2014-07-13 11:08:55 +02:00
Jose Luis Cercos-Pita
39769e887a Added helpers for mass, time and angle units 2014-07-13 11:08:54 +02:00
Jose Luis Cercos-Pita
1ce24c879f Added units mangement to the outline drawing tool 2014-07-13 11:08:53 +02:00
Jose Luis Cercos-Pita
978030a678 Moved to InputField widget in ship creation 2014-07-13 11:08:52 +02:00
wmayer
d7fafdb2b6 + split create/edit sketch command into two commands 2014-07-13 10:17:50 +02:00
wmayer
da708faa5e + support compounds of wires or faces for extrusion with tapered angle 2014-07-12 17:44:33 +02:00
wmayer
4ae29bc2e3 + implement solve() in Python API of SketchObject 2014-07-12 17:13:05 +02:00
wmayer
8f7966ed37 + fix override/restore cursor issue with task panel 2014-07-12 17:00:00 +02:00
wmayer
f91c64aba9 + fix crash when trying to edit broken revolve object 2014-07-12 16:13:13 +02:00
Yorik van Havre
72166ceabe Draft - updated DXF importer
* Updated the importer to v1.38 (several fixes from the Blender branch)
* Enabled export of Bezier curves
2014-07-11 18:34:28 -03:00
Yorik van Havre
cbcbba24d2 Draft: Further fix in text encodings 2014-07-11 17:41:26 -03:00
wmayer
3cfab20586 + simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python 2014-07-11 19:34:14 +02:00
wmayer
750a04d400 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-11 19:28:25 +02:00
wmayer
ec6f6ac128 + simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python 2014-07-11 19:27:48 +02:00
Yorik van Havre
88471d390f Draft - fixed some text encodings in dimensions 2014-07-11 11:54:33 -03:00
Yorik van Havre
8188bd5385 Draft: Fixed escape() bug in Draft GUI 2014-07-07 12:07:53 -03:00
wmayer
5b348b0dcf Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2014-07-07 13:57:17 +02:00
wmayer
0a986ddca6 + give more information when assigning wrong type to quantity property 2014-07-07 13:56:23 +02:00
Yorik van Havre
1be778a53d Spreadsheet: Fix to prevent unwanted characters in spreadsheet cells 2014-07-06 18:50:40 -03:00
wmayer
3d87d88616 + fix Part.makeTube 2014-07-05 15:48:50 +02:00
Yorik van Havre
56ea36d94f updated version number in makedist script 2014-07-04 20:33:08 -03:00
Yorik van Havre
1124a57514 Draft: fix in angular dimension 2014-07-01 22:30:36 -03:00
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
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
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
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
1a7cea9b59 + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
f890d1d1cb Fix precompiled header build error 2014-04-30 13:41:19 +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
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
Yorik van Havre
cd7c1f2307 Arch: Better sticking to standards in IFC import/export 2014-04-21 23:06:44 -03: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