Draw view control and screen size

Modules and scripting

Moderator: Garagecube

Draw view control and screen size

Postby yntrimd » Mon Oct 24, 2016 5:01 pm

Hello~

I am having a trouble with draw view control. The things I draw keep showing bigger than I expect or located in wrong position of the screen.

I set the Syphon output size to 1024*768 -since I want to output the screen in this size later- and set preview panel to 4/3 ratio.

I dragged the draw view control to workspace and named it ‘draw0’. It seemed the actual size or the location of draw view control in the workspace matters, so dragged the control into 1024*768 size. It was bothersome because I had to make the workspace size bigger than 1024*768 to see the control size figure and than shrink the workspace down so that it doesn’t cover the other interface. (this sounds stupid but I don’t know other ways…)

I wasn’t sure it will work but I also wrote
module.setAttribute('draw0', ' FRAME', 0,0, 1024, 768)
in init() script panel.

When I draw a circle which suppose to be located on (0, 0), it shows in wrong location.

module.paintOval('draw0', 0, 0, 100, 100, 1,1,1,1)
module.finishDrawings('draw0')
module.sendContentToLayer('draw0', ' drawlayer', 1)

If I tick normalise in TRANSFORM panel, the circle moves to the right position, but I feel this is not right. I feel I am totally misunderstanding the size concept in Modul8.

I have been struggling for this issue for long hours but I really don’t know what to do…
Please help me out.

Thank you.
yntrimd
Member
 
Posts: 10
Joined: Fri Jan 08, 2016 2:11 am

Re: Draw view control and screen size

Postby pele2010 » Mon Oct 24, 2016 10:55 pm

Hey,

1.have you checked the manual?

http://www.modul8.ch/documentation/modules_manual/

2. can you post some screenshots?

3. Is normalize active or not? (you find this in the transform section)

hope this helps ....

peter
pele2010

Act without doing; work without effort. Think of the small as large and the few as many. Confront the difficult while it is still easy;
accomplish the great task by a series of small acts.
http://www.eachfilm.de /// each01
User avatar
pele2010
ultim8 member
 
Posts: 262
Joined: Sat Apr 10, 2010 8:16 pm
Location: Hamburg, Germany

Re: Draw view control and screen size

Postby yntrimd » Tue Oct 25, 2016 12:59 am

Thank you for replay.

I posted this after I read the manual several times. I need more information about draw view control.

I know when normalize is active, the drawings seems in the right position. But If I set the draw view size as the screen size at the first place, shouldn't it be fit in the screen without the normalize is activated? Just asking because I couldn't understand how it works.
Screen Shot 2016-10-25 at 06.39.18.png
when normalize is inactive.
Screen Shot 2016-10-25 at 06.39.18.png (74.62 KiB) Viewed 1402 times

Screen Shot 2016-10-25 at 06.37.24.png
when scale is set to 01
Screen Shot 2016-10-25 at 06.37.24.png (76.21 KiB) Viewed 1402 times

Screen Shot 2016-10-25 at 06.38.19.png
when normalize is active
Screen Shot 2016-10-25 at 06.38.19.png (74.5 KiB) Viewed 1402 times


Is there anyway I can make the draw view size fit to screen size with out ticking the activation?
If I have to activate normaize anyway to set the draw view size fit to screen size, is there a way I can initiate the activation with script?

Thank you very much.
yntrimd
Member
 
Posts: 10
Joined: Fri Jan 08, 2016 2:11 am

Re: Draw view control and screen size

Postby pele2010 » Tue Oct 25, 2016 6:57 pm

hey,

I don´t know that much about scripting. I am struggling myself with several issues . :oops:

but I would suggest two things.

1. contact support (support(at)garagecube.com) pretty sure they can help.
2. email the Team the module, so they can look at the code.


I hope this helps you .

best peter
pele2010

Act without doing; work without effort. Think of the small as large and the few as many. Confront the difficult while it is still easy;
accomplish the great task by a series of small acts.
http://www.eachfilm.de /// each01
User avatar
pele2010
ultim8 member
 
Posts: 262
Joined: Sat Apr 10, 2010 8:16 pm
Location: Hamburg, Germany

Re: Draw view control and screen size

Postby yntrimd » Fri Oct 28, 2016 11:57 am

Oh!
I didn't think about emailing Modul8 team or getting help from support.
I should try it.

Thanks Peter!

Best,
Y
yntrimd
Member
 
Posts: 10
Joined: Fri Jan 08, 2016 2:11 am

Re: Draw view control and screen size

Postby pele2010 » Fri Oct 28, 2016 11:21 pm

Hey,

as fare as I know this is the procedure:


Support for modul8 is free to all registered users and currently through email only. However we do recommend that you do the following before emailing us:

Consult the 'documentation.pdf' file provided with modul8.
Search the GarageCube Forum.
When you have exhausted these options then we will welcome your questions by emailing us at:

support(at)garagecube.com


We are usually able to answer within 24 hours (on business days) of your inquiry , Our office is open from monday to friday . We don't provide sales support and direct orders during the weekend. To help us help you please be sure to provide the following information:
Your serial number.
A detailed description of the problem you are experiencing.
Your system profile (i.e. model, amount of RAM, system version)
Devices connected to your computer if any.
Crash log (if there is one) that can be located in your system library at the following location:

so I hope you get help over there, but to my experience the support is excellent.

best

Peter
pele2010

Act without doing; work without effort. Think of the small as large and the few as many. Confront the difficult while it is still easy;
accomplish the great task by a series of small acts.
http://www.eachfilm.de /// each01
User avatar
pele2010
ultim8 member
 
Posts: 262
Joined: Sat Apr 10, 2010 8:16 pm
Location: Hamburg, Germany

Re: Draw view control and screen size

Postby yntrimd » Sat Oct 29, 2016 9:11 am

Heya~

I've been searching the topic about draw view control, but there weren't much.
I will go through the documentation again before emailing the support.

Thanks!!!

Best,

Young
yntrimd
Member
 
Posts: 10
Joined: Fri Jan 08, 2016 2:11 am


Return to Modules

Who is online

Users browsing this forum: No registered users and 1 guest