Commit Graph

1470 Commits

Author SHA1 Message Date
Yorik van Havre
e6fbf55a0c Arch: Fixed bug in materials merging 2019-12-27 21:32:33 -03:00
luz.paz
8af8689d73 Arch: [skip ci] fix header uniformity
This PR fixes header uniformity across all Arch files
2019-12-26 18:24:06 +01:00
carlopav
4c065fb782 [Arch] Added Draft Edit Command to toolbar 2019-12-26 13:31:06 -03:00
vocx-fc
050b13e10c Arch: division including a float to obtain correct result 2019-12-26 13:22:35 -03:00
Yorik van Havre
458eda2feb Arch: Fixed minor colorbug in IFC export 2019-12-23 17:18:16 -03:00
Yorik van Havre
26a0aa5483 Arch: Added option to export IFC files in imperial units 2019-12-23 12:33:42 -03:00
Bernd Hahnebach
66b853cff8 line endings, better handling in module directory 2019-12-19 22:26:15 +01:00
Bernd Hahnebach
63b8c014c2 Arch: IFC export, add building parts with undefined ifc type to building structure 2019-12-19 09:02:06 +01:00
Bernd Hahnebach
78e3d4c725 Arch: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
Bernd Hahnebach
1e68bc1684 Arch: export IFC, add missing debug prints 2019-12-18 09:49:29 +01:00
Bernd Hahnebach
6168831571 Arch: export IFC, fix building parts export with ifc type set to Undefined 2019-12-18 09:35:14 +01:00
hlg
ebfe96b013 [Arch] export IFC: assign space to storey as aggregation
According to the standard, entities of type IfcSpatialStructureElement
should not be related to other spatial structure elements through
IfcRelContainedInSpatialStructure but through IfcRelAggregates.
2019-12-17 15:03:21 -03:00
hlg
ff8c64fb03 [Arch] export IFC: last modification date is mandatory even on creation 2019-12-17 15:03:21 -03:00
hlg
7bebdad937 [Arch] IFC export: some points and vectors should be 2D, not 3D
* true north direction
* profile orientation
* grid axis polylines
2019-12-17 15:03:21 -03:00
Yorik van Havre
2c430bfbf1 Arch: Fixed wrong export of objects of undefined IFC type 2019-12-13 12:29:26 -03:00
Yorik van Havre
4542a799b9 Arch: store last double-clicked building part 2019-12-12 17:58:21 -03:00
Yorik van Havre
d3a13122a1 Arch: place buildingparts at WP origin upon creation 2019-12-12 14:15:19 -03:00
Yorik van Havre
ce4ab3eafe Update ArchCutPlane.py 2019-12-09 15:25:22 -03:00
JeromeL63
61de21bfbb Added Linecut function 2019-12-09 15:25:22 -03:00
luz.paz
a45d3f743d Tooltips: added missing tooltips + refined pre-existing
Some pre-existing tooltips needed to be a compound of lines instead of 1 long one.
Removed bold text from tooltip  
Removed URL from tooltip
2019-12-05 17:07:44 +01:00
luz.paz
ea0868a433 Fix typos and some trailing whitespace
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-12-03 12:22:59 +01:00
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