My Arch Project : 17x9m Renovation Heightening

A forum dedicated to the Draft, Arch and BIM workbenches development.
User avatar
yorik
Site Admin
Posts: 11514
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: My Arch Project : 17x9m Renovation Heightening

Postby yorik » Tue Feb 11, 2014 12:38 pm

Hm yes but the occ way to do that is to add a "rounded" filling, but I'd prefer to have clean, straight intersections. Actually maybe OCC offers an option for that, I'll investigate...
jmaustpc
Posts: 9566
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: My Arch Project : 17x9m Renovation Heightening

Postby jmaustpc » Tue Feb 11, 2014 1:41 pm

yorik wrote:Hm yes but the occ way to do that is to add a "rounded" filling, but I'd prefer to have clean, straight intersections. Actually maybe OCC offers an option for that, I'll investigate...
Yes, good point Yorik, like occ does with the sweep along a wire, which if I remember correctly Werner implemented in the Part workbench sweep.

The intersection property for offset works in a similar way, default is the Arc. In this example I left the defualt Arc, and tangent causes a fail, but "intersection" is what you want if you want the roof pointed.

Jim
jmaustpc
Posts: 9566
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: My Arch Project : 17x9m Renovation Heightening

Postby jmaustpc » Tue Feb 11, 2014 2:32 pm

roof1.png
roof1.png (21.98 KiB) Viewed 1916 times
roof2.png
roof2.png (2.76 KiB) Viewed 1916 times
User avatar
yorik
Site Admin
Posts: 11514
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: My Arch Project : 17x9m Renovation Heightening

Postby yorik » Tue Feb 11, 2014 2:57 pm

Perfect!
User avatar
rockn
Posts: 1573
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: My Arch Project : 17x9m Renovation Heightening

Postby rockn » Fri Feb 14, 2014 5:13 pm

I can't open my file !
I get his with yorik/FreeCAD github, the main FreeCAD/FreeCAD sf master github and the daily ppa...
:(

Code: Select all

[100%] Built target PartDesignGui
jo@jo-desktop:~/BEBois/Dev/Git/FreeCAD_yorik/build$ ./bin/FreeCAD
FreeCAD 0.14, Libs: 0.14R3139 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##


(FreeCAD:23756): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Arch workbench activated
Support shape is empty!
Support shape is empty!
Support shape is empty!
Support shape is empty!
typecheck[scaleTo]: 210 mm is not (<type 'int'>, <type 'long'>, <type 'float'>)
Traceback (most recent call last):
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Arch/ArchWall.py", line 451, in execute
    sh = self.getBase(obj,wire,normal,width,height)
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Arch/ArchWall.py", line 552, in getBase
    dvec2 = DraftVecUtils.scaleTo(dvec,obj.Offset)
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Draft/DraftVecUtils.py", line 83, in scaleTo
    typecheck ([(u,Vector),(l,(int,long,float))], "scaleTo")
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Draft/DraftVecUtils.py", line 41, in typecheck
    raise TypeError("fcvec." + str(name))
<type 'exceptions.TypeError'>: fcvec.scaleTo
Enduit: fcvec.scaleTo
It's the same withFreeCAD_sf
Formations et tutoriels FreeCAD en Français, soutenez moi : https://www.tipeee.com/formations-freecad
User avatar
shoogen
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: My Arch Project : 17x9m Renovation Heightening

Postby shoogen » Fri Feb 14, 2014 5:40 pm

Offset seems to be a LengthProperty and those were broken yesterday.