Skip to main content

jet_cad_2d_kit 0.1.1 copy "jet_cad_2d_kit: ^0.1.1" to clipboard
jet_cad_2d_kit: ^0.1.1 copied to clipboard

The kit contract for jet_cad_2d plans: plan components, the .jetlib symbol library format and validator, kit words, and a pure-Dart authoring toolkit.

0.1.1 #

  • PlanType gains an optional area capability (a closed outline in world millimetres, anticlockwise), with hasArea and areaOf.
  • PlanType gains an optional name capability (the object's own name), with hasName and nameOf.

0.1.0 #

  • The kit contract's symbol side: the plan components (jetcad.symbol with attachment kinds and a size family, jetcad.unit, jetcad.manifest, jetcad.library) and registerKitComponents.
  • The .jetlib library format: SymbolLibrary.decode and its fifteen rules, SymbolLibrary.merge.
  • KitNames, SymbolLibrarySource, bundledLibrary, PlanKit.
  • The authoring toolkit (pure Dart): the catalog language, encodeLibrary, the shared shape helpers, the geometry snapshot and the conformance test.
  • Property specs (LengthProperty, AngleProperty, NumberProperty, ChoiceProperty, ToggleProperty, TextProperty, ValueDisplay, ActionProperty), their erased binding PropertyField, PlanGate, ValueUnit and ColourTarget.
  • The code side: PlanType, PropertySectionBuilder, TypeGuard, PlanTool, PlanToolSettings, PlanServices, KitWords, KitNamesWords, Disposable, the attachment types and KitDiagnostic. PlanKit gains types, tools, attachments and propertyIds, and validate checks them; seven KitProblemCodes for the code side and the kit set; isCodeId. The contract depends on jet_cad_2d_flutter.
  • retired on jetcad.symbol and CatalogSymbol, written only when true; conformance takes typeIds, toolIds and propertyIds; rule 11 refuses a unit outline by its width, 2·area/perimeter, not by its area.
  • PlanSwatch, the plan's eight-colour palette, and planSwatchNamed: kits name a swatch without depending on the plan library.
  • Sub-project 2b: PlanServices.symbolDefinition (SymbolDefinitionRef) and symbolsState; SymbolsState, moved from the plan library; a unit's label (kUnitLabelTag, unitLabelHeight, unitLabelStamp, unitLabelPayload, unitLabelAttrib, which builds a generated unit's label as an E5 GeneratedAttrib, and the label's constants kUnitLabelMaxHeight, kUnitLabelTopShare and kUnitLabelTextAttrs); PlanGate.relabel; the unit: word namespace and validateHostWords; KitProblemCode.unitKindWord, which conformance reports for a unit kind the contract does not name without an English word. UnitLabelling.assigned: the label comes from a kit's type, the property panel or the host.
  • Sub-project 3a (the architecture kit's contract amendments): the symbol box family (SymbolBox, isOrthonormal, boxOfLeaves, boxOfEntry, servedTopOfEntry, boxOfDefinition, footprintOf) and placementTransform, moved from the plan library; the object a property or section is shown for (PlanObject, DocumentPlanObject, which carry the kit's words), a read-only TextDisplay, LengthProperty.range, PropertySpec.visible and PropertyField.visible; the one-context section builder (PlanSection); PlanType.fieldsOf, commitField and sectionFor take a DraftDocument, and fieldsOf and commitField the kit's words; PlanWords (word, maybe, text, decimalSeparator), which KitWords implements, and KitNamesWords(decimalSeparator:); words with parameters (KitText, fillText, placeholdersOf, the text: namespace in validate, validateHostWords and conformance's placeholder check) and numberedNameIndex; ToolNotice; PlanKit.prepare and PlanBuild; PlanServices.liveTypeIdOf; KitProblemCode.settingsNeedObject and placeholderMismatch; package:jet_cad_2d_kit/testing.dart with FakePlanServices.
1
likes
160
points
194
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The kit contract for jet_cad_2d plans: plan components, the .jetlib symbol library format and validator, kit words, and a pure-Dart authoring toolkit.

Repository (GitHub)
View/report issues

Topics

#cad #floor-plan #symbols

Funding

Consider supporting this project:

github.com
buymeacoffee.com

License

Apache-2.0 (license)

Dependencies

flutter, jet_cad_2d, jet_cad_2d_flutter, meta, vector_math

More

Packages that depend on jet_cad_2d_kit