Spelling suggestions: "subject:"[een] SCRIPTING"" "subject:"[enn] SCRIPTING""
31 |
Performance evaluation of NumPy, SciPy, PyMEL and OpenMaya compared to the C++ API in Autodesk Maya / Prestandautvärdering av NumPy, SciPy, PyMEL och OpenMaya jämfört med C++ APIet i Autodesk MayaSvensson, Patrik, Galfi, Fredrik January 2021 (has links)
Background. Autodesk Maya allows scripting through both MEL and Python, and it is also possible to use different Python modules and a C++ API to perform the desired tasks. In theory, the C++ API is the fastest option in Maya, but there are no studies that support this claim. Other studies show that PyMEL is the slowest module in Maya to work with, but it is still the one used most frequently. This thesis has therefore made a speed measurement to determine which of the four selected Python modules and the C++ API is the fastest to use, regarding animation transfer between skeletal hierarchies with different numbers of data. Objectives. The aim of this thesis is to measure the performance in terms of speed of the Python modules NumPy, SciPy, OpenMaya and PyMEL, as well as the C++ API, in order to determine which is the fastest. Our objectives are to determine the speed performance of each module by conducting experiments. Methods. To achieve the objectives, an experiment was conducted to compare the speed of each Python module and the C++ API. To perform the experiments, the implementations for each module and the API have been written in the same way, with their own data types and classes. After performing the experiments for each module, the mean time consumption of each program has been compared. Results. The results from the experiments show that there was a noticeable difference in the speed between the C++ API and the Python modules, as the C++ API delivered the highest speed for all the skeletons that took place in the experiments. The OpenMaya module was the fastest Python module that was tested, while PyMEL was the slowest. The C++ API’s measurements show that it took 0,388–1,909 seconds depending on which skeleton was used to perform the experiment, while OpenMaya’s measurements were 0,538–3,119 seconds which show that OpenMaya is 39–68% slower than the C++ API. NumPy, SciPy and PyMEL’s measurements ranged from 689% to 3165% slower than the C++ API. Conclusions. The conclusion of the experiments show that the C++ API is the fastest to use, while PyMEL is the slowest module, as it is 2632–3165 % slower, when used for these animation transfers. This shows that the C++ API can be a better choice for complex calculations, such as animation transfers.
|
32 |
Structural Optimization of Bell Crank using Adaptive Response Surface OptimizationKonda Ram Kumar, Ram Suraj 04 June 2024 (has links)
This research contributes to the development of a structural optimization software system designed to support design optimization. The focus of this thesis work is on formulating strategies to obtain accurate solutions and enhance the efficiency of the optimization process, particularly when dealing with large and complex finite element (FE) models, utilizing statistical concepts. A potential avenue explored in this study is the adaptive response surface optimization process. The adaptive response surface optimization method involves the adaptive control of samples selected through the design of experiments and empirical models constructed via the response surface methodology, with the sampling of the design space and empirical model terms dynamically adjusted throughout the optimization progression. The empirical models are constructed with statistically significant terms to maximize the utilization of information from each sample generated using the design of experiments. If the available information is fully utilized by the empirical model and the adaptive response surface optimization process needs to progress further until an optimal solution is identified, additional samples are generated.
The methodology is applied to a benchmark bell crank problem, optimizing the bell crank for maximum operational value by simultaneously increasing fatigue life and reducing the overall component cost. This demonstration showcases the structural optimization software's capability to handle both design and manufacturing aspects seamlessly. The approach to solving the structural optimization problem involves constructing a constrained parametric bell crank part in Abaqus/CAE as it facilitates easy manipulation of the geometry. The entire process of geometry generation, meshing, simulation, and output extraction was supported by developing Python scripts. Response surface model building and other statistical analyses are conducted using the JMP statistical software. Nonlinear constrained optimization is executed through the sequential quadratic programming (SLSQP solver) from the SciPy library, allowing optimization on the response surfaces representing the objective function and constraints to identify the optimal solution. The optimal solution is obtained utilizing a small composite design with individual response surface models for the objective function and each constraint, is compared with results from the Abaqus finite element model, and the percentage difference was 0.9% at the optimal design variable values. / Master of Science / Optimization processes, in general, require multiple iterations to converge to the optimal solution. Structural optimization, dealing with large and complex computationally intensive models are typically very time-consuming. To address this challenge, approximations of the actual design space, called response surfaces, are created using the statistical concept known as response surface methodology. Response surfaces are developed by selecting specific regions within the design space and studying them using complex computational models. The results obtained from these computational models are combined with statistical tools to build a response surface that approximately represents the actual design objective function and the associated constraints of the design within the specified design space.
In this research, an adaptive approach called adaptive response surface optimization is implemented. In this approach, the regions studied and the response surfaces are dynamically adjusted based on the progression of the optimization process. Such adaptability significantly accelerates the structural optimization process and yields successful results. To illustrate this method, a benchmark problem was solved using the finite element solver Abaqus, the statistical software JMP, and the optimization toolbox from the Scipy library.
|
33 |
Detecção automática de ataques de Cross-Site Scripting em páginas WebRocha, Thiago de Souza 05 April 2013 (has links)
Made available in DSpace on 2015-04-11T14:02:46Z (GMT). No. of bitstreams: 1
thiago.pdf: 2481710 bytes, checksum: b6ca68e9c8339ffcfd02dd0cdae775ae (MD5)
Previous issue date: 2013-04-05 / The evolution in web applications development favored the emergence of dynamic pages. This development was made possible through the creation of new technologies like script functions and web browser advanced features that provided the insertion of new features and creation of interactive services, such as Internet banking, social networks, e-commerce, blogs and forums. The use of these new resources and features has gradually improved the interactivity and usability of web applications. Moreover, the inappropriate use of these features resulted in the emergence of several attacks, including, Cross-Site Scripting (XSS) that is highlighted at the top of lists and reports of the greatest threats to web applications in recent years. This works demonstrates the feasibility of using a methodology that is capable to detect XSS attacks by analyzing the information
contained in applications. A prototype of the methodology, called ETSSDetector, was developed and compared with similar tools. The results show that by analyzing the input fields, it is possible to generate more effective tests, decreasing the amount of requests made in the application. Furthermore, the ability to fill the fields with only valid information ensures the submission of forms on pages, increasing the detection rate of XSS attacks. / A evolução no desenvolvimento para aplicações web favoreceu o surgimento de páginas dinâmicas. Tal evolução foi possível através da criação de novas tecnologias como funções de script e recursos avançados em navegadores web que proporcionaram a inserção de novas funcionalidades e criação
de serviços interativos, tais como Internet banking, redes sociais, e-commerce, blogs e fóruns. A utilização desses recursos e funcionalidades tem melhorado gradativamente a
interatividade e usabilidade das aplicações web. Por outro lado, o uso inadequado dessas funcionalidades acarretou no surgimento de diversos ataques, entre eles, o Cross-Site Scripting (XSS). Este ataque tem recebido muito destaque nos últimos anos, por estar no topo de listas e relatórios das maiores ameaças para aplicações web nos últimos anos.
Este trabalho demonstra a viabilidade de uso de uma metodologia capaz de detectar ataques XSS em aplicações web através da análise de informações contidas nas aplicações. Um protótipo da metodologia, denominado de ETSSDetector, foi desenvolvido e comparado com outras ferramentas similares. Os resultados obtidos mostram que, através da análise dos campos de entrada, é possível
a geração de testes mais efetivos, diminuindo a quantidade de requisições realizadas na aplicação. Além disso, a habilidade de preenchimento dos campos da aplicação apenas com informações válidas garante a submissão dos formulários das páginas, aumentando a taxa de detecção de ataques
XSS.
|
34 |
Improving the User Experience of Visual Scripting LanguagesUggla, Alexander January 2021 (has links)
Visual scripting languages are used as alternatives to text programming to make coding easier. Visual programming languages provide a structure and a guidance that does not exist in text programming, which should make them easier to code with. Some users do however find that the structure in visual scripting languages makes it cumbersome to code. To find a design of visual scripting that subvert this and has a better user experience than contemporary designs, a prototype of a visual scripting interface was developed using an iterative design and testing cycle. When a final prototype had been developed, it was tested to see how it compared to text programming. From the tests performed, a few teachings were discovered. If-statements that grow perpendicularly to the rest of the code fit more information on the screen at the same time and can feel more natural and easier to parse for some users. Having a help menu with syntax-help makes it so that users do not have to leave the program, which increases programming speed. The visual coding elements in a visual scripting language need to be coloured such that the most important parts are the most visible; otherwise users have a hard time parsing the code. Showing existing variables that are in scope gives the user a good overview of what variables they can use. Having help menus where elements can be clicked to insert them at the user's text cursor reduces the chance of misspelling variables and gives the user confidence in the correctness of the code. Having visual coding elements that can change depending on context or by using toggles can make coding more intuitive and faster. / <p>Examensarbetet är utfört vid Institutionen för teknik och naturvetenskap (ITN) vid Tekniska fakulteten, Linköpings universitet</p>
|
35 |
Vibrationsmätningar : Uppföljning av negativa trender / Vibration measurements : Follow-up of negative trendsVikström, Lars January 2021 (has links)
In this study, data on vibration measurements from Forsmark - Vattenfall AB's database has been studied, the goal has been to see how it can be reworked so that it becomes easier to interpret and more transparent for more people in maintenance.The idea has been to use all the data available to create graphs or graphs over a longer period to look for trends in systems that are similar to each other. Which is because there is redundancy in the systems and blocks 1 & 2 are sibling blocks with identical components, so it is possible to compare them.Furthermore, it is intended to implement the results from this work in balanced scorecards that are already used at Forsmark at present. This is done to obtain data on how the maintenance is going and how many machines need to be maintained compared to previous periods.The work has consisted of retrieving data files from Forsmark's database and via an Excel script that reworks all data so that graphs can be created of the various measurements performed regularly by the Maintenance Group NMM 1-3 (Mechanical Maintenance) at Forsmark.The results of the work have been verified through the special software that NMM 1–3 uses but in which other groups have no experience. In this special software all graphs and data are already available, something that is not as easy, however, is the ability to compare different machines at the same time, something that this thesis work tries to create.As others in maintenance do not have experience in the specialized software, Excel is used instead, as it is a program all groups have access to and good knowledge in. What emerges from the work is that the amount of data is very large but the possibility to get to the goal is good, the data files need some reworking to be easily used for graph creation and some things are unfortunately not included in the data files but must be downloaded from the special software NMM 1- 3 have. / I denna studie har data över vibrationsmätningar från Forsmark – Vattenfall AB:s databas studerats, målet har varit att se hur den ska kunna omarbetas så att den blir lättare att tolka och mer överskådlig för flera inom underhåll.Idén har varit att använda all den data som finns tillgänglig för att skapa graf eller grafer över längre tid för att leta efter trender inom system som är snarlika varandra, vilket finns eftersom det finns redundans i systemen och block 1 & 2 är syskonblock, så det går att jämföra mellan dem.Vidare är det tänkt att implementera resultatet från detta arbete i balanserade styrkort (Scorecard) som redan används på Forsmark i dagsläget, detta görs för att få in data över hur underhållet går och hur många maskiner som behöver underhållas jämfört med tidigare perioder.Arbetet har gått ut på att hämta datafiler från Forsmarks databas och via ett Excel script som omarbetar all data så att grafer kan skapas över de olika mätningar som utförs regelbundet av Underhållsgruppen NMM 1–3 (Mekaniskt underhåll) på Forsmark.Arbetets resultat har verifierats genom den speciella programvara som NMM 1–3 använder men som övriga grupper inte har erfarenhet av. Där finns alla grafer och all data redan att tillgå, något som inte finns lika enkelt är dock möjligheten att jämföra olika maskiner samtidigt, något som detta arbete försöker skapa.Då övriga inom underhåll inte har erfarenhet inom den programvaran så används Excel i stället, då det är ett program alla har tillgång till och god kunskap inom. Det som framkommer av arbetet är att mängden data är väldigt stor men möjligheten att komma till målet är goda, datafilerna behöver viss omarbetning för att enkelt kunna användas för graf skapande och vissa saker finns tyvärr inte med i datafilerna utan måste hämtas från specialprogramvaran NMM 1–3 har.
|
36 |
Mehrkriterielle Parameteroptimierung eines Thermoelektrischen Generators / Multi-Objective Parameter Optimization of a Thermoelectric GeneratorHeghmanns, Alexander, Beitelschmidt, Michael 08 May 2014 (has links) (PDF)
Aufgrund von steigenden Energiekosten und einer sukzessive steigenden öffentlichen sowie politischen Forderung nach Umweltbewusstsein und Nachhaltigkeit, ist die Effizienzsteigerung von Gesamtsystemen einer der treibenden Kräfte für innovative, technologische Neuheiten geworden. Besonders bei der Entwicklung von verbrennungsmotorisch angetriebenen Fahrzeugen wurden z.B. durch die Hybridisierung von Antriebssträngen, die die Rekuperation von kinetischer Energie ermöglichen, Technologien zur Energieeinsparung etabliert. Da bei Verbrennungsmotoren ein hoher Anteil der im Kraftstoff gespeicherten Energie technologiebedingt als Abwärme im Abgas verloren geht, bietet die Wärmerekuperation ein weiteres hohes Potential für weitere Einsparungen. Diese ist z.B. mit Hilfe von thermoelektrischen Generatoren (TEG) möglich, die einen Wärmestrom direkt in elektrische Energie umwandeln.
Zur effizienten TEG-Systemgestaltung ist ein hoher Temperaturgradient über dem thermoelektrisch aktivem Material notwendig, der wiederum zu kritischen thermomechanischen Spannungen im Bauteil führen kann. Diese werden zum einen durch die unterschiedlichen Temperaturausdehnungskoeffizienten der verschiedenen Materialien und zum anderen durch die mechanische Anbindung auf der heißen und kalten Seite des TEG verursacht. Somit liegt ein Zielkonflikt zwischen dem thermoelektrischen Systemwirkungsgrad und der mechanischen Festigkeit des Bauteils vor.
In dieser Arbeit wird mit Hilfe einer mehrkriteriellen Parameteroptimierung eines vollparametrisierten FE-Modells des TEG in ANSYS WORKBENCH eine Methode vorgestellt, den thermoelektrischen Wirkungsgrad bei gleichzeitiger Reduktion der thermomechanischen Spannungen zu optimieren. Zur Optimierung kommt dabei ein genetischer Algorithmus der MATLAB GLOBAL OPTIMIZATION TOOLBOX zum Einsatz. Der Modellaufbau wird in ANSYS WORKBENCH mit der Makro-Programmiersprache JSCRIPT realisiert. Als Ziel- und Bewertungsfunktionen wird die mechanische Belastung jedes Bauteils im TEG ausgewertet und dessen elektrische Leistungsdichte berechnet. Die Ergebnisse zeigen, dass mit Hilfe der vorgestellten Methodik eine paretooptimale Lösung gefunden werden kann, die den gestellten Anforderungen entspricht.
|
37 |
Detecção de Cross-Site Scripting em páginas WebNunan, Angelo Eduardo 14 May 2012 (has links)
Made available in DSpace on 2015-04-11T14:03:18Z (GMT). No. of bitstreams: 1
Angelo Eduardo Nunan.pdf: 2892243 bytes, checksum: 5653024cae1270242c7b4f8228cf0d2c (MD5)
Previous issue date: 2012-05-14 / CAPES - Coordenação de Aperfeiçoamento de Pessoal de Nível Superior / Web applications are currently an important environment for access to services available on the Internet. However, the security assurance of these resources has become an elementary task. The structure of dynamic websites composed by a set of objects such as HTML tags, script functions, hyperlinks and advanced features in web browsers may provide numerous resources and interactive services, for instance e-commerce, Internet banking, social networking, blogs, forums, among
others. On the other hand, these features helped to increase the potential security risks and attacks, which are the results of malicious codes injection. In this context, Cross-Site Scripting (XSS) is highlighted at the top of the lists of the greatest threats to web applications in recent years. This work presents a method based on supervised machine learning techniques to detect XSS in web pages. A set of features extracted from URL contents and web document are employed in order to discriminate XSS patterns and to successfully classify both malicious and non-malicious pages / As aplicações web atualmente representam um importante ambiente de acesso aos serviços oferecidos na Internet. Garantir a segurança desses recursos se tornou uma tarefa elementar. A estrutura de sites dinâmicos constituída por um conjunto de objetos, tais como tags de HTML, funções de script, hiperlinks e recursos avançados em navegadores web levou a inúmeras funcionalidades e à interatividade de serviços, tais como e-commerce, Internet banking, redes sociais, blogs, fóruns, entre outros. No entanto, esses recursos têm aumentado potencialmente os riscos de segurança e os ataques resultantes da injeção de códigos maliciosos, onde o Cross-Site
Scripting aparece em destaque, no topo das listas das maiores ameaças para aplicações web nos últimos anos. Este trabalho apresenta um método baseado em técnicas de aprendizagem de máquina supervisionada para detectar XSS em páginas web, a partir de um conjunto de características extraídas da URL e do documento web, capazes de discriminar padrões de ataques XSS e distinguir páginas web maliciosas das páginas web normais ou benignas
|
38 |
Mehrkriterielle Parameteroptimierung eines Thermoelektrischen GeneratorsHeghmanns, Alexander, Beitelschmidt, Michael 08 May 2014 (has links)
Aufgrund von steigenden Energiekosten und einer sukzessive steigenden öffentlichen sowie politischen Forderung nach Umweltbewusstsein und Nachhaltigkeit, ist die Effizienzsteigerung von Gesamtsystemen einer der treibenden Kräfte für innovative, technologische Neuheiten geworden. Besonders bei der Entwicklung von verbrennungsmotorisch angetriebenen Fahrzeugen wurden z.B. durch die Hybridisierung von Antriebssträngen, die die Rekuperation von kinetischer Energie ermöglichen, Technologien zur Energieeinsparung etabliert. Da bei Verbrennungsmotoren ein hoher Anteil der im Kraftstoff gespeicherten Energie technologiebedingt als Abwärme im Abgas verloren geht, bietet die Wärmerekuperation ein weiteres hohes Potential für weitere Einsparungen. Diese ist z.B. mit Hilfe von thermoelektrischen Generatoren (TEG) möglich, die einen Wärmestrom direkt in elektrische Energie umwandeln.
Zur effizienten TEG-Systemgestaltung ist ein hoher Temperaturgradient über dem thermoelektrisch aktivem Material notwendig, der wiederum zu kritischen thermomechanischen Spannungen im Bauteil führen kann. Diese werden zum einen durch die unterschiedlichen Temperaturausdehnungskoeffizienten der verschiedenen Materialien und zum anderen durch die mechanische Anbindung auf der heißen und kalten Seite des TEG verursacht. Somit liegt ein Zielkonflikt zwischen dem thermoelektrischen Systemwirkungsgrad und der mechanischen Festigkeit des Bauteils vor.
In dieser Arbeit wird mit Hilfe einer mehrkriteriellen Parameteroptimierung eines vollparametrisierten FE-Modells des TEG in ANSYS WORKBENCH eine Methode vorgestellt, den thermoelektrischen Wirkungsgrad bei gleichzeitiger Reduktion der thermomechanischen Spannungen zu optimieren. Zur Optimierung kommt dabei ein genetischer Algorithmus der MATLAB GLOBAL OPTIMIZATION TOOLBOX zum Einsatz. Der Modellaufbau wird in ANSYS WORKBENCH mit der Makro-Programmiersprache JSCRIPT realisiert. Als Ziel- und Bewertungsfunktionen wird die mechanische Belastung jedes Bauteils im TEG ausgewertet und dessen elektrische Leistungsdichte berechnet. Die Ergebnisse zeigen, dass mit Hilfe der vorgestellten Methodik eine paretooptimale Lösung gefunden werden kann, die den gestellten Anforderungen entspricht.
|
39 |
一個有延展性的動畫劇本描述語言 / A Scripting Language for Extensible Animation廖茂詠, Liao,Mao-Yung Unknown Date (has links)
在目前3D虛擬環境中,虛擬人物的動作多半是以動作抓取等離線方式錄製後,再以罐裝動作的方式呈現。該動作經過編碼後會以固定的格式進行傳送,然後由客戶端撥放該動畫內容。通常而言,固定的格式規範會限制電腦動畫表現與延展的能力。這篇論文我們提出了一套以XML為基礎的動畫語言,稱為eXtensible Animation Markup Language(XAML)來解決這樣的問題。這套語言設計的目的是為了讓開發者能夠彈性地選擇不同層次的指定方式來產生虛擬演員的動畫;同時使用者可以藉由已經定義好的動畫合成新的動畫內容,或是更改已定義動畫的部分內容來產生一套新的動畫。除此之外,XAML為客製化腳本語言提供延展擴充的機制,開發者可以透過plug-in、內嵌XAML引擎或轉換腳本等方式達到擴充XAML的目的。我們同時使用JAVA實作了一套能夠解譯XAML的動畫引擎,使用者不但可以利用XAML腳本命令產生相對應的3D動畫顯示,也可以透過該動畫引擎所提供的函式庫對場景中的3D物件進行控制。另外,我們也設計了一個具語音對話功能的多人虛擬環境系統,以驗證XAML語言的可行性及有效性。 / Character animations on most virtual environment systems are canned motions created off-line through motion capture techniques. The motions are then en-coded and transmitted with a fixed format and played at the client side. The rigid specification format for computer animation and multimedia presentation in general has greatly affected the development of 3D contents. In this thesis, we propose an XML-based scripting language, called eXtensible Animation Markup Language (XAML). The language is designed to describe character animations at various command levels and to compose a new animation from existing ani-mation clips. Furthermore, one can use plug-in, embeding or translation to in-corporate other customized scripting languages or new functions into XAML. We have implemented an animation engine in Java that can interpret the script-ing language and render 3D animations based on the user’s interactive XAML commands or the provided application programming interface. In addition, we have designed a speech-enabled multi-user virtual environment system based on XAML to verify the feasibility and effectiveness of such a language.
|
40 |
Vilka faktorer upplevs som begränsande för unga kvinnors sexualitet utifrån ett genuspsykologiskt perspektiv? : En studie med tio intervjuer av kvinnor i åldrarna 25-30 årAbrahamsson, Stephanie, Hermansson, Matilda January 2017 (has links)
Syftet med föreliggande studie var att undersöka om och i sådana fall vilka faktorer som unga heterosexuella kvinnor upplevde som begränsande för sin sexualitet. Med hjälp av semistrukturerade intervjuer undersöktes i denna kvalitativa studie hur dessa deltagare upplevde sin sexualitet utifrån tre huvudområden; sociala strukturer, normer samt psykisk hälsa. Teorin “sexual scripting theory” applicerades på de tre huvudområdena, då paralleller drogs mellan dessa och teorins tre huvudbegrepp “cultural scripts”, “interpersonal scripts” och “intrapsychic scripts”. Resultatet av denna studie visade att patriarkala strukturer, samhällsideal, jämförelser med andra, förväntningar och föreställningar om kvinnans utseende samt beteende var hämmande för deltagarnas sexualitet. Resultatet visade även att det fanns tydliga samband mellan sexualiteten och den psykiska hälsan. Negativa sexuella erfarenheter upplevdes påverka deltagarnas psykiska hälsa och blev hämmande för framtida sexuella upplevelser. Många begränsande faktorer identifierades utifrån resultatet i denna studie och en inblick i deltagarnas förhållande till sin sexualitet utforskades.
|
Page generated in 0.0368 seconds