Commit Graph

1448 Commits

Author SHA1 Message Date
Zheng, Lei
a3e88a399f Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
hlg
962904a96f [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
d506192b15 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
f65a72deb7 fix syntax error 2019-11-16 10:41:05 +01:00
Bernd Hahnebach
d0339c5674 Arch, export IFC, do not export attributes with no values 2019-11-15 16:18:55 +01:00
paullee0
6dcf9ff8f0 [Arch] Test : if Sketch, fuse solid; otherwise, do makeCompound 2019-11-11 17:57:59 -03:00
paullee0
720d40a04e [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
c3ba04183e Arch: import IFC, add import of layer 2019-11-07 08:04:11 +01:00
Bernd Hahnebach
85883712b7 Arch: import IFC, fix if imported in non Gui mode 2019-11-07 08:04:09 +01:00
Bernd Hahnebach
64cf85c214 Arch: import IFC, fix crash if IfcProject is not found in ifc file 2019-11-04 11:03:30 +01:00
Sören Rohweder
813b529f5c Arch: Fixes PanelCut action 2019-11-01 17:39:45 -03:00
Yorik van Havre
95f18a7507 Arch: Allow OfflineRenderingUtils module to run without pivy 2019-11-01 13:49:52 -03:00
Bernd Hahnebach
d6fc794aca Arch: import IFC, add guid to non parametric arch import 2019-10-28 18:04:48 +01:00
luz.paz
e4c8890d52 Arch: Dice3DS/dom3ds.py LGTM fix
Following recommendations from https://lgtm.com/rules/6770081/
2019-10-25 10:29:15 -03:00
luz.paz
5c1cae14b9 Arch: use string operator instead of numeric LGTM fix 2019-10-25 10:23:24 -03:00
luz.paz
95af9ed202 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
0c038dfbee Arch: ImportOBJ.py LGTM fixes [skip ci]
Fixes recommended via LGTM report
2019-10-25 10:23:24 -03:00
Yorik van Havre
7767103f9c Arch: Added option to allow import of invalid IFC geometry 2019-10-21 17:00:53 -03:00
luz.paz
1c981e8f14 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
c331ce29f1 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
544e85ff3f 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
1d0bf0e5bc [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
fa5d34508b obj transparency fix d->Tr and its value/100 2019-10-15 14:11:29 -03:00
paullee0
a785660f59 [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
61435b30f9 [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
a431cf7d2b Arch: IFC import, fix Axis system placement 2019-10-12 21:50:44 +02:00
sgrogan
b0882de737 fix indent 2019-10-10 23:51:41 +02:00
Yorik van Havre
04f87588b0 Arch: Fixed tab indents im importOBJ 2019-10-10 10:54:58 -03:00
Jean-Marie Verdun
ca30dfeb27 Tweak meshing parameters (lower triangles count) 2019-10-09 09:55:16 -03:00
Jean-Marie Verdun
d56d17ccf0 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
8d9e0c2c94 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
91ae52577b 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
59c15ebbc5 Arch: Adjust height of objects inside groups 2019-10-07 15:33:28 -03:00
vocx-fc
2f06decce5 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
1f871035f3 Arch: very small typo 2019-10-03 07:16:55 +02:00
vocx-fc
a94448da8c Arch: ArchBuildingPart, fix obj.Height.Value in onChanged() 2019-09-18 21:32:39 +02:00
Bernd Hahnebach
d563d90125 Arch: use IfcType undefined for building parts, is annotation or actuator ATM 2019-09-14 22:10:36 +02:00
luz.paz
a1984aeece 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
f44a5e9654 Arch: More info if IfcOpenShell is not installed 2019-09-06 17:45:15 -03:00
Yorik van Havre
cf9bbe14fb Arch: small bugfix 2019-09-03 19:58:38 -03:00
Yorik van Havre
3f31c1db53 Arch: Further fix in material colors 2019-09-03 18:42:09 -03:00
luz.paz
f22ae848ea Fix misc. typos, whitespace, and http:// to https:// issues 2019-09-03 11:11:43 -03:00
Bernd Hahnebach
67efd10dea Arch: IFC export, small code formating 2019-09-02 07:38:37 +02:00
Bernd Hahnebach
8e91b3ab2c Arch IFC import and export, new lines and comments 2019-09-02 07:38:28 +02:00
Zheng, Lei
2c2aadaa5d Draft/Arch: maintain Python 2 compatibility
In order to pass test under Python 2
2019-08-30 14:56:18 +02:00
Bernd Hahnebach
d54bff6de5 Arch: import IFC and helper, code formating, E265 block comment should start with '# ' 2019-08-29 07:52:20 +02:00
Bernd Hahnebach
99fa0b35cf 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
4fd1827fa9 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
db692680fd Arch: import IFC, make use of improved color import 2019-08-28 21:49:28 +02:00
Bernd Hahnebach
4c7bcb29b0 Arch, import IFC helper, improve color code 2019-08-28 21:49:19 +02:00