Draft: 'Array' cannot build shape of a FemMesh obj

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Draft: 'Array' cannot build shape of a FemMesh obj

Post by bernd »

carlopav wrote: Wed Jul 29, 2020 12:55 pm Interesting, mind to share the code?
I did ask the same. So far no code available. He does cool stuff, but we have never seen a PR of his code so far only pics, pics, pics.
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Draft: 'Array' cannot build shape of a FemMesh obj

Post by johnwang »

bernd wrote: Wed Jul 29, 2020 4:57 pm
carlopav wrote: Wed Jul 29, 2020 12:55 pm Interesting, mind to share the code?
I did ask the same. So far no code available. He does cool stuff, but we have never seen a PR of his code so far only pics, pics, pics.
I asnwered his question.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Draft: 'Array' cannot build shape of a FemMesh obj

Post by carlopav »

Maybe there was a misunderstanding, i was asking for the code you were mentioning here:
johnwang wrote: Wed Jul 29, 2020 8:16 am I have done my own Mirror for FemMesh.

:roll:
follow my experiments on BIM modelling for architecture design
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Draft: 'Array' cannot build shape of a FemMesh obj

Post by johnwang »

carlopav wrote: Wed Jul 29, 2020 10:23 pm Maybe there was a misunderstanding, i was asking for the code you were mentioning here:
johnwang wrote: Wed Jul 29, 2020 8:16 am I have done my own Mirror for FemMesh.

:roll:
That is it.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Draft: 'Array' cannot build shape of a FemMesh obj

Post by carlopav »

:o
Ok, didn't look as I expected. :)
follow my experiments on BIM modelling for architecture design
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Draft: 'Array' cannot build shape of a FemMesh obj

Post by realthunder »

I submitted a PR to allow draft link based array to not spit out error for object without shape.

Draft link is powered by App::Link. It's array mode offers some help on selection disambiguation. You can see it clearer by using the selection view. The selection shows the index of each selected instances, even if the object has no Shape. You can use Gui.getSelectionEx('', 0) to obtain the full selection path in SubElementNames.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
Post Reply