Search found 596 matches

by dkwroot
Wed May 09, 2018 12:10 am
Forum: Scripting
Topic: Save script data?
Replies: 4
Views: 2048

Re: Save script data?

Thanks guys! I already looked into the scriptdata, but it wasn't quite what I was looking for. The method Wes pointed out looks like it'll work perfectly.
by dkwroot
Tue May 08, 2018 4:59 pm
Forum: Scripting
Topic: Save script data?
Replies: 4
Views: 2048

Save script data?

Is there a way to save script data directly to a utility file? I'm working on a script where the user can generate new values and I'm trying to think of a nice way for the values to be available cross-project and even be shareable. Right now, all I can think to do is to call to the io and throw up a...
by dkwroot
Sun Apr 29, 2018 5:15 am
Forum: Scripting
Topic: Convert text to vector code?
Replies: 6
Views: 3548

Re: Convert text to vector code?

I also noticed the function for creating text objects. I just didn't see any other functions for them. The more I look into this, the more it seems like the text layer was just hacked into the vector layer. It really should have its own class and functions, maybe a future Moho release.

Thanks Wes.
by dkwroot
Sun Apr 29, 2018 2:36 am
Forum: Scripting
Topic: Convert text to vector code?
Replies: 6
Views: 3548

Convert text to vector code?

I can't find a function that allows us to convert a text layer into a regular vector. Does it exist or are there workarounds?
by dkwroot
Tue Apr 24, 2018 12:50 pm
Forum: Other Software
Topic: Quill
Replies: 19
Views: 9666

Re: Quill

As for the ergonomics, that's not an issue. The user could shrink any object down to something they can hold and sculpt in their hand. They could even select individual pieces and isolate those for working in greater detail. For example, a user could sculpt a small tree in their hands. They could th...
by dkwroot
Tue Apr 24, 2018 12:41 pm
Forum: Other Software
Topic: Quill
Replies: 19
Views: 9666

Re: Quill

This tech is developing quickly, I love it. It's still really gimmicky at this phase due to the clunky hardware, but imagine where this is going to be in 10 years. What really needs to be improved is the way we interact within the 3d space. The controllers need to go away and we need something like ...
by dkwroot
Wed Apr 18, 2018 8:14 pm
Forum: Scripting
Topic: Graphics class help
Replies: 11
Views: 3108

Re: Graphics class help

I think that was it, I'm still having trouble but it's at least drawing something now. I'll have to play with the settings and figure things out. Thanks, Wes!
by dkwroot
Wed Apr 18, 2018 6:52 pm
Forum: Scripting
Topic: Graphics class help
Replies: 11
Views: 3108

Re: Graphics class help

I tried putting it in DrawMe(moho,view), but it still doesn't work. function DR_TEST:DrawMe(moho,view) local points = {} local mesh = moho:Mesh() for i=0, mesh:CountPoints()-1 do table.insert(points, mesh:Point(i).fPos) end local g = view:Graphics() local matrix = LM.Matrix:new_local() moho.drawingL...
by dkwroot
Wed Apr 18, 2018 5:43 pm
Forum: Scripting
Topic: Graphics class help
Replies: 11
Views: 3108

Re: Graphics class help

What function are you running it in, specifically? Is there a tool script function that will run without user input? I'm using the run function in a tool script, but it doesn't draw.
by dkwroot
Wed Apr 18, 2018 5:12 pm
Forum: Scripting
Topic: Graphics class help
Replies: 11
Views: 3108

Re: Graphics class help

I passed view into the function, but it's still throwing an error. It says the same thing about view being a nil. This is the simple function I'm trying to run: function DR_TEST:Run(moho,view) local points = {} local mesh = moho:Mesh() for i=0, mesh:CountPoints()-1 do table.insert(points, mesh:Point...
by dkwroot
Wed Apr 18, 2018 4:58 pm
Forum: Scripting
Topic: Graphics class help
Replies: 11
Views: 3108

Re: Graphics class help

It says it can't index global 'view' (a nil value). I tried using moho.view instead, but it doesn't draw anything.
by dkwroot
Wed Apr 18, 2018 12:43 pm
Forum: Scripting
Topic: Graphics class help
Replies: 11
Views: 3108

Graphics class help

Does anyone have any good resources on using the graphics class? I'm trying to draw a bunch of circles on the viewport, but I'm struggling to figure out how this works. Specifically, I'm trying to use LM_Graphics:FillCircle(center, radius) to draw a bunch of vector points onto the viewport, but I ke...
by dkwroot
Wed Apr 18, 2018 2:22 am
Forum: Other Software
Topic: Blender New Innovative 2d Animation "GP Tools"
Replies: 308
Views: 487091

Re: Blender New Innovative 2d Animation "GP Tools"

When Blender 2.8 is released, I'm planning to create an exporter and importer script for a MOHO to Blender workflow. Basically, we could design and rig everything in MOHO, then export a JSON file which can be imported into Blender. The vector data will then be translated into Grease pencil points an...
by dkwroot
Sun Apr 15, 2018 2:37 am
Forum: How Do I...?
Topic: 3D OBJ Import Problem
Replies: 3
Views: 2598

Re: 3D OBJ Import Problem

Perhaps you can try importing it in blender and then breaking all faces apart and exporting a new obj. The obj importer for moho can be a little weird like this.
by dkwroot
Thu Apr 12, 2018 11:28 pm
Forum: Share Your Work
Topic: Michelangelo's David - which style is better?
Replies: 4
Views: 1585

Re: Michelangelo's David - which style is better?

It depends on who your client and target audience are.

If you were making these to advertise for a museum exhibit, I would say the first one is better.

If you were making these for a fun advertisement or were targeting young people, I would say the second one is better.