Commit Graph

1449 Commits

Author SHA1 Message Date
wmayer
1051d5f665 pivy: avoid possible segfault when setting None to an SoSFImage field 2019-11-28 15:44:42 +01:00
Zheng, Lei
ef5acc5023 Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
hlg
de0a0c4b92 [Arch] fix invalid IFC export for annotations
* as reported here https://forum.freecadweb.org/viewtopic.php?f=39&t=40466&p=345286
* wrap IfcAxis2Placement3D in IfcLocalPlacement
2019-11-17 13:01:49 -03:00
vocx-fc
009b195258 Arch: test for viewprovider before modifying rebar
Test for the existence of the ViewObject
before calculating interval and placement.

This allows running the TestArch from the command line
without error if there is no interface, that is,
```
freecadcmd -t TestArch
```
2019-11-17 12:57:41 -03:00
wmayer
e0878f2ea6 fix syntax error 2019-11-16 10:41:05 +01:00
Bernd Hahnebach
e28cfc191a Arch, export IFC, do not export attributes with no values 2019-11-15 16:18:55 +01:00
paullee0
f26bd8cea3 [Arch] Test : if Sketch, fuse solid; otherwise, do makeCompound 2019-11-11 17:57:59 -03:00
paullee0
81cb1c6666 [Arch] - To allow exportIFC.py to work properly on sketch, which use only 1st face / wire.
Not fusing baseface in getExtrusionData(); fusing solids execute()

Forum Discussion - Arch Wall - Based on Sketch Issues

https://forum.freecadweb.org/viewtopic.php?f=39&t=31235&p=343444#p343444
2019-11-11 17:57:59 -03:00
Bernd Hahnebach
24ac773b28 Arch: import IFC, add import of layer 2019-11-07 08:04:11 +01:00
Bernd Hahnebach
0e7a705664 Arch: import IFC, fix if imported in non Gui mode 2019-11-07 08:04:09 +01:00
Bernd Hahnebach
c471916c90 Arch: import IFC, fix crash if IfcProject is not found in ifc file 2019-11-04 11:03:30 +01:00
Sören Rohweder
44be21d1ac Arch: Fixes PanelCut action 2019-11-01 17:39:45 -03:00
Yorik van Havre
db5dfccc5d Arch: Allow OfflineRenderingUtils module to run without pivy 2019-11-01 13:49:52 -03:00
Bernd Hahnebach
ca3070247b Arch: import IFC, add guid to non parametric arch import 2019-10-28 18:04:48 +01:00
luz.paz
ab9659eefb Arch: Dice3DS/dom3ds.py LGTM fix
Following recommendations from https://lgtm.com/rules/6770081/
2019-10-25 10:29:15 -03:00
luz.paz
f53ef01d94 Arch: use string operator instead of numeric LGTM fix 2019-10-25 10:23:24 -03:00
luz.paz
4d1b9f8429 Arch: ArchSectionPlane.py LGTM incorrect variable fix [skip ci]
LGTM reported `For loop variable 'objs' is not used in the loop body.`
2019-10-25 10:23:24 -03:00
luz.paz
0f532a8372 Arch: ImportOBJ.py LGTM fixes [skip ci]
Fixes recommended via LGTM report
2019-10-25 10:23:24 -03:00
Yorik van Havre
92d1ff8fbe Arch: Added option to allow import of invalid IFC geometry 2019-10-21 17:00:53 -03:00
luz.paz
30a717beac Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-10-21 16:02:23 -03:00
SurajDadral
d901ed9a29 Fix editing of OffsetStart of rebar object
Problem:
Unable to set OffsetStart value to greater than (size of structure
object along direction of expansion of rebars)/2 for rebar object

Solution:
Drop check if(OffsetStart + OffsetEnd > size)
2019-10-21 15:57:19 -03:00
SurajDadral
2cda516109 Fix editing of single rebar object
Problem:
Unable to set OffsetStart value to greater than (size of structure
object along direction of expansion of rebars)/2 for single rebar object

Solution:
Drop check if(OffsetStart + OffsetEnd > size), when there is only one
rebar object.
2019-10-21 15:57:19 -03:00
carlopav
c128ff999d [Arch] Add Section plane context menu for CutView
Added Section plane context menu to toggle cutview property
2019-10-17 17:37:59 -03:00
dabomian
9d8e9f3f56 obj transparency fix d->Tr and its value/100 2019-10-15 14:11:29 -03:00
paullee0
f7bff20ca6 [Arch] Introduce Refine attribute to Select whether or not and the method to remove splitter
Currently Draft removeSplitter and Part removeSplitter available but may not work on complex sketch

Forum Discussion - https://forum.freecadweb.org/viewtopic.php?f=23&t=38527
2019-10-14 16:49:33 -03:00
Francesco Fantoni
1b212feffb [Arch] suggested feature: add the ability to choose whether an Arch BuildingPart transmits its height value to children 2019-10-14 16:48:07 -03:00
Bernd Hahnebach
b2bc37a609 Arch: IFC import, fix Axis system placement 2019-10-12 21:50:44 +02:00
sgrogan
782ff80382 fix indent 2019-10-10 23:51:41 +02:00
Yorik van Havre
37d84599bb Arch: Fixed tab indents im importOBJ 2019-10-10 10:54:58 -03:00
Jean-Marie Verdun
042d4d9eaa Tweak meshing parameters (lower triangles count) 2019-10-09 09:55:16 -03:00
Jean-Marie Verdun
0dd9164465 Improve Wavefront export by:
- Switching from regular tesselate computation to MeshPart
- Adding Vector Normal output
- Support New assembly placement
2019-10-09 09:55:16 -03:00
Bernd Hahnebach
58b62853c1 Arch: IFC import, better import of small assemblies for nonparametric arch and part shape mode 2019-10-09 08:16:14 +02:00
Bernd Hahnebach
f5768441a6 Arch: IFC import, better debug message for skipped objs in non parametric import mode 2019-10-07 21:53:12 +02:00
Yorik van Havre
2f07f13e9d Arch: Adjust height of objects inside groups 2019-10-07 15:33:28 -03:00
vocx-fc
183b7dafe0 Arch: ArchCommands, change the color of the vertices of the subcomponent when using Arch Remove, just like the line color and shape color are changed. 2019-10-07 10:46:36 -03:00
Bernd Hahnebach
9cbcb97a10 Arch: very small typo 2019-10-03 07:16:55 +02:00
vocx-fc
6fb25c2931 Arch: ArchBuildingPart, fix obj.Height.Value in onChanged() 2019-09-18 21:32:39 +02:00
Bernd Hahnebach
9eb5f89962 Arch: use IfcType undefined for building parts, is annotation or actuator ATM 2019-09-14 22:10:36 +02:00
luz.paz
5807e0b531 Fix typos, grammar, and some whitespace issues
Found via `codespell -q 2 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-09-07 11:58:38 -04:00
Yorik van Havre
afed92ba8e Arch: More info if IfcOpenShell is not installed 2019-09-06 17:45:15 -03:00
Yorik van Havre
c50ced65e9 Arch: small bugfix 2019-09-03 19:58:38 -03:00
Yorik van Havre
d8313f17c2 Arch: Further fix in material colors 2019-09-03 18:42:09 -03:00
luz.paz
7af7c10cf1 Fix misc. typos, whitespace, and http:// to https:// issues 2019-09-03 11:11:43 -03:00
Bernd Hahnebach
1780c82d2d Arch: IFC export, small code formating 2019-09-02 07:38:37 +02:00
Bernd Hahnebach
ecaf9000f6 Arch IFC import and export, new lines and comments 2019-09-02 07:38:28 +02:00
Zheng, Lei
eb24c84468 Draft/Arch: maintain Python 2 compatibility
In order to pass test under Python 2
2019-08-30 14:56:18 +02:00
Bernd Hahnebach
929450521a Arch: import IFC and helper, code formating, E265 block comment should start with '# ' 2019-08-29 07:52:20 +02:00
Bernd Hahnebach
e84b5d662c Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment 2019-08-29 07:52:09 +02:00
Bernd Hahnebach
0eef759864 Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment 2019-08-29 07:52:00 +02:00
Bernd Hahnebach
4096c6b8c4 Arch: import IFC, make use of improved color import 2019-08-28 21:49:28 +02:00