You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An important aspect of CAD libraries are the units. It is expected that, behind the scenes, all objects work in SI units, but users should be able to provide their values in different units. Let's get this module started!
Implement the units module
Create a `Quantity`` (enum) class handling the units accepted
Create a Conversion class which will contain a Quantity (enum) value and a conversion factor
Implement units inside the datamodel.objects package
All units inside the objects must be stored in SI, but users will be able to provide different Quantity values. Conversions should be handled in construction and representation. Inside operations and operations between objects will always take place in SI
Add testing (must be intensive, this is a critical module)
Add documentation
See the following picture for having an idea of the location of the units subpackage
The text was updated successfully, but these errors were encountered:
An important aspect of CAD libraries are the units. It is expected that, behind the scenes, all objects work in SI units, but users should be able to provide their values in different units. Let's get this module started!
units
moduleConversion
class which will contain aQuantity
(enum) value and a conversion factordatamodel.objects
packageSee the following picture for having an idea of the location of the
units
subpackageThe text was updated successfully, but these errors were encountered: