madorin
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
Thanks!,will summarize the points I wonder if I further did not understand the usage. Thanks!
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
@dwillington thanks to tell me it, in terms of ip_address, how did you check the actual ip address? it means ob_host (= "127.0.0.1") ?.
https://github.com/dwillington/open-brush/blob/39d0773931e8285aa9047a45c1a5872d7c40b228/python_scripts/ob_helper.py#L6
and ip_adress sharing means you have laptop and vr and vr set a certain ip address and then directy send from PC to VR using this command?
https://github.com/dwillington/open-brush/blob/39d0773931e8285aa9047a45c1a5872d7c40b228/python_scripts/ob_helper.py#L15
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
Thanks!, the twitter's several demos are very fantastic!, do you also use API with localhost?
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
Very thanks!, I'll try and will report the result on this threadπββοΈ πββοΈ πββοΈ πββοΈ πββοΈ πββοΈ πββοΈ πββοΈ πββοΈ πββοΈ πββοΈ πββοΈ πββοΈ πββοΈ
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
I might confuse by @andybak 's suggestion sorry for this.
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
For the localhost, how to start the localhost:40074? (I assume we need to launch the localhost at first, then we can send the api command to localhost)
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
Now I didn't get how to use HTTP API in this case actually...
Assume I open the openbrush in VR
1. https://docs.openbrush.app/user-guide/open-brush-api/api-commands : how to launch this localhost ( http://localhost:40074/api/v1?) ? It recieve the command and then execute?
I assume
1. write drawing command (draw.paths, draw.polygon) in any language (for example lua)
2. send them to openbrush app
3. draw sent drawing commands(draw.paths, draw.polygon)
4. openbrush app sent the drawn results.
OK this also might be fine to use inside VR like
1. send API command of Lua from VR's bash terminal (like assume execute code using vscode)
2. recieve the API command at VR
3. do action (like brush drawing etc.) on VR
4. send the 3d painting result to VR's bash terminal
| That's a description of how the HTTP API works |- but the plugin scripting API runs lua scripts | directly inside Open Brush.
I want to know how to do in this case (run lua scripts inside open brush)
```
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
I assume following procedure I want to attain via API
1. send API command of Lua from Mac PC
2. recieve the API command at VR
3. do action (like brush drawing etc.) on VR
4 send the 3d painting result to Mac PC
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
For html approach, is there page that shows any examples (I just can't find it on opebrush docs)
If possible, I want to use lua since I want to use API on real-time setting. In this case is the unity setting necessary?
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
Thank you for your comment. I didn't quite focus on using unity. If I could obtain the 3D painting results and drawing commands and etc via API any language is fine (hopefully python is better but not limited like lua C++ etc.) But since I'm beginner, I don't know much deteails about them.
Aside from using API, I hope to connect mac (windows) and Meta Quest3 just to sync the VR view to PC
32 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
β’Created by madorin on 7/8/2024 in #open-brush-plugins-api
Open Brush API on Quest 3
32 replies