SurfaceMesh | Surface Mesh editing for freecad | 3D Animation library

 by   magwas Python Version: Current License: No License

kandi X-RAY | SurfaceMesh Summary

kandi X-RAY | SurfaceMesh Summary

SurfaceMesh is a Python library typically used in User Interface, 3D Animation, Three.js applications. SurfaceMesh has no bugs, it has no vulnerabilities and it has low support. However SurfaceMesh build file is not available. You can download it from GitHub.

This is a surface mesh editing module for FreeCAD. It intends to work similarly to FreeShip, but take advantage of the capabilities of FreeCAD This package is at git@github.com:magwas/SurfaceMesh.git FreeCAD is at FreeShip is at
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              SurfaceMesh has a low active ecosystem.
              It has 6 star(s) with 4 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 2 open issues and 1 have been closed. On average issues are closed in 1259 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of SurfaceMesh is current.

            kandi-Quality Quality

              SurfaceMesh has no bugs reported.

            kandi-Security Security

              SurfaceMesh has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              SurfaceMesh does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              SurfaceMesh releases are not available. You will need to build from source code and install.
              SurfaceMesh has no build file. You will be need to create the build yourself to build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed SurfaceMesh and discovered the below as its top functions. This is intended to give you an instant insight into SurfaceMesh implemented functionality, and help decide if they suit your requirements.
            • Observe event
            • Get parent by tname
            • Add a point
            • Get or create an SML layer
            • Called when a document has changed
            • Called when the object has changed
            • Print exception information
            • Sets attribute value
            • Creates a SM edge from a string
            • Add force property
            • Execute functions
            • Toggle the color
            • Open a file and process it
            • Create a draft line edit
            • Creates a combo box
            • Creates a label
            • Add a force operator
            • Creates a new face
            • Add edges to the current mesh
            • Insert a file into FreeCAD
            • Activate activation
            • Show the entry
            • Creates a button with given text
            • Add property
            • Wire a mesh
            • Solve a truss equation
            Get all kandi verified functions for this library.

            SurfaceMesh Key Features

            No Key Features are available at this moment for SurfaceMesh.

            SurfaceMesh Examples and Code Snippets

            No Code Snippets are available at this moment for SurfaceMesh.

            Community Discussions

            QUESTION

            2D AABBTree in CGAL with custom property map
            Asked 2021-Mar-01 at 21:55

            I am trying to create an AABBTree for checking in which triangle of a 2D mesh some points are. To do that, I am using CGAL, in particular, the Polygon_mesh_processing package and the location functions. However, this feels an impossible task to me.

            Since I want to check several points and I care about performance, I want to build an AABB first. To do that, I need the PMP::build_AABB_tree function, which receives a mesh and the AABBTree.

            In this particular case, the mesh is of type CGAL::Surface_mesh, with a Simple_cartersian kernel. The query points are also 2D. According to documentation, I need to provide a ReadablePropertyMap which converts my 2D points into 3D points.

            I do this with the following:

            ...

            ANSWER

            Answered 2021-Feb-23 at 07:47

            QUESTION

            Is it possible to access spatial graph node id of SpatialSurfaceMesh?
            Asked 2020-Nov-17 at 08:42

            Microsoft.MixedReality.QR API provides spatial graph node id for detected QR codes. I need to access spatial graph node id of Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh class (to use with OpenXR XR_MSFT_spatial_graph_bridge extension). Is it possible?

            I've tried to use SurfaceMesh.SurfaceInfo.Id property. But it seems that's not the id OpenXR is looking for.

            ...

            ANSWER

            Answered 2020-Nov-17 at 08:42

            Actually, SpatialSurfaceMesh doesn't expose its underlying spatial graph node like QR codes or SceneUnderstanding, it is difficult to use the SpatialSrfaceMesh's SpatialCoordinateSystem with the OpenXR bridge extension. And in this case, SceneUnderstanding mesh should be better for all purposes except occlusion. So, it is recommended that you supersede SpatialSurfaceMesh with SceneUnderstanding to enable the OpenXR bridge extension.

            In addition, the example of this feature has been arranged into our development schedule, please take an eye on our documentation.

            Source https://stackoverflow.com/questions/64785468

            QUESTION

            How can I create a 3D cubic-bezier curved triangle from 3D points in Three.js?
            Asked 2019-Jul-15 at 16:59

            Following this topic, I am trying to generate a 3D curved triangle as a NURBS surface, but I don't understand how to set up my 3D points to do that.

            Here is the current implementation :

            ...

            ANSWER

            Answered 2019-Feb-21 at 21:14

            In your code you use NURBSSurface function from NURBSSurface.js file, that function uses NURBSUtils.calcSurfacePoint function from NURBSUtils.js file. But the calcSurfacePoint calculate point for standard NUBRB surface where where parameter are from rectangle (u,v) wiki.

            You will not generate "3D cubic bezier triangle" in this way - to do this you need write your own code which will use bezier-triangle formulas (where the input parameters are triangle points in Barycentric_coordinate_system).

            Source https://stackoverflow.com/questions/54787170

            QUESTION

            CGAL: How can I access vertex colors after loading an .off file?
            Asked 2019-May-06 at 10:25

            Loading .off files is easy:

            ...

            ANSWER

            Answered 2019-May-03 at 07:10

            You need to use the property maps of your SurfaceMesh. If and only if the OFF file has colors (meaning the first indication is COFF and not OFF on the first line), and there are colors per vertices and not only per face, then your SurfaceMesh will have an internal property map called "v:color". You can access it by calling

            Source https://stackoverflow.com/questions/55955579

            QUESTION

            CGAL::Surface_mesh_parameterization: write the vertices to off in the original order
            Asked 2019-Feb-27 at 16:03

            I am trying to modify CGAL-4.13/examples/Surface_mesh_parameterization/lscm.cpp so that the order of the vertices in the resulting off file is the same as in the input file.

            Update: Example

            Take a file input.off with the following simple content:

            ...

            ANSWER

            Answered 2019-Feb-27 at 16:03

            The following issue answers this question.

            Source https://stackoverflow.com/questions/54554910

            QUESTION

            Substract closed mesh from surface (CGAL?)
            Asked 2019-Jan-23 at 15:56

            I have the following problem, best described with the picture below.

            I have a surface in 3D, so it can have vertical overlap and is a non-closed mesh. And I have an object which I want to subtract from it. The green+yellow area is the original surface, the red lines outline a sphere (as triangulated mesh, not a primitive). The yellow area is the part of the surface intersecting the sphere that needs to be removed from the original surface. The green area is the result of the subtraction: the surface that is needed.

            I am already using the CGAL library, but still new to it, so a solution using CGAL would be the most preferred. However if somebody has a solution without CGAL that would be welcome as well.

            The best way I can see would be to give the surface a slight thickness (keeping the current surface as the bottom). And then use Nef_polyhedron_3 to substract the other object, then convert to Polyhedron_3 and only keep the bottom faces. But this seems like a bit of a hack.

            EDIT: Using the proposed solution I get very close, but I am unable to clip to the correct side using the reversed normals as proposed, using the following code. I also tried to see if face vertex ordering (clockwise / counter clockwise) has any effect, but it seems not to have any.

            ...

            ANSWER

            Answered 2019-Jan-23 at 15:56

            There is an undocumented function starting from CGAL 4.10 in Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/clip.h. The function signature is :

            Source https://stackoverflow.com/questions/45467149

            QUESTION

            Create a surface mesh using CGAL's Delaunay in 3D space with points as input
            Asked 2018-Feb-05 at 09:14

            I want to create a surface mesh using CGAL's Delaunay in 3D space with points as input.

            Right now I have got a working version of 3D Delaunay from CGAL, but now I want to only return a surface from this result. I found this:

            ...

            ANSWER

            Answered 2018-Feb-05 at 09:14

            Instead of the Delaunay triangulation you should use surface reconstruction algorithms

            Source https://stackoverflow.com/questions/48611280

            QUESTION

            Surface mesh - removing edge, loop goes in to infinite loop CGAL
            Asked 2017-Jul-31 at 06:57

            i'm making slice function that removes part of mesh at y length. Problem starts when i try to delete removed face edges of a mesh, it goes in to infinite loop.

            Where problem occours!

            ...

            ANSWER

            Answered 2017-Jul-31 at 06:57

            This is a classical mistake: removing elements you are iterating on. In this particular case, you are removing edges while iterating over edges of face. It is unlikely you'll find the initial edge to stop the iteration, thus the infinite loop.

            Source https://stackoverflow.com/questions/45394410

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install SurfaceMesh

            You can download it from GitHub.
            You can use SurfaceMesh like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/magwas/SurfaceMesh.git

          • CLI

            gh repo clone magwas/SurfaceMesh

          • sshUrl

            git@github.com:magwas/SurfaceMesh.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular 3D Animation Libraries

            assimp

            by assimp

            angle

            by google

            s2geometry

            by google

            sverchok

            by nortikin

            rayshader

            by tylermorganwall

            Try Top Libraries by magwas

            oseam2kap

            by magwasPython

            SyslogValve

            by magwasJava

            zenta

            by magwasJava

            MLVtrainer

            by magwasPython

            ai_db

            by magwasPython