Giter Club home page Giter Club logo

Comments (3)

shimwell avatar shimwell commented on September 23, 2024

Great image, I instantly thought 🍉

thanks for trying this package and the feedback

Just wondering if it is worth reducing the mesh sizes

max_mesh_size and min_mesh_size get passed to gmsh and might help make the mesh follow the geometry closer

my_model.export_dagmc_h5m_file(
    filename="dagmc.h5m", max_mesh_size=0.2, min_mesh_size=0.1
)

from cad_to_dagmc.

emaartensson avatar emaartensson commented on September 23, 2024

Yep that did the trick, thank you! I probably should have figured that out myself.

(sorry for changing colours!)
image

from cad_to_dagmc.

shimwell avatar shimwell commented on September 23, 2024

Excellent, perhaps I should change the default settings.

Here is a link to a package you might be interested in for plotting geometry in specific colors
https://github.com/fusion-energy/openmc_geometry_plot/blob/2196db150aa19b7a612baaaa88a2dbfdea404584/examples/dagmc_tokamak/plot.py#L29-L49

from cad_to_dagmc.

Related Issues (19)

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.