Polygonize() is just using SendModelingCommand() with MCOMMAND_CURRENTSTATETOOBJECT. You can actually see the C++ source in c4d_basedocument.cpp in the cinema.framework. But I don't think that this commands merges all objects into one polygon object.
I'm creating a QApplication and then a QDialog but I can't seem to close the QApplication at all when the dialog is |
This means even when C4D is closed normally it's still running in the background and needs to be force-quit. Any |
I have the same issue with PySide. You mentioned that sole this issue. Could you Help me?
There's no official market for Cinema 4D's plugins own by Maxon.
But, as an old plugins seller myself, i can try to give you some hints and share my experience.
If you want to sell your plugins, you have several options and some legal part to consider.
You must collect VAT for example. As a European, things can be different depending on witch country your client is from. I'm far to be a specialist, and there is some tools that can handle those things for you. Don't be afraid of legal part.
1 - You can run your own shop by having your own provider, using "simple tools" like
Wordpress + WooCommerce. If you add plugins to handle VAT and other legal stuff, this can be a breeze. You have your own Design, you can handle serial numbers the way you want, you have total control.
2 - Using a market place ( Aescripts or Gumroad for exemple) have some advantages :
they will manage the legal stuff for you,
they help you if you got any question
you can focus on your development
they will generate a lot more traffic and your tools will be more visible (people can come for another plugins and check what they have in the catalog)
You also have to consider the tax they will charge of course. They will varie form plateform to plateform. Don't hesitate to contact them.
Final point, DO IT, it's fun, you will have some nice feedback, having people, sending work they have done with your tools, from all over the world is just a blast.
@Rage if you're looking for a solution where the user is not involved, stick to the first answer where no CallButton() was considered.
On the contrary using it will request the user to interact since there are no means to programmatically interact with the UI or scripting users' actions on the UI.
this topic is really related with this one So you have maybe now a better idea on how add or remove userdata.
Because you changed your idea (by adding more tracks), the solution you came with is not good anymore. That's the perfect moment for stepping back. Think again about what you want to achieve and how you could do it. It's an iteration.
It's not a problem to do that, it's even what you should do. You could be totally blocked in few days and your code will be a nightmare to manage.
When you are managing data, you should think about array, dictionary and things like that or array of array.
You could probably run through all your user data (as long as they are visually organised) and build an array.
After that, you could just iterate thought that array.
Don't be afraid to step back, think how you can organise your data. Most of the time your code will be shorter, easy to maintain, easy to update.
Hi Bentraje, thanks for following up and sorry for coming late here.
I've checked your geometry and the issue is not with the algorithm, but in both cases with the geometries you're using to compute the area who don't shown vertexes being properly "ordered".
The algorithm I've briefly presented requires the vertexes to be ordered as if you're visiting them by walking on the outer edge of your n-gon or polygon in CCW or CW. It is then mandatory to generate an ordered list of vertexes before passing the data to the function to get the correct result.
In order to come out with such an ordered list I warmly recommend you to visit the following old-threads:
Get all ngons
Get outer edges of each Ngon
no worries, this question was not exclusively targeted at Maxon, the opposite is the case. I was hoping for some information by other users here, like @kbar or even @m_adam (back in the days Maxime was not associated with Maxon. ;))
Meanwhile, I'm going to build a toolchain and see what works for me. I'll report back here if I have something to show. That may help someone else.
I'm trying to use this super handy plug-in to build help system for my plug-ins.
Thanks for sharing this!
After some days of working i have a some suggestions and bug reports.
After each publishing, resulting index.html have a title tag "Plugins 4D Documentation".
Is it possible to add ability inserting images with other formats like gif, jpg? Now i have to copy my images to images folder and type using markdown code like this (not showing in Preview window):
![Target 4D Move tool](images/mikeudin-target4d-feutures_5.gif "Target 4D Move tool")
Preview window stops showing any text content if it contains symbol '–'. But after publishing results, final HTML is ok.
Would be great to add ability to add favicon image.
Hi @SteveJLV welcome in the plugincafe community,
I would like to point you to some rules:
Read Before Posting. Nothing wrong here, but just in case.
Q&A New Functionality. I've setup your topic correctly.
As you already figured it out, you never assign a new value to the variable. In Python, everything is passed by value by default in 90% of the time.
Meaning when you do x = y will actually copy y to x, so afterward if you do x + 10 it will not affect y value.
If you have more questions, don't hesitate.
I'm sorry for getting back late to you.
We have never done this ourselves nor have we heard of anyone.
The reasons for the difference between C++ and Python API are probably historic. Also back then we had no generic concept for callbacks in Python. Now, with MAXON API and appearance of Delegates and Observables such things will probably handled much nicer in future. Maybe it were also performance considerations.
Many words, for a "I don't know", sorry.
In any case we'll forward this a an idea to our development, so it is at least considered for a future release.