Conversation
|
@Lukasfuh I agree with you— |
| @@ -1,12 +1,26 @@ | |||
| import { z } from "zod"; | |||
|
|
|||
| // Local Bounding Box (element's own coordinate system) | |||
There was a problem hiding this comment.
Is this always the local bounding box, or is it the Schema that we would use for all bounding box instances?
There was a problem hiding this comment.
I think mod-dlm only needs a local boundingbox and nothing else. Then we know every element described by mod-dlm will be at 0,0,0 and oriented on the construction plane. I dont think a world boundingbox would add any useful information
| width: RangeSchema, | ||
| height: RangeSchema, | ||
| length: RangeSchema | ||
| length: RangeSchema, |
There was a problem hiding this comment.
Please add a description so that we can define what we mean by each DimensionalAttribute. Since we now have 6, it is no longer obvious what we mean by each.
@maveric1977 agree with everything you say. Just to elaborate, in the notion geometry notations i describe which dimensions are compatibe for what building system. E.g. length, width depth for a beam. My first thought was to add this information to mod-dlm but as you mention and I also realised that would be too prescriptive. Thanks for your explanation |
|
@maveric1977 one more question. I saw that in the previous comments of the boundingbox the units were specified as millimeters. Is that a decision that was made that interal units of mod-dlm would be in milimiters? If so I would add it to the readme and also add comments to the dimensionalAttribtuesSchema about units |
This was a decision to make everything easier (machine-readable) by avoiding unit conversion at product comparison time and converting only at display time based on the user's locale and regional settings. Any additional description and api-doc to make everything clearer are always highly welcome. |
Description
NOTE: I was debating if we should add compatilbeDimensions to the productCategoryValues, but decided against it. The reason is that if we start doing this with other schemas such as material or fireResistance etc. the language becomes very prescriptive, and i think its better to keep it more descriptive, at least until its used more widely. @maveric1977 I would like your opionion on this. We could definetly add another line to productCategoryValues that would be compatibleDimensions if you prefer.
References
Based on this documentation: https://www.notion.so/Geometry-Notation-Documentation-3117d03e7b9b80a2821eea4fa2a1a127
Testing
Checklist
main