Skip to content

Update README example for GeometryBasics 0.5 #43

Closed
@lukem12345

Description

@lukem12345

PR #42 updated the GeometryBasics mesh constructors to use MetaMesh for versions > 0.5, but the example in the README still uses the 0.4 constructor.

I think that all that is needed is to change:

mesh = Mesh(points, meta(facets, markers=markers))

to

mesh = GeometryBasics.MetaMesh(points, facets; markers)

,
or explicitly check the package version as is done in src: if pkgversion(GeometryBasics) < v"0.5".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions