Foundation パターン
CommunityUnified geometric primitive interface
Software Engineering#software architecture#rust#geometry#design pattern#cad/cam#geometric primitives
AuthorRedRing2020
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill defines and guides the implementation of a standardized, three-layered design pattern for all geometric primitives within the RedRing project, ensuring consistency and interoperability.
Core Features & Use Cases
- Core Traits: Provides fundamental
Constructor,Properties, andMeasuretraits for geometric shapes. - Extension Traits: Offers extended functionalities like bounding box calculations (
Bounded) and spatial properties (SpatialExtension). - Transform Traits: Enables geometric transformations such as translation, rotation, and scaling (
AnalysisTransform3D). - Use Case: When developing a new geometric primitive, like a Sphere, developers can follow the detailed guidelines in this Skill to implement the necessary traits, ensuring it seamlessly integrates with the existing geometry system.
Quick Start
Implement the LineSegment3DConstructor trait for the LineSegment3D struct in geo_primitives/src/line_segment_3d_foundation.rs.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Foundation パターン Download link: https://github.com/RedRing2020/RedRing/archive/main.zip#foundation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.