Autocad: how to export a file with XREF to .stl - autocad

I am trying to export the following .dwg file to .stl format but the object that has been externally referenced does not make into the .stl file.
Could someone tell me what am I doing wrong?
The files in .dwg

Related

Xcode invalid zip file

I am uploading my Xcode .zip file to https://www.diawi.com and when I upload it, it says:
An error occurred:
4001003: Invalid .ipa file: content couldn't be read, doesn't seem to be a valid zip-compressed file (za9)
My zip file consists of:
Why is it invalid? (I compressed it by Ctrl-Click and compress)
My zip file consists of:
Well, that's wrong. They want your built .ipa file, not your source code.
I compressed it by Ctrl-Click and compress
An .ipa file is a zip-compressed file. You don't need to zip it again.

Access Qt resource files in VS 2017 with CMake

I am having trouble accessing qt resource files in a VS 2017 project with CMake. I was able to access the qrc files using Qt Creator. I have the following questions:
Where do I put the resource files? Preferably I would like to put resource files in the root directory. I have tried to put the files in the root director and in the directory they will be called.
What changes I should make to the CMakeLists.txt files?
How can I refer to the resource files? I have tried all the instruction I can find on internet. But none of them seem to work. For example I have tried: ":/prefix/filepath/filename" or ":prefix/filepath/filename".
Thanks a lot!
You can put your .qrc file where you want, for my project I make it on /res folder but is your choice. You can add your files on the resources edit manually the .qrc file as a normal xml file. Here a simple example:
<RCC>
<qresource prefix="/menu_img">
<file alias="cancel_img">icons/cancel-512.png</file>
<file alias="open_img">icons/folder-512.png</file>
<file alias="print_img">icons/printer-512.png</file>
</qresource>
</RCC>
In this resource files the images are inside the folder icons and the .qrc is outside.
After that your .qrc file is ready (assuming that you use qt5) you must add to your CMakeList.txt this line:
qt5_add_resources(PROJECT_RESOURCE path_to_rosource_file/resources.qrc)
then on your target you must add this rosource:
add_executable(
${TARGET_PROJECT}
${PROJECT_SOURCES}
${PROJECT_HEADERS}
${PROJECT_RESOURCES})
Now your resources is available inside your project as usual :/menu_img/cancel_img

Where (what specific folder location) is the default XSLT for viewing XML in IE10 and in firefox?

I know that in firefox I can see the default xslt if I type in chrome://global/content/xml/XMLPrettyPrint.xsl BUT where is it in my computer? The actual file?
Where is it for IE10?
TIA
I think Mozilla uses a .jar file to pack such components but uses the file suffix .ja so that you don't find the stuff so easily :). So the file C:/Program Files (x86)/Mozilla Firefox/omni.ja is a jar package and in there you have the directory /chrome/toolkit/content/global/xml/ with the file. Of course the path C:/Program Files (x86)/Mozilla Firefox/omni.ja can be different depending on OS and your Firefox installation.

how to get executable application from .bin files

whene I extract a win32 application file.exe with (ressourcextract) I got .bin + .bmp and .txt files.
after some changes in one .bin file how to get my .exe application again , what must i do ? compile or assembly and how ?
thanks in advance
possible dupe of: Replacing Bitmap Resource in exe
You can undoubtedly find a tool to do so, but since this is a programming forum, these are the main APIs you would use:
BeginUpdateResource, UpdateResource, and EndUpdateResource.
Sample
For additional reference/information, here is the spec for the PE file format:
http://msdn.microsoft.com/en-us/library/windows/hardware/gg463119.aspx

How to change my .m file to a .mm file?

How can I change my .m file to a .mm file?
I'm getting the error: cassert file not found
I have researched and found that I need to change my files to .mm?
How can I do this?
If you are in XCode you can simply select the file in the Project Navigator, after selecting it, wait a moment, click on it again and the filename will automatically be selectable. You can then change the filename to '.mm'

Resources