Code Monkey home page Code Monkey logo

Comments (10)

Grantim avatar Grantim commented on May 17, 2024 1

Thanks for pointing on it, we will try to improve our algorithm later!

from meshlib.

Grantim avatar Grantim commented on May 17, 2024

Hello!

Unfortunately right now we don't have such functionality, We will try to work on it later.
Thanks for suggestion.

from meshlib.

xiaodongdong101 avatar xiaodongdong101 commented on May 17, 2024

Thanks a lot.

from meshlib.

Grantim avatar Grantim commented on May 17, 2024

We have

/// Offsets polyline by converting it to voxels and building iso-surface
/// do offset in all directions
/// so result mesh is always closed
[[nodiscard]] MRMESH_API Expected<Mesh, std::string> offsetPolyline( const Polyline3& polyline, float offset, const OffsetParameters& params = {} );

it is not exactly your case, but it prouce simular output.

from meshlib.

Grantim avatar Grantim commented on May 17, 2024

Hello!
We have just added

/// makes mesh by moving `body` along `trajectory`
/// if allowRotation rotate it in corners
[[nodiscard]] MRMESH_API Mesh makeMovementBuildBody( const Contours3f& body, const Contours3f& trajectory,
const MovementBuildBodyParams& params = {} );

image
image

image
image

from meshlib.

xiaodongdong101 avatar xiaodongdong101 commented on May 17, 2024

Thanks a lot

from meshlib.

xiaodongdong101 avatar xiaodongdong101 commented on May 17, 2024

If my curves are curved, how do I better avoid intersections?
b981978a8bdc5d61f19efe725edfa09

from meshlib.

Grantim avatar Grantim commented on May 17, 2024

You can use Offset tool to fix it (by casting to voxels and back)

/// Offsets mesh by converting it to voxels and back
/// so result mesh is always closed
[[nodiscard]] MRMESH_API Expected<Mesh, std::string> offsetMesh( const MeshPart& mp, float offset, const OffsetParameters& params = {} );

image
image
image
image
image

from meshlib.

xiaodongdong101 avatar xiaodongdong101 commented on May 17, 2024

Thanks

from meshlib.

xiaodongdong101 avatar xiaodongdong101 commented on May 17, 2024

Hello,I find that solidworks have this function-swept surface.
4ce233d1f844211f469f9da72e84f52
Will this special algorithm be added later?

from meshlib.

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.