Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load templates and create templated objects from catalog in OGrEE-3D #488

Open
Novanef opened this issue Apr 19, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@Novanef
Copy link
Member

Novanef commented Apr 19, 2024

Possible Workflow

  • Create templates in the API

    • Open a file manager window, select a JSON
    • Send selected JSON to API, wait for validation
    • If not validated, display error
  • Create objects

    • Select parent
    • Load templates from API
      • display them (with FBX if available) in a catalog menu (layer UI)
        • 1 tab per template type
        • x per page or infinite scroll
        • miniature model of template in catalog
    • position them in their parent -> already done in position mode
    • have the same parameterization possibilities as CLI creation commands
      • name
      • position
      • rotation
      • position units for racks and generics
      • slots for devices
      • invertOffset for devices
      • side for devices
    • Send creation POST to API after user validation
@Novanef Novanef added the enhancement New feature or request label Apr 19, 2024
@hchybz
Copy link
Member

hchybz commented Apr 19, 2024

Remarks / Questions :

Step 1 : create templates

Create templates in the API == >> Create templates in the DB/API from APP (flutter) ?
Open a file manager window (APP) , select a JSON ==> single JSON / multiple JSON / whole directory (with subdir) "LENOVO"

Step 2 : build template menu in Unity

  • load all templates from DB through API
  • build "template" menu in unity with a navigation pane to be able to select template type (room/devices) and browse catalog (replica of 0_Models hierarchy)

Step 3 : create object in unity scene

  • select parent
  • open template menu/ui in unity, select template
  • place object in scene / custom params
  • send create order to API (POST) , wait for answer
  • display object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants