Skip to content

More strict to errors (pyjet) #237

Open
@PavelBlend

Description

@PavelBlend

I noticed that if I write the wrong key name, it will not cause an error.
For example:

emitter = pyjet.VolumeParticleEmitter3(implicitSurface_123=surface)

It is necessary that such a code causes the error "Invalid keyword argument".
Since it will be difficult to look for such errors.
I do not remember exactly, but somewhere else there are similar problems.

The simulator allows to make miscalculations with wrong data types. For example, you can use a different type for the emitter instead of pyjet.ImplicitTriangleMesh3. And the simulator will still not produce errors.

In general, you need to make the code more error-prone.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions