Giter VIP home page Giter VIP logo

Comments (9)

DeepSOIC avatar DeepSOIC commented on May 28, 2024

I am changing the Z placement of a PolarArray feature but it keeps resetting it to 0. Is it right?

If the array is attached, and you are changing Placement's Z (not AttachmentOffset Z) - yes. But the fact that it's not grayed out is a bug.

from lattice2.

DeepSOIC avatar DeepSOIC commented on May 28, 2024

The features are not being generated too

can you share a file, please? I can't guess what's wrong here

from lattice2.

leoheck avatar leoheck commented on May 28, 2024

Sure, here it is (but I think you already saw it in Freecad Forum)
lattice_polar_array.zip

I was not using the latest version of Lattice2, now I am using, and I am seeing this

Traceback (most recent call last):
  File "/home/lheck/.FreeCAD/Mod/lattice2/lattice2BaseFeature.py", line 148, in execute
    plms = self.derivedExecute(obj)
  File "/home/lheck/.FreeCAD/Mod/lattice2/lattice2PolarArray2.py", line 119, in derivedExecute
    self.updateReadonlyness(selfobj)
  File "/home/lheck/.FreeCAD/Mod/lattice2/lattice2PolarArray2.py", line 103, in updateReadonlyness
    arc = self.fetchArc(selfobj) 
  File "/home/lheck/.FreeCAD/Mod/lattice2/lattice2PolarArray2.py", line 115, in fetchArc
    return fetchArc(lnkobj, sub)
  File "/home/lheck/.FreeCAD/Mod/lattice2/lattice2PolarArray2.py", line 56, in fetchArc
    linkedShape = obj.Shape
<class 'AttributeError'>: 'App.GeoFeature' object has no attribute 'Shape'
448.595 <App> Document.cpp(3715): Failed to recompute lattice_polar_array#PolarArray: 'App.GeoFeature' object has no attribute 'Shape'
Recompute failed! Please check report view.

If I am using Lattice2 wrong, I will be glad if you can teach me how to fix this.

from lattice2.

DeepSOIC avatar DeepSOIC commented on May 28, 2024

now I am using, and I am seeing this..

well, that's because the array is attached to XY plane. The array is trying to read out arc range from the shape it is attached to, and that causes the error (the plane having no shape, particularly).

Clean out the reference in attachment dialog, and the error should be gone.

from lattice2.

leoheck avatar leoheck commented on May 28, 2024

Like this?

image

Nothing has changed.

from lattice2.

DeepSOIC avatar DeepSOIC commented on May 28, 2024

Well, the error is gone at least.

from lattice2.

DeepSOIC avatar DeepSOIC commented on May 28, 2024

I think the problem with your model may be a tangent intersection in a Boolean operation. Try changing the rib sketch a bit and see if the situation is resolved. Like so, for example:
image

from lattice2.

leoheck avatar leoheck commented on May 28, 2024

Nothing so far. The shell is a BSPline, does it can be related?

What should I put in Radius? The tip of the arrows should be inside the feature? Or the base of the feature? Or something else?

from lattice2.

leoheck avatar leoheck commented on May 28, 2024

Issue solved, It was missing the LatticePattern feature.

from lattice2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.